Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LocalTemplate ¶ added in v1.7.0
type LocalTemplate struct { GlobalUser string // global.user in yaml template GlobalGroup string // global.group in yaml template GlobalSSHPort int // global.ssh_port in yaml template GlobalDeployDir string // global.deploy_dir in yaml template GlobalDataDir string // global.data_dir in yaml template GlobalArch string // global.arch in yaml template PDServers []string // pd_servers in yaml template TiDBServers []string // tidb_servers in yaml template TiKVServers []string // tikv_servers in yaml template TiFlashServers []string // tiflash_servers in yaml template MonitoringServers []string // monitoring_servers in yaml template GrafanaServers []string // grafana_servers in yaml template AlertManagerServers []string // alertmanager_servers in yaml template }
LocalTemplate contains the variables for print local template.
type TemplateOptions ¶ added in v1.4.0
type TemplateOptions struct { Full bool // print full template MultiDC bool // print template for deploying to multiple data center Local bool // print and render local template }
TemplateOptions contains the options for print topology template.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.