Documentation ¶
Overview ¶
Package hardware provides the hardware controller implementation.
Index ¶
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 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.
Click to show internal directories.
Click to hide internal directories.