Documentation
¶
Index ¶
- func CollectK8SResources()
- func ExpectObjectStatus(ctx context.Context, rclient client.Client, object client.Object, ...) error
- func GetClient(data []byte) client.WithWatch
- func InitOperatorProcess(extraNamespaces ...string) []byte
- func InitTestEnv(extraNamespaces ...string) []byte
- func ShutdownOperatorProcess()
- func ShutdownTestEnv()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectK8SResources ¶ added in v0.68.0
func CollectK8SResources()
func ExpectObjectStatus ¶ added in v0.51.0
func ExpectObjectStatus(ctx context.Context, rclient client.Client, object client.Object, name k8stypes.NamespacedName, status vmv1beta1.UpdateStatus) error
ExpectObjectStatus perform assert on given object status
func InitOperatorProcess ¶ added in v0.51.0
InitOperatorProcess prepares operator process for usage, must be called once
func InitTestEnv ¶ added in v0.68.4
InitTestEnv sets up the envtest environment and k8sClient, returning kubeconfig data
func ShutdownOperatorProcess ¶ added in v0.51.0
func ShutdownOperatorProcess()
ShutdownOperatorProcess stops operator process and cleanup resources
func ShutdownTestEnv ¶ added in v0.68.4
func ShutdownTestEnv()
ShutdownTestEnv stops the envtest environment
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.