Documentation
¶
Index ¶
- func GetChangedValues(original, modified map[string]interface{}) ([]string, error)
- func GetValuesDiff(original, modified map[string]interface{}) (map[string]interface{}, error)
- func GetValuesDiffYAML(orig, od interface{}) ([]byte, error)
- func MergePresetValues(kc client.Client, chrt *chart.Chart, ref chartsapi.ChartPresetFlatRef) (map[string]interface{}, error)
- func PrintArray(a []interface{}) (string, error)
- type KV
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChangedValues ¶ added in v0.4.0
func GetValuesDiff ¶ added in v0.4.0
func GetValuesDiffYAML ¶ added in v0.4.0
func MergePresetValues ¶ added in v0.4.0
func PrintArray ¶ added in v0.4.0
Types ¶
type Options ¶
type Options struct { ReplaceValues map[string]interface{} `json:"replaceValues"` ValuesFile string `json:"valuesFile"` ValuesPatch *runtime.RawExtension `json:"valuesPatch"` ValueBytes [][]byte `json:"valueBytes"` StringValues []string `json:"stringValues"` Values []string `json:"values"` KVPairs []KV `json:"kv_pairs"` }
- If ReplaceValues != nil, then just use that values as=is - else - if ValuesPatch != nil, then apply patch to the ValuesFile and use the generated values - else coalesce the StringValues and Values into ValuesFile and use those as the final values.
See also: https://github.com/helm/helm/blob/v3.5.4/pkg/cli/values/options.go#L39-L86
func LoadClusterChartPresetValues ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.