Documentation ¶
Index ¶
- type Cmd
- func (c *Cmd) Close() error
- func (c *Cmd) FullyUpgradeLocalChart(chartName, chartDirectory, namespace, valuesLocation string) error
- func (c *Cmd) HelmChartFoundAndDeployed(releaseName, namespace string) (bool, bool)
- func (c *Cmd) RepoAdd(repoName, repoURL string) error
- func (c *Cmd) RepoUpdate() error
- func (c *Cmd) RunCommandRaw(arg ...string) ([]byte, error)
- func (c *Cmd) RunGenericCommand(arg ...string) error
- func (c *Cmd) Version() (string, error)
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) 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
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) RepoUpdate ¶ added in v0.81.3
RepoUpdate invokes helm repo update to update all repo charts.
func (*Cmd) RunCommandRaw ¶ added in v0.31.0
RunCommandRaw runs any given helm command returning raw output.
func (*Cmd) RunGenericCommand ¶
RunGenericCommand runs any given helm command.
Click to show internal directories.
Click to hide internal directories.