helm

package
v0.192.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

type Installer struct {
	Settings     *cli.EnvSettings
	Getters      getter.Providers
	ActionConfig *action.Configuration
}

Installer implement the HelmInstaller interface.

func NewInstaller

func NewInstaller(opts Options) (*Installer, error)

NewInstaller creates a new Helm backed Installer for repo resources.

func (*Installer) InstallChart

func (i *Installer) InstallChart(ctx context.Context, opts providers.InstallChartOpts) error

InstallChart takes a repo's name and a chart name and installs it. If namespace is not empty it will install into that namespace and create the namespace. Version is required.

type Options

type Options struct {
	Namespace        string
	RESTClientGetter genericclioptions.RESTClientGetter
}

Options defines options for the Helm Installer.

Jump to

Keyboard shortcuts

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