Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelmTemplate ¶
type HelmTemplate struct { Ctx context.Context // Kubeconfig of the user-cluster. Kubeconfig string // CacheDir is the directory path where helm caches will be download. CacheDir string Log *zap.SugaredLogger ApplicationInstallation *appskubermaticv1.ApplicationInstallation // Namespace where credential secrets are stored. SecretNamespace string // SeedClient to seed cluster. SeedClient ctrlruntimeclient.Client }
HelmTemplate install upgrade or uninstall helm chart into cluster.
func (HelmTemplate) InstallOrUpgrade ¶
func (h HelmTemplate) InstallOrUpgrade(chartLoc string, applicationInstallation *appskubermaticv1.ApplicationInstallation) (util.StatusUpdater, error)
InstallOrUpgrade the chart located at chartLoc with parameters (releaseName, values) defined applicationInstallation into cluster.
func (HelmTemplate) Uninstall ¶
func (h HelmTemplate) Uninstall(applicationInstallation *appskubermaticv1.ApplicationInstallation) (util.StatusUpdater, error)
Uninstall the chart from the user cluster.
Click to show internal directories.
Click to hide internal directories.