helm

package
v0.0.0-...-e0e0b42 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HelmInstallerType spec.InstallerType = "HelmInstaller"

HelmInstallerType is an Installer that uses Helm.

Functions

func IsHelm

func IsHelm(err error) bool

IsHelm asserts helmError.

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Config

type Config struct {
	// Dependencies.
	Configurers []configurerspec.Configurer
	FileSystem  afero.Fs
	Logger      micrologger.Logger

	// Settings.
	Environment    string
	HelmBinaryPath string
	Namespace      string
	Organisation   string
	Password       string
	Provider       string
	Registry       string
	Username       string
}

Config represents the configuration used to create a Helm Installer.

func DefaultConfig

func DefaultConfig() Config

DefaultConfig provides a default configuration to create a new Helm Installer by best effort.

type HelmInstaller

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

HelmInstaller is an implementation of the Installer interface, that uses Helm to install charts.

func New

func New(config Config) (*HelmInstaller, error)

New creates a new configured Helm Installer.

func (*HelmInstaller) Install

func (i *HelmInstaller) Install(event eventerspec.DeploymentEvent) error

Jump to

Keyboard shortcuts

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