common

package
v0.0.0-...-0b4a972 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2019 License: MIT Imports: 4 Imported by: 5

Documentation

Index

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 IsNoOp

func IsNoOp(prefix string, pod *kubernetes.Pod) bool

func SetKubeMetadata

func SetKubeMetadata(kubemeta, config common.MapStr)

Types

This section is empty.

Directories

Path Synopsis
appender
builder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL