Documentation ¶
Index ¶
- func ExecCmd(l zerolog.Logger, command string) error
- func ExecCmdWithContext(ctx context.Context, l zerolog.Logger, command string) error
- func ExecCmdWithOptions(ctx context.Context, l zerolog.Logger, command string, ...) error
- func GetEnv(key string) (string, error)
- func SetupEnvVarsForRemoteRunner(envVars []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecCmdWithContext ¶
ExecCmdWithContext executes a command with ctx and logs the output
func ExecCmdWithOptions ¶
func ExecCmdWithOptions(ctx context.Context, l zerolog.Logger, command string, outputFunction func(string)) error
ExecCmdWithOptions executes a command with ctx and logs the output with a custom logging func
func GetEnv ¶
GetEnv returns the value of the environment variable named by the key and sets the environment variable up to be used in the remote runner
func SetupEnvVarsForRemoteRunner ¶
SetupEnvVarsForRemoteRunner sets up the environment variables in the list to propagate to the remote runner
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.