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()
Click to show internal directories.
Click to hide internal directories.