Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IsNotFound types.GomegaMatcher = WithTransform(errors.IsNotFound, BeTrue())
View Source
var SucceedOrAlreadyExist types.GomegaMatcher = SatisfyAny( Succeed(), WithTransform(errors.IsAlreadyExists, BeTrue()), )
Functions ¶
func GetRootDirectory ¶
func PodFailHandler ¶
func PodFailHandler(testHarness *TestHarness) func(message string, callerSkip ...int)
Types ¶
type TestHarness ¶
type TestHarness struct { client.Client reconcileutils.ClientCommandRunner Config TestHarnessOptions // contains filtered or unexported fields }
func NewTestHarness ¶
func NewTestHarness( options TestHarnessOptions, ) (*TestHarness, error)
func (*TestHarness) Stop ¶
func (t *TestHarness) Stop() error
type TestHarnessOptions ¶
type TestHarnessOptions struct { EnabledFeatures []string `env:"FEATURES" envSeparator:"," envDefault:"all"` Namespace string `env:"NAMESPACE" envDefault:"openshift-redhat-marketplace"` WatchNamespace string `env:"WATCH_NAMESPACE" envDefault:""` ProvideScheme func(cfg *rest.Config) (*runtime.Scheme, error) }
Click to show internal directories.
Click to hide internal directories.