flow

package
v0.0.0-...-0299857 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const AppContext = "app.context"

Variables

This section is empty.

Functions

This section is empty.

Types

type LoadConfig

type LoadConfig struct {
	ConfigPath string
	Loader     config.Loader
}

func NewLoadConfig

func NewLoadConfig(path string) LoadConfig

func (LoadConfig) Run

func (pipe LoadConfig) Run(ctx *app.Context) (err error)

type LoadDefaultConfig

type LoadDefaultConfig struct{}

func (LoadDefaultConfig) Run

func (pipe LoadDefaultConfig) Run(ctx *app.Context) (err error)

type LoadEnvFiles

type LoadEnvFiles struct{}

func (LoadEnvFiles) Run

func (pipe LoadEnvFiles) Run(ctx *app.Context) (err error)

type LoadEnvScripts

type LoadEnvScripts struct{}

func (LoadEnvScripts) Run

func (pipe LoadEnvScripts) Run(ctx *app.Context) (err error)

type LoadEnvVars

type LoadEnvVars struct{}

func (LoadEnvVars) Run

func (pipe LoadEnvVars) Run(ctx *app.Context) (err error)

type PersistAppContext

type PersistAppContext struct {
	CLIContext *cli.Context
}

func (PersistAppContext) Run

func (pipe PersistAppContext) Run(ctx *app.Context) (err error)

type Pipe

type Pipe interface {
	Run(ctx *app.Context) error
}

type Pipeline

type Pipeline struct {
	Pipes []Pipe
}

func (*Pipeline) Add

func (pipeline *Pipeline) Add(pipe Pipe)

func (Pipeline) Run

func (pipeline Pipeline) Run(ctx *app.Context) (err error)

type SetCommander

type SetCommander struct{}

func (SetCommander) Run

func (pipe SetCommander) Run(ctx *app.Context) (err error)

type SetGit

type SetGit struct{}

func (SetGit) Run

func (pipe SetGit) Run(ctx *app.Context) (err error)

Jump to

Keyboard shortcuts

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