suite

package
v0.0.1-alpha.7 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Run = suite.Run
)

Functions

This section is empty.

Types

type EnvTest

type EnvTest struct {
	Suite

	PreStart func(*manager.Manager)
	// contains filtered or unexported fields
}

func (*EnvTest) Create

func (suite *EnvTest) Create(obj client.Object, options ...interface{})

func (*EnvTest) Manager

func (suite *EnvTest) Manager() *manager.Manager

func (*EnvTest) Read

func (suite *EnvTest) Read(key client.ObjectKey, obj client.Object, options ...interface{})

func (*EnvTest) SetPreStartFunc

func (suite *EnvTest) SetPreStartFunc(fn func(*manager.Manager))

func (*EnvTest) SetupSuite

func (suite *EnvTest) SetupSuite()

func (*EnvTest) SetupTest

func (suite *EnvTest) SetupTest()

func (*EnvTest) TearDownSuite

func (suite *EnvTest) TearDownSuite()

func (*EnvTest) TearDownTest

func (suite *EnvTest) TearDownTest()

type Kubernetes

type Kubernetes struct {
	Suite
	// contains filtered or unexported fields
}

func (*Kubernetes) NamespaceClient

func (k *Kubernetes) NamespaceClient() client.Client

func (*Kubernetes) SetupTest

func (k *Kubernetes) SetupTest()

func (*Kubernetes) TearDownTest

func (k *Kubernetes) TearDownTest()

type Suite

type Suite struct {
	suite.Suite
}

func (*Suite) Metadata

func (suite *Suite) Metadata(obj metav1.Object) *metadata

Jump to

Keyboard shortcuts

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