Documentation ¶
Index ¶
- func CopyIndexFile(indexFile repo.IndexFile) *repo.IndexFile
- func HasVar(name string, valueFiles valueFiles, values []string) (bool, error)
- func ParseChartFilename(filename string) (name, version string, err error)
- func ToChartFilename(name, version string) string
- func Vals(valueFiles valueFiles, values []string, stringValues []string, ...) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyIndexFile ¶
CopyIndexFile returns a deep copy of the provided index file.
func HasVar ¶
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 ¶
ParseChartFilename returns chart name and version from the provided chart package filename generated by ToChartFilename function below.
func ToChartFilename ¶
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.