helm

package
v0.99.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 15 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) AddRepo

func (i *Installer) AddRepo(repoURL, release string) error

AddRepo adds a repository to helm repositories.

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