Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsEnvTestAvailable ¶
func IsEnvTestAvailable() bool
IsEnvTestAvailable checks if envtest binaries are available
func SetupEnv ¶
func SetupEnv(t *testing.T) (*envtest.Environment, *kubernetes.Clientset, func())
SetupEnv starts envtest, creates a clientset, populates the cluster with sample Deployments, and returns env, clientset, and cleanup. If envtest is not available, it skips the test.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.