| 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 © 2016 Red Hat. All rights reserved.