Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrResourceNotInitialized is error string to return when SDK resources are not yet initialized ErrResourceNotInitialized = fmt.Errorf("resource has not been initialized") )
Functions ¶
func IsAccessDenied ¶
Types ¶
type ErrExists ¶
type ErrExists struct { // ID unique object identifier. ID string // Type of the object which already exists Type string }
ErrExists type for objects already present
type ErrNotFound ¶
type ErrNotFound struct { // ID 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{}
ErrNotSupported error type for APIs that are not supported
func (*ErrNotSupported) Error ¶
func (e *ErrNotSupported) Error() string
type ErrStoragePoolResizeInProgress ¶
type ErrStoragePoolResizeInProgress struct { // Pool is the affected pool Pool *api.StoragePool }
ErrStoragePoolExpandInProgress error when an expand is already in progress on a storage pool
func (*ErrStoragePoolResizeInProgress) Error ¶
func (e *ErrStoragePoolResizeInProgress) Error() string
Click to show internal directories.
Click to hide internal directories.