portworx

package
v0.0.0-...-4c0c8b4 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DriverName is the name of the portworx driver implementation
	DriverName = "pxd"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrFailedToDeleteVolume

type ErrFailedToDeleteVolume struct {
	// ID is the ID/name of the volume that failed to delete
	ID string
	// Cause is the underlying cause of the error
	Cause string
}

ErrFailedToDeleteVolume error type for failing to delete a volume

func (*ErrFailedToDeleteVolume) Error

func (e *ErrFailedToDeleteVolume) Error() string

type ErrFailedToGetReplicationFactor

type ErrFailedToGetReplicationFactor struct {
	// ID is the ID/name of the volume for which we could not get the replication factor
	ID string
	// Cause is the underlying cause of the error
	Cause string
}

ErrFailedToGetReplicationFactor error type for failing to get/query the current replication factor

func (*ErrFailedToGetReplicationFactor) Error

type ErrFailedToInspectVolume

type ErrFailedToInspectVolume struct {
	// ID is the ID/name of the volume that failed to inspect
	ID string
	// Cause is the underlying cause of the error
	Cause string
}

ErrFailedToInspectVolume error type for failing to inspect a volume

func (*ErrFailedToInspectVolume) Error

func (e *ErrFailedToInspectVolume) Error() string

type ErrFailedToRecoverDriver

type ErrFailedToRecoverDriver struct {
	// Node is the node on which PX failed to recover on
	Node node.Node
	// Cause is the underlying cause of the error
	Cause string
}

ErrFailedToRecoverDriver error type for failing to recover PX on a node

func (*ErrFailedToRecoverDriver) Error

func (e *ErrFailedToRecoverDriver) Error() string

type ErrFailedToSetReplicationFactor

type ErrFailedToSetReplicationFactor struct {
	// ID is the ID/name of the volume for which we could not set the replication factor
	ID string
	// Cause is the underlying cause of the error
	Cause string
}

ErrFailedToSetReplicationFactor error type for failing to set replication factor to given value

func (*ErrFailedToSetReplicationFactor) Error

type ErrFailedToUpgradeVolumeDriver

type ErrFailedToUpgradeVolumeDriver struct {
	// Version is the new image used to upgrade the volume driver
	Version string
	// Cause is the underlying cause of the error
	Cause string
}

ErrFailedToUpgradeVolumeDriver error type for failed volume driver upgrade

func (*ErrFailedToUpgradeVolumeDriver) Error

type ErrFailedToWaitForPx

type ErrFailedToWaitForPx struct {
	// Node is the node on which PX was waited upon
	Node node.Node
	// Cause is the underlying cause of the error
	Cause string
}

ErrFailedToWaitForPx error type for failing to wait for PX to be up on a node

func (*ErrFailedToWaitForPx) Error

func (e *ErrFailedToWaitForPx) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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