kubernetes/staging/src/k8s.io/apimachinery/pkg/runtime/error.go

type notRegisteredErr

func NewNotRegisteredErrForKind(schemeName string, gvk schema.GroupVersionKind) error {}

func NewNotRegisteredErrForType(schemeName string, t reflect.Type) error {}

func NewNotRegisteredErrForTarget(schemeName string, t reflect.Type, target GroupVersioner) error {}

func NewNotRegisteredGVKErrForTarget(schemeName string, gvk schema.GroupVersionKind, target GroupVersioner) error {}

func (k *notRegisteredErr) Error() string {}

// IsNotRegisteredError returns true if the error indicates the provided
// object or input data is not registered.
func IsNotRegisteredError(err error) bool {}

type missingKindErr

func NewMissingKindErr(data string) error {}

func (k *missingKindErr) Error() string {}

// IsMissingKind returns true if the error indicates that the provided object
// is missing a 'Kind' field.
func IsMissingKind(err error) bool {}

type missingVersionErr

func NewMissingVersionErr(data string) error {}

func (k *missingVersionErr) Error() string {}

// IsMissingVersion returns true if the error indicates that the provided object
// is missing a 'Version' field.
func IsMissingVersion(err error) bool {}

type strictDecodingError

// NewStrictDecodingError creates a new strictDecodingError object.
func NewStrictDecodingError(errors []error) error {}

func (e *strictDecodingError) Error() string {}

func (e *strictDecodingError) Errors() []error {}

// IsStrictDecodingError returns true if the error indicates that the provided object
// strictness violations.
func IsStrictDecodingError(err error) bool {}

// AsStrictDecodingError returns a strict decoding error
// containing all the strictness violations.
func AsStrictDecodingError(err error) (*strictDecodingError, bool) {}