workflow

package
v0.0.0-...-8685a14 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnExit

func OnExit(ctx context.Context, cerr chan<- errs.Error, prefixMsg string, fn func())

func Run

func Run(ctx context.Context, runners ...Runner) <-chan struct{}

Types

type Pipeliner

type Pipeliner interface {
	Runner
	StatProducer
}

type Pipelines

type Pipelines []Pipeliner

func (Pipelines) Runners

func (pl Pipelines) Runners() []Runner

func (Pipelines) StatProducers

func (pl Pipelines) StatProducers() []StatProducer

type Runner

type Runner interface {
	Run(context.Context) <-chan struct{}
}

type StatProducer

type StatProducer interface {
	Stats() interface{}
}

Directories

Path Synopsis
Package wfs implements concurrent glob functionality with recursive "**" supports "**" in glob represents a recursive wildcard matching zero-or-more directory levels deep base on src: https://github.com/yargevad/filepathx/blob/master/filepathx.go todo: add rglob
Package wfs implements concurrent glob functionality with recursive "**" supports "**" in glob represents a recursive wildcard matching zero-or-more directory levels deep base on src: https://github.com/yargevad/filepathx/blob/master/filepathx.go todo: add rglob

Jump to

Keyboard shortcuts

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