Documentation ¶
Index ¶
- Constants
- func GetAnnotation(key string, pod *kubernetes.Pod) string
- func GetAnnotationWithPrefix(key, prefix string, pod *kubernetes.Pod) string
- func GetPodIp(pod *kubernetes.Pod) string
- func GetPodPhase(pod *kubernetes.Pod) string
- func IsNoOp(prefix string, pod *kubernetes.Pod) bool
- func SetKubeMetadata(kubemeta, config common.MapStr)
Constants ¶
View Source
const (
ClientKey = "k8s-client"
)
Variables ¶
This section is empty.
Functions ¶
func GetAnnotation ¶
func GetAnnotation(key string, pod *kubernetes.Pod) string
func GetAnnotationWithPrefix ¶
func GetAnnotationWithPrefix(key, prefix string, pod *kubernetes.Pod) string
func GetPodIp ¶
func GetPodIp(pod *kubernetes.Pod) string
func GetPodPhase ¶
func GetPodPhase(pod *kubernetes.Pod) string
func SetKubeMetadata ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.