Documentation
¶
Index ¶
Constants ¶
const (
// LabelConflict defines the conflict label error string
LabelConflict = "LabelConflict"
)
Variables ¶
var ErrFileNotFound = errors.New("file not found")
ErrFileNotFound reports that a file store does not contain a file, as distinct from being unreachable, misconfigured, or refusing the credentials.
Absence is often an ordinary outcome worth branching on - a per-cluster override only some clusters carry - while a failure is not. It lives here because the addon registry readers and the CUE registry provider cannot import each other.
Functions ¶
func AggregateErrors ¶ added in v1.3.0
AggregateErrors aggregate errors into ErrorList and filter nil, if no error found, return nil
func IsCRDNotExists ¶ added in v1.2.4
IsCRDNotExists check if error is crd not exists
func IsCuePathNotFound ¶ added in v1.6.0
IsCuePathNotFound checks if the error is cue path not found error
func IsLabelConflict ¶ added in v1.2.0
IsLabelConflict checks if the error is Label Conflict error
Types ¶
type ErrorList ¶
type ErrorList []error
ErrorList wraps a list of errors, it also fit for an Error interface
type ManagedResourceHasNoDataError ¶ added in v1.2.0
type ManagedResourceHasNoDataError struct{}
ManagedResourceHasNoDataError identifies error caused by no data in maanged resource
func (ManagedResourceHasNoDataError) Error ¶ added in v1.2.0
func (err ManagedResourceHasNoDataError) Error() string