Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectResourceCreated ¶
func ExpectResourceCreated(c client.Client, obj runtime.Object)
ExpectResourceCreated asserts that the given object is created, and populates the provided runtime.Object with the current state of the object in the cluster.
func ExpectResourceDestroyed ¶
func ExpectResourceDestroyed(c client.Client, obj runtime.Object)
ExpectResourceDestroyed asserts that the given object no longer exists.
func GetResource ¶
func GetResource(c client.Client, obj runtime.Object) error
GetResource gets the requested object, populating obj with its contents.
func RunOperator ¶
func RunOperator(mgr manager.Manager) chan struct{}
RunOperator runs the provided operator manager in a separate goroutine so that the test code isn't blocked. It returns a stop channel which can be closed in order to stop the execution of the operator.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.