Documentation ¶
Index ¶
- Variables
- type CPU
- type CPUCore
- func (*CPUCore) Descriptor() ([]byte, []int)deprecated
- func (x *CPUCore) GetCacheSizeBytes() int64
- func (x *CPUCore) GetMaxMhz() int32
- func (x *CPUCore) GetMinMhz() int32
- func (*CPUCore) ProtoMessage()
- func (x *CPUCore) ProtoReflect() protoreflect.Message
- func (x *CPUCore) Reset()
- func (x *CPUCore) String() string
- type Computer
- type Memory
- type MemoryChip
- func (*MemoryChip) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryChip) GetCapacityBytes() int64
- func (x *MemoryChip) GetManufacturer() string
- func (*MemoryChip) ProtoMessage()
- func (x *MemoryChip) ProtoReflect() protoreflect.Message
- func (x *MemoryChip) Reset()
- func (x *MemoryChip) String() string
- type Motherboard
- func (*Motherboard) Descriptor() ([]byte, []int)deprecated
- func (x *Motherboard) GetChipset() string
- func (x *Motherboard) GetCpu() *CPU
- func (x *Motherboard) GetMemorySlots() []*Memory
- func (*Motherboard) ProtoMessage()
- func (x *Motherboard) ProtoReflect() protoreflect.Message
- func (x *Motherboard) Reset()
- func (x *Motherboard) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_gke_internal_proto_test_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CPU ¶
type CPU struct { Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // CPU model. Cores map[string]*CPUCore `` // Map from core label to CPU core /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
CPU represent a computer central processing unit.
func (*CPU) Descriptor
deprecated
func (*CPU) ProtoMessage ¶
func (*CPU) ProtoMessage()
func (*CPU) ProtoReflect ¶
func (x *CPU) ProtoReflect() protoreflect.Message
type CPUCore ¶
type CPUCore struct { MinMhz int32 `protobuf:"varint,1,opt,name=min_mhz,json=minMhz,proto3" json:"min_mhz,omitempty"` // Minimum core clock. MaxMhz int32 `protobuf:"varint,2,opt,name=max_mhz,json=maxMhz,proto3" json:"max_mhz,omitempty"` // Maximum core clock. CacheSizeBytes int64 `protobuf:"varint,3,opt,name=cache_size_bytes,json=cacheSizeBytes,proto3" json:"cache_size_bytes,omitempty"` // L1 Cache size for the core, in bytes. // contains filtered or unexported fields }
CPUCore represents a core inside a CPU.
func (*CPUCore) Descriptor
deprecated
func (*CPUCore) GetCacheSizeBytes ¶
func (*CPUCore) ProtoMessage ¶
func (*CPUCore) ProtoMessage()
func (*CPUCore) ProtoReflect ¶
func (x *CPUCore) ProtoReflect() protoreflect.Message
type Computer ¶
type Computer struct { // Motherboard component of the computer. Motherboard *Motherboard `protobuf:"bytes,1,opt,name=motherboard,proto3" json:"motherboard,omitempty"` // contains filtered or unexported fields }
Computer represents a personal computer.
func (*Computer) Descriptor
deprecated
func (*Computer) GetMotherboard ¶
func (x *Computer) GetMotherboard() *Motherboard
func (*Computer) ProtoMessage ¶
func (*Computer) ProtoMessage()
func (*Computer) ProtoReflect ¶
func (x *Computer) ProtoReflect() protoreflect.Message
type Memory ¶
type Memory struct { Manufacturer string `protobuf:"bytes,1,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` // Memory manufacturer. Chips []*MemoryChip `protobuf:"bytes,2,rep,name=chips,proto3" json:"chips,omitempty"` // Memory chips. // contains filtered or unexported fields }
Memory represents computer memory.
func (*Memory) Descriptor
deprecated
func (*Memory) GetChips ¶
func (x *Memory) GetChips() []*MemoryChip
func (*Memory) GetManufacturer ¶
func (*Memory) ProtoMessage ¶
func (*Memory) ProtoMessage()
func (*Memory) ProtoReflect ¶
func (x *Memory) ProtoReflect() protoreflect.Message
type MemoryChip ¶
type MemoryChip struct { Manufacturer string `protobuf:"bytes,1,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` // Memory chip manufacturer. CapacityBytes int64 `protobuf:"varint,2,opt,name=capacity_bytes,json=capacityBytes,proto3" json:"capacity_bytes,omitempty"` // Memory chip capacity, in bytes. // contains filtered or unexported fields }
MemoryChip represents a computer memory chip that appears on a memory card.
func (*MemoryChip) Descriptor
deprecated
func (*MemoryChip) Descriptor() ([]byte, []int)
Deprecated: Use MemoryChip.ProtoReflect.Descriptor instead.
func (*MemoryChip) GetCapacityBytes ¶
func (x *MemoryChip) GetCapacityBytes() int64
func (*MemoryChip) GetManufacturer ¶
func (x *MemoryChip) GetManufacturer() string
func (*MemoryChip) ProtoMessage ¶
func (*MemoryChip) ProtoMessage()
func (*MemoryChip) ProtoReflect ¶
func (x *MemoryChip) ProtoReflect() protoreflect.Message
func (*MemoryChip) Reset ¶
func (x *MemoryChip) Reset()
func (*MemoryChip) String ¶
func (x *MemoryChip) String() string
type Motherboard ¶
type Motherboard struct { Chipset string `protobuf:"bytes,1,opt,name=chipset,proto3" json:"chipset,omitempty"` // Motherboard chipset. MemorySlots []*Memory `protobuf:"bytes,2,rep,name=memory_slots,json=memorySlots,proto3" json:"memory_slots,omitempty"` // Motherboard memory slots. Cpu *CPU `protobuf:"bytes,3,opt,name=cpu,proto3" json:"cpu,omitempty"` // CPU attached to the motherboard. // contains filtered or unexported fields }
Motherboard represents a computer motherboard.
func (*Motherboard) Descriptor
deprecated
func (*Motherboard) Descriptor() ([]byte, []int)
Deprecated: Use Motherboard.ProtoReflect.Descriptor instead.
func (*Motherboard) GetChipset ¶
func (x *Motherboard) GetChipset() string
func (*Motherboard) GetCpu ¶
func (x *Motherboard) GetCpu() *CPU
func (*Motherboard) GetMemorySlots ¶
func (x *Motherboard) GetMemorySlots() []*Memory
func (*Motherboard) ProtoMessage ¶
func (*Motherboard) ProtoMessage()
func (*Motherboard) ProtoReflect ¶
func (x *Motherboard) ProtoReflect() protoreflect.Message
func (*Motherboard) Reset ¶
func (x *Motherboard) Reset()
func (*Motherboard) String ¶
func (x *Motherboard) String() string
Click to show internal directories.
Click to hide internal directories.