Documentation
¶
Overview ¶
Package test contains test utilities for the fleetconfig-controller project.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindEnvTestBinaryDir ¶
FindEnvTestBinaryDir locates the first binary in the specified path. ENVTEST-based tests depend on specific binaries, usually located in paths set by controller-runtime. When running tests directly (e.g., via an IDE) without using Makefile targets, the 'BinaryAssetsDirectory' must be explicitly configured.
This function streamlines the process by finding the required binaries, similar to setting the 'KUBEBUILDER_ASSETS' environment variable. To ensure the binaries are properly set up, run 'make setup-envtest' beforehand.
Types ¶
Click to show internal directories.
Click to hide internal directories.