helm

package
v0.83.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	// contains filtered or unexported fields
}

Cmd is the helm command to execute.

func New

func New(kubeconfigPath string, logger log.FieldLogger) (*Cmd, error)

New creates a new instance of Cmd through which to execute helm.

func (*Cmd) Close

func (c *Cmd) Close() error

Close is a no-op.

func (*Cmd) FullyUpgradeLocalChart added in v0.81.3

func (c *Cmd) FullyUpgradeLocalChart(chartName, chartDirectory, namespace, valuesLocation string) error

FullyUpgradeLocalChart takes in the arguements necessary to fully upgrade a local helm chart. This includes using the kubctl client to apply CRDS.

func (*Cmd) HelmChartFoundAndDeployed added in v0.81.3

func (c *Cmd) HelmChartFoundAndDeployed(releaseName, namespace string) (bool, bool)

HelmChartFoundAndDeployed is a helper func that attempts to determine if a given chart exists in the cluster and if it was successfully deployed.

func (*Cmd) RepoAdd added in v0.81.3

func (c *Cmd) RepoAdd(repoName, repoURL string) error

RepoAdd invokes helm repo add to add a repo.

func (*Cmd) RepoUpdate added in v0.81.3

func (c *Cmd) RepoUpdate() error

RepoUpdate invokes helm repo update to update all repo charts.

func (*Cmd) RunCommandRaw added in v0.31.0

func (c *Cmd) RunCommandRaw(arg ...string) ([]byte, error)

RunCommandRaw runs any given helm command returning raw output.

func (*Cmd) RunGenericCommand

func (c *Cmd) RunGenericCommand(arg ...string) error

RunGenericCommand runs any given helm command.

func (*Cmd) Version added in v0.39.0

func (c *Cmd) Version() (string, error)

Version invokes helm version and returns the value.

Jump to

Keyboard shortcuts

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