Help us shape the future of Go! Take the 2026 Go Developer Survey

plugin

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrMissingMetadata indicates that plugin.yaml is missing.
	ErrMissingMetadata     = errors.New("plugin metadata (plugin.yaml) missing")
	ErrExists              = errors.New("plugin already exists")
	ErrDoesNotExist        = errors.New("plugin does not exist")
	ErrHomeMissing         = errors.New(`plugin home "$(draft home)/plugins" does not exist`)
	ErrMissingSource       = errors.New("cannot get information about plugin source")
	ErrRepoDirty           = errors.New("plugin repo was modified")
	ErrVersionDoesNotExist = errors.New("requested version does not exist")
)

Functions

This section is empty.

Types

type Builtin

type Builtin struct {
	Name    string
	URL     string
	Version string
}

Builtin contains metadata to the built-in plugins. Used to install/uninstall a plugin.

func Builtins

func Builtins() []*Builtin

Builtins fetches all built-in plugins.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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