errors

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsFatal added in v0.21.2

func IsFatal(err error) bool

func IsMultipleExistingCRDOwnersError

func IsMultipleExistingCRDOwnersError(err error) bool

Types

type FatalError added in v0.21.2

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

func NewFatalError added in v0.21.2

func NewFatalError(err error) FatalError

type GroupVersionKindNotFoundError

type GroupVersionKindNotFoundError struct {
	Group   string
	Version string
	Kind    string
}

GroupVersionKindNotFoundError occurs when we can't find an API via discovery

func (GroupVersionKindNotFoundError) Error

type MultipleExistingCRDOwnersError

type MultipleExistingCRDOwnersError struct {
	CSVNames  []string
	CRDName   string
	Namespace string
}

MultipleExistingCRDOwnersError is an error that denotes multiple owners of a CRD exist simultaneously in the same namespace

func NewMultipleExistingCRDOwnersError

func NewMultipleExistingCRDOwnersError(csvNames []string, crdName string, namespace string) MultipleExistingCRDOwnersError

func (MultipleExistingCRDOwnersError) Error

type UnadoptableError

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

func NewUnadoptableError

func NewUnadoptableError(resourceNamespace, resourceName string) UnadoptableError

func (UnadoptableError) Error

func (err UnadoptableError) Error() string

Jump to

Keyboard shortcuts

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