Help us shape the future of Go! Take the 2026 Go Developer Survey

values

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: AGPL-3.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeMaps

func MergeMaps(a, b map[string]interface{}) map[string]interface{}

Types

type Options

type Options struct {
	ValueFiles   []string // -f/--values
	StringValues []string // --set-string
	Values       []string // --set
	FileValues   []string // --set-file
	JSONValues   []string // --set-json
}

Options captures the different ways to specify values

func (*Options) MergeValues

func (opts *Options) MergeValues(p getter.Providers) (map[string]interface{}, error)

MergeValues merges values from files specified via -f/--values and directly via --set-json, --set, --set-string, or --set-file, marshaling them to YAML

Jump to

Keyboard shortcuts

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