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

# Packages

# 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.
NeedToReconcilePodReadiness returns if the pod "Ready" condition need to be reconcile.
NewFakeManager creates empty/fake memory manager.
NewManager returns a functional Manager.

# 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.
PodFailed says that the pod has failed and as such the containers have failed.
ReadinessGatesNotReady says that one or more pod readiness gates are not ready.
UnknownContainerStatuses says that all container statuses are unknown.

# Interfaces

Manager is the Source of truth for kubelet pod status, and should be kept up-to-date with the latest v1.PodStatus.
PodDeletionSafetyProvider provides guarantees that a pod can be safely deleted.
PodManager is the subset of methods the manager needs to observe the actual state of the kubelet.
PodStatusProvider knows how to provide status for a pod.