Documentation
¶
Overview ¶
Package cluster implements the 'delete cluster' sub-command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Command performs the "delete cluster" function Command = &cobra.Command{ Use: "cluster", Short: "Delete cluster", Long: `Deletes a Kubernetes cluster. Caution: This will terminate all workloads on the cluster. Data stored on the worker nodes will be lost. There is no way to undo this. Example: gsctl delete cluster c7t2o`, PreRun: printValidation, Run: printResult, } )
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct {
// contains filtered or unexported fields
}
Arguments represents all argument that can be passed to our business function.
type JSONOutput ¶
type JSONOutput struct { // Result of the command. should be 'deletion scheduled' Result string `json:"result"` // ID of the cluster ID string `json:"id"` // Error which occured Error error `json:"error,omitempty"` }
JSONOutput contains the fields included in JSON output of the delete cluster command when called with json output flag
Click to show internal directories.
Click to hide internal directories.