Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIStatuses ¶
APIStatuses returns the list of API status contained in a given error, and a boolean which is true if the error consists only of API statuses.
func AllErrors ¶
AllErrors returns a boolean which is true if the predicate for all errors in the given error return true.
func ResolveErrorStatuses ¶
func ResolveErrorStatuses( scheme *runtime.Scheme, resources []runtime.Object, action func(obj runtime.Object, err *errors.StatusError) error, err error, ) error
ResolveErrorStatuses tries to resolve all statuses in the given error with an action function. If any status cannot be resolved, an error is returned.
Types ¶
type CompositeError ¶
type CompositeError interface {
Errors() []error
}
A CompositeError is an error formed from multiple other errors.
Click to show internal directories.
Click to hide internal directories.