pod

package
v0.9.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logs added in v0.9.0

func Logs(ctx context.Context, client kubernetes.Interface, namespace, pod, container string) (output string, err error)

Retrieves a container log, with retry in case of errors. It is okay if the pod does not exist yet.

func RunInPod

func RunInPod(f *framework.Framework, rootdir string, items []string, command string, namespace, pod, container string) (string, string)

RunInPod optionally tars up some files or directories, unpacks them in a container, and executes a shell command. Any error is treated as test failure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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