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 ValidateDeploymentLogOptions(opts *deployapi.DeploymentLogOptions) 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 ¶
func IsNotMoreThan100Percent(intOrStringValue util.IntOrString, fieldName string) fielderrors.ValidationErrorList
func IsValidPercent ¶
func ValidateDeploymentConfig ¶
func ValidateDeploymentConfig(config *deployapi.DeploymentConfig) fielderrors.ValidationErrorList
func ValidateDeploymentConfigRollback ¶
func ValidateDeploymentConfigRollback(rollback *deployapi.DeploymentConfigRollback) fielderrors.ValidationErrorList
func ValidateDeploymentConfigUpdate ¶
func ValidateDeploymentConfigUpdate(newConfig *deployapi.DeploymentConfig, oldConfig *deployapi.DeploymentConfig) fielderrors.ValidationErrorList
func ValidateDeploymentLogOptions ¶
func ValidateDeploymentLogOptions(opts *deployapi.DeploymentLogOptions) fielderrors.ValidationErrorList
func ValidatePositiveField ¶
func ValidatePositiveField(value int64, fieldName string) fielderrors.ValidationErrorList
func ValidatePositiveIntOrPercent ¶
func ValidatePositiveIntOrPercent(intOrPercent util.IntOrString, fieldName string) fielderrors.ValidationErrorList
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.