# 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", It also returns if "name" exists.
GetPodCondition extracts the provided condition from the given status and returns that.
GetPodConditionFromList extracts the provided condition from the given list of condition and returns the index of the condition and the condition.
GetPodPriority returns priority of the given pod.
GetPodReadyCondition 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.
IsPodReadyConditionTrue returns true if a pod is ready; false otherwise.
UpdatePodCondition updates existing pod condition or creates a new one.
VisitContainers invokes the visitor function with a pointer to the container spec of every container in the given pod spec.
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
ContainerVisitor is called with each container spec, and returns true if visiting should continue.
Visitor is called with each object name, and returns true if visiting should continue.