chain

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain struct {
	// contains filtered or unexported fields
}

Chain is a chain of runnables

func New

func New(cmd ...runnable.Runnable) *Chain

New creates a new chain from a number of runnables

func (*Chain) Run

func (c *Chain) Run(ctx context.Context, options [][]string, input io.Reader, output io.Writer) error

Run implements the runnable.Runnable interface

Jump to

Keyboard shortcuts

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