Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProductTypeComputeServer = "compute-engine-vm" ProductTypeMacBareMetalDevice = "bare-metal-device" ProductTypeKubernetesNode = "compute-kubernetes-node" )
View Source
const HoursPerMonth = 730
Variables ¶
View Source
var ErrOrderFailed = common.ErrOrderFailed
Functions ¶
This section is empty.
Types ¶
type Commitment ¶ added in v2.1.0
type Commitment common.Commitment
func (Commitment) Columns ¶ added in v2.1.0
func (c Commitment) Columns() []string
func (Commitment) Keys ¶ added in v2.1.0
func (c Commitment) Keys() []string
func (Commitment) String ¶ added in v2.1.0
func (c Commitment) String() string
func (Commitment) Values ¶ added in v2.1.0
func (c Commitment) Values() map[string]any
type CommitmentList ¶ added in v2.1.0
type CommitmentUpdate ¶ added in v2.1.0
type CommitmentUpdate = common.CommitmentUpdateReq
type GenericCommitmentService ¶ added in v2.1.0
type GenericCommitmentService struct {
generic.ListService[CommitmentList, common.Commitment, Commitment]
generic.UpdateService[CommitmentUpdate, common.Commitment, Commitment]
}
func CommitmentService ¶ added in v2.1.0
func CommitmentService(client *goclient.Client) GenericCommitmentService
type GenericQuotaService ¶ added in v2.1.0
type GenericQuotaService struct {
generic.GetService[QuotaGet, common.Quota, QuotaOverview]
}
func QuotaService ¶ added in v2.1.0
func QuotaService(client *goclient.Client) GenericQuotaService
type Location ¶
func FindLocation ¶
type Module ¶
func (Module) AvailableAt ¶
type ProductType ¶
type ProductType common.ProductType
func ProductTypes ¶
func (ProductType) Columns ¶
func (p ProductType) Columns() []string
func (ProductType) Keys ¶
func (p ProductType) Keys() []string
func (ProductType) Values ¶
func (p ProductType) Values() map[string]any
type Quota ¶ added in v2.1.0
type Quota common.QuotaUsage
type QuotaGet ¶ added in v2.1.0
type QuotaGet = common.QuotaGetReq
type QuotaOverview ¶ added in v2.1.0
func (QuotaOverview) Quotas ¶ added in v2.1.0
func (o QuotaOverview) Quotas() []Quota
Click to show internal directories.
Click to hide internal directories.