Versions in this module Expand all Collapse all v2 v2.2.1 Sep 25, 2024 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type BatchCreateOpts []CreateOpts + func (opts BatchCreateOpts) ToLimitsCreateMap() (map[string]any, error) + type BatchCreateOptsBuilder interface + ToLimitsCreateMap func() (map[string]any, error) + type CreateOpts struct + Description string + DomainID string + ProjectID string + RegionID string + ResourceLimit int + ResourceName string + ServiceID string + func (opts CreateOpts) ToMap() (map[string]any, error) + type CreateResult struct + func BatchCreate(ctx context.Context, client *gophercloud.ServiceClient, ...) (r CreateResult) + func (r CreateResult) Extract() ([]Limit, error) + type DeleteResult struct + func Delete(ctx context.Context, client *gophercloud.ServiceClient, limitID string) (r DeleteResult) + type EnforcementModel struct + Description string + Name string + type EnforcementModelResult struct + func GetEnforcementModel(ctx context.Context, client *gophercloud.ServiceClient) (r EnforcementModelResult) + func (r EnforcementModelResult) Extract() (*EnforcementModel, error) + type GetResult struct + func Get(ctx context.Context, client *gophercloud.ServiceClient, limitID string) (r GetResult) + func (r GetResult) Extract() (*Limit, error) + type Limit struct + Description string + DomainID string + ID string + Links map[string]any + ProjectID string + RegionID string + ResourceLimit int + ResourceName string + ServiceID string + func ExtractLimits(r pagination.Page) ([]Limit, error) + type LimitOutput struct + Limit *Limit + type LimitPage struct + func (r LimitPage) IsEmpty() (bool, error) + func (r LimitPage) NextPageURL() (string, error) + type LimitsOutput struct + Limits []Limit + type ListOpts struct + DomainID string + ProjectID string + RegionID string + ResourceName string + ServiceID string + func (opts ListOpts) ToLimitListQuery() (string, error) + type ListOptsBuilder interface + ToLimitListQuery func() (string, error) + type UpdateOpts struct + Description *string + ResourceLimit *int + func (opts UpdateOpts) ToLimitUpdateMap() (map[string]any, error) + type UpdateOptsBuilder interface + ToLimitUpdateMap func() (map[string]any, error) + type UpdateResult struct + func Update(ctx context.Context, client *gophercloud.ServiceClient, id string, ...) (r UpdateResult) + func (r UpdateResult) Extract() (*Limit, error)