package
1.7.0-alpha.2
Repository: https://github.com/sjug/kubernetes.git
Documentation: pkg.go.dev

# Functions

FindPort locates the container port for the given pod and portName.
GetContainerStatus extracts the status of container "name" from "statuses".
GetExistingContainerStatus extracts the status of container "name" from "statuses", and returns empty status if "name" does not exist.
GetPodCondition extracts the provided condition from the given status and returns that.
Extracts the pod ready condition from the given status and returns that.
IsPodAvailable returns true if a pod is available; false otherwise.
IsPodReady returns true if a pod is ready; false otherwise.
IsPodReady retruns true if a pod is ready; false otherwise.
TODO: remove this function when init containers becomes a stable feature.
TODO: remove this function when init containers becomes a stable feature.
TODO: remove this function when init containers becomes a stable feature.
Updates existing pod condition or creates a new one.
VisitPodSecretNames invokes the visitor function with the name of every secret referenced by the pod spec.