Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.