rules

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CpuIDRule added in v0.7.0

type CpuIDRule struct {
	nfdv1alpha1.MatchExpressionSet
}

CpuIDRule implements Rule for the custom source

func (*CpuIDRule) Match added in v0.7.0

func (r *CpuIDRule) Match() (bool, error)

type KconfigRule added in v0.7.0

type KconfigRule struct {
	nfdv1alpha1.MatchExpressionSet
}

KconfigRule implements Rule for the custom source

func (*KconfigRule) Match added in v0.7.0

func (r *KconfigRule) Match() (bool, error)

type LoadedKModRule

type LoadedKModRule struct {
	nfdv1alpha1.MatchExpressionSet
}

LoadedKModRule matches loaded kernel modules in the system

func (*LoadedKModRule) Match

func (r *LoadedKModRule) Match() (bool, error)

Match loaded kernel modules on provided list of kernel modules

type NodenameRule added in v0.8.0

type NodenameRule struct {
	nfdv1alpha1.MatchExpression
}

NodenameRule matches on nodenames configured in a ConfigMap

func (*NodenameRule) Match added in v0.8.0

func (r *NodenameRule) Match() (bool, error)

func (*NodenameRule) UnmarshalJSON added in v0.10.0

func (r *NodenameRule) UnmarshalJSON(data []byte) error

type PciIDRule

type PciIDRule struct {
	nfdv1alpha1.MatchExpressionSet
}

func (*PciIDRule) Match

func (r *PciIDRule) Match() (bool, error)

Match PCI devices on provided PCI device attributes

type UsbIDRule

type UsbIDRule struct {
	nfdv1alpha1.MatchExpressionSet
}

func (*UsbIDRule) Match

func (r *UsbIDRule) Match() (bool, error)

Match USB devices on provided USB device attributes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL