values

package
v0.0.0-...-68136ef Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2020 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMaxDepthExceeded = errors.New("exceeded maximum recursion depth while merging Helm values")

ErrMaxDepthExceeded is returned when we recurse too deep.

Functions

func Merge

func Merge(dst, src chartutil.Values, o ...MergeOption) error

Merge recursively merges the src and dst maps. Key conflicts are resolved by preferring src, or recursively descending, if both src and dst are maps. It returns an error if and only if it reaches its max recursion depth.

Types

type MergeOption

type MergeOption func(*merger)

A MergeOption configures merge semantics.

func WithMaxDepth

func WithMaxDepth(max int) MergeOption

WithMaxDepth configures how deep the merge will recurse before returning an error.

Jump to

Keyboard shortcuts

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