execstreamer

package
v2.11.26 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 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 ExecStreamer

type ExecStreamer interface {
	// Stream the results of running exec() in a pod.
	Stream(
		ctx context.Context,
		podSelector metav1.ListOptions,
		execOpts corev1.PodExecOptions,
		streamOpts remotecommand.StreamOptions,
	) error
}

ExecStreamer streams the result of running exec() in a pod.

func Get

func Get(ctx context.Context) ExecStreamer

Get returns the ExecStreamer that is injected into the context.

type Key

type Key struct{}

Key is the key used to store the ExecStreamer on a context. It should not be used directly. It is exported for the fake package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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