Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KafkaCtlVersion string
Functions ¶
Types ¶
type ExitError ¶
ExitError is created whenever your shell command exits with a non-zero exit status
func (ExitError) ExitStatus ¶
type K8sOperation ¶
type K8sOperation struct {
// contains filtered or unexported fields
}
func (*K8sOperation) Attach ¶
func (operation *K8sOperation) Attach() error
type Runner ¶
type Runner interface { ExecuteAndReturn(cmd string, args []string) ([]byte, error) Execute(cmd string, args []string) error }
Runner interface for shell commands
type ShellRunner ¶
type ShellRunner struct {
Dir string
}
func (ShellRunner) Execute ¶
func (shell ShellRunner) Execute(binary string, args []string) error
Execute a shell command
func (ShellRunner) ExecuteAndReturn ¶
func (shell ShellRunner) ExecuteAndReturn(binary string, args []string) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.