Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodCommandExecutor ¶
type PodCommandExecutor interface { // ExecutePodCommand executes a command in a container in a pod. If the command takes longer than // the specified timeout, an error is returned. ExecutePodCommand(log logrus.FieldLogger, item map[string]interface{}, namespace, name, hookName string, hook *api.ExecHook) error }
PodCommandExecutor is capable of executing a command in a container in a pod.
func NewPodCommandExecutor ¶
func NewPodCommandExecutor(restClientConfig *rest.Config, restClient poster) PodCommandExecutor
NewPodCommandExecutor creates a new PodCommandExecutor.
Click to show internal directories.
Click to hide internal directories.