plugin

package
v1.12.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin interface {
	Client() *plugins.Client
	Name() string
	IsLegacy() bool
}

Plugin represents a plugin. It is used to abstract from an older plugin architecture (in pkg/plugins).

func FindWithCapability

func FindWithCapability(capability string) ([]Plugin, error)

FindWithCapability returns a list of plugins matching the given capability.

func LookupWithCapability

func LookupWithCapability(name, capability string) (Plugin, error)

LookupWithCapability returns a plugin matching the given name and capability.

Jump to

Keyboard shortcuts

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