errors

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsKeyMissing added in v0.1.0

func IsKeyMissing(err error) bool

func IsNotFound

func IsNotFound(err error) bool

Types

type K8sObjectNotFound added in v0.1.0

type K8sObjectNotFound struct {
	Err             error
	ObjectGVK       schema.GroupVersionKind
	ObjectName      string
	ObjectNamespace string
}

func NewK8sObjectNotFound added in v0.1.0

func NewK8sObjectNotFound(err error, gvk schema.GroupVersionKind, nn types.NamespacedName) K8sObjectNotFound

func (K8sObjectNotFound) Error added in v0.1.0

func (e K8sObjectNotFound) Error() string

type KeyIsMissing added in v0.1.0

type KeyIsMissing struct {
	// contains filtered or unexported fields
}

func NewKeyIsMissing added in v0.1.0

func NewKeyIsMissing(kind, key string) KeyIsMissing

func (KeyIsMissing) Error added in v0.1.0

func (e KeyIsMissing) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL