errors

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 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

func IsRetryable added in v0.37.0

func IsRetryable(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 RetryableError added in v0.37.0

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

RetryableError indicates a temporary error that should be retried. This is used for expected transient failures like pod disruptions during cluster upgrades.

func NewRetryableError added in v0.37.0

func NewRetryableError(err error) RetryableError

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