Documentation ¶
Index ¶
- Constants
- func NewControllerServer(nodeID string) *controllerServer
- func NewHostPathDriver(driverName, nodeID, endpoint string, maxVolumesPerNode int64, version string) (*hostPath, error)
- func NewIdentityServer(name, version string) *identityServer
- func NewNodeServer(nodeId string, maxVolumesPerNode int64) *nodeServer
- func NewNonBlockingGRPCServer() *nonBlockingGRPCServer
Constants ¶
View Source
const ( // NsenterCmd is the nsenter command NsenterCmd = "nsenter --mount=/proc/1/ns/mnt" // VgNameTag is the vg name tag VgNameTag = "vgName" SecretNameTag = "secretname" SecretNamespaceTag = "secretnamespace" S3EndPointTag = "s3endpoint" // LvmTypeTag is the lvm type tag LvmTypeTag = "lvmType" // NodeAffinity is the pv node schedule tag NodeAffinity = "nodeAffinity" // LinearType linear type LinearType = "linear" // StripingType striping type StripingType = "striping" // TopologyNodeKey tag TopologyNodeKey = "topology.hostpath.csi/node" )
View Source
const ( FsTypeTag = "fsType" DefaultFs = "ext4" )
View Source
const TopologyKeyNode = "topology.hostpath.csi/node"
Variables ¶
This section is empty.
Functions ¶
func NewControllerServer ¶
func NewControllerServer(nodeID string) *controllerServer
func NewHostPathDriver ¶
func NewIdentityServer ¶
func NewIdentityServer(name, version string) *identityServer
func NewNodeServer ¶
func NewNonBlockingGRPCServer ¶
func NewNonBlockingGRPCServer() *nonBlockingGRPCServer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.