provider

package
v0.0.0-...-522d66a Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocalProvider

func LocalProvider(info map[string]any) (plugin.Plugin, error)

func ModuleProvider

func ModuleProvider(info map[string]any) (plugin.Plugin, error)

func RegisterAll

func RegisterAll()

Types

type LocalPlugin

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

func (*LocalPlugin) Latest

func (l *LocalPlugin) Latest() (plugin.Identifier, error)

func (*LocalPlugin) Module

func (l *LocalPlugin) Module() plugin.Module

func (*LocalPlugin) Pull

func (l *LocalPlugin) Pull() error

type ModulePlugin

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

func (ModulePlugin) Latest

func (m ModulePlugin) Latest() (plugin.Identifier, error)

func (ModulePlugin) Module

func (m ModulePlugin) Module() plugin.Module

func (ModulePlugin) Pull

func (m ModulePlugin) Pull() error

Jump to

Keyboard shortcuts

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