Documentation ¶
Index ¶
- func NewCommandExecutor(cli client.Client, clientSet kubernetes.Interface, ...) *defaultCommandExecutor
- func NewExecPod(client client.Client, executor internal.CommandExecutor, ...) (*execPod, error)
- func NewExecPodFactory(client client.Client, config *rest.Config, executor internal.CommandExecutor) *defaultExecPodFactory
- func NewPodFileExtractor(k8sClient client.Client, restConfig *rest.Config, ...) *podFileExtractor
- func NewShellCommand(command string, args ...string) *shellCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommandExecutor ¶
func NewCommandExecutor(cli client.Client, clientSet kubernetes.Interface, coreV1RestClient rest.Interface) *defaultCommandExecutor
NewCommandExecutor creates a new instance of NewCommandExecutor
func NewExecPod ¶
func NewExecPod( client client.Client, executor internal.CommandExecutor, factoryMode internal.ExecPodVolumeMode, doguResource *k8sv1.Dogu, dogu *core.Dogu, podName string, ) (*execPod, error)
NewExecPod creates a new ExecPod that enables command execution towards a pod.
func NewExecPodFactory ¶
func NewExecPodFactory(client client.Client, config *rest.Config, executor internal.CommandExecutor) *defaultExecPodFactory
NewExecPodFactory creates a new ExecPodFactory.
func NewPodFileExtractor ¶
func NewPodFileExtractor(k8sClient client.Client, restConfig *rest.Config, clientSet kubernetes.Interface) *podFileExtractor
NewPodFileExtractor creates a new pod file extractor that fetches files from a pod's container.
func NewShellCommand ¶
NewShellCommand creates a new shellCommand. While the command is mandatory, there can be zero to n command arguments.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.