Documentation ¶
Index ¶
- Variables
- func ContextWithStopCh(ctx context.Context, stopCh <-chan struct{}) context.Context
- func CreateEventRecorder(kubecli kubernetes.Interface, name, namespace string) record.EventRecorder
- func GetPodHostName() string
- func GetPodName() string
- func GetPodNamespace() string
- func GetVersion() string
- func JobConditionIndex(ty batch.JobConditionType, cs []batch.JobCondition) (int, bool)
- func RandStringLowerLetters(n int) string
- func RandStringUser(n int) string
- func RandomString(length int) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AppGitState = "" AppGitCommit = "" AppVersion = "canary" )
Functions ¶
func ContextWithStopCh ¶
func CreateEventRecorder ¶
func CreateEventRecorder(kubecli kubernetes.Interface, name, namespace string) record.EventRecorder
func GetPodHostName ¶
func GetPodHostName() string
func GetPodName ¶
func GetPodName() string
func GetPodNamespace ¶
func GetPodNamespace() string
func GetVersion ¶ added in v0.1.4
func GetVersion() string
func JobConditionIndex ¶
func JobConditionIndex(ty batch.JobConditionType, cs []batch.JobCondition) (int, bool)
JobConditionIndex
func RandStringLowerLetters ¶
func RandStringUser ¶
func RandomString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.