Documentation
¶
Overview ¶
Package marketplace provides a plugin that registers pipeline step factories for interacting with the workflow plugin marketplace registry. Steps: step.marketplace_search, step.marketplace_detail, step.marketplace_install, step.marketplace_installed, step.marketplace_uninstall, step.marketplace_update.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
plugin.BaseEnginePlugin
// contains filtered or unexported fields
}
Plugin registers marketplace pipeline steps.
func New ¶
func New() *Plugin
New creates a new marketplace plugin using the default local registry. The registry is backed by the data/plugins/ directory.
func NewWithRegistry ¶
func NewWithRegistry(registry module.MarketplaceRegistry) *Plugin
NewWithRegistry creates a marketplace plugin with a custom registry.
func (*Plugin) Capabilities ¶
func (p *Plugin) Capabilities() []capability.Contract
Capabilities returns the capability contracts defined by this plugin.
func (*Plugin) StepFactories ¶
func (p *Plugin) StepFactories() map[string]plugin.StepFactory
StepFactories returns the marketplace step factories.