Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CombinedQuota ¶
type CombinedResult ¶
type CombinedResult struct {
gcorecloud.Result
}
func ListCombined ¶
func ListCombined(c *gcorecloud.ServiceClient, opts ListCombinedOptsBuilder) (r CombinedResult)
ListCombined retrieves list of combined quota.
func (CombinedResult) Extract ¶
func (r CombinedResult) Extract() (*CombinedQuota, error)
Extract is a function that accepts a result and extracts a combined quota resource.
func (CombinedResult) ExtractInto ¶
func (r CombinedResult) ExtractInto(v interface{}) error
type CommonResult ¶
type CommonResult struct {
gcorecloud.Result
}
func ListGlobal ¶
func ListGlobal(c *gcorecloud.ServiceClient, clientID int) (r CommonResult)
ListGlobal retrieves list of global quota.
func ListRegional ¶
func ListRegional(c *gcorecloud.ServiceClient, clientID, regionID int) (r CommonResult)
ListRegional retrieves list of regional quota.
func (CommonResult) Extract ¶
func (r CommonResult) Extract() (*Quota, error)
Extract is a function that accepts a result and extracts a quotas resource.
func (CommonResult) ExtractInto ¶
func (r CommonResult) ExtractInto(v interface{}) error
type ListCombinedOpts ¶
type ListCombinedOpts struct {
ClientID int `q:"client_id"`
}
ListCombinedOpts allows the filtering and sorting List API response.
func (ListCombinedOpts) ToCombinedListQuery ¶
func (opts ListCombinedOpts) ToCombinedListQuery() (string, error)
ToCombinedListQuery formats a ListCombinedOpts into a query string.
type ListCombinedOptsBuilder ¶
ListCombinedOptsBuilder allows extensions to add additional parameters to the List request.
Click to show internal directories.
Click to hide internal directories.