command

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute executes the root command

func ScaleInDMCluster added in v1.1.0

func ScaleInDMCluster(
	ctx context.Context,
	topo *dm.Specification,
	options operator.Options,
	tlsCfg *tls.Config,
) error

ScaleInDMCluster scale in dm cluster.

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
	GlobalSystemdMode   string   // global.systemd_mode 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
	MasterServers       []string // master_servers in yaml template
	WorkerServers       []string // worker_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
	Local bool // print and render local template
}

TemplateOptions contains the options for print topology template.

Jump to

Keyboard shortcuts

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