hardware

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 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 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 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