manager

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginManager

type PluginManager struct {
	Repositories []repository.Repository
}

func (*PluginManager) GetPluginBinaryPath

func (m *PluginManager) GetPluginBinaryPath(ref config.PluginReference, version *semver.Version) (string, error)

func (*PluginManager) Install

func (m *PluginManager) Install(ctx context.Context, name string, constraint *semver.Constraints) error

func (*PluginManager) ListInstalledPlugins

func (m *PluginManager) ListInstalledPlugins() ([]PluginMetadata, error)

type PluginMetadata

type PluginMetadata struct {
	Reference config.PluginReference
	Versions  []Version
}

type Version

type Version struct {
	Number *semver.Version
}

Jump to

Keyboard shortcuts

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