remote_command

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultExecutor

type DefaultExecutor struct{}

func (DefaultExecutor) Exec

func (r DefaultExecutor) Exec(ctx context.Context, config *rest.Config, podName string, podNamespace string, containerName string, command []string) (stdOut *bytes.Buffer, stdErr *bytes.Buffer, err error)

type Executor

type Executor interface {
	Exec(ctx context.Context, config *rest.Config, podName string, podNamespace string, containerName string, command []string) (stdOut *bytes.Buffer, stdErr *bytes.Buffer, err error)
}

Jump to

Keyboard shortcuts

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