Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HelmInstallerType spec.InstallerType = "HelmInstaller"
HelmInstallerType is an Installer that uses Helm.
Functions ¶
func IsInvalidConfig ¶
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
Click to show internal directories.
Click to hide internal directories.