provisioner

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helm

type Helm struct {
	Logger *log.Entry
}

Helm is an implementation of the provisioner interface. It uses helm to manage the kubernetes cluster: https://helm.sh/

func (*Helm) Cleanup

func (h *Helm) Cleanup(configuration config.ParticleConfiguration, cmd cmd.Cmd) error

Cleanup ensures that there's no rest of the main chart nor of its dependencies.

func (*Helm) Converge

func (h *Helm) Converge(configuration config.ParticleConfiguration, cmd cmd.Cmd) error

Converge ensures that the deployment is executed on the kubernetes cluster.

func (*Helm) Dependency

func (h *Helm) Dependency(configuration config.ParticleConfiguration, cmd cmd.Cmd) error

Dependency locally adds all the helm repositories. It basically executes "helm repo add $whatever".

func (*Helm) Prepare

func (h *Helm) Prepare(configuration config.ParticleConfiguration, cmd cmd.Cmd) error

Prepare installs the dependencies.

type Provisioner

Provisioner is the interface that manages the deployments to the kubernetes clusters.

Jump to

Keyboard shortcuts

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