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 PodUtils
Pod
. The supplier will hold the currentPod if inside Kubernetes
or false, otherwise.public Boolean isInsideKubernetes()
isInsideKubernetes
in interface PodUtils
Copyright © 2016–2019 Red Hat. All rights reserved.