flow

package
v0.0.0-...-90deddd Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package flow contains a number of constructors for Flow nodes that are convenient for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collect

func Collect(re, repl string, dep *flow.Flow) *flow.Flow

Collect constructs a new flow.Collect node.

func Data

func Data(b []byte) *flow.Flow

Data constructs a new reflow.Data node.

func Exec

func Exec(image, cmd string, resources reflow.Resources, deps ...*flow.Flow) *flow.Flow

Exec constructs a new flow.OpExec node.

func Extern

func Extern(rawurl string, dep *flow.Flow) *flow.Flow

Extern constructs a new flow.Extern node.

func Groupby

func Groupby(re string, dep *flow.Flow) *flow.Flow

Groupby constructs a new flow.Groupby node.

func Intern

func Intern(rawurl string) *flow.Flow

Intern constructs a new flow.OpIntern node.

func K

func K(id string, k func(vs []values.T) *flow.Flow, deps ...*flow.Flow) *flow.Flow

K constructs a new flow.K node.

func Map

func Map(fn func(*flow.Flow) *flow.Flow, dep *flow.Flow) *flow.Flow

Map constructs a new flow.Map node.

func Merge

func Merge(deps ...*flow.Flow) *flow.Flow

Merge constructs a new flow.Merge node.

func Pullup

func Pullup(deps ...*flow.Flow) *flow.Flow

Pullup constructs a new flow.Pullup node.

func Val

func Val(v reflow.Fileset) *flow.Flow

Val constructs a new flow.Val node.

Types

This section is empty.

Jump to

Keyboard shortcuts

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