controllersuite

package
v1.65.4 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Suite

type Suite struct {
	suite.Suite
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Suite) Check

func (suite *Suite) Check(err error)

func (*Suite) Client

func (suite *Suite) Client() *testclient.Client

func (*Suite) Context

func (suite *Suite) Context() context.Context

func (*Suite) Logger

func (suite *Suite) Logger() logger.Logger

func (*Suite) Setup

func (suite *Suite) Setup(initObjects []client.Object, opts ...SuiteOption) error

func (*Suite) SetupNoLock

func (suite *Suite) SetupNoLock(initObjects []client.Object, opts ...SuiteOption) error

func (*Suite) SetupSubTest

func (suite *Suite) SetupSubTest()

func (*Suite) SetupSuite

func (suite *Suite) SetupSuite()

func (*Suite) TearDownSubTest

func (suite *Suite) TearDownSubTest()

func (*Suite) TearDownSuite

func (suite *Suite) TearDownSuite()

func (*Suite) TmpDir

func (suite *Suite) TmpDir() string

type SuiteOption

type SuiteOption func(suite *Suite)

func WithLogOutput

func WithLogOutput(writer io.Writer) SuiteOption

Jump to

Keyboard shortcuts

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