Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FSTypeExt4 represents the ext4 filesystem type FSTypeExt4 = "ext4" // DefaultVolumeSize represents the default volume size. DefaultVolumeSize int64 = 10 * utils.GiB // ParameterType is the name of the type parameter ParameterType = "type" // ParameterFSType is the name of the fstype parameter ParameterFSType = "fstype" // ParameterVolumePool is the volume pool parameter ParameterVolumePool = "volume_pool" // ParameterVolumeID is the volume id parameter ParameterVolumeID = "volume_id" // ParameterVolumeName is the volume name parameter ParameterVolumeName = "volume_name" // ParameterCreationTime is the creation time parameter ParameterCreationTime = "creation_time" // ParameterNodeID is the node id parameter ParameterNodeID = "node_id" // ParameterDeviceName is the device name parameter ParameterDeviceName = "device_name" // ParameterReadOnly is the name of the parameter used to specify whether the volume should be mounted as read-only ParameterReadOnly = "readOnly" // ParameterMkfsOptions is the name of the parameter used to specify the options for the mkfs command ParameterMkfsOptions = "mkfs_options" CSIDriverName = "csi.ironcore.dev" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
type Driver interface { csi.ControllerServer csi.IdentityServer csi.NodeServer BeforeServe(context.Context, *gocsi.StoragePlugin, net.Listener) error }
Driver is the CSI Mock driver provider.
Click to show internal directories.
Click to hide internal directories.