Changed "key" paramaters to tags and cleaned up interface

This commit is contained in:
Gregory Kurtzer
2022-02-11 05:52:46 +00:00
parent 7381efb0fc
commit ffaf794a42
10 changed files with 89 additions and 90 deletions

View File

@@ -36,7 +36,7 @@ type NodeConf struct {
Discoverable string `yaml:"discoverable,omitempty"`
Profiles []string `yaml:"profiles,omitempty"`
NetDevs map[string]*NetDevs `yaml:"network devices,omitempty"`
Keys map[string]string `yaml:"keys,omitempty"`
Tags map[string]string `yaml:"tags,omitempty"`
}
type NetDevs struct {
@@ -88,7 +88,7 @@ type NodeInfo struct {
Profiles []string
GroupProfiles []string
NetDevs map[string]*NetDevEntry
Keys map[string]*Entry
Tags map[string]*Entry
}
type NetDevEntry struct {