runner

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoModify = func(ctx context.Context, _ *config.Config) context.Context { return ctx }

NoModify for cmd.

Functions

func Run

func Run(name, operation string, opts *Options)

Run the cmd.

Types

type ModifyFn

type ModifyFn func(context.Context, *config.Config) context.Context

ModifyFn for cmd.

type Options added in v0.8.0

type Options struct {
	Lifecycle    fx.Lifecycle
	OutputConfig *cmd.OutputConfig
	Map          *marshaller.Map
	Config       *config.Config
	Logger       *zap.Logger
	Fn           ModifyFn
}

Options for runner.

Jump to

Keyboard shortcuts

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