Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 Changes in this version + const SysctlFmt + const SysctlMaxLength + const SysctlSegmentFmt + var BannedOwners = genericvalidation.BannedOwners + var RepairMalformedUpdates bool = genericvalidation.RepairMalformedUpdates + var ValidateClassName = NameIsDNSSubdomain + var ValidateClusterName = genericvalidation.ValidateClusterName + var ValidateConfigMapName = NameIsDNSSubdomain + var ValidateEndpointsName = NameIsDNSSubdomain + var ValidateLimitRangeName = NameIsDNSSubdomain + var ValidateNamespaceName = apimachineryvalidation.ValidateNamespaceName + var ValidateNodeName = NameIsDNSSubdomain + var ValidatePersistentVolumeName = NameIsDNSSubdomain + var ValidatePodName = NameIsDNSSubdomain + var ValidatePriorityClassName = NameIsDNSSubdomain + var ValidateReplicationControllerName = NameIsDNSSubdomain + var ValidateResourceQuotaName = NameIsDNSSubdomain + var ValidateSecretName = NameIsDNSSubdomain + var ValidateServiceAccountName = apimachineryvalidation.ValidateServiceAccountName + var ValidateServiceName = NameIsDNS1035Label + func AccumulateUniqueHostPorts(containers []api.Container, accumulator *sets.String, fldPath *field.Path) field.ErrorList + func IsValidSysctlName(name string) bool + func NameIsDNS1035Label(name string, prefix bool) []string + func NameIsDNSLabel(name string, prefix bool) []string + func NameIsDNSSubdomain(name string, prefix bool) []string + func ValidateAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + func ValidateAppArmorPodAnnotations(annotations map[string]string, spec *api.PodSpec, fldPath *field.Path) field.ErrorList + func ValidateAvoidPodsInNodeAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + func ValidateConfigMap(cfg *api.ConfigMap) field.ErrorList + func ValidateConfigMapUpdate(newCfg, oldCfg *api.ConfigMap) field.ErrorList + func ValidateContainerUpdates(newContainers, oldContainers []api.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 *api.Endpoints) field.ErrorList + func ValidateEndpointsSpecificAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + func ValidateEndpointsUpdate(newEndpoints, oldEndpoints *api.Endpoints) field.ErrorList + func ValidateEnv(vars []api.EnvVar, fldPath *field.Path) field.ErrorList + func ValidateEnvFrom(vars []api.EnvFromSource, fldPath *field.Path) field.ErrorList + func ValidateEvent(event *api.Event) field.ErrorList + func ValidateHasLabel(meta metav1.ObjectMeta, fldPath *field.Path, key, expectedValue string) field.ErrorList + func ValidateHostAliases(hostAliases []api.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 *api.LimitRange) field.ErrorList + func ValidateLoadBalancerStatus(status *api.LoadBalancerStatus, fldPath *field.Path) field.ErrorList + func ValidateNamespace(namespace *api.Namespace) field.ErrorList + func ValidateNamespaceFinalizeUpdate(newNamespace, oldNamespace *api.Namespace) field.ErrorList + func ValidateNamespaceStatusUpdate(newNamespace, oldNamespace *api.Namespace) field.ErrorList + func ValidateNamespaceUpdate(newNamespace *api.Namespace, oldNamespace *api.Namespace) field.ErrorList + func ValidateNoNewFinalizers(newFinalizers []string, oldFinalizers []string, fldPath *field.Path) field.ErrorList + func ValidateNode(node *api.Node) field.ErrorList + func ValidateNodeResources(node *api.Node) field.ErrorList + func ValidateNodeSelector(nodeSelector *api.NodeSelector, fldPath *field.Path) field.ErrorList + func ValidateNodeSelectorRequirement(rq api.NodeSelectorRequirement, fldPath *field.Path) field.ErrorList + func ValidateNodeSelectorTerm(term api.NodeSelectorTerm, fldPath *field.Path) field.ErrorList + func ValidateNodeSpecificAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + func ValidateNodeUpdate(node, oldNode *api.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 ValidateOwnerReferences(ownerReferences []metav1.OwnerReference, fldPath *field.Path) field.ErrorList + func ValidatePersistentVolume(pv *api.PersistentVolume) field.ErrorList + func ValidatePersistentVolumeClaim(pvc *api.PersistentVolumeClaim) field.ErrorList + func ValidatePersistentVolumeClaimSpec(spec *api.PersistentVolumeClaimSpec, fldPath *field.Path) field.ErrorList + func ValidatePersistentVolumeClaimStatusUpdate(newPvc, oldPvc *api.PersistentVolumeClaim) field.ErrorList + func ValidatePersistentVolumeClaimUpdate(newPvc, oldPvc *api.PersistentVolumeClaim) field.ErrorList + func ValidatePersistentVolumeStatusUpdate(newPv, oldPv *api.PersistentVolume) field.ErrorList + func ValidatePersistentVolumeUpdate(newPv, oldPv *api.PersistentVolume) field.ErrorList + func ValidatePod(pod *api.Pod) field.ErrorList + func ValidatePodBinding(binding *api.Binding) field.ErrorList + func ValidatePodLogOptions(opts *api.PodLogOptions) field.ErrorList + func ValidatePodSecurityContext(securityContext *api.PodSecurityContext, spec *api.PodSpec, ...) field.ErrorList + func ValidatePodSpec(spec *api.PodSpec, fldPath *field.Path) field.ErrorList + func ValidatePodSpecificAnnotationUpdates(newPod, oldPod *api.Pod, fldPath *field.Path) field.ErrorList + func ValidatePodSpecificAnnotations(annotations map[string]string, spec *api.PodSpec, fldPath *field.Path) field.ErrorList + func ValidatePodStatusUpdate(newPod, oldPod *api.Pod) field.ErrorList + func ValidatePodTemplate(pod *api.PodTemplate) field.ErrorList + func ValidatePodTemplateSpec(spec *api.PodTemplateSpec, fldPath *field.Path) field.ErrorList + func ValidatePodTemplateSpecForRC(template *api.PodTemplateSpec, selectorMap map[string]string, replicas int32, ...) field.ErrorList + func ValidatePodTemplateUpdate(newPod, oldPod *api.PodTemplate) field.ErrorList + func ValidatePodUpdate(newPod, oldPod *api.Pod) field.ErrorList + func ValidatePortNumOrName(port intstr.IntOrString, fldPath *field.Path) field.ErrorList + func ValidatePreferredSchedulingTerms(terms []api.PreferredSchedulingTerm, fldPath *field.Path) field.ErrorList + func ValidateReadOnlyPersistentDisks(volumes []api.Volume, fldPath *field.Path) field.ErrorList + func ValidateReplicationController(controller *api.ReplicationController) field.ErrorList + func ValidateReplicationControllerSpec(spec *api.ReplicationControllerSpec, fldPath *field.Path) field.ErrorList + func ValidateReplicationControllerStatus(status api.ReplicationControllerStatus, statusPath *field.Path) field.ErrorList + func ValidateReplicationControllerStatusUpdate(controller, oldController *api.ReplicationController) field.ErrorList + func ValidateReplicationControllerUpdate(controller, oldController *api.ReplicationController) field.ErrorList + func ValidateResourceQuantityValue(resource string, value resource.Quantity, fldPath *field.Path) field.ErrorList + func ValidateResourceQuota(resourceQuota *api.ResourceQuota) field.ErrorList + func ValidateResourceQuotaResourceName(value string, fldPath *field.Path) field.ErrorList + func ValidateResourceQuotaSpec(resourceQuotaSpec *api.ResourceQuotaSpec, fld *field.Path) field.ErrorList + func ValidateResourceQuotaStatus(status *api.ResourceQuotaStatus, fld *field.Path) field.ErrorList + func ValidateResourceQuotaStatusUpdate(newResourceQuota, oldResourceQuota *api.ResourceQuota) field.ErrorList + func ValidateResourceQuotaUpdate(newResourceQuota, oldResourceQuota *api.ResourceQuota) field.ErrorList + func ValidateResourceRequirements(requirements *api.ResourceRequirements, 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 *api.Secret) field.ErrorList + func ValidateSecretUpdate(newSecret, oldSecret *api.Secret) field.ErrorList + func ValidateSecurityContext(sc *api.SecurityContext, fldPath *field.Path) field.ErrorList + func ValidateService(service *api.Service) field.ErrorList + func ValidateServiceAccount(serviceAccount *api.ServiceAccount) field.ErrorList + func ValidateServiceAccountUpdate(newServiceAccount, oldServiceAccount *api.ServiceAccount) field.ErrorList + func ValidateServiceExternalTrafficFieldsCombination(service *api.Service) field.ErrorList + func ValidateServiceStatusUpdate(service, oldService *api.Service) field.ErrorList + func ValidateServiceUpdate(service, oldService *api.Service) field.ErrorList + func ValidateTaintsInNodeAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + func ValidateTolerations(tolerations []api.Toleration, fldPath *field.Path) field.ErrorList + func ValidateTolerationsInPodAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + func ValidateVolumeMounts(mounts []api.VolumeMount, volumes sets.String, container *api.Container, ...) field.ErrorList + func ValidateVolumes(volumes []api.Volume, fldPath *field.Path) (sets.String, field.ErrorList) + type ValidateNameFunc apimachineryvalidation.ValidateNameFunc