Versions in this module Expand all Collapse all v1 v1.4.0 Oct 17, 2016 Changes in this version + const SysctlFmt + const SysctlMaxLength + const SysctlSegmentFmt + var BannedOwners = map[unversioned.GroupVersionKind]struct + var NameMayNotBe = []string + var NameMayNotContain = []string + var RepairMalformedUpdates bool = true + var ValidateClusterName = NameIsDNS1035Label + var ValidateConfigMapName = NameIsDNSSubdomain + var ValidateEndpointsName = NameIsDNSSubdomain + var ValidateLimitRangeName = NameIsDNSSubdomain + var ValidateNamespaceName = NameIsDNSLabel + var ValidateNodeName = NameIsDNSSubdomain + var ValidatePersistentVolumeName = NameIsDNSSubdomain + var ValidatePodName = NameIsDNSSubdomain + var ValidateReplicationControllerName = NameIsDNSSubdomain + var ValidateResourceQuotaName = NameIsDNSSubdomain + var ValidateSecretName = NameIsDNSSubdomain + var ValidateServiceAccountName = NameIsDNSSubdomain + var ValidateServiceName = NameIsDNS1035Label + func AccumulateUniqueHostPorts(containers []api.Container, accumulator *sets.String, fldPath *field.Path) field.ErrorList + func IsValidPathSegmentName(name string) []string + func IsValidPathSegmentPrefix(name string) []string + 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 NewInvalidTypeError(expected reflect.Kind, observed reflect.Kind, fieldName string) error + func ValidateAffinityInPodAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + 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 ValidateEvent(event *api.Event) field.ErrorList + func ValidateHasLabel(meta api.ObjectMeta, fldPath *field.Path, key, expectedValue string) 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 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 *api.ObjectMeta, requiresNamespace bool, nameFn ValidateNameFunc, ...) field.ErrorList + func ValidateObjectMetaUpdate(newMeta, oldMeta *api.ObjectMeta, fldPath *field.Path) field.ErrorList + func ValidateOwnerReferences(ownerReferences []api.OwnerReference, fldPath *field.Path) field.ErrorList + func ValidatePathSegmentName(name string, prefix bool) []string + 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 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 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 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 ValidateTolerationsInPodAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + type InvalidTypeError struct + ExpectedKind reflect.Kind + FieldName string + ObservedKind reflect.Kind + func (i *InvalidTypeError) Error() string + type NullSchema struct + func (NullSchema) ValidateBytes(data []byte) error + type Schema interface + ValidateBytes func(data []byte) error + func NewSwaggerSchemaFromBytes(data []byte, factory Schema) (Schema, error) + type SwaggerSchema struct + func (s *SwaggerSchema) ValidateBytes(data []byte) error + func (s *SwaggerSchema) ValidateObject(obj interface{}, fieldName, typeName string) []error + type TypeNotFoundError string + func (tnfe TypeNotFoundError) Error() string + type ValidateNameFunc func(name string, prefix bool) []string