helm

package
v0.0.0-...-d844aee Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHelmRepo

func AddHelmRepo(c *gin.Context)

func DeleteHelmRepo

func DeleteHelmRepo(c *gin.Context)

func GetHelmChart

func GetHelmChart(c *gin.Context)

func InstallHelmChart

func InstallHelmChart(c *gin.Context)

func ListHelmCharts

func ListHelmCharts(c *gin.Context)

func ListHelmRepos

func ListHelmRepos(c *gin.Context)

func RollbackHelmChart

func RollbackHelmChart(c *gin.Context)

func UninstallHelmChart

func UninstallHelmChart(c *gin.Context)

func UpgradeHelmChart

func UpgradeHelmChart(c *gin.Context)

Types

type HelmClient

type HelmClient struct {
	Config   *action.Configuration
	Settings *cli.EnvSettings
}

func NewHelmClient

func NewHelmClient(namespace string) (*HelmClient, error)

func (*HelmClient) AddRepo

func (hc *HelmClient) AddRepo(name, url string) error

func (*HelmClient) DeleteRepo

func (hc *HelmClient) DeleteRepo(name string) error

func (*HelmClient) GetRelease

func (hc *HelmClient) GetRelease(releaseName string) (*release.Release, error)

func (*HelmClient) InstallChart

func (hc *HelmClient) InstallChart(repo, chartName, chartVersion, releaseName string, values map[string]interface{}) (*release.Release, error)

func (*HelmClient) ListReleases

func (hc *HelmClient) ListReleases(namespace string) ([]*release.Release, error)

func (*HelmClient) ListRepos

func (hc *HelmClient) ListRepos() ([]*repo.Entry, error)

func (*HelmClient) RollbackChart

func (hc *HelmClient) RollbackChart(releaseName string, revision int) error

func (*HelmClient) UninstallChart

func (hc *HelmClient) UninstallChart(releaseName string) error

func (*HelmClient) UpgradeChart

func (hc *HelmClient) UpgradeChart(repo, releaseName, chartName, chartVersion string, values map[string]interface{}) (*release.Release, error)

Jump to

Keyboard shortcuts

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