Documentation ¶
Overview ¶
Package hardware provides the hardware controller implementation.
Index ¶
- type PCIDevicesController
- type PCIDriverRebindConfigController
- func (ctrl *PCIDriverRebindConfigController) Inputs() []controller.Input
- func (ctrl *PCIDriverRebindConfigController) Name() string
- func (ctrl *PCIDriverRebindConfigController) Outputs() []controller.Output
- func (ctrl *PCIDriverRebindConfigController) Run(ctx context.Context, r controller.Runtime, _ *zap.Logger) (err error)
- type PCIDriverRebindController
- type SystemInfoController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PCIDevicesController ¶ added in v1.8.0
type PCIDevicesController struct {
V1Alpha1Mode runtimetalos.Mode
}
PCIDevicesController populates PCI device information.
func (*PCIDevicesController) Inputs ¶ added in v1.8.0
func (ctrl *PCIDevicesController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*PCIDevicesController) Name ¶ added in v1.8.0
func (ctrl *PCIDevicesController) Name() string
Name implements controller.Controller interface.
func (*PCIDevicesController) Outputs ¶ added in v1.8.0
func (ctrl *PCIDevicesController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*PCIDevicesController) Run ¶ added in v1.8.0
func (ctrl *PCIDevicesController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type PCIDriverRebindConfigController ¶
type PCIDriverRebindConfigController struct{}
PCIDriverRebindConfigController generates configuration for PCI rebind.
func (*PCIDriverRebindConfigController) Inputs ¶
func (ctrl *PCIDriverRebindConfigController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*PCIDriverRebindConfigController) Name ¶
func (ctrl *PCIDriverRebindConfigController) Name() string
Name implements controller.Controller interface.
func (*PCIDriverRebindConfigController) Outputs ¶
func (ctrl *PCIDriverRebindConfigController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*PCIDriverRebindConfigController) Run ¶
func (ctrl *PCIDriverRebindConfigController) Run(ctx context.Context, r controller.Runtime, _ *zap.Logger) (err error)
Run implements controller.Controller interface.
type PCIDriverRebindController ¶
type PCIDriverRebindController struct { V1Alpha1Mode v1alpha1runtime.Mode // contains filtered or unexported fields }
PCIDriverRebindController binds PCI devices to a specific driver and unbinds them from the host driver.
func (*PCIDriverRebindController) Inputs ¶
func (c *PCIDriverRebindController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*PCIDriverRebindController) Name ¶
func (c *PCIDriverRebindController) Name() string
Name implements controller.Controller interface.
func (*PCIDriverRebindController) Outputs ¶
func (c *PCIDriverRebindController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*PCIDriverRebindController) Run ¶
func (c *PCIDriverRebindController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) (err error)
Run implements controller.Controller interface.
type SystemInfoController ¶
type SystemInfoController struct { V1Alpha1Mode runtimetalos.Mode SMBIOS *smbios.SMBIOS }
SystemInfoController populates CPU information of the underlying hardware.
func (*SystemInfoController) Inputs ¶
func (ctrl *SystemInfoController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*SystemInfoController) Name ¶
func (ctrl *SystemInfoController) Name() string
Name implements controller.Controller interface.
func (*SystemInfoController) Outputs ¶
func (ctrl *SystemInfoController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*SystemInfoController) Run ¶
func (ctrl *SystemInfoController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.