Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEnvVarExists ¶
CheckEnvVarExists returns if a environment variable exists
Types ¶
type ClusterSetup ¶
type ClusterSetup struct {
Name string
Images images.ProviderImages
ControllerConfig v1alpha1.ControllerConfig
SecretData map[string]string
AddToSchemaFuncs []func(s *runtime.Scheme) error
}
ClusterSetup help with a default kind setup for crossplane, with crossplane and a provider
func (*ClusterSetup) Run ¶
func (s *ClusterSetup) Run(testEnv env.Environment)
Run optionally creates the kind cluster and takes care about the rest of the setup, There are two relevant Environment Variables that influence its behavior * TEST_REUSE_CLUSTER: if set, the cluster, crossplane and provider will be reused and not deleted after test. If set, CLUSTER_NAME will be ignored * TESTCLUSTER_NAME: overwrites the cluster name
Click to show internal directories.
Click to hide internal directories.