Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTimeout = 30 * time.Second
The default timeout for EventuallyGet().
Functions ¶
func Functional ¶
func Functional() *functionalBuilder
Types ¶
type FunctionalHelper ¶
type FunctionalHelper struct { UncachedClient client.Client Client client.Client TestClient *testClient Namespace string // contains filtered or unexported fields }
func (*FunctionalHelper) DebugList ¶
func (fh *FunctionalHelper) DebugList(listType runtime.Object)
Helper method to show a list of objects, used in AfterEach helpers.
func (*FunctionalHelper) MustStop ¶
func (fh *FunctionalHelper) MustStop()
func (*FunctionalHelper) Stop ¶
func (fh *FunctionalHelper) Stop() error
type FunctionalSuiteHelper ¶
type FunctionalSuiteHelper struct {
// contains filtered or unexported fields
}
func (*FunctionalSuiteHelper) MustStart ¶
func (fsh *FunctionalSuiteHelper) MustStart(controllers ...managerAdder) *FunctionalHelper
func (*FunctionalSuiteHelper) MustStop ¶
func (fsh *FunctionalSuiteHelper) MustStop()
func (*FunctionalSuiteHelper) Start ¶
func (fsh *FunctionalSuiteHelper) Start(controllers ...managerAdder) (*FunctionalHelper, error)
func (*FunctionalSuiteHelper) Stop ¶
func (fsh *FunctionalSuiteHelper) Stop() error
type UnitHelper ¶
type UnitHelper struct { Comp core.Component Client client.Client TestClient *testClient Object client.Object Events chan string Ctx *core.Context }
func (*UnitHelper) MustFinalize ¶
func (uh *UnitHelper) MustFinalize() (core.Result, bool)
func (*UnitHelper) MustReconcile ¶
func (uh *UnitHelper) MustReconcile() core.Result
type UnitSuiteHelper ¶
type UnitSuiteHelper struct {
// contains filtered or unexported fields
}
func (*UnitSuiteHelper) Setup ¶
func (ush *UnitSuiteHelper) Setup(comp core.Component, obj client.Object) *UnitHelper
Click to show internal directories.
Click to hide internal directories.