Documentation ¶
Index ¶
- func IsNotMoreThan100Percent(intOrStringValue util.IntOrString, fieldName string) errs.ValidationErrorList
- func ValidateClusterAutoscaler(autoscaler *extensions.ClusterAutoscaler) errs.ValidationErrorList
- func ValidateDaemonSet(controller *extensions.DaemonSet) errs.ValidationErrorList
- func ValidateDaemonSetName(name string, prefix bool) (bool, string)
- func ValidateDaemonSetSpec(spec *extensions.DaemonSetSpec) errs.ValidationErrorList
- func ValidateDaemonSetStatusUpdate(controller, oldController *extensions.DaemonSet) errs.ValidationErrorList
- func ValidateDaemonSetTemplateUpdate(oldPodTemplate, podTemplate *api.PodTemplateSpec) errs.ValidationErrorList
- func ValidateDaemonSetUpdate(oldController, controller *extensions.DaemonSet) errs.ValidationErrorList
- func ValidateDeployment(obj *extensions.Deployment) errs.ValidationErrorList
- func ValidateDeploymentName(name string, prefix bool) (bool, string)
- func ValidateDeploymentSpec(spec *extensions.DeploymentSpec) errs.ValidationErrorList
- func ValidateDeploymentStrategy(strategy *extensions.DeploymentStrategy, fieldName string) errs.ValidationErrorList
- func ValidateDeploymentUpdate(old, update *extensions.Deployment) errs.ValidationErrorList
- func ValidateHorizontalPodAutoscaler(autoscaler *extensions.HorizontalPodAutoscaler) errs.ValidationErrorList
- func ValidateHorizontalPodAutoscalerName(name string, prefix bool) (bool, string)
- func ValidateHorizontalPodAutoscalerStatusUpdate(controller, oldController *extensions.HorizontalPodAutoscaler) errs.ValidationErrorList
- func ValidateHorizontalPodAutoscalerUpdate(newAutoscler, oldAutoscaler *extensions.HorizontalPodAutoscaler) errs.ValidationErrorList
- func ValidateIngress(ingress *extensions.Ingress) errs.ValidationErrorList
- func ValidateIngressName(name string, prefix bool) (bool, string)
- func ValidateIngressSpec(spec *extensions.IngressSpec) errs.ValidationErrorList
- func ValidateIngressUpdate(oldIngress, ingress *extensions.Ingress) errs.ValidationErrorList
- func ValidateJob(job *extensions.Job) errs.ValidationErrorList
- func ValidateJobSpec(spec *extensions.JobSpec) errs.ValidationErrorList
- func ValidateJobSpecUpdate(oldSpec, spec extensions.JobSpec) errs.ValidationErrorList
- func ValidateJobStatus(status *extensions.JobStatus) errs.ValidationErrorList
- func ValidateJobStatusUpdate(oldStatus, status extensions.JobStatus) errs.ValidationErrorList
- func ValidateJobUpdate(oldJob, job *extensions.Job) errs.ValidationErrorList
- func ValidateJobUpdateStatus(oldJob, job *extensions.Job) errs.ValidationErrorList
- func ValidatePositiveIntOrPercent(intOrPercent util.IntOrString, fieldName string) errs.ValidationErrorList
- func ValidateRollingUpdateDeployment(rollingUpdate *extensions.RollingUpdateDeployment, fieldName string) errs.ValidationErrorList
- func ValidateThirdPartyResource(obj *extensions.ThirdPartyResource) errs.ValidationErrorList
- func ValidateThirdPartyResourceData(obj *extensions.ThirdPartyResourceData) errs.ValidationErrorList
- func ValidateThirdPartyResourceDataUpdate(old, update *extensions.ThirdPartyResourceData) errs.ValidationErrorList
- func ValidateThirdPartyResourceUpdate(old, update *extensions.ThirdPartyResource) errs.ValidationErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotMoreThan100Percent ¶
func IsNotMoreThan100Percent(intOrStringValue util.IntOrString, fieldName string) errs.ValidationErrorList
func ValidateClusterAutoscaler ¶
func ValidateClusterAutoscaler(autoscaler *extensions.ClusterAutoscaler) errs.ValidationErrorList
func ValidateDaemonSet ¶
func ValidateDaemonSet(controller *extensions.DaemonSet) errs.ValidationErrorList
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) errs.ValidationErrorList
ValidateDaemonSetSpec tests if required fields in the DaemonSetSpec are set.
func ValidateDaemonSetStatusUpdate ¶
func ValidateDaemonSetStatusUpdate(controller, oldController *extensions.DaemonSet) errs.ValidationErrorList
ValidateDaemonSetStatus validates tests if required fields in the DaemonSet Status section
func ValidateDaemonSetTemplateUpdate ¶
func ValidateDaemonSetTemplateUpdate(oldPodTemplate, podTemplate *api.PodTemplateSpec) errs.ValidationErrorList
ValidateDaemonSetTemplateUpdate tests that certain fields in the daemon set's pod template are not updated.
func ValidateDaemonSetUpdate ¶
func ValidateDaemonSetUpdate(oldController, controller *extensions.DaemonSet) errs.ValidationErrorList
ValidateDaemonSetUpdate tests if required fields in the DaemonSet are set.
func ValidateDeployment ¶
func ValidateDeployment(obj *extensions.Deployment) errs.ValidationErrorList
func ValidateDeploymentName ¶
Validates that the given name can be used as a deployment name.
func ValidateDeploymentSpec ¶
func ValidateDeploymentSpec(spec *extensions.DeploymentSpec) errs.ValidationErrorList
Validates given deployment spec.
func ValidateDeploymentStrategy ¶
func ValidateDeploymentStrategy(strategy *extensions.DeploymentStrategy, fieldName string) errs.ValidationErrorList
func ValidateDeploymentUpdate ¶
func ValidateDeploymentUpdate(old, update *extensions.Deployment) errs.ValidationErrorList
func ValidateHorizontalPodAutoscaler ¶
func ValidateHorizontalPodAutoscaler(autoscaler *extensions.HorizontalPodAutoscaler) errs.ValidationErrorList
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) errs.ValidationErrorList
func ValidateHorizontalPodAutoscalerUpdate ¶
func ValidateHorizontalPodAutoscalerUpdate(newAutoscler, oldAutoscaler *extensions.HorizontalPodAutoscaler) errs.ValidationErrorList
func ValidateIngress ¶
func ValidateIngress(ingress *extensions.Ingress) errs.ValidationErrorList
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) errs.ValidationErrorList
ValidateIngressSpec tests if required fields in the IngressSpec are set.
func ValidateIngressUpdate ¶
func ValidateIngressUpdate(oldIngress, ingress *extensions.Ingress) errs.ValidationErrorList
ValidateIngressUpdate tests if required fields in the Ingress are set.
func ValidateJob ¶
func ValidateJob(job *extensions.Job) errs.ValidationErrorList
func ValidateJobSpec ¶
func ValidateJobSpec(spec *extensions.JobSpec) errs.ValidationErrorList
func ValidateJobSpecUpdate ¶
func ValidateJobSpecUpdate(oldSpec, spec extensions.JobSpec) errs.ValidationErrorList
func ValidateJobStatus ¶
func ValidateJobStatus(status *extensions.JobStatus) errs.ValidationErrorList
func ValidateJobStatusUpdate ¶
func ValidateJobStatusUpdate(oldStatus, status extensions.JobStatus) errs.ValidationErrorList
func ValidateJobUpdate ¶
func ValidateJobUpdate(oldJob, job *extensions.Job) errs.ValidationErrorList
func ValidateJobUpdateStatus ¶
func ValidateJobUpdateStatus(oldJob, job *extensions.Job) errs.ValidationErrorList
func ValidatePositiveIntOrPercent ¶
func ValidatePositiveIntOrPercent(intOrPercent util.IntOrString, fieldName string) errs.ValidationErrorList
func ValidateRollingUpdateDeployment ¶
func ValidateRollingUpdateDeployment(rollingUpdate *extensions.RollingUpdateDeployment, fieldName string) errs.ValidationErrorList
func ValidateThirdPartyResource ¶
func ValidateThirdPartyResource(obj *extensions.ThirdPartyResource) errs.ValidationErrorList
func ValidateThirdPartyResourceData ¶
func ValidateThirdPartyResourceData(obj *extensions.ThirdPartyResourceData) errs.ValidationErrorList
func ValidateThirdPartyResourceDataUpdate ¶
func ValidateThirdPartyResourceDataUpdate(old, update *extensions.ThirdPartyResourceData) errs.ValidationErrorList
func ValidateThirdPartyResourceUpdate ¶
func ValidateThirdPartyResourceUpdate(old, update *extensions.ThirdPartyResource) errs.ValidationErrorList
Types ¶
This section is empty.