Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureNamespace ¶
//EnsureNamespace creates a namespace if it doesn't already exist. It returns an error if the namespace cannot be created.
func StartEnvironment ¶
func StartEnvironment(crdPaths []string) (runtimeclient.Client, *envtest.Environment, error)
StartEnvironment creates k8s client and test environment. It returns an error if it fails to initialize the environment or create the client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.