resources: List resources in alphabetical order
This commit is contained in:
@@ -56,13 +56,14 @@ type edgeConfig struct {
|
|||||||
type GraphConfig struct {
|
type GraphConfig struct {
|
||||||
Graph string `yaml:"graph"`
|
Graph string `yaml:"graph"`
|
||||||
Resources struct {
|
Resources struct {
|
||||||
|
// in alphabetical order
|
||||||
|
Exec []*resources.ExecRes `yaml:"exec"`
|
||||||
|
File []*resources.FileRes `yaml:"file"`
|
||||||
|
Msg []*resources.MsgRes `yaml:"msg"`
|
||||||
Noop []*resources.NoopRes `yaml:"noop"`
|
Noop []*resources.NoopRes `yaml:"noop"`
|
||||||
Pkg []*resources.PkgRes `yaml:"pkg"`
|
Pkg []*resources.PkgRes `yaml:"pkg"`
|
||||||
File []*resources.FileRes `yaml:"file"`
|
|
||||||
Svc []*resources.SvcRes `yaml:"svc"`
|
Svc []*resources.SvcRes `yaml:"svc"`
|
||||||
Exec []*resources.ExecRes `yaml:"exec"`
|
|
||||||
Timer []*resources.TimerRes `yaml:"timer"`
|
Timer []*resources.TimerRes `yaml:"timer"`
|
||||||
Msg []*resources.MsgRes `yaml:"msg"`
|
|
||||||
} `yaml:"resources"`
|
} `yaml:"resources"`
|
||||||
Collector []collectorResConfig `yaml:"collect"`
|
Collector []collectorResConfig `yaml:"collect"`
|
||||||
Edges []edgeConfig `yaml:"edges"`
|
Edges []edgeConfig `yaml:"edges"`
|
||||||
|
|||||||
Reference in New Issue
Block a user