Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultConfigPath is the default configfile path of open-local agent DefaultConfigPath string = "/etc/controller/config/" // DefaultInterval is the duration(second) that the agent checks at one time DefaultInterval int = 60 DefaultEndpoint string = "unix://tmp/csi.sock" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { // Nodename is the kube node name Nodename string // SysPath is the the mount point of the host sys path SysPath string // MountPath defines the specified mount path we discover MountPath string // DisconverInterval is the duration(second) that the agent checks at one time DiscoverInterval int // LogicalVolumeNamePrefix is the prefix of LogicalVolume Name LogicalVolumeNamePrefix string // RegExp is used to filter device names RegExp string }
Configuration stores all the user-defined parameters to the controller
Click to show internal directories.
Click to hide internal directories.