validation

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 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

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

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

ValidateBuildRequest validates a BuildRequest object

func ValidateBuildUpdate

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