validation

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2017 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 *deployapi.DeploymentConfig) field.ErrorList

func ValidateDeploymentConfigRollback

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

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

func ValidateDeploymentLogOptions

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

func ValidateDeploymentRequest added in v1.4.0

func ValidateDeploymentRequest(req *deployapi.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 added in v1.4.0

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