Documentation
¶
Index ¶
- func BuildCommand(shellCmd string) *exec.Cmd
- func BuildCommandContext(ctx context.Context, shellCmd string) *exec.Cmd
- func BuildCommandShellArg(shell ShellConfig, cmd string) *exec.Cmd
- func BuildCommandShellArgContext(ctx context.Context, shell ShellConfig, cmd string) *exec.Cmd
- func ValidateShellConfig(shell ShellConfig)
- type ShellConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCommand ¶
func BuildCommandShellArg ¶ added in v0.29.1
func BuildCommandShellArg(shell ShellConfig, cmd string) *exec.Cmd
func BuildCommandShellArgContext ¶ added in v0.29.1
func ValidateShellConfig ¶ added in v0.29.1
func ValidateShellConfig(shell ShellConfig)
Types ¶
type ShellConfig ¶ added in v0.29.1
type ShellConfig struct {
ShellCommand string `yaml:"shell_command"`
ShellArgument string `yaml:"shell_argument"`
}
func DefaultShellConfig ¶ added in v0.29.1
func DefaultShellConfig() *ShellConfig
Click to show internal directories.
Click to hide internal directories.