type ContainerType …
const Containers …
const InitContainers …
const EphemeralContainers …
const AllContainers …
func AllFeatureEnabledContainers() ContainerType { … }
type ContainerVisitor …
func VisitContainers(podSpec *api.PodSpec, mask ContainerType, visitor ContainerVisitor) bool { … }
type Visitor …
func skipEmptyNames(visitor Visitor) Visitor { … }
func VisitPodSecretNames(pod *api.Pod, visitor Visitor, containerType ContainerType) bool { … }
func visitContainerSecretNames(container *api.Container, visitor Visitor) bool { … }
func VisitPodConfigmapNames(pod *api.Pod, visitor Visitor, containerType ContainerType) bool { … }
func visitContainerConfigmapNames(container *api.Container, visitor Visitor) bool { … }
func IsPodReady(pod *api.Pod) bool { … }
func IsPodReadyConditionTrue(status api.PodStatus) bool { … }
func GetPodReadyCondition(status api.PodStatus) *api.PodCondition { … }
func GetPodCondition(status *api.PodStatus, conditionType api.PodConditionType) (int, *api.PodCondition) { … }
func UpdatePodCondition(status *api.PodStatus, condition *api.PodCondition) bool { … }
func checkContainerUseIndivisibleHugePagesValues(container api.Container) bool { … }
func usesIndivisibleHugePagesValues(podSpec *api.PodSpec) bool { … }
func hasInvalidTopologySpreadConstraintLabelSelector(spec *api.PodSpec) bool { … }
func hasNonLocalProjectedTokenPath(spec *api.PodSpec) bool { … }
func GetValidationOptionsFromPodSpecAndMeta(podSpec, oldPodSpec *api.PodSpec, podMeta, oldPodMeta *metav1.ObjectMeta) apivalidation.PodValidationOptions { … }
func useRelaxedEnvironmentVariableValidation(podSpec, oldPodSpec *api.PodSpec) bool { … }
func useRelaxedDNSSearchValidation(oldPodSpec *api.PodSpec) bool { … }
func hasDotOrUnderscore(searches []string) bool { … }
func gatherPodEnvVarNames(podSpec *api.PodSpec) sets.Set[string] { … }
func relaxedEnvVarUsed(name string, oldPodEnvVarNames sets.Set[string]) bool { … }
func hasUsedDownwardAPIFieldPathWithPodSpec(podSpec *api.PodSpec, fieldPath string) bool { … }
func hasUsedDownwardAPIFieldPathWithVolume(volume *api.Volume, fieldPath string) bool { … }
func hasUsedDownwardAPIFieldPathWithContainer(container *api.Container, fieldPath string) bool { … }
func GetValidationOptionsFromPodTemplate(podTemplate, oldPodTemplate *api.PodTemplateSpec) apivalidation.PodValidationOptions { … }
func DropDisabledTemplateFields(podTemplate, oldPodTemplate *api.PodTemplateSpec) { … }
func DropDisabledPodFields(pod, oldPod *api.Pod) { … }
func dropDisabledFields(
podSpec *api.PodSpec, podAnnotations map[string]string,
oldPodSpec *api.PodSpec, oldPodAnnotations map[string]string,
) { … }
func dropPodLifecycleSleepAction(podSpec, oldPodSpec *api.PodSpec) { … }
func podLifecycleSleepActionInUse(podSpec *api.PodSpec) bool { … }
func podLifecycleSleepActionZeroValueInUse(podSpec *api.PodSpec) bool { … }
func dropDisabledPodStatusFields(podStatus, oldPodStatus *api.PodStatus, podSpec, oldPodSpec *api.PodSpec) { … }
func hostIPsInUse(podStatus *api.PodStatus) bool { … }
func dropDisabledDynamicResourceAllocationFields(podSpec, oldPodSpec *api.PodSpec) { … }
func dynamicResourceAllocationInUse(podSpec *api.PodSpec) bool { … }
func dropResourceClaimRequests(containers []api.Container) { … }
func dropEphemeralResourceClaimRequests(containers []api.EphemeralContainer) { … }
func dropDisabledProcMountField(podSpec, oldPodSpec *api.PodSpec) { … }
func dropDisabledNodeInclusionPolicyFields(podSpec, oldPodSpec *api.PodSpec) { … }
func dropDisabledMatchLabelKeysFieldInPodAffinity(podSpec, oldPodSpec *api.PodSpec) { … }
func dropDisabledMatchLabelKeysFieldInTopologySpread(podSpec, oldPodSpec *api.PodSpec) { … }
func dropMatchLabelKeysFieldInWeightedPodAffnityTerm(terms []api.WeightedPodAffinityTerm) { … }
func dropMatchLabelKeysFieldInPodAffnityTerm(terms []api.PodAffinityTerm) { … }
func matchLabelKeysFieldInPodAffinityInUse(podSpec *api.PodSpec) bool { … }
func matchLabelKeysInTopologySpreadInUse(podSpec *api.PodSpec) bool { … }
func nodeAffinityPolicyInUse(podSpec *api.PodSpec) bool { … }
func nodeTaintsPolicyInUse(podSpec *api.PodSpec) bool { … }
func hostUsersInUse(podSpec *api.PodSpec) bool { … }
func supplementalGroupsPolicyInUse(podSpec *api.PodSpec) bool { … }
func inPlacePodVerticalScalingInUse(podSpec *api.PodSpec) bool { … }
func procMountInUse(podSpec *api.PodSpec) bool { … }
func appArmorAnnotationsInUse(podAnnotations map[string]string) bool { … }
func appArmorFieldsInUse(podSpec *api.PodSpec) bool { … }
func restartableInitContainersInUse(podSpec *api.PodSpec) bool { … }
func clusterTrustBundleProjectionInUse(podSpec *api.PodSpec) bool { … }
func rroInUse(podSpec *api.PodSpec) bool { … }
func dropDisabledClusterTrustBundleProjection(podSpec, oldPodSpec *api.PodSpec) { … }
func hasInvalidLabelValueInAffinitySelector(spec *api.PodSpec) bool { … }
func MarkPodProposedForResize(oldPod, newPod *api.Pod) { … }
func dropImageVolumes(podSpec, oldPodSpec *api.PodSpec) { … }
func imageVolumesInUse(podSpec *api.PodSpec) bool { … }
func dropSELinuxChangePolicy(podSpec, oldPodSpec *api.PodSpec) { … }
func seLinuxChangePolicyInUse(podSpec *api.PodSpec) bool { … }
func useOnlyRecursiveSELinuxChangePolicy(oldPodSpec *api.PodSpec) bool { … }