Versions in this module Expand all Collapse all v1 v1.0.6 Sep 13, 2015 v1.0.5 Aug 24, 2015 Changes in this version + const SecretKeyFmt + var DNS1123LabelErrorMsg string = fmt.Sprintf(...) + var DNS952LabelErrorMsg string = fmt.Sprintf(...) + var DNSSubdomainErrorMsg string = fmt.Sprintf(...) + func AccumulateUniqueHostPorts(containers []api.Container, accumulator *util.StringSet) errs.ValidationErrorList + func IsSecretKey(value string) bool + func NameIsDNS952Label(name string, prefix bool) (bool, string) + func NameIsDNSLabel(name string, prefix bool) (bool, string) + func NameIsDNSSubdomain(name string, prefix bool) (bool, string) + func NewInvalidTypeError(expected reflect.Kind, observed reflect.Kind, fieldName string) error + func ValidateAnnotations(annotations map[string]string, field string) errs.ValidationErrorList + func ValidateDaemon(controller *api.Daemon) errs.ValidationErrorList + func ValidateDaemonName(name string, prefix bool) (bool, string) + func ValidateDaemonSpec(spec *api.DaemonSpec) errs.ValidationErrorList + func ValidateDaemonTemplateUpdate(oldPodTemplate, podTemplate *api.PodTemplateSpec) errs.ValidationErrorList + func ValidateDaemonUpdate(oldController, controller *api.Daemon) errs.ValidationErrorList + func ValidateEndpoints(endpoints *api.Endpoints) errs.ValidationErrorList + func ValidateEndpointsName(name string, prefix bool) (bool, string) + func ValidateEndpointsUpdate(oldEndpoints, newEndpoints *api.Endpoints) errs.ValidationErrorList + func ValidateEvent(event *api.Event) errs.ValidationErrorList + func ValidateLabels(labels map[string]string, field string) errs.ValidationErrorList + func ValidateLimitRange(limitRange *api.LimitRange) errs.ValidationErrorList + func ValidateLimitRangeName(name string, prefix bool) (bool, string) + func ValidateNamespace(namespace *api.Namespace) errs.ValidationErrorList + func ValidateNamespaceFinalizeUpdate(newNamespace, oldNamespace *api.Namespace) errs.ValidationErrorList + func ValidateNamespaceName(name string, prefix bool) (bool, string) + func ValidateNamespaceStatusUpdate(newNamespace, oldNamespace *api.Namespace) errs.ValidationErrorList + func ValidateNamespaceUpdate(newNamespace *api.Namespace, oldNamespace *api.Namespace) errs.ValidationErrorList + func ValidateNode(node *api.Node) errs.ValidationErrorList + func ValidateNodeName(name string, prefix bool) (bool, string) + func ValidateNodeUpdate(oldNode *api.Node, node *api.Node) errs.ValidationErrorList + func ValidateObjectMeta(meta *api.ObjectMeta, requiresNamespace bool, nameFn ValidateNameFunc) errs.ValidationErrorList + func ValidateObjectMetaUpdate(new, old *api.ObjectMeta) errs.ValidationErrorList + func ValidatePersistentVolume(pv *api.PersistentVolume) errs.ValidationErrorList + func ValidatePersistentVolumeClaim(pvc *api.PersistentVolumeClaim) errs.ValidationErrorList + func ValidatePersistentVolumeClaimStatusUpdate(newPvc, oldPvc *api.PersistentVolumeClaim) errs.ValidationErrorList + func ValidatePersistentVolumeClaimUpdate(newPvc, oldPvc *api.PersistentVolumeClaim) errs.ValidationErrorList + func ValidatePersistentVolumeName(name string, prefix bool) (bool, string) + func ValidatePersistentVolumeStatusUpdate(newPv, oldPv *api.PersistentVolume) errs.ValidationErrorList + func ValidatePersistentVolumeUpdate(newPv, oldPv *api.PersistentVolume) errs.ValidationErrorList + func ValidatePod(pod *api.Pod) errs.ValidationErrorList + func ValidatePodName(name string, prefix bool) (bool, string) + func ValidatePodSpec(spec *api.PodSpec) errs.ValidationErrorList + func ValidatePodStatusUpdate(newPod, oldPod *api.Pod) errs.ValidationErrorList + func ValidatePodTemplate(pod *api.PodTemplate) errs.ValidationErrorList + func ValidatePodTemplateSpec(spec *api.PodTemplateSpec) errs.ValidationErrorList + func ValidatePodTemplateUpdate(newPod, oldPod *api.PodTemplate) errs.ValidationErrorList + func ValidatePodUpdate(newPod, oldPod *api.Pod) errs.ValidationErrorList + func ValidateReadOnlyPersistentDisks(volumes []api.Volume) errs.ValidationErrorList + func ValidateReplicationController(controller *api.ReplicationController) errs.ValidationErrorList + func ValidateReplicationControllerName(name string, prefix bool) (bool, string) + func ValidateReplicationControllerSpec(spec *api.ReplicationControllerSpec) errs.ValidationErrorList + func ValidateReplicationControllerUpdate(oldController, controller *api.ReplicationController) errs.ValidationErrorList + func ValidateResourceQuota(resourceQuota *api.ResourceQuota) errs.ValidationErrorList + func ValidateResourceQuotaName(name string, prefix bool) (bool, string) + func ValidateResourceQuotaStatusUpdate(newResourceQuota, oldResourceQuota *api.ResourceQuota) errs.ValidationErrorList + func ValidateResourceQuotaUpdate(newResourceQuota, oldResourceQuota *api.ResourceQuota) errs.ValidationErrorList + func ValidateResourceRequirements(requirements *api.ResourceRequirements) errs.ValidationErrorList + func ValidateSecret(secret *api.Secret) errs.ValidationErrorList + func ValidateSecretName(name string, prefix bool) (bool, string) + func ValidateSecretUpdate(oldSecret, newSecret *api.Secret) errs.ValidationErrorList + func ValidateSecurityContext(sc *api.SecurityContext) errs.ValidationErrorList + func ValidateSecurityContextConstraints(scc *api.SecurityContextConstraints) errs.ValidationErrorList + func ValidateSecurityContextConstraintsName(name string, prefix bool) (bool, string) + func ValidateSecurityContextConstraintsUpdate(old *api.SecurityContextConstraints, new *api.SecurityContextConstraints) errs.ValidationErrorList + func ValidateService(service *api.Service) errs.ValidationErrorList + func ValidateServiceAccount(serviceAccount *api.ServiceAccount) errs.ValidationErrorList + func ValidateServiceAccountName(name string, prefix bool) (bool, string) + func ValidateServiceAccountUpdate(oldServiceAccount, newServiceAccount *api.ServiceAccount) errs.ValidationErrorList + func ValidateServiceName(name string, prefix bool) (bool, string) + func ValidateServiceUpdate(oldService, service *api.Service) errs.ValidationErrorList + 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) (Schema, error) + type SwaggerSchema struct + func (s *SwaggerSchema) ValidateBytes(data []byte) error + func (s *SwaggerSchema) ValidateObject(obj interface{}, apiVersion, fieldName, typeName string) errs.ValidationErrorList + type ValidateNameFunc func(name string, prefix bool) (bool, string)