api

package
v29.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudError

type CloudError interface {
	error

	Type() string
}

type DiskNotAttachedError

type DiskNotAttachedError struct {
	// contains filtered or unexported fields
}

func NewDiskNotAttachedError

func NewDiskNotAttachedError(vmID string, diskID string, canRetry bool) DiskNotAttachedError

func (DiskNotAttachedError) CanRetry

func (e DiskNotAttachedError) CanRetry() bool

func (DiskNotAttachedError) Error

func (e DiskNotAttachedError) Error() string

func (DiskNotAttachedError) Type

func (e DiskNotAttachedError) Type() string

type DiskNotFoundError

type DiskNotFoundError struct {
	// contains filtered or unexported fields
}

func NewDiskNotFoundError

func NewDiskNotFoundError(diskID string, canRetry bool) DiskNotFoundError

func (DiskNotFoundError) CanRetry

func (e DiskNotFoundError) CanRetry() bool

func (DiskNotFoundError) Error

func (e DiskNotFoundError) Error() string

func (DiskNotFoundError) Type

func (e DiskNotFoundError) Type() string

type MultiLogger

type MultiLogger struct {
	boshlog.Logger
	LogBuff *bytes.Buffer
}

type NoDiskSpaceError

type NoDiskSpaceError struct {
	// contains filtered or unexported fields
}

func NewNoDiskSpaceError

func NewNoDiskSpaceError(diskID string, canRetry bool) NoDiskSpaceError

func (NoDiskSpaceError) CanRetry

func (e NoDiskSpaceError) CanRetry() bool

func (NoDiskSpaceError) Error

func (e NoDiskSpaceError) Error() string

func (NoDiskSpaceError) Type

func (e NoDiskSpaceError) Type() string

type NotSupportedError

type NotSupportedError struct{}

func (NotSupportedError) Error

func (e NotSupportedError) Error() string

func (NotSupportedError) Type

func (e NotSupportedError) Type() string

type RetryableError

type RetryableError interface {
	error

	CanRetry() bool
}

type VMCreationFailedError

type VMCreationFailedError struct {
	// contains filtered or unexported fields
}

func NewVMCreationFailedError

func NewVMCreationFailedError(reason string, canRetry bool) VMCreationFailedError

func (VMCreationFailedError) CanRetry

func (e VMCreationFailedError) CanRetry() bool

func (VMCreationFailedError) Error

func (e VMCreationFailedError) Error() string

func (VMCreationFailedError) Type

func (e VMCreationFailedError) Type() string

type VMNotFoundError

type VMNotFoundError struct {
	// contains filtered or unexported fields
}

func NewVMNotFoundError

func NewVMNotFoundError(vmID string) VMNotFoundError

func (VMNotFoundError) Error

func (e VMNotFoundError) Error() string

func (VMNotFoundError) Type

func (e VMNotFoundError) Type() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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