Documentation
¶
Overview ¶
Package command provides commands
Package command provides commands
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewListCmd ¶
func NewListCmd(ps catalog.PluginSupplier) (*cobra.Command, error)
func NewRootCmd ¶
func NewRootCmd(ps catalog.PluginSupplier) (*cobra.Command, error)
NewRootCmd creates a root command.
Types ¶
type FlatDirPluginSupplier ¶
type FlatDirPluginSupplier struct {
// contains filtered or unexported fields
}
FlatDirPluginSupplier is a naive supplier of plugins based on expecting a flat list of plugin binaries within a single directory. TODO(vuil): To be superceded by a plugin LCM component.
func (*FlatDirPluginSupplier) GetInstalledPlugins ¶
func (s *FlatDirPluginSupplier) GetInstalledPlugins() ([]*cli.PluginInfo, error)
GetInstalledPlugins returns plugins for the supplier.
Click to show internal directories.
Click to hide internal directories.