driver

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 33 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

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