plugin

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 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
kubernetes module

Jump to

Keyboard shortcuts

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