package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
NewFakeOGCounter returns a OperationGenerator.
NewOperationExecutor returns a new instance of OperationExecutor.
NewOperationGenerator is returns instance of operationGenerator.
# Constants
DeviceGloballyMounted means device has been globally mounted successfully.
DeviceMountUncertain means device may not be mounted but a mount operation may be in-progress which can cause device mount to succeed.
DeviceNotMounted means device has not been mounted globally.
VolumeMounted means volume has been mounted in pod's local path.
VolumeMountUncertain means volume may or may not be mounted in pods' local path.
VolumeNotMounted means volume has not be mounted in pod's local path.
# Structs
AttachedVolume represents a volume that is attached to a node.
MarkVolumeOpts is a struct to pass arguments to MountVolume functions.
MountedVolume represents a volume that has successfully been mounted to a pod.
VolumeToAttach represents a volume that should be attached to a node.
VolumeToMount represents a volume that should be attached to this node and mounted to the PodName.
# Interfaces
ActualStateOfWorldAttacherUpdater defines a set of operations updating the actual state of the world cache after successful attach/detach/mount/unmount.
ActualStateOfWorldMounterUpdater defines a set of operations updating the actual state of the world cache after successful mount/unmount.
OperationExecutor defines a set of operations for attaching, detaching, mounting, or unmounting a volume that are executed with a NewNestedPendingOperations which prevents more than one operation from being triggered on the same volume.
OperationGenerator interface that extracts out the functions from operation_executor to make it dependency injectable.
VolumeLogger defines a set of operations for generating volume-related logging and error msgs.
# Type aliases
DeviceMountState represents device mount state in a global path.
VolumeMountState represents volume mount state in a path local to the pod.