Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBasicTestrun ¶
GetBasicTestrun returns a working testrun object with a specific namespace
func GetFailingTestrun ¶
GetFailingTestrun returns a testrun with a failing test.
func GetTestrunWithExitHandler ¶
func GetTestrunWithExitHandler(tr *tmv1beta1.Testrun, condition tmv1beta1.ConditionType) *tmv1beta1.Testrun
GetTestrunWithExitHandler returns a working testrun object with an onExit handler with a specific condition.
Types ¶
type MockReader ¶
type MockReader struct {
Error error
}
func (MockReader) List ¶
func (m MockReader) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
Click to show internal directories.
Click to hide internal directories.