Documentation
¶
Index ¶
- func MergeOverrideValues(valuesYaml, defaultValues, overrideYaml, overrideValues string) (string, error)
- func NewClientFromRestConf(restConfig *rest.Config, ns string) (hc.Client, error)
- type ChartRepoClient
- func (client *ChartRepoClient) DownloadAndExpand(chartName, chartVersion, localPath string) error
- func (client *ChartRepoClient) DownloadChart(chartName, chartVersion, basePath string) error
- func (client *ChartRepoClient) FetchIndexYaml() (*helm.Index, error)
- func (client *ChartRepoClient) PushChart(chartPackagePath string, force bool) error
- type HelmClient
- type KV
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeOverrideValues ¶ added in v1.5.0
func MergeOverrideValues(valuesYaml, defaultValues, overrideYaml, overrideValues string) (string, error)
MergeOverrideValues merge override yaml and override kvs defaultValues overrideYaml used for -f option overrideValues used for --set option
Types ¶
type ChartRepoClient ¶ added in v1.10.0
func NewHelmChartRepoClient ¶ added in v1.10.0
func NewHelmChartRepoClient(url, userName, password string) (*ChartRepoClient, error)
func (*ChartRepoClient) DownloadAndExpand ¶ added in v1.10.0
func (client *ChartRepoClient) DownloadAndExpand(chartName, chartVersion, localPath string) error
DownloadAndExpand downloads chart from repo and expand chart files from tarball
func (*ChartRepoClient) DownloadChart ¶ added in v1.10.0
func (client *ChartRepoClient) DownloadChart(chartName, chartVersion, basePath string) error
func (*ChartRepoClient) FetchIndexYaml ¶ added in v1.10.0
func (client *ChartRepoClient) FetchIndexYaml() (*helm.Index, error)
FetchIndexYaml fetch index.yaml from remote chart repo
type HelmClient ¶
type HelmClient struct {
*hc.HelmClient
}
func (*HelmClient) InstallOrUpgradeChart ¶
func (hClient *HelmClient) InstallOrUpgradeChart(ctx context.Context, spec *hc.ChartSpec) (*release.Release, error)
InstallOrUpgradeChart install or upgrade helm chart, use the same rule with helm to determine weather to install or upgrade
Click to show internal directories.
Click to hide internal directories.