prepare

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Preparer

type Preparer struct {
	// contains filtered or unexported fields
}

Preparer knows ho to prepare a test case in a kubernetes cluster.

func New

func New(cli kubernetes.Interface, t *testing.T) *Preparer

New returns a new preparer.

func (*Preparer) Namespace

func (p *Preparer) Namespace() *corev1.Namespace

Namespace returns the namespace where the environment is set.

func (*Preparer) SetUp

func (p *Preparer) SetUp()

SetUp will set up all the required preparation for the tests in a Kubernetes cluster.

func (*Preparer) TearDown

func (p *Preparer) TearDown()

TearDown will tear down all the required preparation for the tests in a Kubernetes cluster.

Jump to

Keyboard shortcuts

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