Documentation ¶
Overview ¶
Package pipeline is intended to be used by plugin developers to create new pipeline plugins
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action interface { Metadata() *ActionMetadata ExecuteFunc() interface{} }
Action represents an action that the pipeline plugin supports
type ActionInput ¶
type ActionInput interface {
IsActionInput()
}
ActionInput is an argument type that is used by plugins as a vehicle for accepting action input data. A struct implementing this interface indicates to the plugin system that the struct should not be included in a grpc advertised dynamic function spec, because it will be injected on the plugin side, not supplied from core over GRPC.
type ActionMetadata ¶
ActionMetadata includes the action name and description which is used for documentation
type ConfigurableAction ¶
type ConfigurableAction interface {
Configure(data interface{}, logger hclog.Logger) error
}
ConfigurableAction is an action that can accept pipeline data