api

package
v0.0.0-...-2ac3827 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0, 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 DiskCreationFailedError

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

func NewDiskCreationFailedError

func NewDiskCreationFailedError(reason string, canRetry bool) DiskCreationFailedError

func (DiskCreationFailedError) CanRetry

func (e DiskCreationFailedError) CanRetry() bool

func (DiskCreationFailedError) Error

func (e DiskCreationFailedError) Error() string

func (DiskCreationFailedError) Type

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 HostHaveNotAllowedCredentialError

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

func NewHostHaveNotAllowedCredentialError

func NewHostHaveNotAllowedCredentialError(vmID string) HostHaveNotAllowedCredentialError

func (HostHaveNotAllowedCredentialError) CanRetry

func (HostHaveNotAllowedCredentialError) Error

func (HostHaveNotAllowedCredentialError) Type

type MultiLogger

type MultiLogger struct {
	logger.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 StemcellNotFoundError

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

func NewStemcellkNotFoundError

func NewStemcellkNotFoundError(stemcellID string, canRetry bool) StemcellNotFoundError

func (StemcellNotFoundError) CanRetry

func (e StemcellNotFoundError) CanRetry() bool

func (StemcellNotFoundError) Error

func (e StemcellNotFoundError) Error() string

func (StemcellNotFoundError) Type

func (e StemcellNotFoundError) Type() string

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