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