package
Version:
v1.11.2
Opens a new window with list of versions in this module.
Published: Dec 14, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package devicecfg provides service domain to device config
type Config struct {
Interfaces []*Device `yaml:"interfaces"`
}
Config contains list of available service domains
ReadConfig reads configuration from file
type Device struct {
Name string `yaml:"name"`
Matches []*Selectors `yaml:"matches"`
}
Device contains an available interface name and related matches
type Labels struct {
Via string `yaml:"via"`
}
Labels contins the via selector
type Selectors struct {
LabelSelector []*Labels `yaml:"labelSelector"`
}
Selectors contains a list of selectors
Source Files
¶
Click to show internal directories.
Click to hide internal directories.