values

package
v0.12.9 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 8 Imported by: 2

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 {
	// -f/--values
	ValueFiles []string `json:"valueFiles,omitempty"`
	// --set-string
	StringValues []string `json:"stringValues,omitempty"`
	// --set
	Values []string `json:"values,omitempty"`
	// --set-file
	FileValues []string `json:"fileValues,omitempty"`
	// --set-json
	JSONValues []string `json:"jsonValues,omitempty"`
}

Options captures the different ways to specify values +kubebuilder:object:generate:=true

func (*Options) DeepCopy

func (in *Options) DeepCopy() *Options

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Options.

func (*Options) DeepCopyInto

func (in *Options) DeepCopyInto(out *Options)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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