helm

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInstaller

func NewInstaller(config *rest.Config, modifiers ...InstallerModifierFn) (uxp.Installer, error)

NewInstaller builds a helm installer for UXP.

func NewParser

func NewParser(base map[string]interface{}, overrides map[string]string) uxp.ParameterParser

NewParser returns a parameter parser backed by helm.

Types

type HomeDirFn

type HomeDirFn func() (string, error)

HomeDirFn indicates the location of a user's home directory.

type InstallerModifierFn

type InstallerModifierFn func(*installer)

InstallerModifierFn modifies the installer.

func AllowUnstableVersions

func AllowUnstableVersions(d bool) InstallerModifierFn

AllowUnstableVersions allows installing development versions using the helm installer.

func Force

func Force(f bool) InstallerModifierFn

Force will force operations when possible.

func RollbackOnError

func RollbackOnError(r bool) InstallerModifierFn

RollbackOnError will cause installer to rollback on failed upgrade.

func WithCacheDir

func WithCacheDir(c string) InstallerModifierFn

WithCacheDir sets the cache directory for the helm installer.

func WithChartName

func WithChartName(name string) InstallerModifierFn

WithChartName sets the chart name for the helm installer.

func WithLogger

func WithLogger(l logging.Logger) InstallerModifierFn

WithLogger sets the logger for the helm installer.

func WithNamespace

func WithNamespace(ns string) InstallerModifierFn

WithNamespace sets the namespace for the helm installer.

func WithRepoURL

func WithRepoURL(u *url.URL) InstallerModifierFn

WithRepoURL sets the repo URL for the helm installer.

type LoaderFn

type LoaderFn func(name string) (*chart.Chart, error)

LoaderFn knows how to load a helm chart.

type Parser

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

Parser is a helm-style parameter parser.

func (*Parser) Parse

func (p *Parser) Parse() (map[string]interface{}, error)

Parse parses install and upgrade parameters

type TempDirFn

type TempDirFn func(afero.Fs, string, string) (string, error)

TempDirFn knows how to create a temporary directory in a filesystem.

Jump to

Keyboard shortcuts

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