package
3.2.1+incompatible
Repository: https://github.com/kubesphere/s2irun.git
Documentation: pkg.go.dev

# Functions

NewFieldInvalidValue returns a ValidationError indicating "invalid value".
NewFieldInvalidValueObj returns a ValidationError indicating "invalid value".
NewFieldInvalidValueWithReason returns a ValidationError indicating "invalid value" and a reason for the error.
NewFieldInvalidValueWithReasonAndValue returns a ValidationError indicating the value and reason.
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.