remoteexec

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRemoteExecutor

type FakeRemoteExecutor struct {
	Out     *bytes.Buffer
	Errout  *bytes.Buffer
	Execerr error
}

func (*FakeRemoteExecutor) Exec

func (re *FakeRemoteExecutor) Exec(obj client.Object, containerName string, in io.Reader, out, errout io.Writer, command ...string) error

type PodRemoteExecutor

type PodRemoteExecutor struct {
	Config *rest.Config
	Scheme *runtime.Scheme
}

func (*PodRemoteExecutor) Exec

func (re *PodRemoteExecutor) Exec(obj client.Object, containerName string, in io.Reader, out, errout io.Writer, command ...string) error

type RemoteExecutor

type RemoteExecutor interface {
	Exec(obj client.Object, containerName string, in io.Reader, out, errout io.Writer, command ...string) error
}

Jump to

Keyboard shortcuts

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