Documentation
¶
Index ¶
- func AddHelmRepo(c *gin.Context)
- func DeleteHelmRepo(c *gin.Context)
- func GetHelmChart(c *gin.Context)
- func InstallHelmChart(c *gin.Context)
- func ListHelmCharts(c *gin.Context)
- func ListHelmRepos(c *gin.Context)
- func RollbackHelmChart(c *gin.Context)
- func UninstallHelmChart(c *gin.Context)
- func UpgradeHelmChart(c *gin.Context)
- type HelmClient
- func (hc *HelmClient) AddRepo(name, url string) error
- func (hc *HelmClient) DeleteRepo(name string) error
- func (hc *HelmClient) GetRelease(releaseName string) (*release.Release, error)
- func (hc *HelmClient) InstallChart(repo, chartName, chartVersion, releaseName string, ...) (*release.Release, error)
- func (hc *HelmClient) ListReleases(namespace string) ([]*release.Release, error)
- func (hc *HelmClient) ListRepos() ([]*repo.Entry, error)
- func (hc *HelmClient) RollbackChart(releaseName string, revision int) error
- func (hc *HelmClient) UninstallChart(releaseName string) error
- func (hc *HelmClient) UpgradeChart(repo, releaseName, chartName, chartVersion string, ...) (*release.Release, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHelmRepo ¶
func DeleteHelmRepo ¶
func GetHelmChart ¶
func InstallHelmChart ¶
func ListHelmCharts ¶
func ListHelmRepos ¶
func RollbackHelmChart ¶
func UninstallHelmChart ¶
func UpgradeHelmChart ¶
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 (*HelmClient) ListReleases ¶
func (hc *HelmClient) ListReleases(namespace string) ([]*release.Release, 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 ¶
Click to show internal directories.
Click to hide internal directories.