test

package
v0.0.59 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 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 PodRun

type PodRun struct {
	Pod *core.Pod
	// contains filtered or unexported fields
}

PodRun is an test execution run of a Pod.

func NewPodRun

func NewPodRun(clientset *kubernetes.Clientset, ctx context.Context, pod *core.Pod) *PodRun

NewPodRun is starting a remote Pod and streams its output locally. Output gets written to Stdout and Stderr.

func NewPodRunWithStreams added in v0.0.16

func NewPodRunWithStreams(clientset *kubernetes.Clientset, ctx context.Context, pod *core.Pod, streams genericclioptions.IOStreams) *PodRun

NewPodRun is starting a remote Pod and streams its output locally. Output gets written using provided streams.

func (*PodRun) Close

func (pr *PodRun) Close() error

Close waits until there is no more output to stream. Then deletes the Pod.

Jump to

Keyboard shortcuts

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