compute

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CommitmentTerm_name = map[int32]string{
		0: "COMMITMENT_TERM_NONE",
		1: "COMMITMENT_TERM_1_MONTH",
		2: "COMMITMENT_TERM_3_MONTHS",
		3: "COMMITMENT_TERM_6_MONTHS",
		4: "COMMITMENT_TERM_12_MONTHS",
		5: "COMMITMENT_TERM_24_MONTHS",
		6: "COMMITMENT_TERM_36_MONTHS",
		7: "COMMITMENT_TERM_60_MONTHS",
	}
	CommitmentTerm_value = map[string]int32{
		"COMMITMENT_TERM_NONE":      0,
		"COMMITMENT_TERM_1_MONTH":   1,
		"COMMITMENT_TERM_3_MONTHS":  2,
		"COMMITMENT_TERM_6_MONTHS":  3,
		"COMMITMENT_TERM_12_MONTHS": 4,
		"COMMITMENT_TERM_24_MONTHS": 5,
		"COMMITMENT_TERM_36_MONTHS": 6,
		"COMMITMENT_TERM_60_MONTHS": 7,
	}
)

Enum value maps for CommitmentTerm.

View Source
var File_svc_compute_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CommitmentTerm

type CommitmentTerm int32
const (
	CommitmentTerm_COMMITMENT_TERM_NONE      CommitmentTerm = 0
	CommitmentTerm_COMMITMENT_TERM_1_MONTH   CommitmentTerm = 1
	CommitmentTerm_COMMITMENT_TERM_3_MONTHS  CommitmentTerm = 2
	CommitmentTerm_COMMITMENT_TERM_6_MONTHS  CommitmentTerm = 3
	CommitmentTerm_COMMITMENT_TERM_12_MONTHS CommitmentTerm = 4
	CommitmentTerm_COMMITMENT_TERM_24_MONTHS CommitmentTerm = 5
	CommitmentTerm_COMMITMENT_TERM_36_MONTHS CommitmentTerm = 6
	CommitmentTerm_COMMITMENT_TERM_60_MONTHS CommitmentTerm = 7
)

func (CommitmentTerm) Descriptor

func (CommitmentTerm) Enum

func (x CommitmentTerm) Enum() *CommitmentTerm

func (CommitmentTerm) EnumDescriptor deprecated

func (CommitmentTerm) EnumDescriptor() ([]byte, []int)

Deprecated: Use CommitmentTerm.Descriptor instead.

func (CommitmentTerm) Number

func (CommitmentTerm) String

func (x CommitmentTerm) String() string

func (CommitmentTerm) Type

type Image added in v0.9.2

type Image struct {
	Id                string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name              string           `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description       string           `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	DisplayName       string           `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Platform          string           `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"`
	SizeGib           int32            `protobuf:"varint,7,opt,name=size_gib,json=sizeGib,proto3" json:"size_gib,omitempty"`
	InstalledPackages []*Image_Package `protobuf:"bytes,8,rep,name=installed_packages,json=installedPackages,proto3" json:"installed_packages,omitempty"`
	// contains filtered or unexported fields
}

func (*Image) Descriptor deprecated added in v0.9.2

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

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetDescription added in v0.9.2

func (x *Image) GetDescription() string

func (*Image) GetDisplayName added in v0.9.2

func (x *Image) GetDisplayName() string

func (*Image) GetId added in v0.9.2

func (x *Image) GetId() string

func (*Image) GetInstalledPackages added in v0.9.2

func (x *Image) GetInstalledPackages() []*Image_Package

func (*Image) GetName added in v0.9.2

func (x *Image) GetName() string

func (*Image) GetPlatform added in v0.9.2

func (x *Image) GetPlatform() string

func (*Image) GetSizeGib added in v0.9.2

func (x *Image) GetSizeGib() int32

func (*Image) ProtoMessage added in v0.9.2

func (*Image) ProtoMessage()

func (*Image) ProtoReflect added in v0.9.2

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

func (*Image) Reset added in v0.9.2

func (x *Image) Reset()

func (*Image) String added in v0.9.2

func (x *Image) String() string

type Image_Package added in v0.9.2

type Image_Package struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Version     string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*Image_Package) Descriptor deprecated added in v0.9.2

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

Deprecated: Use Image_Package.ProtoReflect.Descriptor instead.

func (*Image_Package) GetDescription added in v0.9.2

func (x *Image_Package) GetDescription() string

func (*Image_Package) GetName added in v0.9.2

func (x *Image_Package) GetName() string

func (*Image_Package) GetVersion added in v0.9.2

func (x *Image_Package) GetVersion() string

func (*Image_Package) ProtoMessage added in v0.9.2

func (*Image_Package) ProtoMessage()

func (*Image_Package) ProtoReflect added in v0.9.2

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

func (*Image_Package) Reset added in v0.9.2

func (x *Image_Package) Reset()

func (*Image_Package) String added in v0.9.2

func (x *Image_Package) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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