Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitSource ¶
type GitSource struct { Ctx context.Context // SeedClient to seed cluster. SeedClient ctrlruntimeclient.Client Source *appskubermaticv1.GitSource // Namespace where credential secrets are stored. SecretNamespace string }
GitSource download the application's source from a git repository.
type HelmSource ¶
type HelmSource struct { Ctx context.Context // Kubeconfig of the user-cluster. Kubeconfig string CacheDir string Log *zap.SugaredLogger Source *appskubermaticv1.HelmSource // Namespace where credential secrets are stored. SecretNamespace string // SeedClient to seed cluster. SeedClient ctrlruntimeclient.Client }
HelmSource downloads Helm chart from Helm HTTP or OCI registry.
func (HelmSource) DownloadSource ¶
func (h HelmSource) DownloadSource(destination string) (string, error)
DownloadSource downloads the chart into destination folder and return the full path to the chart. The destination folder must exist.
Click to show internal directories.
Click to hide internal directories.