hardware

package
v1.10.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MPL-2.0 Imports: 22 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

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 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