validation

package
v1.3.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotMoreThan100Percent added in v1.0.6

func IsNotMoreThan100Percent(intOrStringValue intstr.IntOrString, fldPath *field.Path) field.ErrorList

func IsValidPercent added in v1.0.6

func IsValidPercent(percent string) bool

func ValidateDeploymentConfig

func ValidateDeploymentConfig(config *deployapi.DeploymentConfig) field.ErrorList

func ValidateDeploymentConfigRollback added in v0.2.1

func ValidateDeploymentConfigRollback(rollback *deployapi.DeploymentConfigRollback) field.ErrorList

func ValidateDeploymentConfigRollbackDeprecated

func ValidateDeploymentConfigRollbackDeprecated(rollback *deployapi.DeploymentConfigRollback) field.ErrorList

func ValidateDeploymentConfigSpec

func ValidateDeploymentConfigSpec(spec deployapi.DeploymentConfigSpec) field.ErrorList

func ValidateDeploymentConfigStatus

func ValidateDeploymentConfigStatus(status deployapi.DeploymentConfigStatus) field.ErrorList

func ValidateDeploymentConfigStatusUpdate

func ValidateDeploymentConfigStatusUpdate(newConfig *deployapi.DeploymentConfig, oldConfig *deployapi.DeploymentConfig) field.ErrorList

func ValidateDeploymentConfigUpdate added in v0.5.3

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 ValidatePositiveField(value int64, fldPath *field.Path) field.ErrorList

func ValidatePositiveIntOrPercent added in v1.0.6

func ValidatePositiveIntOrPercent(intOrPercent intstr.IntOrString, fldPath *field.Path) field.ErrorList

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL