quotas

package
v0.5.21 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Quotas

type Quotas struct {
	// Specifies the resource quota list.
	Resources []Resource `json:"resources"`
}

type Resource

type Resource struct {
	// Specifies the quota type.
	Type string `json:"type"`
	// Specifies the used amount of the quota.
	Used int `json:"used"`
	// Specifies the quota unit.
	Unit string `json:"unit"`
	// Specifies the total amount of the quota.
	Quota int `json:"quota"`
}

type ShowQuotasResponse

type ShowQuotasResponse struct {
	Quotas Quotas `json:"quotas,omitempty"`
}

type ShowQuotasResult

type ShowQuotasResult struct {
	golangsdk.Result
}

func ShowQuotas

func ShowQuotas(client *golangsdk.ServiceClient) (r ShowQuotasResult)

func (ShowQuotasResult) Extract

func (r ShowQuotasResult) Extract() (*ShowQuotasResponse, error)

Jump to

Keyboard shortcuts

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