validation

package
v3.9.0-alpha.3+incompa... Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotMoreThan100Percent

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

func IsValidPercent

func IsValidPercent(percent string) bool

func ValidateDeploymentConfig

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

func ValidateDeploymentConfigRollback

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

func ValidateDeploymentConfigRollbackDeprecated

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

func ValidateDeploymentConfigSpec

func ValidateDeploymentConfigSpec(spec appsapi.DeploymentConfigSpec) field.ErrorList

func ValidateDeploymentConfigStatus

func ValidateDeploymentConfigStatus(status appsapi.DeploymentConfigStatus) field.ErrorList

func ValidateDeploymentConfigStatusUpdate

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

func ValidateDeploymentConfigUpdate

func ValidateDeploymentConfigUpdate(newConfig *appsapi.DeploymentConfig, oldConfig *appsapi.DeploymentConfig) field.ErrorList

func ValidateDeploymentLogOptions

func ValidateDeploymentLogOptions(opts *appsapi.DeploymentLogOptions) field.ErrorList

func ValidateDeploymentRequest

func ValidateDeploymentRequest(req *appsapi.DeploymentRequest) field.ErrorList

func ValidatePositiveField

func ValidatePositiveField(value int64, fldPath *field.Path) field.ErrorList

func ValidatePositiveIntOrPercent

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

func ValidateRequestForDeploymentConfig

func ValidateRequestForDeploymentConfig(req *appsapi.DeploymentRequest, config *appsapi.DeploymentConfig) 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