validation

package
v0.0.0-...-4d083f9 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 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

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

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

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

func ValidateNodeSelector

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

func ValidateStrategyEnv

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