helm

package
v1.16.12-beta029 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find(dir string) (chartPath string, err error)

Find locates helm chart in given dir

func GetDependencyVersion

func GetDependencyVersion(helmChart HelmChart, dependency string) (string, error)

GetDependencyVersion returns selected helm chart dependency version

func GetVersion

func GetVersion(helmChart HelmChart) string

GetVersion returns HelmChart version

func SaveString

func SaveString(helmChart *HelmChart, key, value string) error

SaveString saves given key with passed value in HelmChart

func UpdateValuesImageTag

func UpdateValuesImageTag(path, tag string) error

UpdateValuesImageTag updates values.yaml image tag field

func Write

func Write(filePath string, helmChart HelmChart) (err error)

Write writes content of HelmChart to given path

Types

type HelmChart

type HelmChart yaml.MapSlice

HelmChart data structure based on map slice

func GetChart

func GetChart(dir string) (helmChart HelmChart, chartPath string, err error)

GetChart returns Chart based on directory, locates chart automatically

func Read

func Read(filePath string) (helmChart HelmChart, err error)

Read reads helm chart based on path

func UpdateDependencyVersion

func UpdateDependencyVersion(in HelmChart, dependency, version string) (out HelmChart, err error)

UpdateDependencyVersion updates version in HelmChart

Jump to

Keyboard shortcuts

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