package
1.8.0-alpha.1
Repository: https://github.com/bentheelder/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.
VisitPodConfigmapNames invokes the visitor function with the name of every configmap referenced by the pod spec.
VisitPodSecretNames invokes the visitor function with the name of every secret referenced by the pod spec.

# Type aliases

Visitor is called with each object name, and returns true if visiting should continue.