Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrActionNotSupported ¶
type ErrActionNotSupported struct {
ActionName string
ObjectName string
Type string
Message string
}
ErrActionNotSupported is an error returned when an action on an object is not supported
func (*ErrActionNotSupported) Error ¶
func (e *ErrActionNotSupported) Error() string
type ErrActionSkipped ¶
type ErrActionSkipped struct {
// ActionName is the name of the action
ActionName string
// Reason is the reaon why the action was skipped
Reason string
}
ErrActionSkipped is returned when an action is skipped
func (*ErrActionSkipped) Error ¶
func (e *ErrActionSkipped) Error() string
type ErrNotFound ¶
type ErrNotFound struct {
// UID unique object identifier.
ID string
// Type of the object which wasn't found
Type string
}
ErrNotFound error type for objects not found
func (*ErrNotFound) Error ¶
func (e *ErrNotFound) Error() string
type ErrNotSupported ¶
type ErrNotSupported struct {
Type string
Operation interface{}
}
ErrNotSupported is error type when an operation is not supported on an object
func (*ErrNotSupported) Error ¶
func (e *ErrNotSupported) Error() string
type ErrObjectNotSupported ¶
ErrObjectNotSupported is an error returned when an object of a type is not supported
func (*ErrObjectNotSupported) Error ¶
func (e *ErrObjectNotSupported) Error() string
Click to show internal directories.
Click to hide internal directories.