package
0.1.8
Repository: https://github.com/lucasepe/kube.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
FindContainerByName selects the named container from the spec of the provided pod or return nil if no such container exists.
GetFirstPod returns a pod matching the namespace and label selector and the number of all pods that match the label selector.
IsPodAvailable returns true if a pod is available; false otherwise.
IsPodReady returns true if a pod is ready; false otherwise.
No description provided by the author
ParseRFC3339 parses an RFC3339 date in either RFC3339Nano or RFC3339 format.
SelectorsForObject returns the pod label selector for a given object.

# Constants

No description provided by the author

# Interfaces

Factory provides abstractions that allow the kubeclient to be extended across multiple types of resources and different API sets.

# Type aliases

ActivePods type allows custom sorting of pods so a controller can pick the best ones to delete.
ByLogging allows custom sorting of pods so the best one can be picked for getting its logs.