| Modifier and Type | Field and Description |
|---|---|
static String |
HOSTNAME
Hostname environment variable name.
|
| Constructor and Description |
|---|
StandardPodUtils(io.fabric8.kubernetes.client.KubernetesClient client) |
| Modifier and Type | Method and Description |
|---|---|
Supplier<io.fabric8.kubernetes.api.model.Pod> |
currentPod() |
Boolean |
isInsideKubernetes() |
public static final String HOSTNAME
public StandardPodUtils(io.fabric8.kubernetes.client.KubernetesClient client)
public Supplier<io.fabric8.kubernetes.api.model.Pod> currentPod()
currentPod in interface PodUtilsPod. The supplier will hold the
currentPod if inside Kubernetes or false, otherwise.public Boolean isInsideKubernetes()
isInsideKubernetes in interface PodUtilsCopyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.