Documentation ¶
Index ¶
- func ApplyBuildPatch(build *buildapi.Build, patch []byte) (*buildapi.Build, error)
- func CreateBuildPatch(older, newer *buildapi.Build) ([]byte, error)
- func IsValidURL(uri string) bool
- func ValidateBuild(build *buildapi.Build) field.ErrorList
- func ValidateBuildConfig(config *buildapi.BuildConfig) field.ErrorList
- func ValidateBuildConfigUpdate(config *buildapi.BuildConfig, older *buildapi.BuildConfig) field.ErrorList
- func ValidateBuildLogOptions(opts *buildapi.BuildLogOptions) field.ErrorList
- func ValidateBuildRequest(request *buildapi.BuildRequest) field.ErrorList
- func ValidateBuildUpdate(build *buildapi.Build, older *buildapi.Build) field.ErrorList
- func ValidateImageLabels(labels []buildapi.ImageLabel, fldPath *field.Path) (allErrs field.ErrorList)
- func ValidateNodeSelector(nodeSelector map[string]string, fldPath *field.Path) field.ErrorList
- func ValidateStrategyEnv(vars []kapi.EnvVar, fldPath *field.Path) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyBuildPatch ¶
func IsValidURL ¶
func ValidateBuild ¶
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 ValidateImageLabels ¶
func ValidateNodeSelector ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.