conf

package
v0.0.0-...-0777535 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL