Documentation ¶
Index ¶
Constants ¶
View Source
const ( ParamDriverName string = "driverName" DefaultEndpoint string = "unix://tmp/csi.sock" DefaultDriverName string = "object.csi.aliyun.com" HostDir string = "/host" ConfigDir string = "/etc/open-object" ConnectorSocketName string = "connector.sock" NsenterCmd = "/bin/nsenter --mount=/proc/1/ns/mnt --ipc=/proc/1/ns/ipc --net=/proc/1/ns/net --uts=/proc/1/ns/uts " // VolumeOperationAlreadyExists is message fmt returned to CO when there is another in-flight call on the given volumeID VolumeOperationAlreadyExists = "An operation with the given volume=%q is already in progress" )
Variables ¶
View Source
var ( // ConnectorWorkPath workspace ConnectorWorkPath = "./" // ConnectorSocketPath socket path ConnectorSocketPath = filepath.Join(ConfigDir, "connector.sock") // ConnectorLogFilename name of log file ConnectorLogFilename = filepath.Join(ConfigDir, "connector.log") // ConnectorPIDFilename name of pid file ConnectorPIDFilename = filepath.Join(ConfigDir, "connector.pid") )
Functions ¶
func ConnectorRunInContainer ¶
func FuseUmount ¶
func RunCommand ¶
func RunConnector ¶
func RunConnector()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.