runtime

package
v0.0.0-...-f12882f Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SampleRuntime

type SampleRuntime struct{}

func (*SampleRuntime) Arch

func (r *SampleRuntime) Arch() string

func (*SampleRuntime) Attach

func (r *SampleRuntime) Attach(
	ctx context.Context,
	podUID, container string,
	stdin io.Reader,
	stdout, stderr io.Writer,
) (
	doResize types.ResizeHandleFunc,
	errCh <-chan *aranyagopb.ErrorMsg,
	err error,
)

func (*SampleRuntime) DeleteImages

func (*SampleRuntime) DeletePod

func (r *SampleRuntime) DeletePod(
	ctx context.Context, options *runtimepb.PodDeleteCmd,
) (*runtimepb.PodStatusMsg, error)

func (*SampleRuntime) EnsureImages

func (*SampleRuntime) EnsurePod

func (r *SampleRuntime) EnsurePod(
	ctx context.Context, options *runtimepb.PodEnsureCmd,
) (*runtimepb.PodStatusMsg, error)

func (*SampleRuntime) Exec

func (r *SampleRuntime) Exec(
	_ context.Context,
	podUID, container string,
	stdin io.Reader,
	stdout, stderr io.Writer,
	command []string,
	tty bool,
) (
	doResize types.ResizeHandleFunc,
	errCh <-chan *aranyagopb.ErrorMsg,
	err error,
)

func (*SampleRuntime) KernelVersion

func (r *SampleRuntime) KernelVersion() string

func (*SampleRuntime) ListImages

func (*SampleRuntime) ListPods

func (*SampleRuntime) Logs

func (r *SampleRuntime) Logs(
	ctx context.Context,
	options *aranyagopb.LogsCmd,
	stdout, stderr io.Writer,
) error

func (*SampleRuntime) Name

func (r *SampleRuntime) Name() string

func (*SampleRuntime) OS

func (r *SampleRuntime) OS() string

func (*SampleRuntime) OSImage

func (r *SampleRuntime) OSImage() string

func (*SampleRuntime) PortForward

func (r *SampleRuntime) PortForward(
	ctx context.Context,
	podUID string,
	protocol string,
	port int32,
	upstream io.Reader,
) (
	downstream io.ReadCloser,
	closeWrite func(),
	readErrCh <-chan error,
	err error,
)

func (*SampleRuntime) Version

func (r *SampleRuntime) Version() string

Jump to

Keyboard shortcuts

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