Documentation
¶
Overview ¶
Package testenv starts a local API server (envtest) with the Inkwall CRDs installed, for operator tests. The kube-apiserver and etcd binaries come from KUBEBUILDER_ASSETS, which `make test` sets; without it the tests that need the server are skipped.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Env ¶
type Env struct {
// Config reaches the API server.
Config *rest.Config
// WebhookPort is where the API server calls the webhooks, on
// localhost, when they are installed.
WebhookPort int
}
Env is a running API server.
type Options ¶
type Options struct {
// Webhooks installs the operator's webhook configuration, pointed at
// https://localhost:<WebhookPort>.
Webhooks bool
}
Options configures Start.