config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadExtras added in v0.3.0

func LoadExtras(args []string) (map[string]ast.Variable, error)

LoadExtras attemps to load any additional vars

Types

type Result

type Result struct {
	Variables map[string]ast.Variable
	Templates map[string]ast.Variable
}

Result is the result of merging multiple config files

func LoadConfigFiles

func LoadConfigFiles(configFiles []string, extras map[string]ast.Variable) (*Result, error)

LoadConfigFiles will load all config files and merge values into appropriate values

Jump to

Keyboard shortcuts

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