helm

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HelmChart

type HelmChart struct {
	Repo        string                 `json:"repo"`
	Chart       string                 `json:"chart"`
	Release     string                 `json:"release"`
	Namespace   string                 `json:"namespace"`
	Version     string                 `json:"version"`
	IncludeCRDs bool                   `json:"includeCRDs"`
	Values      map[string]interface{} `json:"values"`
}

func (HelmChart) DownloadChart

func (h HelmChart) DownloadChart(destDir string, untar bool) (string, error)

DownloadChart downloads a chart to a local directory If untar = false, the output is a tgz file If untar = true, the chart is extracted and the tgz removed

func (HelmChart) GetChartUrl

func (h HelmChart) GetChartUrl() (string, error)

GetChartUrl gets the tgz url of a chart and version

func (HelmChart) Template

func (h HelmChart) Template(chartPath string, kubeVersion string) (map[string]string, error)

Template does the equivalent of a `helm template`

Jump to

Keyboard shortcuts

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