hardware

package
v1.8.0-alpha.0 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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_resource_definitions_hardware_hardware_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MemoryModuleSpec

type MemoryModuleSpec struct {
	Size          uint32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	DeviceLocator string `protobuf:"bytes,2,opt,name=device_locator,json=deviceLocator,proto3" json:"device_locator,omitempty"`
	BankLocator   string `protobuf:"bytes,3,opt,name=bank_locator,json=bankLocator,proto3" json:"bank_locator,omitempty"`
	Speed         uint32 `protobuf:"varint,4,opt,name=speed,proto3" json:"speed,omitempty"`
	Manufacturer  string `protobuf:"bytes,5,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	SerialNumber  string `protobuf:"bytes,6,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	AssetTag      string `protobuf:"bytes,7,opt,name=asset_tag,json=assetTag,proto3" json:"asset_tag,omitempty"`
	ProductName   string `protobuf:"bytes,8,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"`
	// contains filtered or unexported fields
}

MemoryModuleSpec represents a single Memory.

func (*MemoryModuleSpec) Descriptor deprecated

func (*MemoryModuleSpec) Descriptor() ([]byte, []int)

Deprecated: Use MemoryModuleSpec.ProtoReflect.Descriptor instead.

func (*MemoryModuleSpec) GetAssetTag

func (x *MemoryModuleSpec) GetAssetTag() string

func (*MemoryModuleSpec) GetBankLocator

func (x *MemoryModuleSpec) GetBankLocator() string

func (*MemoryModuleSpec) GetDeviceLocator

func (x *MemoryModuleSpec) GetDeviceLocator() string

func (*MemoryModuleSpec) GetManufacturer

func (x *MemoryModuleSpec) GetManufacturer() string

func (*MemoryModuleSpec) GetProductName

func (x *MemoryModuleSpec) GetProductName() string

func (*MemoryModuleSpec) GetSerialNumber

func (x *MemoryModuleSpec) GetSerialNumber() string

func (*MemoryModuleSpec) GetSize

func (x *MemoryModuleSpec) GetSize() uint32

func (*MemoryModuleSpec) GetSpeed

func (x *MemoryModuleSpec) GetSpeed() uint32

func (*MemoryModuleSpec) MarshalToSizedBufferVT

func (m *MemoryModuleSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MemoryModuleSpec) MarshalToVT

func (m *MemoryModuleSpec) MarshalToVT(dAtA []byte) (int, error)

func (*MemoryModuleSpec) MarshalVT

func (m *MemoryModuleSpec) MarshalVT() (dAtA []byte, err error)

func (*MemoryModuleSpec) ProtoMessage

func (*MemoryModuleSpec) ProtoMessage()

func (*MemoryModuleSpec) ProtoReflect

func (x *MemoryModuleSpec) ProtoReflect() protoreflect.Message

func (*MemoryModuleSpec) Reset

func (x *MemoryModuleSpec) Reset()

func (*MemoryModuleSpec) SizeVT

func (m *MemoryModuleSpec) SizeVT() (n int)

func (*MemoryModuleSpec) String

func (x *MemoryModuleSpec) String() string

func (*MemoryModuleSpec) UnmarshalVT

func (m *MemoryModuleSpec) UnmarshalVT(dAtA []byte) error

type ProcessorSpec

type ProcessorSpec struct {
	Socket       string `protobuf:"bytes,1,opt,name=socket,proto3" json:"socket,omitempty"`
	Manufacturer string `protobuf:"bytes,2,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	ProductName  string `protobuf:"bytes,3,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"`
	MaxSpeed     uint32 `protobuf:"varint,4,opt,name=max_speed,json=maxSpeed,proto3" json:"max_speed,omitempty"`
	BootSpeed    uint32 `protobuf:"varint,5,opt,name=boot_speed,json=bootSpeed,proto3" json:"boot_speed,omitempty"`
	Status       uint32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
	SerialNumber string `protobuf:"bytes,7,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	AssetTag     string `protobuf:"bytes,8,opt,name=asset_tag,json=assetTag,proto3" json:"asset_tag,omitempty"`
	PartNumber   string `protobuf:"bytes,9,opt,name=part_number,json=partNumber,proto3" json:"part_number,omitempty"`
	CoreCount    uint32 `protobuf:"varint,10,opt,name=core_count,json=coreCount,proto3" json:"core_count,omitempty"`
	CoreEnabled  uint32 `protobuf:"varint,11,opt,name=core_enabled,json=coreEnabled,proto3" json:"core_enabled,omitempty"`
	ThreadCount  uint32 `protobuf:"varint,12,opt,name=thread_count,json=threadCount,proto3" json:"thread_count,omitempty"`
	// contains filtered or unexported fields
}

ProcessorSpec represents a single processor.

func (*ProcessorSpec) Descriptor deprecated

func (*ProcessorSpec) Descriptor() ([]byte, []int)

Deprecated: Use ProcessorSpec.ProtoReflect.Descriptor instead.

