Documentation ¶
Index ¶
Constants ¶
View Source
const (
// LabelConflict defines the conflict label error string
LabelConflict = "LabelConflict"
)
Variables ¶
This section is empty.
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
type ResourceTrackerNotExistError ¶
type ResourceTrackerNotExistError struct {
Name string
}
ResourceTrackerNotExistError identifies error caused by resourcetracker not exist
func (ResourceTrackerNotExistError) Error ¶
func (err ResourceTrackerNotExistError) Error() string
Error implement error interface
Click to show internal directories.
Click to hide internal directories.