usagev1

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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