package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Constants
FileFSGroupPolicy indicates that CSI driver supports volume ownership and permission change via fsGroup, and Kubernetes will change the permissions and ownership of every file in the volume to match the user requested fsGroup in the pod's SecurityPolicy regardless of fstype or access mode.
GroupName is the group name use in this package.
NoneFSGroupPolicy indicates that volumes will be mounted without performing any ownership or permission modifications, as the CSIDriver does not support these operations.
ReadWriteOnceWithFSTypeFSGroupPolicy indicates that each volume will be examined to determine if the volume ownership and permissions should be modified.
VolumeBindingImmediate indicates that PersistentVolumeClaims should be immediately provisioned and bound.
VolumeBindingWaitForFirstConsumer indicates that PersistentVolumeClaims should not be provisioned and bound until the first Pod is created that references the PeristentVolumeClaim.
VolumeLifecycleEphemeral indicates that the driver can be used for ephemeral inline volumes.
VolumeLifecyclePersistent explicitly confirms that the driver implements the full CSI spec.
# Variables
SchemeGroupVersion is group version used to register these objects.
# Structs
CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster.
CSIDriverList is a collection of CSIDriver objects.
CSIDriverSpec is the specification of a CSIDriver.
CSINode holds information about all CSI drivers installed on a node.
CSINodeDriver holds information about the specification of one CSI driver installed on a node.
CSINodeList is a collection of CSINode objects.
CSINodeSpec holds information about the specification of all CSI drivers installed on a node.
CSIStorageCapacity stores the result of one CSI GetCapacity call.
CSIStorageCapacityList is a collection of CSIStorageCapacity objects.
StorageClass describes a named "class" of storage offered in a cluster.
StorageClassList is a collection of storage classes.
TokenRequest contains parameters of a service account token.
Captures the intent to attach or detach the specified volume to/from the specified node.
VolumeAttachmentList is a collection of VolumeAttachment objects.
VolumeAttachmentSource represents a volume that should be attached.
The specification of a VolumeAttachment request.
The status of a VolumeAttachment request.
VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver.
VolumeAttributesClassList is a collection of VolumeAttributesClass objects.
Captures an error encountered during a volume operation.
VolumeNodeResources is a set of resource limits for scheduling of volumes.
# Type aliases
FSGroupPolicy specifies if a CSI Driver supports modifying volume ownership and permissions of the volume to be mounted.
VolumeBindingMode indicates how PersistentVolumeClaims should be bound.
VolumeLifecycleMode specifies how a CSI volume is used in Kubernetes.