Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultRunTimeName = "default"
DefaultRunTimeName specifies the name of the default TOML section to be loaded when nothing is configured.
Variables ¶
View Source
var RunTimeMap map[string]AgentConf
RunTimeMap contains the full configuration file.
Functions ¶
This section is empty.
Types ¶
type AgentConf ¶
type AgentConf struct { PDHost string TimeInterval int AdapterListen string AdapterEnableTLS bool AdapterCACertificate string AdapterServerCertificate string AdapterServerKey string TiKVEnableTLS bool TiKVCACertificate string TiKVClientCertificate string TiKVClientKey string }
AgentConf is the agent configuration type.
var RunTimeInfo AgentConf
RunTimeInfo contains the active configuration.
Click to show internal directories.
Click to hide internal directories.