Documentation ¶
Index ¶
- Variables
- type MachineRate
- func (*MachineRate) Descriptor() ([]byte, []int)deprecated
- func (x *MachineRate) GetCpus() *decimal.Decimal
- func (x *MachineRate) GetCreditsPerHour() *decimal.Decimal
- func (x *MachineRate) GetMachineType() string
- func (x *MachineRate) GetMemoryGb() *decimal.Decimal
- func (*MachineRate) ProtoMessage()
- func (x *MachineRate) ProtoReflect() protoreflect.Message
- func (x *MachineRate) Reset()
- func (x *MachineRate) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_chalk_usage_v1_rate_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MachineRate ¶
type MachineRate struct { MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` Cpus *decimal.Decimal `protobuf:"bytes,2,opt,name=cpus,proto3" json:"cpus,omitempty"` MemoryGb *decimal.Decimal `protobuf:"bytes,3,opt,name=memory_gb,json=memoryGb,proto3" json:"memory_gb,omitempty"` CreditsPerHour *decimal.Decimal `protobuf:"bytes,4,opt,name=credits_per_hour,json=creditsPerHour,proto3" json:"credits_per_hour,omitempty"` // contains filtered or unexported fields }
func (*MachineRate) Descriptor
deprecated
func (*MachineRate) Descriptor() ([]byte, []int)
Deprecated: Use MachineRate.ProtoReflect.Descriptor instead.
func (*MachineRate) GetCpus ¶
func (x *MachineRate) GetCpus() *decimal.Decimal
func (*MachineRate) GetCreditsPerHour ¶
func (x *MachineRate) GetCreditsPerHour() *decimal.Decimal
func (*MachineRate) GetMachineType ¶
func (x *MachineRate) GetMachineType() string
func (*MachineRate) GetMemoryGb ¶
func (x *MachineRate) GetMemoryGb() *decimal.Decimal
func (*MachineRate) ProtoMessage ¶
func (*MachineRate) ProtoMessage()
func (*MachineRate) ProtoReflect ¶
func (x *MachineRate) ProtoReflect() protoreflect.Message
func (*MachineRate) Reset ¶
func (x *MachineRate) Reset()
func (*MachineRate) String ¶
func (x *MachineRate) String() string
Click to show internal directories.
Click to hide internal directories.