executor

package
v0.0.0-...-df6e0f9 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewExecutor = createNewExecutor

Functions

func RunExecutor

func RunExecutor(ctx context.Context, checkKeyExpired bool, action func(Executor) error) error

Run executor for command line

func RunExecutorConfigReadOnly

func RunExecutorConfigReadOnly(ctx context.Context, action func(Executor) error) error

RunExecutorReadConfigOnly run executor without checking configuration for command line

func RunExecutorWithoutCheckingConfig

func RunExecutorWithoutCheckingConfig(ctx context.Context, action func(Executor) error) error

RunExecutorWithoutCheckingConfig run executor without reading configuration

Types

type Executor

type Executor struct {
	Runner  runner.Runner
	Context context.Context
}

Jump to

Keyboard shortcuts

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