util

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultFilenames []string = []string{"default.yml", "default.yaml", "default.json"}

Filenames excluded from templating for the purpose of containing default variable values inside a resource set.

Functions

func LoadData added in v1.6.0

func LoadData(filename string, addr interface{}) error

Loads either a YAML or JSON file from the specified path and deserialises it into the provided interface.

func Merge

func Merge(in1 *map[string]interface{}, in2 *map[string]interface{}) *map[string]interface{}

Merges two maps together. Values from the second map override values in the first map. The returned map is new if anything was changed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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