validation

package
v3.11.0-0.24.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2018 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBuildPatch

func CreateBuildPatch(older, newer *buildapi.Build) ([]byte, error)

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