Documentation ¶
Index ¶
- type PluginManager
- func (*PluginManager) GetFileExtensionHandlers() (map[string]string, error)
- func (m *PluginManager) GetPluginBinaryPath(ref config.PluginReference, version *semver.Version) (string, error)
- func (m *PluginManager) Install(ctx context.Context, name string, constraint *semver.Constraints) error
- func (m *PluginManager) ListInstalledPlugins() ([]PluginMetadata, error)
- type PluginMetadata
- type Version
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 }
Click to show internal directories.
Click to hide internal directories.