driver

package
v0.0.0-...-7c2d981 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FsTypeTag is the fs type tag
	FsTypeTag = "fsType"
	// LvmTypeTag is the lvm type tag
	LvmTypeTag = "lvmType"
	// LinearType linear type
	LinearType = "linear"
	// StripingType striping type
	StripingType = "striping"
	// DefaultFs default fs
	DefaultFs = "ext4"
)

Variables

View Source
var ErrParse = errors.New("Cannot parse output of blkid")

ErrParse is an error that is returned when parse operation fails

Functions

func NewNodeServer

func NewNodeServer(d *LocalVolumeDriver, nodeID string) csi.NodeServer

NewNodeServer create a NodeServer object

Types

type LocalVolumeDriver

type LocalVolumeDriver struct {
	// contains filtered or unexported fields
}

func NewLocalVolumeDriver

func NewLocalVolumeDriver(driverName, driverVersion, nodeID, endpoint string) *LocalVolumeDriver

NewLocalVolumeDriver create the identity/node/controller server and disk driver

func (*LocalVolumeDriver) Run

func (d *LocalVolumeDriver) Run()

Jump to

Keyboard shortcuts

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