Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CPUConfig ¶
type CPUConfig struct { CPUID struct { AttributeBlacklist []string `yaml:"attributeBlacklist,omitempty"` AttributeWhitelist []string `yaml:"attributeWhitelist,omitempty"` } `yaml:"cpuid,omitempty"` }
CPUConfig cpu feature config.
type PCIDevice ¶
type PCIDevice struct { DeviceClassWhitelist []string `yaml:"deviceClassWhitelist,omitempty"` DeviceLabelFields []string `yaml:"deviceLabelFields,omitempty"` }
PCIDevice pci config.
type Sources ¶
type Sources struct { CPU *CPUConfig `yaml:"cpu,omitempty"` PCI []PCIDevice `yaml:"pci,omitempty"` USB []interface{} `yaml:"usb,omitempty"` // Add the necessary struct for USB if needed Custom []interface{} `yaml:"custom,omitempty"` // Add the necessary struct for Custom if needed }
Sources contains all sources.
Click to show internal directories.
Click to hide internal directories.