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 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
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.