Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeAndUpdate ¶
func MergeAndUpdate(ctx context.Context, client mergeClient, list MergeList, skipValidate, confirm bool) error
MergeAndUpdate gathers configurations from each path and merges them. Puts the result at targetPath if confirm is true Will skip an input config if it is invalid and skipValidate is false Other problems are considered fatal and will return an error
Types ¶
type MergeList ¶
type MergeList struct { Target string `json:"Target"` Path *gcs.Path `json:"-"` Sources []Source `json:"Sources"` }
MergeList is a list of config sources to merge together ParseAndCheck will construct this from a YAML document
func ParseAndCheck ¶
ParseAndCheck parses and checks the configuration file for common errors
Click to show internal directories.
Click to hide internal directories.