helm

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Releases syncmap.Map

Use syncmap.Map instead of a regular map for the following so there's no race conditions during concurrent runs, which was happening before. See https://stackoverflow.com/a/45585833/351590. List of Helm releases per cluster.

View Source
var UpgradeComponents []string

Functions

func Exec

func Exec(cn string, ns string, args ...string) *exec.Cmd

func InstallOrUpgrade

func InstallOrUpgrade(cn string, ns string, releaseName string, chartName string, args []string) ([]byte, error)

func List

func List(cn string)

Types

type HelmRelease

type HelmRelease struct {
	Name       string `json:"name"`
	Namespace  string `json:"namespace"`
	Revision   string `json:"revision"`
	Updated    string `json:"updated"`
	Status     string `json:"status"`
	Chart      string `json:"chart"`
	AppVersion string `json:"app_version"`
}

func GetReleases

func GetReleases(key string) []HelmRelease

Jump to

Keyboard shortcuts

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