public class Environments extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ENVIRONMENTS_CONFIG_MAP_NAME |
| Constructor and Description |
|---|
Environments() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ensureEnvironmentAdded(io.fabric8.kubernetes.api.model.ConfigMap environmentsConfigMap,
String key,
String label,
String namespace)
Ensures that the given environment key and label is created in the environments config map
|
static io.fabric8.kubernetes.api.model.ConfigMap |
getOrCreateEnvironments(io.fabric8.kubernetes.client.KubernetesClient client) |
public static final String ENVIRONMENTS_CONFIG_MAP_NAME
public static io.fabric8.kubernetes.api.model.ConfigMap getOrCreateEnvironments(io.fabric8.kubernetes.client.KubernetesClient client)
public static boolean ensureEnvironmentAdded(io.fabric8.kubernetes.api.model.ConfigMap environmentsConfigMap,
String key,
String label,
String namespace)
Copyright © 2011–2017 Red Hat. All rights reserved.