Documentation
¶
Overview ¶
Package testenv isolates kubeconfig-related process and client-go global state for unit tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunWithIsolatedKubeconfig ¶
RunWithIsolatedKubeconfig runs m with HOME and client-go recommended kubeconfig paths pointed at a temporary directory. KUBECONFIG is unset so default resolution is used. Process and client-go state are restored after m returns.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.