Documentation
¶
Overview ¶
Package distcmd implements the `d8 dist` command tree - management of the d8 distribution: the deckhouse-cli binary itself and its plugins.
d8 dist status summary: the d8 version, plugins, what is outdated d8 dist check report whether a newer deckhouse-cli is available d8 dist update update the deckhouse-cli binary d8 dist use switch the deckhouse-cli binary to a specific version d8 dist versions list deckhouse-cli versions published in the registry d8 dist plugins the plugins subtree (implemented in internal/plugins/cmd)
The package holds only the command layer. The binary version machinery (store, updater) lives in internal/selfupdate; the plugins machinery in internal/plugins.
File layout: dist.go assembles the tree, one command per file (check.go, status.go, update.go, use.go, versions.go), updater.go builds the shared Updater, ui.go holds the output palette.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand returns the `d8 dist` command tree - management of the d8 distribution: the deckhouse-cli binary itself and its plugins. It reaches the registry-packages-proxy with the caller's kubeconfig identity. builtinCommands are built-in command names that satisfy a plugin dependency of the same name (see pluginscmd.NewCommand).
Types ¶
This section is empty.