Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = NewRegistry()
Functions ¶
func NewRegistry ¶
func NewRegistry() *registry
Types ¶
type Command ¶
type Command interface { MetaData() CommandMetadata SetDependency(deps Dependency, pluginCall bool) Command Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) (reqs []requirements.Requirement, err error) Execute(context flags.FlagContext) }
type CommandMetadata ¶
type Dependency ¶
type Dependency struct { Ui terminal.UI Config core_config.Repository RepoLocator api.RepositoryLocator Detector detection.Detector PluginConfig plugin_config.PluginConfiguration ManifestRepo manifest.ManifestRepository Gateways map[string]net.Gateway TeePrinter *terminal.TeePrinter PluginModels *pluginModels }
func NewDependency ¶
func NewDependency() Dependency
Click to show internal directories.
Click to hide internal directories.