Documentation ¶
Index ¶
Constants ¶
View Source
const ( // NsenterCmd is the nsenter command NsenterCmd = "/nsenter --mount=/proc/1/ns/mnt" // NodeAffinity is the pv node schedule tag NodeAffinity = "nodeAffinity" // LocalDisk local disk LocalDisk = "localdisk" // DefaultFs default fs DefaultFs = "ext4" )
View Source
const ( // MetadataURL is metadata server url MetadataURL = "http://100.100.100.200/latest/meta-data/" // InstanceID is the instance id tag InstanceID = "instance-id" )
Variables ¶
This section is empty.
Functions ¶
func GetPvNameFormMntPoint ¶
GetPvNameFormMntPoint get pv name
func NewNodeServer ¶
func NewNodeServer(d *csicommon.CSIDriver, nodeID string) csi.NodeServer
NewNodeServer create a NodeServer object
Types ¶
Click to show internal directories.
Click to hide internal directories.