Documentation ¶
Index ¶
- func Create(cmd commands.Command, projectDir, namespace string, dirs commands.Dirs, ...) error
- func CreateSnapshot(cmd commands.Command, namespace, pathToSave, valuesPath string) error
- func Recreate(cmd commands.Cmd, cacheFile, namespace string, dirs commands.Dirs, dryRun bool) error
- func UnmarshalCache(vip *viper.Viper) (returnConf map[string]string, err error)
- type AdditionalValue
- type AdditionalValues
- type Chart
- type ChartList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSnapshot ¶
use `helm get values (chartname)` and save those to a file,
then save the structure of the chart name/version/path-to-those-values and convert this structure to a single "cache" file
Types ¶
type AdditionalValue ¶
type AdditionalValues ¶
type AdditionalValues []AdditionalValue
func (AdditionalValues) GetGlobalOverrideString ¶
func (valSettings AdditionalValues) GetGlobalOverrideString(cmd commands.Command, overridesDir string) error
type Chart ¶
type Chart struct { Name string Repo string // helm chart repo - if packaged=false, than this would be the git repo Version string Dependencies []Chart OverrideValueFiles []string `yaml:"overrideValueFiles"` SetValues []string // these come from using `--set` in the cli ChartPath string // the local path to the extracted chart Packaged bool // does the chart come as a tar PathToChart string // if packaged=false, where in the repo is the chart located }
Chart the base structure of all things related to a helm chart
Click to show internal directories.
Click to hide internal directories.