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