helm

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsHelmChart

func IsHelmChart(path string) bool

Types

type Deployer

type Deployer struct {
	*latest.HelmDeploy
	// contains filtered or unexported fields
}

Deployer deploys workflows using the helm CLI

func NewDeployer

func NewDeployer(cfg kubectl.Config, labels map[string]string, h *latest.HelmDeploy) (*Deployer, error)

NewDeployer returns a configured Deployer. Returns an error if current version of helm is less than 3.0.0.

func (*Deployer) Cleanup

func (h *Deployer) Cleanup(ctx context.Context, out io.Writer) error

Cleanup deletes what was deployed by calling Deploy.

func (*Deployer) Dependencies

func (h *Deployer) Dependencies() ([]string, error)

Dependencies returns a list of files that the deployer depends on.

func (*Deployer) Deploy

func (h *Deployer) Deploy(ctx context.Context, out io.Writer, builds []build.Artifact) ([]string, error)

Deploy deploys the build results to the Kubernetes cluster

func (*Deployer) Render

func (h *Deployer) Render(ctx context.Context, out io.Writer, builds []build.Artifact, offline bool, filepath string) error

Render generates the Kubernetes manifests and writes them out

Jump to

Keyboard shortcuts

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