helm

package
v1.24.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 41 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 Config added in v1.23.0

type Config interface {
	kubectl.Config
	IsMultiConfig() bool
}

type Deployer

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

Deployer deploys workflows using the helm CLI

func NewDeployer

func NewDeployer(cfg Config, labels map[string]string, h *latestV1.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 []graph.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 []graph.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