# Packages
Package logger implements clusterctl logging functionality.
# Functions
AdjustConfigPathForBinary adjusts the clusterctlConfigPath in case the clusterctl version v1.3.
ApplyClusterTemplateAndWait gets a cluster template using clusterctl, and waits for the cluster to be ready.
No description provided by the author
ConfigCluster gets a workload cluster based on a template.
ConfigClusterWithBinary uses clusterctl binary to run config cluster or generate cluster.
CopyAndAmendClusterctlConfig copies the clusterctl-config from ClusterctlConfigPath to OutputPath and adds the given Variables.
CreateRepository creates a clusterctl local repository based on the e2e test config, and the returns the path to a clusterctl config file to be used for working with such repository.
Delete calls clusterctl delete --all.
Init calls clusterctl init with the list of providers defined in the local repository.
InitManagementClusterAndWatchControllerLogs initializes a management using clusterctl and setup watches for controller logs.
InitWithBinary uses clusterctl binary to run init with the list of providers defined in the local repository.
LoadE2EConfig loads the configuration for the e2e test environment.
Move moves workload clusters.
No description provided by the author
Upgrade calls clusterctl upgrade apply with the list of providers defined in the local repository.
UpgradeManagementClusterAndWait upgrades provider a management cluster using clusterctl, and waits for the cluster to be ready.
UpgradeWithBinary calls clusterctl upgrade apply with the list of providers defined in the local repository.
YAMLForComponentSource returns the YAML for the provided component source.
# Constants
DefaultFlavor for ConfigClusterInput; use it for getting the cluster-template.yaml file.
DefaultInfrastructureProvider for ConfigClusterInput; use it for using the only infrastructure provider installed in a cluster.
KustomizeSource is a valid kustomization root that can be used to produce the component YAML.
MustLoadImage causes a load operation to fail if the image cannot be loaded.
PodsWaiter indicates to wait until all the pods in a namespace have a condition of Ready.
ServiceWaiter indicates to wait until a service's condition is Available.
TryLoadImage causes any errors that occur when loading an image to be ignored.
URLSource is component YAML available directly via a URL.
# Structs
ApplyClusterTemplateAndWaitInput is the input type for ApplyClusterTemplateAndWait.
ApplyClusterTemplateAndWaitResult is the output type for ApplyClusterTemplateAndWait.
ApplyCustomClusterTemplateAndWaitInput is the input type for ApplyCustomClusterTemplateAndWait.
No description provided by the author
ComponentConfig describes a component required by the e2e test environment.
ComponentReplacement is used to replace some of the generated YAML prior to application.
ComponentWaiter contains information to help determine whether installed components are ready.
ConfigClusterInput is the input for ConfigCluster.
ContainerImage describes an image to load into a cluster and the behavior when loading the image.
ControlPlaneWaiters are Waiter functions for the control plane.
CopyAndAmendClusterctlConfigInput is the input for copyAndAmendClusterctlConfig.
CreateRepositoryInput is the input for CreateRepository.
DeleteInput is the input for Delete.
E2EConfig defines the configuration of an e2e test environment.
Files contains information about files to be copied into the local repository.
InitInput is the input for Init.
InitManagementClusterAndWatchControllerLogsInput is the input type for InitManagementClusterAndWatchControllerLogs.
LoadE2EConfigInput is the input for LoadE2EConfig.
MoveInput is the input for ClusterctlMove.
ProviderConfig describes a provider to be configured in the local repository that will be created for the e2e test.
ProviderVersionSource describes how to obtain a component's YAML.
UpgradeInput is the input for Upgrade.
UpgradeManagementClusterAndWaitInput is the input type for UpgradeManagementClusterAndWait.
# Type aliases
ComponentSourceType indicates how a component's source should be obtained.
ComponentWaiterType indicates the type of check to use to determine if the installed components are ready.
LoadImageBehavior indicates the behavior when loading an image.
RepositoryFileTransformation is a helpers for managing a clusterctl local repository to be used for running e2e tests in isolation.
Waiter is a function that runs and waits for a long-running operation to finish and updates the result.