lang: parse, core: world: Add a collect package
Some checks failed
/ Test (basic) on ubuntu-latest with golang 1.23 (push) Has been cancelled
/ Test (race) on ubuntu-latest with golang 1.23 (push) Has been cancelled
/ Test (shell) on ubuntu-latest with golang 1.23 (push) Has been cancelled
Some checks failed
/ Test (basic) on ubuntu-latest with golang 1.23 (push) Has been cancelled
/ Test (race) on ubuntu-latest with golang 1.23 (push) Has been cancelled
/ Test (shell) on ubuntu-latest with golang 1.23 (push) Has been cancelled
This lets us look at the available resource data for collection, and to filter it so we can decide what we want to collect on our machine. Other types of collect functions could be added in the future.
This commit is contained in:
@@ -58,6 +58,7 @@ import (
|
||||
_ "github.com/purpleidea/mgmt/lang/core/util"
|
||||
_ "github.com/purpleidea/mgmt/lang/core/value"
|
||||
_ "github.com/purpleidea/mgmt/lang/core/world"
|
||||
_ "github.com/purpleidea/mgmt/lang/core/world/collect"
|
||||
)
|
||||
|
||||
// TODO: Instead of doing this one-level embed, we could give each package an
|
||||
|
||||
Reference in New Issue
Block a user