ParseConfigurations parses and returns the configurations from the given list of files. The result will be a map where the key is the file name of the configuration.
(files []string)
| 257 | // list of files. The result will be a map where the key is the file name of |
| 258 | // the configuration. |
| 259 | func ParseConfigurations(files []string) (map[string]any, error) { |
| 260 | configurations, err := parseConfigurations(files, "") |
| 261 | if err != nil { |
| 262 | return nil, err |
| 263 | } |
| 264 | |
| 265 | return configurations, nil |
| 266 | } |
| 267 | |
| 268 | // ParseConfigurationsAs parses the files as the given file type and returns the |
| 269 | // configurations given in the file list. The result will be a map where the key |