hardware

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: MPL-2.0 Imports: 29 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 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

Run implements controller.Controller interface.

type PCIDriverRebindConfigController added in v1.10.0

type PCIDriverRebindConfigController struct{}

PCIDriverRebindConfigController generates configuration for PCI rebind.

func (*PCIDriverRebindConfigController) Inputs added in v1.10.0

Inputs implements controller.Controller interface.

func (*PCIDriverRebindConfigController) Name added in v1.10.0

Name implements controller.Controller interface.

func (*PCIDriverRebindConfigController) Outputs added in v1.10.0

Outputs implements controller.Controller interface.

func (*PCIDriverRebindConfigController) Run added in v1.10.0

Run implements controller.Controller interface.

type PCIDriverRebindController added in v1.10.0

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 added in v1.10.0

Inputs implements controller.Controller interface.

func (*PCIDriverRebindController) Name added in v1.10.0

Name implements controller.Controller interface.

func (*PCIDriverRebindController) Outputs added in v1.10.0

Outputs implements controller.Controller interface.

func (*PCIDriverRebindController) Run added in v1.10.0

Run implements controller.Controller interface.

type PCRStatusController added in v1.10.0

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

PCRStatusController manages TPM PCR extension.

func (*PCRStatusController) Inputs added in v1.10.0

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

Inputs implements controller.Controller interface.

func (*PCRStatusController) Name added in v1.10.0

func (ctrl *PCRStatusController) Name() string

Name implements controller.Controller interface.

func (*PCRStatusController) Outputs added in v1.10.0

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

Outputs implements controller.Controller interface.

func (*PCRStatusController) Run added in v1.10.0

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