Documentation
¶
Overview ¶
Package pluginscmd implements the `d8 dist plugins` command tree and the per-plugin wrapper command on top of the internal/plugins machinery.
d8 dist plugins list list installed plugins d8 dist plugins versions list published versions of a plugin d8 dist plugins contract show a plugin's contract d8 dist plugins install install a plugin d8 dist plugins update update installed plugins d8 dist plugins remove remove an installed plugin
The subtree is mounted under `d8 dist` (internal/dist/cmd) and inherits the cluster access flags (kubeconfig/context, rpp-*) from it. File layout: one command per file, plugin.go holds the per-plugin wrapper (e.g. `d8 system`).
Index ¶
Constants ¶
View Source
const ( SystemPluginName = "system" // PackagePluginName names the capability, not a wrapper command: `d8 package` // is always built in (cmd/d8/root.go). It is passed to SetBuiltinCommands so a // plugin depending on "package" is satisfied without a registry lookup. // TODO(Glitchy-Sheep): swap the built-in for NewPluginCommand during full plugin system implementation. PackagePluginName = "package" )
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand returns the `d8 dist plugins` command tree for managing plugins. builtinCommands are built-in command names that satisfy a plugin dependency of the same name (e.g. delivery-kit) until such capabilities ship as standalone plugins.
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.