package
1.5.0
Repository: https://github.com/openshift/source-to-image.git
Documentation: pkg.go.dev

# Functions

NewFieldInvalidValue returns a ValidationError indicating "invalid value".
NewFieldInvalidValueWithReason returns a ValidationError indicating "invalid value" and a reason for the error.
NewFieldRequired returns a *ValidationError indicating "value required".
ValidateConfig returns a list of error from validation.

# Constants

ErrorInvalidValue is used to report values that do not conform to the expected schema.
ErrorTypeRequired is used to report required values that are not provided (e.g.

# Structs

Error is an implementation of the 'error' interface, which represents an error of validation.

# Type aliases

ErrorType is a machine readable value providing more detail about why a field is invalid.