public class OciUtils extends Object
Constructor and Description |
---|
OciUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
adjustImageConfigForTopo(Map<String,Object> conf,
Map<String,Object> topoConf,
String topoId)
Adjust the image config for the topology.
|
static void |
validateImageInDaemonConf(Map<String,Object> conf)
Validates the image setting in the daemon conf.
|
public static void adjustImageConfigForTopo(Map<String,Object> conf, Map<String,Object> topoConf, String topoId) throws InvalidTopologyException
conf
- the daemon conftopoConf
- the topology conftopoId
- the topology IdInvalidTopologyException
- if image config is invalidpublic static void validateImageInDaemonConf(Map<String,Object> conf)
DaemonConfig.STORM_OCI_ALLOWED_IMAGES
not configured.conf
- the daemon confCopyright © 2023 The Apache Software Foundation. All rights reserved.