Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
Name string
Cli pluginapi.PluginClient
}
Plugin represents a plugin with its name and client.
type PluginRegistry ¶
type PluginRegistry interface {
GetPluginClientByStageName(name string) (pluginapi.PluginClient, error)
GetPluginClientsByAppConfig(cfg *config.GenericApplicationSpec) ([]pluginapi.PluginClient, error)
}
PluginRegistry is the interface that provides methods to get plugin clients.
func NewPluginRegistry ¶
func NewPluginRegistry(ctx context.Context, plugins []Plugin) (PluginRegistry, error)
NewPluginRegistry creates a new PluginRegistry based on the given plugins.
Click to show internal directories.
Click to hide internal directories.