Documentation ¶
Index ¶
- Constants
- Variables
- func DeployHelmChart(chartPath string, releaseName string, namespace string, opts HelmChartOptions) error
- func HelmCmd(args ...string) (stdout string, stderr string, err error)
- func HelmVersion() (*version.Version, error)
- func PurgeHelmRelease(releaseName string) error
- func ValidateHelmVersion() error
- type ChartTemplates
- func (templates *ChartTemplates) ByKind(kind string) []*Template
- func (templates *ChartTemplates) DaemonSets() []*Template
- func (templates *ChartTemplates) Deployments() []*Template
- func (templates *ChartTemplates) Jobs() []*Template
- func (templates *ChartTemplates) Pods() []*Template
- func (templates *ChartTemplates) StatefulSets() []*Template
- type HelmChartOptions
- type HelmChartValuesOptions
- type Template
- type TrackAnno
Constants ¶
Variables ¶
View Source
var (
KubeContext string
)
Functions ¶
func DeployHelmChart ¶
func DeployHelmChart(chartPath string, releaseName string, namespace string, opts HelmChartOptions) error
func HelmVersion ¶
func PurgeHelmRelease ¶
func ValidateHelmVersion ¶
func ValidateHelmVersion() error
Types ¶
type ChartTemplates ¶
type ChartTemplates []*Template
func (*ChartTemplates) ByKind ¶
func (templates *ChartTemplates) ByKind(kind string) []*Template
func (*ChartTemplates) DaemonSets ¶
func (templates *ChartTemplates) DaemonSets() []*Template
func (*ChartTemplates) Deployments ¶
func (templates *ChartTemplates) Deployments() []*Template
func (*ChartTemplates) Jobs ¶
func (templates *ChartTemplates) Jobs() []*Template
func (*ChartTemplates) Pods ¶
func (templates *ChartTemplates) Pods() []*Template
func (*ChartTemplates) StatefulSets ¶
func (templates *ChartTemplates) StatefulSets() []*Template
type HelmChartOptions ¶
type HelmChartOptions struct { Timeout time.Duration DryRun bool Debug bool HelmChartValuesOptions }
type HelmChartValuesOptions ¶
type Template ¶
type Template struct { Version string `yaml:"apiVersion"` Kind string `yaml:"kind,omitempty"` Metadata *struct { Name string `yaml:"name"` Namespace string `yaml:"namespace"` Annotations map[string]string `yaml:"annotations"` Uid string `yaml:"uid"` } `yaml:"metadata,omitempty"` Status string `yaml:"status,omitempty"` }
Click to show internal directories.
Click to hide internal directories.