manager

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: MPL-2.0 Imports: 16 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) GetFileExtensionHandlers added in v0.6.0

func (*PluginManager) GetFileExtensionHandlers() (map[string]string, error)

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