Documentation ¶
Index ¶
- func IsNotMoreThan100Percent(intOrStringValue util.IntOrString, fieldName string) errs.ValidationErrorList
- func ValidateDaemon(controller *expapi.Daemon) errs.ValidationErrorList
- func ValidateDaemonName(name string, prefix bool) (bool, string)
- func ValidateDaemonSpec(spec *expapi.DaemonSpec) errs.ValidationErrorList
- func ValidateDaemonTemplateUpdate(oldPodTemplate, podTemplate *api.PodTemplateSpec) errs.ValidationErrorList
- func ValidateDaemonUpdate(oldController, controller *expapi.Daemon) errs.ValidationErrorList
- func ValidateDeployment(obj *expapi.Deployment) errs.ValidationErrorList
- func ValidateDeploymentName(name string, prefix bool) (bool, string)
- func ValidateDeploymentSpec(spec *expapi.DeploymentSpec) errs.ValidationErrorList
- func ValidateDeploymentStrategy(strategy *expapi.DeploymentStrategy, fieldName string) errs.ValidationErrorList
- func ValidateDeploymentUpdate(old, update *expapi.Deployment) errs.ValidationErrorList
- func ValidateHorizontalPodAutoscaler(autoscaler *expapi.HorizontalPodAutoscaler) errs.ValidationErrorList
- func ValidateHorizontalPodAutoscalerName(name string, prefix bool) (bool, string)
- func ValidateHorizontalPodAutoscalerUpdate(newAutoscler, oldAutoscaler *expapi.HorizontalPodAutoscaler) errs.ValidationErrorList
- func ValidatePositiveIntOrPercent(intOrPercent util.IntOrString, fieldName string) errs.ValidationErrorList
- func ValidateRollingUpdateDeployment(rollingUpdate *expapi.RollingUpdateDeployment, fieldName string) errs.ValidationErrorList
- func ValidateThirdPartyResource(obj *expapi.ThirdPartyResource) errs.ValidationErrorList
- func ValidateThirdPartyResourceData(obj *expapi.ThirdPartyResourceData) errs.ValidationErrorList
- func ValidateThirdPartyResourceDataUpdate(old, update *expapi.ThirdPartyResourceData) errs.ValidationErrorList
- func ValidateThirdPartyResourceUpdate(old, update *expapi.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 ValidateDaemon ¶
func ValidateDaemon(controller *expapi.Daemon) errs.ValidationErrorList
ValidateDaemon tests if required fields in the daemon are set.
func ValidateDaemonName ¶
ValidateDaemonName can be used to check whether the given daemon name is valid. Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.
func ValidateDaemonSpec ¶
func ValidateDaemonSpec(spec *expapi.DaemonSpec) errs.ValidationErrorList
ValidateDaemonSpec tests if required fields in the daemon spec are set.
func ValidateDaemonTemplateUpdate ¶
func ValidateDaemonTemplateUpdate(oldPodTemplate, podTemplate *api.PodTemplateSpec) errs.ValidationErrorList
ValidateDaemonTemplateUpdate tests that certain fields in the daemon's pod template are not updated.
func ValidateDaemonUpdate ¶
func ValidateDaemonUpdate(oldController, controller *expapi.Daemon) errs.ValidationErrorList
ValidateDaemonUpdate tests if required fields in the daemon are set.
func ValidateDeployment ¶
func ValidateDeployment(obj *expapi.Deployment) errs.ValidationErrorList
func ValidateDeploymentName ¶
Validates that the given name can be used as a deployment name.
func ValidateDeploymentSpec ¶
func ValidateDeploymentSpec(spec *expapi.DeploymentSpec) errs.ValidationErrorList
Validates given deployment spec.
func ValidateDeploymentStrategy ¶
func ValidateDeploymentStrategy(strategy *expapi.DeploymentStrategy, fieldName string) errs.ValidationErrorList
func ValidateDeploymentUpdate ¶
func ValidateDeploymentUpdate(old, update *expapi.Deployment) errs.ValidationErrorList
func ValidateHorizontalPodAutoscaler ¶
func ValidateHorizontalPodAutoscaler(autoscaler *expapi.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 *expapi.HorizontalPodAutoscaler) errs.ValidationErrorList
func ValidatePositiveIntOrPercent ¶
func ValidatePositiveIntOrPercent(intOrPercent util.IntOrString, fieldName string) errs.ValidationErrorList
func ValidateRollingUpdateDeployment ¶
func ValidateRollingUpdateDeployment(rollingUpdate *expapi.RollingUpdateDeployment, fieldName string) errs.ValidationErrorList
func ValidateThirdPartyResource ¶
func ValidateThirdPartyResource(obj *expapi.ThirdPartyResource) errs.ValidationErrorList
func ValidateThirdPartyResourceData ¶
func ValidateThirdPartyResourceData(obj *expapi.ThirdPartyResourceData) errs.ValidationErrorList
func ValidateThirdPartyResourceDataUpdate ¶
func ValidateThirdPartyResourceDataUpdate(old, update *expapi.ThirdPartyResourceData) errs.ValidationErrorList
func ValidateThirdPartyResourceUpdate ¶
func ValidateThirdPartyResourceUpdate(old, update *expapi.ThirdPartyResource) errs.ValidationErrorList
Types ¶
This section is empty.