Documentation ¶
Index ¶
- type Suite
- func (suite *Suite) Check(err error)
- func (suite *Suite) Client() *testclient.Client
- func (suite *Suite) Context() context.Context
- func (suite *Suite) Logger() logger.Logger
- func (suite *Suite) Setup(initObjects []client.Object, opts ...SuiteOption) error
- func (suite *Suite) SetupNoLock(initObjects []client.Object, opts ...SuiteOption) error
- func (suite *Suite) SetupSubTest()
- func (suite *Suite) SetupSuite()
- func (suite *Suite) TearDownSubTest()
- func (suite *Suite) TearDownSuite()
- func (suite *Suite) TmpDir() string
- type SuiteOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Suite ¶
func (*Suite) Client ¶
func (suite *Suite) Client() *testclient.Client
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()
type SuiteOption ¶
type SuiteOption func(suite *Suite)
func WithLogOutput ¶
func WithLogOutput(writer io.Writer) SuiteOption
Click to show internal directories.
Click to hide internal directories.