validation

package
v3.6.28-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2017 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidURL added in v1.1.2

func IsValidURL(uri string) bool

func ValidateBuild

func ValidateBuild(build *buildapi.Build) field.ErrorList

ValidateBuild tests required fields for a Build.

func ValidateBuildConfig

func ValidateBuildConfig(config *buildapi.BuildConfig) field.ErrorList

ValidateBuildConfig tests required fields for a Build.

func ValidateBuildConfigUpdate added in v0.6.1

func ValidateBuildConfigUpdate(config *buildapi.BuildConfig, older *buildapi.BuildConfig) field.ErrorList

func ValidateBuildLogOptions added in v1.0.8

func ValidateBuildLogOptions(opts *buildapi.BuildLogOptions) field.ErrorList

func ValidateBuildRequest added in v0.4.2

func ValidateBuildRequest(request *buildapi.BuildRequest) field.ErrorList

ValidateBuildRequest validates a BuildRequest object

func ValidateBuildUpdate added in v0.6.1

func ValidateBuildUpdate(build *buildapi.Build, older *buildapi.Build) field.ErrorList

func ValidateImageLabels added in v1.4.0

func ValidateImageLabels(labels []buildapi.ImageLabel, fldPath *field.Path) (allErrs field.ErrorList)

func ValidateNodeSelector added in v1.4.0

func ValidateNodeSelector(nodeSelector map[string]string, fldPath *field.Path) field.ErrorList

func ValidateStrategyEnv added in v1.1.2

func ValidateStrategyEnv(vars []kapi.EnvVar, 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