Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrorRetryable = ErrorClassification("retryable") ErrorFatal = ErrorClassification("fatal") )
View Source
const ( UnknownErrorCode = "UnknownError" UnknownErrorMessage = "There was an unknown deployment error" )
Variables ¶
This section is empty.
Functions ¶
func AsTypedError ¶
func NewNotOwnedError ¶
func NewNotOwnedError(namespace string, name string, gvk schema.GroupVersionKind, sourceName string, sourceGvk schema.GroupVersionKind) error
Types ¶
type CloudErrorDetails ¶
type CloudErrorDetails struct {
Classification ErrorClassification
Code string
Message string
}
type ErrorClassification ¶
type ErrorClassification string
type NotOwnedError ¶
type NotOwnedError struct {
Namespace string
TargetName string
TargetType string
SourceName string
SourceType string
}
NotOwnedError indicates the target resource is not owned by the resource attempting to write it
func AsNotOwnedError ¶
func AsNotOwnedError(err error) (*NotOwnedError, bool)
func (*NotOwnedError) Error ¶
func (e *NotOwnedError) Error() string
Click to show internal directories.
Click to hide internal directories.