pipeline

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2019 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flow

type Flow []Runner

Flow is a slice of Runners interface elements that can be applied in sequence.

func (Flow) Run

func (flow Flow) Run(in interface{}, logger log.Logger) error

Run executes the flow elements runner function.

type Runner

type Runner interface {
	Name() string
	Run(interface{}) error
	Cancel(interface{}) error
}

Runner interface has a pipeline's element functions.

Jump to

Keyboard shortcuts

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