Documentation
¶
Overview ¶
Package testenv starts the envtest (kubebuilder) control plane shared by the repo's apiserver-backed test packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
Start launches a kube-apiserver+etcd pair with the repo CRDs installed and returns a client config plus a stop function. Call it from TestMain.
Under -short it exits the test binary with success instead: a cold binary cache needs a download, so `go test -short ./...` always works offline.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.