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.
Click to show internal directories.
Click to hide internal directories.