errors

package
v0.0.0-...-d304e97 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

func (*ErrExists) Error

func (e *ErrExists) Error() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL