Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDeletedVolumeInUse

func IsDeletedVolumeInUse(err error) bool

IsDeletedVolumeInUse returns true if an error returned from Delete() is deletedVolumeInUseError

func NewDanglingError

func NewDanglingError(msg string, node k8stypes.NodeName, devicePath string) error

NewDanglingError create a new dangling error

func NewDeletedVolumeInUseError

func NewDeletedVolumeInUseError(message string) error

NewDeletedVolumeInUseError returns a new instance of DeletedVolumeInUseError error.

Types

type DanglingAttachError

type DanglingAttachError struct {
	CurrentNode k8stypes.NodeName
	DevicePath  string
	// contains filtered or unexported fields
}

DanglingAttachError indicates volume is attached to a different node than we expected.

func (*DanglingAttachError) Error

func (err *DanglingAttachError) Error() string

Source Files