driver

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

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"

	CSIDriverName = "csi.ironcore.dev"
)

Variables

This section is empty.

Functions

func Version

func Version() string

Types

type Driver

Driver is the CSI Mock driver provider.

func NewDriver

func NewDriver(config *options.Config, targetClient, ironCoreClient client.Client, driverName string) Driver

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL