plugin

package
v0.16.4 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAll

func LoadAll() ([]*api.Plugin, error)

func PluginFromBytes

func PluginFromBytes(data []byte) (*api.Plugin, error)

func PluginFromFile

func PluginFromFile(path string) (*api.Plugin, error)

Types

type Loader

type Loader struct {
}

func NewLoader

func NewLoader() *Loader

func (Loader) Load

func (l Loader) Load() ([]*api.Plugin, error)

func (Loader) TryToLoadPluginFromDir

func (l Loader) TryToLoadPluginFromDir(path string) (*api.Plugin, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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