Documentation ¶
Index ¶
- func IsNotMoreThan100Percent(intOrStringValue intstr.IntOrString, fieldName string) validation.ErrorList
- func ValidateClusterAutoscaler(autoscaler *extensions.ClusterAutoscaler) validation.ErrorList
- func ValidateDaemonSet(controller *extensions.DaemonSet) validation.ErrorList
- func ValidateDaemonSetName(name string, prefix bool) (bool, string)
- func ValidateDaemonSetSpec(spec *extensions.DaemonSetSpec) validation.ErrorList
- func ValidateDaemonSetStatusUpdate(controller, oldController *extensions.DaemonSet) validation.ErrorList
- func ValidateDaemonSetTemplateUpdate(podTemplate, oldPodTemplate *api.PodTemplateSpec) validation.ErrorList
- func ValidateDaemonSetUpdate(controller, oldController *extensions.DaemonSet) validation.ErrorList
- func ValidateDeployment(obj *extensions.Deployment) validation.ErrorList
- func ValidateDeploymentName(name string, prefix bool) (bool, string)
- func ValidateDeploymentSpec(spec *extensions.DeploymentSpec) validation.ErrorList
- func ValidateDeploymentStrategy(strategy *extensions.DeploymentStrategy, fieldName string) validation.ErrorList
- func ValidateDeploymentUpdate(update, old *extensions.Deployment) validation.ErrorList
- func ValidateHorizontalPodAutoscaler(autoscaler *extensions.HorizontalPodAutoscaler) validation.ErrorList
- func ValidateHorizontalPodAutoscalerName(name string, prefix bool) (bool, string)
- func ValidateHorizontalPodAutoscalerStatusUpdate(controller, oldController *extensions.HorizontalPodAutoscaler) validation.ErrorList
- func ValidateHorizontalPodAutoscalerUpdate(newAutoscler, oldAutoscaler *extensions.HorizontalPodAutoscaler) validation.ErrorList
- func ValidateIngress(ingress *extensions.Ingress) validation.ErrorList
- func ValidateIngressName(name string, prefix bool) (bool, string)
- func ValidateIngressSpec(spec *extensions.IngressSpec) validation.ErrorList
- func ValidateIngressStatusUpdate(ingress, oldIngress *extensions.Ingress) validation.ErrorList
- func ValidateIngressUpdate(ingress, oldIngress *extensions.Ingress) validation.ErrorList
- func ValidateJob(job *extensions.Job) validation.ErrorList
- func ValidateJobSpec(spec *extensions.JobSpec) validation.ErrorList
- func ValidateJobSpecUpdate(spec, oldSpec extensions.JobSpec) validation.ErrorList
- func ValidateJobStatus(status *extensions.JobStatus) validation.ErrorList
- func ValidateJobStatusUpdate(status, oldStatus extensions.JobStatus) validation.ErrorList
- func ValidateJobUpdate(job, oldJob *extensions.Job) validation.ErrorList
- func ValidateJobUpdateStatus(job, oldJob *extensions.Job) validation.ErrorList
- func ValidatePodSelector(ps *extensions.PodSelector) validation.ErrorList
- func ValidatePodSelectorRequirement(sr extensions.PodSelectorRequirement) validation.ErrorList
- func ValidatePositiveIntOrPercent(intOrPercent intstr.IntOrString, fieldName string) validation.ErrorList
- func ValidateRollingUpdateDeployment(rollingUpdate *extensions.RollingUpdateDeployment, fieldName string) validation.ErrorList
- func ValidateScale(scale *extensions.Scale) validation.ErrorList
- func ValidateSubresourceReference(ref extensions.SubresourceReference) validation.ErrorList
- func ValidateThirdPartyResource(obj *extensions.ThirdPartyResource) validation.ErrorList
- func ValidateThirdPartyResourceData(obj *extensions.ThirdPartyResourceData) validation.ErrorList
- func ValidateThirdPartyResourceDataUpdate(update, old *extensions.ThirdPartyResourceData) validation.ErrorList
- func ValidateThirdPartyResourceName(name string, prefix bool) (bool, string)
- func ValidateThirdPartyResourceUpdate(update, old *extensions.ThirdPartyResource) validation.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotMoreThan100Percent ¶
func IsNotMoreThan100Percent(intOrStringValue intstr.IntOrString, fieldName string) validation.ErrorList
func ValidateClusterAutoscaler ¶
func ValidateClusterAutoscaler(autoscaler *extensions.ClusterAutoscaler) validation.ErrorList
func ValidateDaemonSet ¶
func ValidateDaemonSet(controller *extensions.DaemonSet) validation.ErrorList
ValidateDaemonSet tests if required fields in the DaemonSet are set.
func ValidateDaemonSetName ¶
ValidateDaemonSetName can be used to check whether the given daemon set name is valid. Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.
func ValidateDaemonSetSpec ¶
func ValidateDaemonSetSpec(spec *extensions.DaemonSetSpec) validation.ErrorList
ValidateDaemonSetSpec tests if required fields in the DaemonSetSpec are set.
func ValidateDaemonSetStatusUpdate ¶
func ValidateDaemonSetStatusUpdate(controller, oldController *extensions.DaemonSet) validation.ErrorList
ValidateDaemonSetStatus validates tests if required fields in the DaemonSet Status section
func ValidateDaemonSetTemplateUpdate ¶
func ValidateDaemonSetTemplateUpdate(podTemplate, oldPodTemplate *api.PodTemplateSpec) validation.ErrorList
ValidateDaemonSetTemplateUpdate tests that certain fields in the daemon set's pod template are not updated.
func ValidateDaemonSetUpdate ¶
func ValidateDaemonSetUpdate(controller, oldController *extensions.DaemonSet) validation.ErrorList
ValidateDaemonSetUpdate tests if required fields in the DaemonSet are set.
func ValidateDeployment ¶
func ValidateDeployment(obj *extensions.Deployment) validation.ErrorList
func ValidateDeploymentName ¶
Validates that the given name can be used as a deployment name.
func ValidateDeploymentSpec ¶
func ValidateDeploymentSpec(spec *extensions.DeploymentSpec) validation.ErrorList
Validates given deployment spec.
func ValidateDeploymentStrategy ¶
func ValidateDeploymentStrategy(strategy *extensions.DeploymentStrategy, fieldName string) validation.ErrorList
func ValidateDeploymentUpdate ¶
func ValidateDeploymentUpdate(update, old *extensions.Deployment) validation.ErrorList
func ValidateHorizontalPodAutoscaler ¶
func ValidateHorizontalPodAutoscaler(autoscaler *extensions.HorizontalPodAutoscaler) validation.ErrorList
func ValidateHorizontalPodAutoscalerName ¶
ValidateHorizontalPodAutoscaler can be used to check whether the given autoscaler name is valid. Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.
func ValidateHorizontalPodAutoscalerStatusUpdate ¶
func ValidateHorizontalPodAutoscalerStatusUpdate(controller, oldController *extensions.HorizontalPodAutoscaler) validation.ErrorList
func ValidateHorizontalPodAutoscalerUpdate ¶
func ValidateHorizontalPodAutoscalerUpdate(newAutoscler, oldAutoscaler *extensions.HorizontalPodAutoscaler) validation.ErrorList
func ValidateIngress ¶
func ValidateIngress(ingress *extensions.Ingress) validation.ErrorList
ValidateIngress tests if required fields in the Ingress are set.
func ValidateIngressName ¶
ValidateIngressName validates that the given name can be used as an Ingress name.
func ValidateIngressSpec ¶
func ValidateIngressSpec(spec *extensions.IngressSpec) validation.ErrorList
ValidateIngressSpec tests if required fields in the IngressSpec are set.
func ValidateIngressStatusUpdate ¶
func ValidateIngressStatusUpdate(ingress, oldIngress *extensions.Ingress) validation.ErrorList
ValidateIngressStatusUpdate tests if required fields in the Ingress are set when updating status.
func ValidateIngressUpdate ¶
func ValidateIngressUpdate(ingress, oldIngress *extensions.Ingress) validation.ErrorList
ValidateIngressUpdate tests if required fields in the Ingress are set.
func ValidateJob ¶
func ValidateJob(job *extensions.Job) validation.ErrorList
func ValidateJobSpec ¶
func ValidateJobSpec(spec *extensions.JobSpec) validation.ErrorList
func ValidateJobSpecUpdate ¶
func ValidateJobSpecUpdate(spec, oldSpec extensions.JobSpec) validation.ErrorList
func ValidateJobStatus ¶
func ValidateJobStatus(status *extensions.JobStatus) validation.ErrorList
func ValidateJobStatusUpdate ¶
func ValidateJobStatusUpdate(status, oldStatus extensions.JobStatus) validation.ErrorList
func ValidateJobUpdate ¶
func ValidateJobUpdate(job, oldJob *extensions.Job) validation.ErrorList
func ValidateJobUpdateStatus ¶
func ValidateJobUpdateStatus(job, oldJob *extensions.Job) validation.ErrorList
func ValidatePodSelector ¶
func ValidatePodSelector(ps *extensions.PodSelector) validation.ErrorList
func ValidatePodSelectorRequirement ¶
func ValidatePodSelectorRequirement(sr extensions.PodSelectorRequirement) validation.ErrorList
func ValidatePositiveIntOrPercent ¶
func ValidatePositiveIntOrPercent(intOrPercent intstr.IntOrString, fieldName string) validation.ErrorList
func ValidateRollingUpdateDeployment ¶
func ValidateRollingUpdateDeployment(rollingUpdate *extensions.RollingUpdateDeployment, fieldName string) validation.ErrorList
func ValidateScale ¶ added in v1.2.0
func ValidateScale(scale *extensions.Scale) validation.ErrorList
func ValidateSubresourceReference ¶ added in v1.2.0
func ValidateSubresourceReference(ref extensions.SubresourceReference) validation.ErrorList
func ValidateThirdPartyResource ¶
func ValidateThirdPartyResource(obj *extensions.ThirdPartyResource) validation.ErrorList
func ValidateThirdPartyResourceData ¶
func ValidateThirdPartyResourceData(obj *extensions.ThirdPartyResourceData) validation.ErrorList
func ValidateThirdPartyResourceDataUpdate ¶
func ValidateThirdPartyResourceDataUpdate(update, old *extensions.ThirdPartyResourceData) validation.ErrorList
func ValidateThirdPartyResourceName ¶ added in v1.2.0
func ValidateThirdPartyResourceUpdate ¶
func ValidateThirdPartyResourceUpdate(update, old *extensions.ThirdPartyResource) validation.ErrorList
Types ¶
This section is empty.