controllersuite

package
v1.75.3 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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() *log.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