armador

package
v0.0.0-...-b313670 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(cmd commands.Command, projectDir, namespace string, dirs commands.Dirs, dryRun bool, rawValues []string) error

func CreateSnapshot

func CreateSnapshot(cmd commands.Command, namespace, pathToSave, valuesPath string) error

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

func Recreate

func Recreate(cmd commands.Cmd, cacheFile, namespace string, dirs commands.Dirs, dryRun bool) error

func UnmarshalCache

func UnmarshalCache(vip *viper.Viper) (returnConf map[string]string, err error)

Types

type AdditionalValue

type AdditionalValue struct {
	Repo string
	Path []string
}

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

type ChartList

type ChartList map[string]Chart

ChartList the collection of charts that will be installed

Jump to

Keyboard shortcuts

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