helm

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHelmVersion

func CheckHelmVersion(ctx context.Context, constraintStr string) error

CheckHelmVersion checks that the helm version in the path matches the argument constraint.

Types

type HelmClient

type HelmClient struct {
	// Debug indicates whether helm should be run with debug logging.
	Debug bool

	// GlobalValuesPath is an optional path to a set of "global" values that will be used to
	// supplement the chart-specific values.
	GlobalValuesPath string

	// Parallelism is the number of helm processes that should be run in parallel.
	Parallelism int

	// RootDir is the root relative to which file URLs will be fetched. Only applies for charts
	// that override their sources with a file URL.
	RootDir string
}

HelmClient represents a client that can be used for expanding out Helm templates into full Kubernetes configs.

func (*HelmClient) ExpandHelmTemplates

func (c *HelmClient) ExpandHelmTemplates(
	ctx context.Context,
	configPath string,
	chartsPath string,
) error

ExpandHelmTemplates expands out all of the helm values files in the provided configPath. Charts are sourced from either the provided chartsPath or from the override location in the value file yaml.

Jump to

Keyboard shortcuts

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