Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(key string, interfaceSpec types.InterfaceSpec, f ParseDependsFunc)
Register registers a helper for parsing for dependencies based on a key (e.g. 'group') and interface spec (Group/1.0)
Types ¶
type ParseDependsFunc ¶
ParseDependsFunc returns a list of dependencies of this spec.
type Runnable ¶
type Runnable interface {
core.Addressable
// Options returns the options needed to start the plugin
Options() *types.Any
// Dependents return all the plugins this runnable depends on
Dependents() (Runnables, error)
}
Runnable models an addressable object that can also be started.
func AsRunnable ¶
AsRunnable returns the Runnable from a spec.
func RunnableFrom ¶
RunnableFrom creates a runnable from input name. This is a simplification for cases where only a plugin name is used to reference another plugin.
type Runnables ¶
type Runnables []Runnable
Runnables represent a collection of Runnables
Click to show internal directories.
Click to hide internal directories.