Versions in this module Expand all Collapse all v5 v5.12.1 Jan 2, 2026 Changes in this version + var ErrUnsupportedCNI = errors.New("unsupported CNI type") + func InstallCNI(cmd *cobra.Command, clusterCfg *v1alpha1.Cluster, tmr timer.Timer, ...) (bool, error) + func InstallPostCNIComponents(cmd *cobra.Command, clusterCfg *v1alpha1.Cluster, ...) error v5.12.0 Dec 29, 2025 Changes in this version + var ErrArgoCDInstallerFactoryNil = errors.New("argocd installer factory is nil") + var ErrCSIInstallerFactoryNil = errors.New("CSI installer factory is nil") + var ErrCertManagerInstallerFactoryNil = errors.New("cert-manager installer factory is nil") + var ErrClusterConfigNil = errors.New("cluster config is nil") + var GlobalTestOverrides = NewTestOverrides() + func EnsureArgoCDResources(ctx context.Context, kubeconfig string, clusterCfg *v1alpha1.Cluster) error + func HelmClientForCluster(clusterCfg *v1alpha1.Cluster) (*helm.Client, string, error) + func InstallArgoCDSilent(ctx context.Context, clusterCfg *v1alpha1.Cluster, ...) error + func InstallCSISilent(ctx context.Context, clusterCfg *v1alpha1.Cluster, ...) error + func InstallCertManagerSilent(ctx context.Context, clusterCfg *v1alpha1.Cluster, ...) error + func InstallFluxSilent(ctx context.Context, clusterCfg *v1alpha1.Cluster, ...) error + func InstallMetricsServerSilent(ctx context.Context, clusterCfg *v1alpha1.Cluster, ...) error + func NeedsMetricsServerInstall(clusterCfg *v1alpha1.Cluster) bool + type InstallerFactories struct + ArgoCD func(clusterCfg *v1alpha1.Cluster) (installer.Installer, error) + CSI func(clusterCfg *v1alpha1.Cluster) (installer.Installer, error) + CertManager func(clusterCfg *v1alpha1.Cluster) (installer.Installer, error) + EnsureArgoCDResources func(ctx context.Context, kubeconfig string, clusterCfg *v1alpha1.Cluster) error + EnsureFluxResources func(ctx context.Context, kubeconfig string, clusterCfg *v1alpha1.Cluster) error + Flux func(client helm.Interface, timeout time.Duration) installer.Installer + HelmClientFactory func(clusterCfg *v1alpha1.Cluster) (*helm.Client, string, error) + func DefaultInstallerFactories() *InstallerFactories + type TestFactories struct + ArgoCD func(*v1alpha1.Cluster) (installer.Installer, error) + CSI func(*v1alpha1.Cluster) (installer.Installer, error) + CertManager func(*v1alpha1.Cluster) (installer.Installer, error) + ClusterProvisionerFactory clusterprovisioner.Factory + DockerClientInvoker func(*cobra.Command, func(client.APIClient) error) error + EnsureArgoCDResources func(context.Context, string, *v1alpha1.Cluster) error + type TestOverrides struct + func NewTestOverrides() *TestOverrides + func (t *TestOverrides) GetArgoCD() func(*v1alpha1.Cluster) (installer.Installer, error) + func (t *TestOverrides) GetCSI() func(*v1alpha1.Cluster) (installer.Installer, error) + func (t *TestOverrides) GetCertManager() func(*v1alpha1.Cluster) (installer.Installer, error) + func (t *TestOverrides) GetClusterProvisionerFactory() clusterprovisioner.Factory + func (t *TestOverrides) GetDockerClientInvoker() func(*cobra.Command, func(client.APIClient) error) error + func (t *TestOverrides) GetEnsureArgoCDResources() func(context.Context, string, *v1alpha1.Cluster) error + func (t *TestOverrides) SetArgoCD(factory func(*v1alpha1.Cluster) (installer.Installer, error)) func() + func (t *TestOverrides) SetCSI(factory func(*v1alpha1.Cluster) (installer.Installer, error)) func() + func (t *TestOverrides) SetCertManager(factory func(*v1alpha1.Cluster) (installer.Installer, error)) func() + func (t *TestOverrides) SetClusterProvisionerFactory(factory clusterprovisioner.Factory) func() + func (t *TestOverrides) SetDockerClientInvoker(invoker func(*cobra.Command, func(client.APIClient) error) error) func() + func (t *TestOverrides) SetEnsureArgoCDResources(fn func(context.Context, string, *v1alpha1.Cluster) error) func()