MCPcopy
hub / github.com/roboll/helmfile / Runner

Interface Runner

pkg/helmexec/runner.go:18–21  ·  view source on GitHub ↗

Runner interface for shell commands

Source from the content-addressed store, hash-verified

16
17// Runner interface for shell commands
18type Runner interface {
19 Execute(cmd string, args []string, env map[string]string) ([]byte, error)
20 ExecuteStdIn(cmd string, args []string, env map[string]string, stdin io.Reader) ([]byte, error)
21}
22
23// ShellRunner implemention for shell commands
24type ShellRunner struct {

Callers 9

GenerateOutputDirMethod · 0.65
getHelmVersionFunction · 0.65
execMethod · 0.65
azcliMethod · 0.65
TriggerMethod · 0.65
mainFunction · 0.65
execStdInMethod · 0.65

Implementers 4

mockRunnerpkg/app/app_test.go
mockRunnerpkg/helmexec/exec_test.go
ShellRunnerpkg/helmexec/runner.go
runnerpkg/event/bus_test.go

Calls

no outgoing calls

Tested by

no test coverage detected