plugin

package
v0.51.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Directories

Path Synopsis
analysis module
toolregistry
Package toolregistry installs and manages the needed tools such as kubectl, helm...
Package toolregistry installs and manages the needed tools such as kubectl, helm...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL