Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PhotonDriver is the driver to handle single attach vmdk-based volumes in Photon Platform PhotonDriver = "photon" // VMDKDriver is the driver to handle single attach vmdk-based in vSphere/vCenter 6.0+ (deprecated) VMDKDriver = "vmdk" // VSphereDriver is the driver to handle single attach vmdk-based in vSphere/vCenter 6.0+ VSphereDriver = "vsphere" // VFileDriver is a file sharing volume plugin driver VFileDriver = "vfile" // DefaultPort is the default ESX service port. DefaultPort = 1019 // Default group ID to use for the socket file DefaultGroupID = "root" )
View Source
const ( // DefaultVMDKPluginConfigPath is the default location of Log configuration file DefaultVMDKPluginConfigPath = "/etc/vsphere-storage-for-docker.conf" // DefaultVMDKPluginLogPath is the default location of log (trace) file DefaultVMDKPluginLogPath = "/var/log/vsphere-storage-for-docker.log" // DefaultVFilePluginConfigPath is the default location of Log configuration file for vFile plugin DefaultVFilePluginConfigPath = "/etc/vfile.conf" // DefaultVFilePluginLogPath is the default location of log (trace) file for vFile plugin DefaultVFilePluginLogPath = "/var/log/vfile.log" // MountRoot is the path where VMDK and photon volumes are mounted MountRoot = "/mnt/vmdk" // VFileMountRoot is the path where vFile volumes are mounted VFileMountRoot = "/mnt/vfile" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Driver string `json:",omitempty"` InternalDriver string `json:",omitempty"` LogPath string `json:",omitempty"` MaxLogSizeMb int `json:",omitempty"` MaxLogAgeDays int `json:",omitempty"` MaxLogFiles int `json:",omitempty"` LogLevel string `json:",omitempty"` Target string `json:",omitempty"` Project string `json:",omitempty"` Host string `json:",omitempty"` GroupID string `json:",omitempty"` }
Config stores the configuration for the plugin
Click to show internal directories.
Click to hide internal directories.