chart

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHelmClient added in v1.2.0

func NewHelmClient(clusterName, namespace string) (*helm.Client, error)

Types

type Service

type Service interface {
	common.DBService
	SearchRepo(cluster string) ([]*repo.Entry, error)
	AddRepo(cluster string, create *v1Chart.RepoCreate) error
	UpdateRepo(cluster string, update *v1Chart.RepoUpdate) error
	GetRepo(cluster string, name string) (*v1Chart.Repo, error)
	RemoveRepo(cluster string, name string) error
	ListCharts(cluster, repo string, num, size int, pattern string) ([]*search.Result, int, error)
	GetCharts(cluster, repo, name string) (*v1Chart.ChArrayResult, error)
	GetChartByVersion(cluster, repo, name, version string) (*v1Chart.ChDetail, error)
	InstallChart(cluster, repoName, namespace, name, chartName, chartVersion string, values map[string]interface{}) error
	ListAllInstalled(cluster, namespace string, num, size int, pattern string) ([]*release.Release, int, error)
	UnInstallChart(cluster, namespace, name string) error
	GetAppDetail(cluster string, name string) (*release.Release, error)
	GetChartsUpdate(cluster, chart, name string) (*v1Chart.UpdateResult, error)
	UpgradeChart(cluster, namespace, repoName, name, chartName, chartVersion string, values map[string]interface{}) error
	SyncRepo(cluster, name string) error
}

func NewService

func NewService() Service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL