Documentation ¶
Index ¶
- Variables
- func Execute()
- func GetEnv(envVar string) (bool, string)
- func InstallCluster(ops utils.ClusterOptions) error
- func PatrolCluster(ops utils.ClusterOptions) error
- func ReadClusterOptionsByName(cmd *cobra.Command) (utils.ClusterOptions, error)
- func StartCluster(clusterOpts utils.ClusterOptions) error
- func StopCluster(ops utils.ClusterOptions) error
- func UninstallCluster(ops utils.ClusterOptions) error
- func UpgradeCluster(ops utils.ClusterOptions, newV string) error
- type LocalTemplate
- type TemplateOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ClusterCmd *cobra.Command // represents the cluster command
)
Functions ¶
func InstallCluster ¶
func InstallCluster(ops utils.ClusterOptions) error
func PatrolCluster ¶
func PatrolCluster(ops utils.ClusterOptions) error
func ReadClusterOptionsByName ¶
func ReadClusterOptionsByName(cmd *cobra.Command) (utils.ClusterOptions, error)
func StartCluster ¶
func StartCluster(clusterOpts utils.ClusterOptions) error
func StopCluster ¶
func StopCluster(ops utils.ClusterOptions) error
func UninstallCluster ¶
func UninstallCluster(ops utils.ClusterOptions) error
func UpgradeCluster ¶
func UpgradeCluster(ops utils.ClusterOptions, newV string) error
Types ¶
type LocalTemplate ¶
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 GlobalLogDir string // global.deploy_dir in yaml template GlobalDataDir string // global.data_dir in yaml template GlobalArch string // global.arch in yaml template TSMetaServers []string // ts-meta-servers in yaml template TSSqlServers []string // ts-sql-servers in yaml template TSStoreServers []string // ts-store-servers in yaml template GrafanaServers []string // grafana_servers in yaml template }
LocalTemplate contains the variables for print local template.
type TemplateOptions ¶
type TemplateOptions struct { Full bool // print full template Local bool // print and render local template }
TemplateOptions contains the options for print topology template.
Click to show internal directories.
Click to hide internal directories.