# Functions
GenerateContainersReadyCondition returns the status of "ContainersReady" condition.
GeneratePodInitializedCondition returns initialized condition if all init containers in a pod are ready, else it returns an uninitialized condition.
GeneratePodReadyCondition returns "Ready" condition of a pod.
GetContainerStatus extracts the status of container "name" from "statuses".
GetPodConditionFromList extracts the provided condition from the given list of condition and returns the index of the condition and the condition.
# Constants
ContainersNotInitialized says that one or more init containers have not succeeded.
ContainersNotReady says that one or more containers are not ready.
PodCompleted says that all related containers have succeeded.
ReadinessGatesNotReady says that one or more pod readiness gates are not ready.
UnknownContainerStatuses says that all container statuses are unknown.