config: some comments
This commit is contained in:
parent
ec3f72703c
commit
089822a36f
|
@ -45,6 +45,12 @@ func Load(path string) (*Config, error) {
|
||||||
return config, nil
|
return config, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Given a handle to a libucl object, this recurses into the structure
|
||||||
|
// and pulls out a list of resources.
|
||||||
|
//
|
||||||
|
// The resulting resources may not be unique, but each resource
|
||||||
|
// represents exactly one resource definition in the libucl configuration.
|
||||||
|
// We leave it up to another pass to merge them together.
|
||||||
func loadResourcesLibucl(o *libucl.Object) ([]Resource, error) {
|
func loadResourcesLibucl(o *libucl.Object) ([]Resource, error) {
|
||||||
var allTypes []*libucl.Object
|
var allTypes []*libucl.Object
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue