testutil

package
v0.0.0-...-ac74c47 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerOutput

func ContainerOutput(namespace, name, container string) (string, error)

ContainerOutput will return the last line of the log from the container.

func KubeApply

func KubeApply(r io.Reader) ([]byte, error)

KubeApply runs 'kubectl apply -f' with the data from r.

func KubeDelete

func KubeDelete(r io.Reader) ([]byte, error)

KubeDelete runs 'kubectl delete -f' with the data from r.

func KubeWait

func KubeWait(n string) ([]byte, error)

KubeWait will wait for pod n to be ready

Types

This section is empty.

Jump to

Keyboard shortcuts

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