hardware

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const MemoryModuleType = resource.Type("MemoryModules.hardware.talos.dev")

MemoryModuleType is type of MemoryModule resource.

View Source
const NamespaceName resource.Namespace = "hardware"

NamespaceName contains resources related to hardware as a whole.

View Source
const PCIDeviceType = resource.Type("PCIDevices.hardware.talos.dev")

PCIDeviceType is type of PCIDevice resource.

View Source
const ProcessorType = resource.Type("Processors.hardware.talos.dev")

ProcessorType is type of Processor resource.

View Source
const SystemInformationID = resource.ID("systeminformation")

SystemInformationID is the ID of the SystemInformation resource.

View Source
const SystemInformationType = resource.Type("SystemInformations.hardware.talos.dev")

SystemInformationType is type of SystemInformation resource.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryModule

MemoryModule resource holds node MemoryModule information.

func NewMemoryModuleInfo

func NewMemoryModuleInfo(id string) *MemoryModule

NewMemoryModuleInfo initializes a MemoryModuleInfo resource.

type MemoryModuleExtension added in v1.4.0

type MemoryModuleExtension struct{}

MemoryModuleExtension provides auxiliary methods for Memory info.

func (MemoryModuleExtension) ResourceDefinition added in v1.4.0

func (MemoryModuleExtension) ResourceDefinition() meta.ResourceDefinitionSpec

ResourceDefinition implements typed.Extension interface.

type MemoryModuleSpec

type MemoryModuleSpec struct {
	Size          uint32 `yaml:"sizeMiB,omitempty" protobuf:"1"`
	DeviceLocator string `yaml:"deviceLocator,omitempty" protobuf:"2"`
	BankLocator   string `yaml:"bankLocator,omitempty" protobuf:"3"`
	Speed         uint32 `yaml:"speed,omitempty" protobuf:"4"`
	Manufacturer  string `yaml:"manufacturer,omitempty" protobuf:"5"`
	SerialNumber  string `yaml:"serialNumber,omitempty" protobuf:"6"`
	AssetTag      string `yaml:"assetTag,omitempty" protobuf:"7"`
	ProductName   string `yaml:"productName,omitempty" protobuf:"8"`
}

MemoryModuleSpec represents a single Memory.

func (MemoryModuleSpec) DeepCopy

func (o MemoryModuleSpec) DeepCopy() MemoryModuleSpec

DeepCopy generates a deep copy of MemoryModuleSpec.

type PCIDevice added in v1.8.0

PCIDevice resource holds node PCIDevice information.

func NewPCIDeviceInfo added in v1.8.0

func NewPCIDeviceInfo(id string) *PCIDevice

NewPCIDeviceInfo initializes a PCIDeviceInfo resource.

type PCIDeviceExtension added in v1.8.0

type PCIDeviceExtension struct{}

PCIDeviceExtension provides auxiliary methods for PCIDevice info.

func (PCIDeviceExtension) ResourceDefinition added in v1.8.0

func (PCIDeviceExtension) ResourceDefinition() meta.ResourceDefinitionSpec

ResourceDefinition implements typed.Extension interface.

type PCIDeviceSpec added in v1.8.0

type PCIDeviceSpec struct {
	Class    string `yaml:"class,omitempty" protobuf:"1"`
	Subclass string `yaml:"subclass,omitempty" protobuf:"2"`
	Vendor   string `yaml:"vendor,omitempty" protobuf:"3"`
	Product  string `yaml:"product,omitempty" protobuf:"4"`

	ClassID    string `yaml:"class_id" protobuf:"5"`
	SubclassID string `yaml:"subclass_id" protobuf:"6"`
	VendorID   string `yaml:"vendor_id" protobuf:"7"`
	ProductID  string `yaml:"product_id" protobuf:"8"`
}

PCIDeviceSpec represents a single processor.

func (PCIDeviceSpec) DeepCopy added in v1.8.0

func (o PCIDeviceSpec) DeepCopy() PCIDeviceSpec

DeepCopy generates a deep copy of PCIDeviceSpec.

type Processor

Processor resource holds node Processor information.

func NewProcessorInfo

func NewProcessorInfo(id string) *Processor

NewProcessorInfo initializes a ProcessorInfo resource.

type ProcessorExtension added in v1.4.0

type ProcessorExtension struct{}

ProcessorExtension provides auxiliary methods for Processor info.

func (ProcessorExtension) ResourceDefinition added in v1.4.0

func (ProcessorExtension) ResourceDefinition() meta.ResourceDefinitionSpec

ResourceDefinition implements typed.Extension interface.

type ProcessorSpec

type ProcessorSpec struct {
	Socket       string `yaml:"socket,omitempty" protobuf:"1"`
	Manufacturer string `yaml:"manufacturer,omitempty" protobuf:"2"`
	ProductName  string `yaml:"productName,omitempty" protobuf:"3"`
	// MaxSpeed is in megahertz (Mhz)
	MaxSpeed uint32 `yaml:"maxSpeedMhz,omitempty" protobuf:"4"`
	// Speed is in megahertz (Mhz)
	BootSpeed    uint32 `yaml:"bootSpeedMhz,omitempty" protobuf:"5"`
	Status       uint32 `yaml:"status,omitempty" protobuf:"6"`
	SerialNumber string `yaml:"serialNumber,omitempty" protobuf:"7"`
	AssetTag     string `yaml:"assetTag,omitempty" protobuf:"8"`
	PartNumber   string `yaml:"partNumber,omitempty" protobuf:"9"`
	CoreCount    uint32 `yaml:"coreCount,omitempty" protobuf:"10"`
	CoreEnabled  uint32 `yaml:"coreEnabled,omitempty" protobuf:"11"`
	ThreadCount  uint32 `yaml:"threadCount,omitempty" protobuf:"12"`
}

ProcessorSpec represents a single processor.

func (ProcessorSpec) DeepCopy

func (o ProcessorSpec) DeepCopy() ProcessorSpec

DeepCopy generates a deep copy of ProcessorSpec.

type SystemInformation

SystemInformation resource holds node SystemInformation information.

func NewSystemInformation

func NewSystemInformation(id string) *SystemInformation

NewSystemInformation initializes a SystemInformationInfo resource.

type SystemInformationExtension added in v1.4.0

type SystemInformationExtension struct{}

SystemInformationExtension provides auxiliary methods for SystemInformation.

func (SystemInformationExtension) ResourceDefinition added in v1.4.0

ResourceDefinition implements typed.Extension interface.

type SystemInformationSpec

type SystemInformationSpec struct {
	Manufacturer string `yaml:"manufacturer,omitempty" protobuf:"1"`
	ProductName  string `yaml:"productName,omitempty" protobuf:"2"`
	Version      string `yaml:"version,omitempty" protobuf:"3"`
	SerialNumber string `yaml:"serialnumber,omitempty" protobuf:"4"`
	UUID         string `yaml:"uuid,omitempty" protobuf:"5"`
	WakeUpType   string `yaml:"wakeUpType,omitempty" protobuf:"6"`
	SKUNumber    string `yaml:"skuNumber,omitempty" protobuf:"7"`
}

SystemInformationSpec represents the system information obtained from smbios.

func (SystemInformationSpec) DeepCopy

DeepCopy generates a deep copy of SystemInformationSpec.

Jump to

Keyboard shortcuts

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