driver

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 29 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.onmetal.de"
)

Variables

This section is empty.

Functions

func Version added in v0.1.4

func Version() string

Types

type Driver

Driver is the CSI Mock driver provider.

func NewDriver added in v0.1.2

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

Jump to

Keyboard shortcuts

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