func (*ProcessorSpec) GetAssetTag

func (x *ProcessorSpec) GetAssetTag() string

func (*ProcessorSpec) GetBootSpeed

func (x *ProcessorSpec) GetBootSpeed() uint32

func (*ProcessorSpec) GetCoreCount

func (x *ProcessorSpec) GetCoreCount() uint32

func (*ProcessorSpec) GetCoreEnabled

func (x *ProcessorSpec) GetCoreEnabled() uint32

func (*ProcessorSpec) GetManufacturer

func (x *ProcessorSpec) GetManufacturer() string

func (*ProcessorSpec) GetMaxSpeed

func (x *ProcessorSpec) GetMaxSpeed() uint32

func (*ProcessorSpec) GetPartNumber

func (x *ProcessorSpec) GetPartNumber() string

func (*ProcessorSpec) GetProductName

func (x *ProcessorSpec) GetProductName() string

func (*ProcessorSpec) GetSerialNumber

func (x *ProcessorSpec) GetSerialNumber() string

func (*ProcessorSpec) GetSocket

func (x *ProcessorSpec) GetSocket() string

func (*ProcessorSpec) GetStatus

func (x *ProcessorSpec) GetStatus() uint32

func (*ProcessorSpec) GetThreadCount

func (x *ProcessorSpec) GetThreadCount() uint32

func (*ProcessorSpec) MarshalToSizedBufferVT

func (m *ProcessorSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ProcessorSpec) MarshalToVT

func (m *ProcessorSpec) MarshalToVT(dAtA []byte) (int, error)

func (*ProcessorSpec) MarshalVT

func (m *ProcessorSpec) MarshalVT() (dAtA []byte, err error)

func (*ProcessorSpec) ProtoMessage

func (*ProcessorSpec) ProtoMessage()

func (*ProcessorSpec) ProtoReflect

func (x *ProcessorSpec) ProtoReflect() protoreflect.Message

func (*ProcessorSpec) Reset

func (x *ProcessorSpec) Reset()

func (*ProcessorSpec) SizeVT

func (m *ProcessorSpec) SizeVT() (n int)

func (*ProcessorSpec) String

func (x *ProcessorSpec) String() string

func (*ProcessorSpec) UnmarshalVT

func (m *ProcessorSpec) UnmarshalVT(dAtA []byte) error

type SystemInformationSpec

type SystemInformationSpec struct {
	Manufacturer string `protobuf:"bytes,1,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	ProductName  string `protobuf:"bytes,2,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"`
	Version      string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	SerialNumber string `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	Uuid         string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"`
	WakeUpType   string `protobuf:"bytes,6,opt,name=wake_up_type,json=wakeUpType,proto3" json:"wake_up_type,omitempty"`
	SkuNumber    string `protobuf:"bytes,7,opt,name=sku_number,json=skuNumber,proto3" json:"sku_number,omitempty"`
	// contains filtered or unexported fields
}

SystemInformationSpec represents the system information obtained from smbios.

func (*SystemInformationSpec) Descriptor deprecated

func (*SystemInformationSpec) Descriptor() ([]byte, []int)

Deprecated: Use SystemInformationSpec.ProtoReflect.Descriptor instead.

func (*SystemInformationSpec) GetManufacturer

func (x *SystemInformationSpec) GetManufacturer() string

func (*SystemInformationSpec) GetProductName

func (x *SystemInformationSpec) GetProductName() string

func (*SystemInformationSpec) GetSerialNumber

func (x *SystemInformationSpec) GetSerialNumber() string

func (*SystemInformationSpec) GetSkuNumber

func (x *SystemInformationSpec) GetSkuNumber() string

func (*SystemInformationSpec) GetUuid

func (x *SystemInformationSpec) GetUuid() string

func (*SystemInformationSpec) GetVersion

func (x *SystemInformationSpec) GetVersion() string

func (*SystemInformationSpec) GetWakeUpType

func (x *SystemInformationSpec) GetWakeUpType() string

func (*SystemInformationSpec) MarshalToSizedBufferVT

func (m *SystemInformationSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SystemInformationSpec) MarshalToVT

func (m *SystemInformationSpec) MarshalToVT(dAtA []byte) (int, error)

func (*SystemInformationSpec) MarshalVT

func (m *SystemInformationSpec) MarshalVT() (dAtA []byte, err error)

func (*SystemInformationSpec) ProtoMessage

func (*SystemInformationSpec) ProtoMessage()

func (*SystemInformationSpec) ProtoReflect

func (x *SystemInformationSpec) ProtoReflect() protoreflect.Message

func (*SystemInformationSpec) Reset

func (x *SystemInformationSpec) Reset()

func (*SystemInformationSpec) SizeVT

func (m *SystemInformationSpec) SizeVT() (n int)

func (*SystemInformationSpec) String

func (x *SystemInformationSpec) String() string

func (*SystemInformationSpec) UnmarshalVT

func (m *SystemInformationSpec) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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