Documentation
¶
Overview ¶
Package control implements the control sub-commands.
Index ¶
Constants ¶
View Source
const ( // CmdControl is the control sub-command. CmdControl = "control" // CmdIsSynced is the is-synced sub-command. CmdIsSynced = "is-synced" // CmdWaitSync is the wait-sync sub-command. CmdWaitSync = "wait-sync" // CmdShutdown is the shutdown sub-command. CmdShutdown = "shutdown" // CmdClearDeregister is the clear-deregister sub-command. CmdClearDeregister = "clear-deregister" // CmdUpgradeBinary is the upgrade-binary sub-command. CmdUpgradeBinary = "upgrade-binary" // CmdCancelUpgrade is the cancel-upgrade sub-command. CmdCancelUpgrade = "cancel-upgrade" // CmdStatus is the status sub-command. CmdStatus = "status" // CmdRuntimeStats is the runtime-stats sub-command. CmdRuntimeStats = "runtime-stats" // CmdAddBundle is the add-bundle sub-command. CmdAddBundle = "add-bundle" )
Variables ¶
This section is empty.
Functions ¶
func DoConnect ¶
func DoConnect(cmd *cobra.Command) (*grpc.ClientConn, control.NodeController)
DoConnect connects to the node's gRPC server.
func DoFetchStatus ¶ added in v0.2402.0
DoFetchStatus connects to the node's gRPC server and fetches its status.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.