Documentation ¶
Index ¶
Constants ¶
View Source
const (
// LabelConflict defines the conflict label error string
LabelConflict = "LabelConflict"
)
Variables ¶
This section is empty.
Functions ¶
func AggregateErrors ¶
AggregateErrors aggregate errors into ErrorList and filter nil, if no error found, return nil
func IsCRDNotExists ¶
IsCRDNotExists check if error is crd not exists
func IsCuePathNotFound ¶
IsCuePathNotFound checks if the error is cue path not found error
func IsLabelConflict ¶
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 ¶
type ManagedResourceHasNoDataError struct{}
ManagedResourceHasNoDataError identifies error caused by no data in maanged resource
func (ManagedResourceHasNoDataError) Error ¶
func (err ManagedResourceHasNoDataError) Error() string
Click to show internal directories.
Click to hide internal directories.