driver

package
v0.0.0-...-ad1b01b Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DriverName    = "hostpath.csi.kubernetes.io"
	DriverVersion = "0.0.1"

	TopologyNodeKey = "topology.hostpath.csi/hostname"
)
View Source
const (
	CSIHostPathKey = "csi-hostpath-path"
	NsenterCmd     = "/nsenter --mount=/proc/1/ns/mnt"
)

Variables

This section is empty.

Functions

func NewNodeServer

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

NewNodeServer create a NodeServer object

Types

type HostPathCSIDriver

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

func NewHostPathCSIDriver

func NewHostPathCSIDriver(driverName, driverVersion, nodeID, endpoint string) *HostPathCSIDriver

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

func (*HostPathCSIDriver) Run

func (d *HostPathCSIDriver) Run()

Jump to

Keyboard shortcuts

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