Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor interface {
ExecCommandInContainerWithFullOutput(ctx context.Context, namespace, podName, containerName string, cmd ...string) (stdout, stderr string, err error)
}
Executor allows for execution of commands in containers.
func NewExecutor ¶
func NewExecutor(client kubernetes.Interface) Executor
NewExecutor creates a new instance of Executor for a specific Kubernetes client.
Click to show internal directories.
Click to hide internal directories.