hardware

package
v0.1.28 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MPL-2.0 Imports: 33 Imported by: 0

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

type PCIDevicesController struct {
	V1Alpha1Mode runtimetalos.Mode
}

PCIDevicesController populates PCI device information.

func (*PCIDevicesController) Inputs

func (ctrl *PCIDevicesController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*PCIDevicesController) Name

func (ctrl *PCIDevicesController) Name() string

Name implements controller.Controller interface.

func (*PCIDevicesController) Outputs

func (ctrl *PCIDevicesController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*PCIDevicesController) Run

Run implements controller.Controller interface.

type PCIDriverRebindConfigController

type PCIDriverRebindConfigController struct{}

PCIDriverRebindConfigController generates configuration for PCI rebind.

func (*PCIDriverRebindConfigController) Inputs

Inputs implements controller.Controller interface.

func (*PCIDriverRebindConfigController) Name

Name implements controller.Controller interface.

func (*PCIDriverRebindConfigController) Outputs

Outputs implements controller.Controller interface.

func (*PCIDriverRebindConfigController) Run

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

Inputs implements controller.Controller interface.

func (*PCIDriverRebindController) Name

Name implements controller.Controller interface.

func (*PCIDriverRebindController) Outputs

Outputs implements controller.Controller interface.

func (*PCIDriverRebindController) Run

Run implements controller.Controller interface.

type PCRStatusController

type PCRStatusController struct {
	V1Alpha1Mode runtimetalos.Mode
	// contains filtered or unexported fields
}

PCRStatusController manages TPM PCR extension.

func (*PCRStatusController) Inputs

func (ctrl *PCRStatusController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*PCRStatusController) Name

func (ctrl *PCRStatusController) Name() string

Name implements controller.Controller interface.

func (*PCRStatusController) Outputs

func (ctrl *PCRStatusController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*PCRStatusController) Run

func (ctrl *PCRStatusController) 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

Run implements controller.Controller interface.

Jump to

Keyboard shortcuts

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