plugin

package
v0.0.0-...-4a2275d Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2016 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, registeredPlugin *RegisteredPlugin) error

Register a plugin

Types

type Plugin

type Plugin interface {
	ValidatePluginSpecs(string) ([]string, bool)
	ValidatePluginState(string) ([]string, bool)
	Analyze() []string
	TestExecution() []string
}

func NewPlugin

func NewPlugin(name string) (Plugin, error)

type RegisteredPlugin

type RegisteredPlugin struct {
	New func(pluginName string) (Plugin, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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