helm

package
v1.39.18 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 56 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
	kstatus.Config
	kloader.Config
	portforward.Config
	IsMultiConfig() bool
	JSONParseConfig() latest.JSONParseConfig
}

type Deployer

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

Deployer deploys workflows using the helm CLI

func NewDeployer

func NewDeployer(ctx context.Context, cfg Config, labeller *label.DefaultLabeller, 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, dryRun bool) 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) error

Deploy deploys the build results to the Kubernetes cluster

func (*Deployer) GetAccessor added in v1.27.0

func (h *Deployer) GetAccessor() access.Accessor

func (*Deployer) GetDebugger added in v1.27.0

func (h *Deployer) GetDebugger() debug.Debugger

func (*Deployer) GetLogger added in v1.27.0

func (h *Deployer) GetLogger() log.Logger

func (*Deployer) GetStatusMonitor added in v1.27.0

func (h *Deployer) GetStatusMonitor() status.Monitor

func (*Deployer) GetSyncer added in v1.27.0

func (h *Deployer) GetSyncer() sync.Syncer

func (*Deployer) HasRunnableHooks added in v1.32.0

func (h *Deployer) HasRunnableHooks() bool

func (*Deployer) PostDeployHooks added in v1.31.0

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

func (*Deployer) PreDeployHooks added in v1.31.0

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

func (*Deployer) RegisterLocalImages added in v1.28.0

func (h *Deployer) RegisterLocalImages(images []graph.Artifact)

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

func (*Deployer) TrackBuildArtifacts added in v1.27.0

func (h *Deployer) TrackBuildArtifacts(artifacts []graph.Artifact)

Jump to

Keyboard shortcuts

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