cmdeval

package
v1.0.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EvalCommand

func EvalCommand(ctx context.Context, name string) *cobra.Command

Types

type EvalFnRunner

type EvalFnRunner struct {
	Command              *cobra.Command
	Dest                 string
	OutContent           bytes.Buffer
	FromStdin            bool
	Image                string
	Exec                 string
	FnConfigPath         string
	RunFns               runfn.RunFns
	ResultsDir           string
	ImagePullPolicy      string
	Network              bool
	Mounts               []string
	Env                  []string
	AsCurrentUser        bool
	IncludeMetaResources bool
	Ctx                  context.Context
}

EvalFnRunner contains the run function

func GetEvalFnRunner

func GetEvalFnRunner(ctx context.Context, parent string) *EvalFnRunner

GetEvalFnRunner returns a EvalFnRunner.

Jump to

Keyboard shortcuts

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