finder

package
v0.0.0-cloud Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidPluginJSON         = errors.New("did not find valid type or id properties in plugin.json")
	ErrInvalidPluginJSONFilePath = errors.New("invalid plugin.json filepath was provided")
)

Functions

func ReadPluginJSON

func ReadPluginJSON(reader io.Reader) (plugins.JSONData, error)

Types

type Finder

type Finder interface {
	Find(ctx context.Context, src plugins.PluginSource) ([]*plugins.FoundBundle, error)
}

type Local

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

func NewLocalFinder

func NewLocalFinder() *Local

func (*Local) Find

Jump to

Keyboard shortcuts

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