Documentation ¶
Index ¶
- func IsNotMoreThan100Percent(intOrStringValue intstr.IntOrString, fldPath *field.Path) field.ErrorList
- func IsValidPercent(percent string) bool
- func ValidateDeploymentConfig(config *deployapi.DeploymentConfig) field.ErrorList
- func ValidateDeploymentConfigRollback(rollback *deployapi.DeploymentConfigRollback) field.ErrorList
- func ValidateDeploymentConfigSpec(spec deployapi.DeploymentConfigSpec) field.ErrorList
- func ValidateDeploymentConfigStatus(status deployapi.DeploymentConfigStatus) field.ErrorList
- func ValidateDeploymentConfigStatusUpdate(newConfig *deployapi.DeploymentConfig, oldConfig *deployapi.DeploymentConfig) field.ErrorList
- func ValidateDeploymentConfigUpdate(newConfig *deployapi.DeploymentConfig, oldConfig *deployapi.DeploymentConfig) field.ErrorList
- func ValidateDeploymentLogOptions(opts *deployapi.DeploymentLogOptions) field.ErrorList
- func ValidatePositiveField(value int64, fldPath *field.Path) field.ErrorList
- func ValidatePositiveIntOrPercent(intOrPercent intstr.IntOrString, fldPath *field.Path) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotMoreThan100Percent ¶ added in v1.0.6
func IsValidPercent ¶ added in v1.0.6
func ValidateDeploymentConfig ¶
func ValidateDeploymentConfig(config *deployapi.DeploymentConfig) field.ErrorList
func ValidateDeploymentConfigRollback ¶
func ValidateDeploymentConfigRollback(rollback *deployapi.DeploymentConfigRollback) field.ErrorList
func ValidateDeploymentConfigSpec ¶ added in v1.3.0
func ValidateDeploymentConfigSpec(spec deployapi.DeploymentConfigSpec) field.ErrorList
func ValidateDeploymentConfigStatus ¶ added in v1.3.0
func ValidateDeploymentConfigStatus(status deployapi.DeploymentConfigStatus) field.ErrorList
func ValidateDeploymentConfigStatusUpdate ¶ added in v1.3.0
func ValidateDeploymentConfigStatusUpdate(newConfig *deployapi.DeploymentConfig, oldConfig *deployapi.DeploymentConfig) field.ErrorList
func ValidateDeploymentConfigUpdate ¶
func ValidateDeploymentConfigUpdate(newConfig *deployapi.DeploymentConfig, oldConfig *deployapi.DeploymentConfig) field.ErrorList
func ValidateDeploymentLogOptions ¶ added in v1.0.7
func ValidateDeploymentLogOptions(opts *deployapi.DeploymentLogOptions) field.ErrorList
func ValidatePositiveField ¶ added in v1.0.6
func ValidatePositiveIntOrPercent ¶ added in v1.0.6
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.