executor

package
v1.7.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodExecutor

type PodExecutor struct {
	Pod              *corev1.Pod
	ContainerName    string
	KubeCli          kubernetes.Interface
	RestClientGetter genericclioptions.RESTClientGetter
	RestConfig       *rest.Config

	genericclioptions.IOStreams
}

func NewPodExecutor

func NewPodExecutor(
	pod *corev1.Pod, containerName string,
	restClientGetter genericclioptions.RESTClientGetter,
	ioStreams genericclioptions.IOStreams,
) *PodExecutor

func (*PodExecutor) Execute

func (e *PodExecutor) Execute(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL