Documentation ¶
Index ¶
- func IsNotMoreThan100Percent(intOrStringValue util.IntOrString, fieldName string) fielderrors.ValidationErrorList
- func IsValidPercent(percent string) bool
- func ValidateDeploymentConfig(config *deployapi.DeploymentConfig) fielderrors.ValidationErrorList
- func ValidateDeploymentConfigRollback(rollback *deployapi.DeploymentConfigRollback) fielderrors.ValidationErrorList
- func ValidateDeploymentConfigUpdate(newConfig *deployapi.DeploymentConfig, oldConfig *deployapi.DeploymentConfig) fielderrors.ValidationErrorList
- func ValidatePositiveField(value int64, fieldName string) fielderrors.ValidationErrorList
- func ValidatePositiveIntOrPercent(intOrPercent util.IntOrString, fieldName string) fielderrors.ValidationErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotMoreThan100Percent ¶ added in v1.0.6
func IsNotMoreThan100Percent(intOrStringValue util.IntOrString, fieldName string) fielderrors.ValidationErrorList
func IsValidPercent ¶ added in v1.0.6
func ValidateDeploymentConfig ¶
func ValidateDeploymentConfig(config *deployapi.DeploymentConfig) fielderrors.ValidationErrorList
func ValidateDeploymentConfigRollback ¶ added in v0.2.1
func ValidateDeploymentConfigRollback(rollback *deployapi.DeploymentConfigRollback) fielderrors.ValidationErrorList
func ValidateDeploymentConfigUpdate ¶ added in v0.5.3
func ValidateDeploymentConfigUpdate(newConfig *deployapi.DeploymentConfig, oldConfig *deployapi.DeploymentConfig) fielderrors.ValidationErrorList
func ValidatePositiveField ¶ added in v1.0.6
func ValidatePositiveField(value int64, fieldName string) fielderrors.ValidationErrorList
func ValidatePositiveIntOrPercent ¶ added in v1.0.6
func ValidatePositiveIntOrPercent(intOrPercent util.IntOrString, fieldName string) fielderrors.ValidationErrorList
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.