helm

package
v0.0.0-...-3bfe646 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyIndexFile

func CopyIndexFile(indexFile repo.IndexFile) *repo.IndexFile

CopyIndexFile returns a deep copy of the provided index file.

func HasVar

func HasVar(name string, valueFiles valueFiles, values []string) (bool, error)

HasVar takes a slice of values and value files and returns true if there is a variable with the provided name among them.

func ParseChartFilename

func ParseChartFilename(filename string) (name, version string, err error)

ParseChartFilename returns chart name and version from the provided chart package filename generated by ToChartFilename function below.

func ToChartFilename

func ToChartFilename(name, version string) string

ToChartFilename returns a chart archive filename for the provided name/version.

func Vals

func Vals(valueFiles valueFiles, values []string, stringValues []string, fileValues []string, CertFile, KeyFile, CAFile string) ([]byte, error)

Vals merges values from files specified via -f/--values and directly via --set or --set-string or --set-file, marshaling them to YAML.

This function was copied from Helm with slight modifications:

https://github.com/helm/helm/blob/v2.12.0/cmd/helm/install.go#L363

Types

This section is empty.

Jump to

Keyboard shortcuts

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