valuesutil

package
v1.18.3 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenStableComponentValues

func GenStableComponentValues(
	comp *s2hv1.Component,
	stableMap map[string]s2hv1.StableComponent,
	baseValues map[string]interface{},
) s2hv1.ComponentValues

GenStableComponentValues returns Values of the component combine with stable version of itself and its dependencies

func GetStableComponentsMap

func GetStableComponentsMap(c client.Client, namespace string) (stableMap map[string]s2hv1.StableComponent, err error)

GetStableComponentsMap returns map of StableComponents in the namespace

func MergeValues

func MergeValues(base map[string]interface{}, target map[string]interface{}) map[string]interface{}

MergeValues merges source and destination map, preferring values from the source map

Types

This section is empty.

Jump to

Keyboard shortcuts

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