Versions in this module Expand all Collapse all v6 v6.0.1 Apr 9, 2026 Changes in this version + var ErrArgoCDInstallerFactoryNil = errors.New("argocd installer factory is nil") + var ErrCNIReadinessTimeout = errors.New("CNI node readiness timed out") + 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 ErrKubeletCSRApproverInstallerFactoryNil = errors.New("kubelet-csr-approver installer factory is nil") + var ErrPolicyEngineDisabled = errors.New("policy engine is disabled") + var ErrPolicyEngineInstallerFactoryNil = errors.New("policy engine installer factory is nil") + var ErrUnsupportedCNI = errors.New("unsupported CNI type") + func EnsureArgoCDResources(ctx context.Context, kubeconfigPath string, clusterCfg *v1alpha1.Cluster, ...) error + func HelmClientForCluster(clusterCfg *v1alpha1.Cluster) (*helm.Client, string, error) + func InstallArgoCDSilent(ctx context.Context, clusterCfg *v1alpha1.Cluster, ...) error + func InstallCNI(cmd *cobra.Command, clusterCfg *v1alpha1.Cluster, tmr timer.Timer) (bool, 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 InstallLoadBalancerSilent(ctx context.Context, clusterCfg *v1alpha1.Cluster, ...) error + func InstallMetricsServerSilent(ctx context.Context, clusterCfg *v1alpha1.Cluster, ...) error + func InstallPolicyEngineSilent(ctx context.Context, clusterCfg *v1alpha1.Cluster, ...) error + func InstallPostCNIComponents(cmd *cobra.Command, clusterCfg *v1alpha1.Cluster, ...) error + func NeedsLoadBalancerInstall(clusterCfg *v1alpha1.Cluster) bool + func NeedsMetricsServerInstall(clusterCfg *v1alpha1.Cluster) bool + func RunDockerStage(cmd *cobra.Command, tmr timer.Timer, info StageInfo, ...) error + func ShouldPushOCIArtifact(clusterCfg *v1alpha1.Cluster) bool + type ComponentRequirements struct + NeedsArgoCD bool + NeedsCSI bool + NeedsCertManager bool + NeedsFlux bool + NeedsKubeletCSRApprover bool + NeedsLoadBalancer bool + NeedsMetricsServer bool + NeedsPolicyEngine bool + func GetComponentRequirements(clusterCfg *v1alpha1.Cluster) ComponentRequirements + func (r ComponentRequirements) Count() int + type DockerClientInvoker func(*cobra.Command, func(client.APIClient) error) error + func DefaultDockerClientInvoker() DockerClientInvoker + 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 + EnsureOCIArtifact func(ctx context.Context, cmd *cobra.Command, clusterCfg *v1alpha1.Cluster, ...) (bool, error) + Flux func(client helm.Interface, timeout time.Duration) installer.Installer + HelmClientFactory func(clusterCfg *v1alpha1.Cluster) (*helm.Client, string, error) + KubeletCSRApprover func(clusterCfg *v1alpha1.Cluster) (installer.Installer, error) + PolicyEngine func(clusterCfg *v1alpha1.Cluster) (installer.Installer, error) + SetupFluxInstance func(ctx context.Context, kubeconfig string, clusterCfg *v1alpha1.Cluster, ...) error + WaitForFluxReady func(ctx context.Context, kubeconfig string) error + func DefaultInstallerFactories() *InstallerFactories + type StageInfo struct + Activity string + Emoji string + FailurePrefix string + Success string + Title string Other modules containing this package github.com/devantler-tech/ksail/v5