helm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterLabel  = "kind.meln5674.github.com/cluster"
	ReleasePrefix = "kink-"
)

Variables

This section is empty.

Functions

func Delete

func Delete(h *HelmFlags, c *ChartFlags, r *ReleaseFlags, k *kubectl.KubeFlags) []string

func GetReleaseClusterName

func GetReleaseClusterName(release string) (string, bool)

func IsKinkRelease

func IsKinkRelease(name string) bool

func KubeHelmFlags added in v0.2.0

func KubeHelmFlags(ku *kubectl.KubeFlags) map[string]string

func List

func List(h *HelmFlags, k *kubectl.KubeFlags) []string

func RepoAdd

func RepoAdd(h *HelmFlags, c *ChartFlags) []string

func RepoUpdate

func RepoUpdate(h *HelmFlags, repoNames ...string) []string

func Template added in v0.2.0

func Template(h *HelmFlags, c *ChartFlags, r *ReleaseFlags, k *kubectl.KubeFlags) []string

func TemplateCluster added in v0.2.0

func TemplateCluster(h *HelmFlags, c *ChartFlags, r *ClusterReleaseFlags, k *kubectl.KubeFlags) []string

func Upgrade

func Upgrade(h *HelmFlags, c *ChartFlags, r *ReleaseFlags, k *kubectl.KubeFlags) []string

func UpgradeCluster added in v0.2.0

func UpgradeCluster(h *HelmFlags, c *ChartFlags, r *ClusterReleaseFlags, k *kubectl.KubeFlags) []string

Types

type ChartFlags

type ChartFlags struct {
	RepositoryURL string `json:"repositoryURL"`
	ChartName     string `json:"chart"`
	Version       string `json:"version"`
}

func (*ChartFlags) FullChartName

func (c *ChartFlags) FullChartName() string

func (*ChartFlags) IsLocalChart

func (c *ChartFlags) IsLocalChart() bool

func (*ChartFlags) Override

func (c *ChartFlags) Override(c2 *ChartFlags)

func (*ChartFlags) RepoName

func (c *ChartFlags) RepoName() string

func (*ChartFlags) UpgradeFlags added in v0.2.0

func (c *ChartFlags) UpgradeFlags() []string

type ClusterReleaseFlags added in v0.2.0

type ClusterReleaseFlags struct {
	ClusterName  string            `json:"clusterName"`
	Values       []string          `json:"values"`
	Set          map[string]string `json:"set"`
	SetString    map[string]string `json:"setString"`
	UpgradeFlags []string          `json:"upgradeFlags"`
}

func (*ClusterReleaseFlags) ExtraLabelFlags added in v0.2.0

func (r *ClusterReleaseFlags) ExtraLabelFlags() []string

func (*ClusterReleaseFlags) ExtraLabels added in v0.2.0

func (r *ClusterReleaseFlags) ExtraLabels() map[string]string

func (*ClusterReleaseFlags) Override added in v0.2.0

func (r *ClusterReleaseFlags) Override(r2 *ClusterReleaseFlags)

func (*ClusterReleaseFlags) Raw added in v0.2.0

type HelmFlags

type HelmFlags struct {
	Command []string `json:"command"`
}

func (*HelmFlags) Helm added in v0.2.0

func (h *HelmFlags) Helm(k *kubectl.KubeFlags, args ...string) []string

func (*HelmFlags) Override

func (h *HelmFlags) Override(h2 *HelmFlags)

type ReleaseFlags

type ReleaseFlags struct {
	Name         string            `json:"name"`
	Values       []string          `json:"values"`
	Set          map[string]string `json:"set"`
	SetString    map[string]string `json:"setString"`
	UpgradeFlags []string          `json:"upgradeFlags"`
}

func (*ReleaseFlags) ValuesFlags added in v0.2.0

func (r *ReleaseFlags) ValuesFlags() []string

Jump to

Keyboard shortcuts

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