Versions in this module Expand all Collapse all v1 v1.16.3 Nov 9, 2022 Changes in this version + const ActionLengthLimit + const MaxDNSNameservers + const MaxDNSSearchListChars + const MaxDNSSearchPaths + const NoteLengthLimit + const ReasonLengthLimit + const ReportingInstanceLengthLimit + const SysctlFmt + const SysctlMaxLength + const SysctlSegmentFmt + var BannedOwners = apimachineryvalidation.BannedOwners + var ValidateClassName = apimachineryvalidation.NameIsDNSSubdomain + var ValidateClusterName = apimachineryvalidation.ValidateClusterName + var ValidateConfigMapName = apimachineryvalidation.NameIsDNSSubdomain + var ValidateEndpointsName = apimachineryvalidation.NameIsDNSSubdomain + var ValidateLimitRangeName = apimachineryvalidation.NameIsDNSSubdomain + var ValidateNamespaceName = apimachineryvalidation.ValidateNamespaceName + var ValidateNodeName = apimachineryvalidation.NameIsDNSSubdomain + var ValidatePersistentVolumeName = apimachineryvalidation.NameIsDNSSubdomain + var ValidatePodName = apimachineryvalidation.NameIsDNSSubdomain + var ValidatePriorityClassName = apimachineryvalidation.NameIsDNSSubdomain + var ValidateReplicationControllerName = apimachineryvalidation.NameIsDNSSubdomain + var ValidateResourceQuotaName = apimachineryvalidation.NameIsDNSSubdomain + var ValidateSecretName = apimachineryvalidation.NameIsDNSSubdomain + var ValidateServiceAccountName = apimachineryvalidation.ValidateServiceAccountName + var ValidateServiceName = apimachineryvalidation.NameIsDNS1035Label + func AccumulateUniqueHostPorts(containers []core.Container, accumulator *sets.String, fldPath *field.Path) field.ErrorList + func GetVolumeDeviceMap(devices []core.VolumeDevice) map[string]string + func GetVolumeMountMap(mounts []core.VolumeMount) map[string]string + func IsDecremented(update, old *int32) bool + func IsMatchedVolume(name string, volumes map[string]core.VolumeSource) bool + func IsValidSysctlName(name string) bool + func ValidateAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + func ValidateAppArmorPodAnnotations(annotations map[string]string, spec *core.PodSpec, fldPath *field.Path) field.ErrorList + func ValidateAvoidPodsInNodeAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + func ValidateCIDR(cidr string) (*net.IPNet, error) + func ValidateCSIDriverName(driverName string, fldPath *field.Path) field.ErrorList + func ValidateConditionalEndpoints(endpoints, oldEndpoints *api.Endpoints) field.ErrorList + func ValidateConditionalPod(pod, oldPod *api.Pod, fldPath *field.Path) field.ErrorList + func ValidateConditionalPodTemplate(podTemplate, oldPodTemplate *api.PodTemplateSpec, fldPath *field.Path) field.ErrorList + func ValidateConditionalService(service, oldService *api.Service) field.ErrorList + func ValidateConfigMap(cfg *core.ConfigMap) field.ErrorList + func ValidateConfigMapUpdate(newCfg, oldCfg *core.ConfigMap) field.ErrorList + func ValidateContainerStateTransition(newStatuses, oldStatuses []core.ContainerStatus, fldpath *field.Path, ...) field.ErrorList + func ValidateContainerUpdates(newContainers, oldContainers []core.Container, fldPath *field.Path) (allErrs field.ErrorList, stop bool) + func ValidateDNS1123Label(value string, fldPath *field.Path) field.ErrorList + func ValidateDNS1123Subdomain(value string, fldPath *field.Path) field.ErrorList + func ValidateEndpoints(endpoints *core.Endpoints) field.ErrorList + func ValidateEndpointsSpecificAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + func ValidateEndpointsUpdate(newEndpoints, oldEndpoints *core.Endpoints) field.ErrorList + func ValidateEnv(vars []core.EnvVar, fldPath *field.Path) field.ErrorList + func ValidateEnvFrom(vars []core.EnvFromSource, fldPath *field.Path) field.ErrorList + func ValidateEvent(event *core.Event) field.ErrorList + func ValidateHasLabel(meta metav1.ObjectMeta, fldPath *field.Path, key, expectedValue string) field.ErrorList + func ValidateHostAliases(hostAliases []core.HostAlias, fldPath *field.Path) field.ErrorList + func ValidateImmutableAnnotation(newVal string, oldVal string, annotation string, fldPath *field.Path) field.ErrorList + func ValidateImmutableField(newVal, oldVal interface{}, fldPath *field.Path) field.ErrorList + func ValidateLimitRange(limitRange *core.LimitRange) field.ErrorList + func ValidateLoadBalancerStatus(status *core.LoadBalancerStatus, fldPath *field.Path) field.ErrorList + func ValidateMaxSkew(fldPath *field.Path, maxSkew int32) *field.Error + func ValidateNamespace(namespace *core.Namespace) field.ErrorList + func ValidateNamespaceFinalizeUpdate(newNamespace, oldNamespace *core.Namespace) field.ErrorList + func ValidateNamespaceStatusUpdate(newNamespace, oldNamespace *core.Namespace) field.ErrorList + func ValidateNamespaceUpdate(newNamespace *core.Namespace, oldNamespace *core.Namespace) field.ErrorList + func ValidateNode(node *core.Node) field.ErrorList + func ValidateNodeFieldSelectorRequirement(req core.NodeSelectorRequirement, fldPath *field.Path) field.ErrorList + func ValidateNodeResources(node *core.Node) field.ErrorList + func ValidateNodeSelector(nodeSelector *core.NodeSelector, fldPath *field.Path) field.ErrorList + func ValidateNodeSelectorRequirement(rq core.NodeSelectorRequirement, fldPath *field.Path) field.ErrorList + func ValidateNodeSelectorTerm(term core.NodeSelectorTerm, fldPath *field.Path) field.ErrorList + func ValidateNodeSpecificAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + func ValidateNodeUpdate(node, oldNode *core.Node) field.ErrorList + func ValidateNonEmptySelector(selectorMap map[string]string, fldPath *field.Path) field.ErrorList + func ValidateNonnegativeField(value int64, fldPath *field.Path) field.ErrorList + func ValidateNonnegativeQuantity(value resource.Quantity, fldPath *field.Path) field.ErrorList + func ValidateObjectMeta(meta *metav1.ObjectMeta, requiresNamespace bool, nameFn ValidateNameFunc, ...) field.ErrorList + func ValidateObjectMetaUpdate(newMeta, oldMeta *metav1.ObjectMeta, fldPath *field.Path) field.ErrorList + func ValidatePersistentVolume(pv *core.PersistentVolume) field.ErrorList + func ValidatePersistentVolumeClaim(pvc *core.PersistentVolumeClaim) field.ErrorList + func ValidatePersistentVolumeClaimSpec(spec *core.PersistentVolumeClaimSpec, fldPath *field.Path) field.ErrorList + func ValidatePersistentVolumeClaimStatusUpdate(newPvc, oldPvc *core.PersistentVolumeClaim) field.ErrorList + func ValidatePersistentVolumeClaimUpdate(newPvc, oldPvc *core.PersistentVolumeClaim) field.ErrorList + func ValidatePersistentVolumeSpec(pvSpec *core.PersistentVolumeSpec, pvName string, ...) field.ErrorList + func ValidatePersistentVolumeStatusUpdate(newPv, oldPv *core.PersistentVolume) field.ErrorList + func ValidatePersistentVolumeUpdate(newPv, oldPv *core.PersistentVolume) field.ErrorList + func ValidatePod(pod *core.Pod) field.ErrorList + func ValidatePodBinding(binding *core.Binding) field.ErrorList + func ValidatePodCreate(pod *core.Pod) field.ErrorList + func ValidatePodEphemeralContainersUpdate(newPod, oldPod *core.Pod) field.ErrorList + func ValidatePodLogOptions(opts *core.PodLogOptions) field.ErrorList + func ValidatePodSecurityContext(securityContext *core.PodSecurityContext, spec *core.PodSpec, ...) field.ErrorList + func ValidatePodSpec(spec *core.PodSpec, fldPath *field.Path) field.ErrorList + func ValidatePodSpecificAnnotationUpdates(newPod, oldPod *core.Pod, fldPath *field.Path) field.ErrorList + func ValidatePodSpecificAnnotations(annotations map[string]string, spec *core.PodSpec, fldPath *field.Path) field.ErrorList + func ValidatePodStatusUpdate(newPod, oldPod *core.Pod) field.ErrorList + func ValidatePodTemplate(pod *core.PodTemplate) field.ErrorList + func ValidatePodTemplateSpec(spec *core.PodTemplateSpec, fldPath *field.Path) field.ErrorList + func ValidatePodTemplateSpecForRC(template *core.PodTemplateSpec, selectorMap map[string]string, replicas int32, ...) field.ErrorList + func ValidatePodTemplateUpdate(newPod, oldPod *core.PodTemplate) field.ErrorList + func ValidatePodUpdate(newPod, oldPod *core.Pod) field.ErrorList + func ValidatePortNumOrName(port intstr.IntOrString, fldPath *field.Path) field.ErrorList + func ValidatePositiveQuantityValue(value resource.Quantity, fldPath *field.Path) field.ErrorList + func ValidatePreemptionPolicy(preemptionPolicy *core.PreemptionPolicy, fldPath *field.Path) field.ErrorList + func ValidatePreferredSchedulingTerms(terms []core.PreferredSchedulingTerm, fldPath *field.Path) field.ErrorList + func ValidateProcMountType(fldPath *field.Path, procMountType core.ProcMountType) *field.Error + func ValidateReadOnlyPersistentDisks(volumes []core.Volume, fldPath *field.Path) field.ErrorList + func ValidateReplicationController(controller *core.ReplicationController) field.ErrorList + func ValidateReplicationControllerSpec(spec *core.ReplicationControllerSpec, fldPath *field.Path) field.ErrorList + func ValidateReplicationControllerStatus(status core.ReplicationControllerStatus, statusPath *field.Path) field.ErrorList + func ValidateReplicationControllerStatusUpdate(controller, oldController *core.ReplicationController) field.ErrorList + func ValidateReplicationControllerUpdate(controller, oldController *core.ReplicationController) field.ErrorList + func ValidateResourceQuantityValue(resource string, value resource.Quantity, fldPath *field.Path) field.ErrorList + func ValidateResourceQuota(resourceQuota *core.ResourceQuota) field.ErrorList + func ValidateResourceQuotaResourceName(value string, fldPath *field.Path) field.ErrorList + func ValidateResourceQuotaSpec(resourceQuotaSpec *core.ResourceQuotaSpec, fld *field.Path) field.ErrorList + func ValidateResourceQuotaStatus(status *core.ResourceQuotaStatus, fld *field.Path) field.ErrorList + func ValidateResourceQuotaStatusUpdate(newResourceQuota, oldResourceQuota *core.ResourceQuota) field.ErrorList + func ValidateResourceQuotaUpdate(newResourceQuota, oldResourceQuota *core.ResourceQuota) field.ErrorList + func ValidateResourceRequirements(requirements *core.ResourceRequirements, fldPath *field.Path) field.ErrorList + func ValidateRuntimeClassName(name string, fldPath *field.Path) field.ErrorList + func ValidateSeccompPodAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + func ValidateSeccompProfile(p string, fldPath *field.Path) field.ErrorList + func ValidateSecret(secret *core.Secret) field.ErrorList + func ValidateSecretUpdate(newSecret, oldSecret *core.Secret) field.ErrorList + func ValidateSecurityContext(sc *core.SecurityContext, fldPath *field.Path) field.ErrorList + func ValidateService(service *core.Service) field.ErrorList + func ValidateServiceAccount(serviceAccount *core.ServiceAccount) field.ErrorList + func ValidateServiceAccountUpdate(newServiceAccount, oldServiceAccount *core.ServiceAccount) field.ErrorList + func ValidateServiceExternalTrafficFieldsCombination(service *core.Service) field.ErrorList + func ValidateServiceStatusUpdate(service, oldService *core.Service) field.ErrorList + func ValidateServiceUpdate(service, oldService *core.Service) field.ErrorList + func ValidateSpreadConstraintNotRepeat(fldPath *field.Path, constraint core.TopologySpreadConstraint, ...) *field.Error + func ValidateTaintsInNodeAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + func ValidateTolerations(tolerations []core.Toleration, fldPath *field.Path) field.ErrorList + func ValidateTolerationsInPodAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + func ValidateTopologyKey(fldPath *field.Path, topologyKey string) *field.Error + func ValidateTopologySelectorTerm(term core.TopologySelectorTerm, fldPath *field.Path) (map[string]sets.String, field.ErrorList) + func ValidateVolumeDevices(devices []core.VolumeDevice, volmounts map[string]string, ...) field.ErrorList + func ValidateVolumeMounts(mounts []core.VolumeMount, voldevices map[string]string, ...) field.ErrorList + func ValidateVolumes(volumes []core.Volume, fldPath *field.Path) (map[string]core.VolumeSource, field.ErrorList) + func ValidateWhenUnsatisfiable(fldPath *field.Path, action core.UnsatisfiableConstraintAction) *field.Error + type ValidateNameFunc apimachineryvalidation.ValidateNameFunc