pipeline

package
v0.0.0-...-81b45a2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2014 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDebug

func SetDebug(enabled bool)

func Start

func Start(node Upstreamer)

func Wait

func Wait(upstream ...Upstreamer) <-chan error

Types

type Node

type Node struct {
	Upstream Upstreamer
	// contains filtered or unexported fields
}

func (*Node) AbortChannel

func (n *Node) AbortChannel() chan struct{}

func (*Node) AbortSending

func (n *Node) AbortSending()

func (*Node) AbortWithError

func (n *Node) AbortWithError(err error) error

func (*Node) Close

func (n *Node) Close()

func (*Node) ErrorChannel

func (n *Node) ErrorChannel() chan error

func (*Node) Init

func (n *Node) Init(errors chan error, done chan struct{})

func (*Node) SetUpstream

func (n *Node) SetUpstream(upstream Upstreamer)

func (*Node) String

func (n *Node) String() string

func (*Node) Upstreamer

func (n *Node) Upstreamer() Upstreamer

type Upstreamer

type Upstreamer interface {
	AbortWithError(error) error
	Close()
	Init(errors chan error, done chan struct{})
	Run() error
	AbortSending()
	ErrorChannel() chan error
	Upstreamer() Upstreamer
	SetUpstream(Upstreamer)
}

Jump to

Keyboard shortcuts

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