manager

package
v11.1.4-modfix Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RepoCompatOpts

func RepoCompatOpts(opts plugins.CompatOpts) (repo.CompatOpts, error)

Types

type PluginInstaller

type PluginInstaller struct {
	// contains filtered or unexported fields
}

func New

func New(pluginRegistry registry.Service, pluginLoader loader.Service, pluginRepo repo.Service,
	pluginStorage storage.ZipExtractor, pluginStorageDirFunc storage.DirNameGeneratorFunc,
	serviceRegistry auth.ExternalServiceRegistry) *PluginInstaller

func ProvideInstaller

func ProvideInstaller(cfg *config.PluginManagementCfg, pluginRegistry registry.Service, pluginLoader loader.Service,
	pluginRepo repo.Service, serviceRegistry auth.ExternalServiceRegistry) *PluginInstaller

func (*PluginInstaller) Add

func (m *PluginInstaller) Add(ctx context.Context, pluginID, version string, opts plugins.CompatOpts) error

func (*PluginInstaller) Remove

func (m *PluginInstaller) Remove(ctx context.Context, pluginID, version string) error

Directories

Path Synopsis
termination
Package termination defines the Termination stage of the plugin loader pipeline.
Package termination defines the Termination stage of the plugin loader pipeline.

Jump to

Keyboard shortcuts

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