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 ¶
- audit.go
- check.go
- clean.go
- deploy.go
- destroy.go
- disable.go
- display.go
- edit_config.go
- enable.go
- exec.go
- import.go
- list.go
- meta.go
- patch.go
- prune.go
- reload.go
- rename.go
- replay.go
- restart.go
- root.go
- rotate_ssh.go
- scale_in.go
- scale_out.go
- show_config.go
- start.go
- stop.go
- telemetry.go
- template.go
- test.go
- tls.go
- transfer.go
- upgrade.go
Click to show internal directories.
Click to hide internal directories.