Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlreadyExists ¶
IsAlreadyExists returns true if the given error is or is caused by a kubernetes AlreadyExistsError,
func IsConflict ¶
IsConflict returns true if the given error is or is caused by a kubernetes ConflictError,
func IsForbiddenOrNotFound ¶
IsForbiddenOrNotFound returns true if the given error is or is caused by a kubernetes NotFound or Forbidden,
func IsInvalid ¶
IsInvalid returns true if the given error is or is caused by a kubernetes InvalidError,
func IsNotFound ¶
IsNotFound returns true if the given error is or is caused by a kubernetes NotFoundError,
func NewResourceError ¶
Types ¶
type ResourceError ¶
type ResourceError struct { GVK schema.GroupVersionKind Namespace, Name string // contains filtered or unexported fields }
func (ResourceError) Cause ¶
func (r ResourceError) Cause() error
func (ResourceError) Error ¶
func (r ResourceError) Error() string
func (ResourceError) Unwrap ¶
func (r ResourceError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.