Documentation ¶
Index ¶
Constants ¶
View Source
const ( Local = "local" None = "none" Remote = "remote" )
Constants used in the file
Variables ¶
View Source
var Debug = flag.Bool("debug", false, "If true, enables verbose logging")
Debug - for logging
View Source
var E2E = flag.Bool("e2e", true, "if true, run end-to-end tests.")
E2E enables running end-to-end tests.
View Source
var Image = flag.String("image", "", "<image> to be used for the operator container")
Image - if a custom image is to be used
View Source
var Kubeconfig = flag.String("kube-config", "", "location of kubeconfig file")
Kubeconfig - if a local kubeconfig is to be used
View Source
var KubernetesVersion = flag.String("kubernetes-version", "1.23",
"The version of Kubernetes to create")
KubernetesVersion is the version of Kubernetes to test against. Only has effect when testing against test-created Kind clusters.
View Source
var Operator = flag.String("operator", "none", "One of [local,none,oncluster].\n"+
"`local` implies operator is started locally by test code\n"+
"`none` implies the user has started the operator already\n"+
"`remote` implies the test installs the operator manifests using <image>.\n"+
"In all cases, --kubeconfig is used to connect to admin-cluster.")
Operator - Where is the reconciler for the KRM objects running
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package testclient defines an MCS test client with basic checks.
|
Package testclient defines an MCS test client with basic checks. |
Click to show internal directories.
Click to hide internal directories.