Documentation ¶
Index ¶
- type CommandOutput
- type CommandRunner
- func (c *CommandRunner) BuildCommandDescription(dir string, name string, args []string) string
- func (c *CommandRunner) CreateTempFile(tempFilePrefix string, content []byte) (string, error)
- func (c *CommandRunner) ExecuteKustomizeBin(args []string) ([]byte, error)
- func (c *CommandRunner) RunCommand(name string, args []string) (CommandOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandOutput ¶
CommandOutput is RunCommand result object
type CommandRunner ¶
type CommandRunner struct { }
func CreateNewCommandRunner ¶
func CreateNewCommandRunner() *CommandRunner
func (*CommandRunner) BuildCommandDescription ¶
func (c *CommandRunner) BuildCommandDescription(dir string, name string, args []string) string
BuildCommandDescription executes Cmd strcuts and returns a human-readable description of it
func (*CommandRunner) CreateTempFile ¶
func (c *CommandRunner) CreateTempFile(tempFilePrefix string, content []byte) (string, error)
func (*CommandRunner) ExecuteKustomizeBin ¶
func (c *CommandRunner) ExecuteKustomizeBin(args []string) ([]byte, error)
func (*CommandRunner) RunCommand ¶
func (c *CommandRunner) RunCommand(name string, args []string) (CommandOutput, error)
RunCommand executes Cmd struct with given named program and arguments and returns CommandOutput
Click to show internal directories.
Click to hide internal directories.