Documentation ¶
Overview ¶
Package cluster implements the "update cluster" command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Command is the cobra command for 'gsctl update cluster' Command = &cobra.Command{ Use: "cluster <cluster-name/cluster-id>", Args: cobra.ExactArgs(1), Short: "Modify cluster details", Long: `Change the details of a cluster Examples: gsctl update cluster f01r4 --name "Precious Production Cluster" gsctl update cluster "Cluster name" --name "Precious Production Cluster" gsctl update cluster f01r4 --label environment=testing --label labeltodelete= gsctl update cluster f01r4 --master-ha=true `, PreRun: printValidation, Run: printResult, } )
Functions ¶
func IsHAMastersNotSupported ¶
IsHAMastersNotSupported asserts haMastersNotSupportedError.
func IsRevertHAMasterNotAllowed ¶
IsRevertHAMasterNotAllowed asserts revertHAMasterNotAllowedError.
Types ¶
Click to show internal directories.
Click to hide internal directories.