Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KconfigRule ¶ added in v0.7.0
type KconfigRule []string
KconfigRule implements Rule
func (*KconfigRule) Match ¶ added in v0.7.0
func (kconfigs *KconfigRule) Match() (bool, error)
type LoadedKModRule ¶
type LoadedKModRule []string
Rule that matches on loaded kernel modules in the system
func (*LoadedKModRule) Match ¶
func (kmods *LoadedKModRule) Match() (bool, error)
Match loaded kernel modules on provided list of kernel modules
type PciIDRule ¶
type PciIDRule struct {
PciIDRuleInput
}
type PciIDRuleInput ¶
type PciIDRuleInput struct { Class []string `json:"class,omitempty"` Vendor []string `json:"vendor,omitempty"` Device []string `json:"device,omitempty"` }
Rule that matches on the following PCI device attributes: <class, vendor, device> each device attribute will be a list elements(strings). Match operation: OR will be performed per element and AND will be performed per attribute. An empty attribute will not be included in the matching process.
type UsbIDRule ¶
type UsbIDRule struct {
UsbIDRuleInput
}
type UsbIDRuleInput ¶
type UsbIDRuleInput struct { Class []string `json:"class,omitempty"` Vendor []string `json:"vendor,omitempty"` Device []string `json:"device,omitempty"` }
Rule that matches on the following USB device attributes: <class, vendor, device> each device attribute will be a list elements(strings). Match operation: OR will be performed per element and AND will be performed per attribute. An empty attribute will not be included in the matching process.