runner

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithGrpc added in v1.7.0

func WithGrpc(grpcUrl string) func(*Runner)

func WithLogger added in v1.7.0

func WithLogger(logger *zap.Logger) func(*Runner)

func WithOperation added in v1.7.0

func WithOperation(operation string) func(runner *Runner)

func WithRunId added in v1.7.0

func WithRunId(runId string) func(runner *Runner)

func WithVersion added in v1.7.0

func WithVersion(version string) func(runner *Runner)

func WithWorkingDirectory added in v1.7.0

func WithWorkingDirectory(workingDirectory string) func(runner *Runner)

Types

type RunOptions added in v1.7.0

type RunOptions struct {
}

type Runner

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

func New

func New(options ...func(*Runner)) *Runner

func (*Runner) Run added in v1.7.0

func (r *Runner) Run(ctx context.Context, out io.Writer) error

Jump to

Keyboard shortcuts

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