Documentation
¶
Index ¶
- func GetManifests(ctx context.Context, cli client.Client, logger logr.Logger, ...) (data []string, err error)
- func Install(ctx context.Context, client client.Client, planName string, manifests []string) (err error)
- func RepoAdd(ctx context.Context, name, _url string) (string, error)
- func RepoRemove(ctx context.Context, name string) (string, error)
- func RepoUpdate(ctx context.Context, name string) (string, error)
- func UnInstallByManifest(ctx context.Context, client client.Client, manifests []string) (err error)
- func UnInstallByResources(ctx context.Context, c client.Client, ns, planName string, ...) (err error)
- type Helm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetManifests ¶
func GetManifests(ctx context.Context, cli client.Client, logger logr.Logger, name, namespace, chart, version, repoName, repoUrl string, override corev1alpha1.Override, skipCrd, isOCI bool) (data []string, err error)
GetManifests get helm templates
func Install ¶
func Install(ctx context.Context, client client.Client, planName string, manifests []string) (err error)
Install installs a helm chart to the cluster
func UnInstallByManifest ¶
UnInstallByManifest remove a helm chart from the cluster
func UnInstallByResources ¶
func UnInstallByResources(ctx context.Context, c client.Client, ns, planName string, resources []corev1alpha1.Resource) (err error)
UnInstallByResources remove a helm chart from the cluster
Types ¶
Click to show internal directories.
Click to hide internal directories.