kubernetes/pkg/volume/util/types/types.go

type UniquePodName

type UniquePVCName

type GeneratedOperations

type OperationContext

func NewOperationContext(eventErr, detailedErr error, migrated bool) OperationContext {}

type CompleteFuncParam

// Run executes the operations and its supporting functions
func (o *GeneratedOperations) Run() (eventErr, detailedErr error) {}

type FailedPrecondition

func (err *FailedPrecondition) Error() string {}

// NewFailedPreconditionError returns a new FailedPrecondition error instance
func NewFailedPreconditionError(msg string) *FailedPrecondition {}

// IsFailedPreconditionError checks if given error is of type that indicates
// operation failed with precondition
func IsFailedPreconditionError(err error) bool {}

type InfeasibleError

func (err *InfeasibleError) Error() string {}

// NewInfeasibleError returns a new instance of InfeasibleError
func NewInfeasibleError(msg string) *InfeasibleError {}

func IsInfeasibleError(err error) bool {}

type OperationNotSupported

func (err *OperationNotSupported) Error() string {}

func NewOperationNotSupportedError(msg string) *OperationNotSupported {}

func IsOperationNotSupportedError(err error) bool {}

type TransientOperationFailure

func (err *TransientOperationFailure) Error() string {}

// NewTransientOperationFailure creates an instance of TransientOperationFailure error
func NewTransientOperationFailure(msg string) *TransientOperationFailure {}

type UncertainProgressError

func (err *UncertainProgressError) Error() string {}

// NewUncertainProgressError creates an instance of UncertainProgressError type
func NewUncertainProgressError(msg string) *UncertainProgressError {}

// IsOperationFinishedError checks if given error is of type that indicates
// operation is finished with a FINAL error.
func IsOperationFinishedError(err error) bool {}

// IsFilesystemMismatchError checks if mount failed because requested filesystem
// on PVC and actual filesystem on disk did not match
func IsFilesystemMismatchError(err error) bool {}

// IsUncertainProgressError checks if given error is of type that indicates
// operation might be in-progress in background.
func IsUncertainProgressError(err error) bool {}

const VolumeResizerKey