Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2021 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + Description string + Extra map[string]interface{} + ID string + ParentRegionID string + func (opts CreateOpts) ToRegionCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToRegionCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Region, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, regionID string) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Region, error) + type ListOpts struct + ParentRegionID string + func (opts ListOpts) ToRegionListQuery() (string, error) + type ListOptsBuilder interface + ToRegionListQuery func() (string, error) + type Region struct + Description string + Extra map[string]interface{} + ID string + Links map[string]interface{} + ParentRegionID string + func ExtractRegions(r pagination.Page) ([]Region, error) + func (r *Region) UnmarshalJSON(b []byte) error + type RegionPage struct + func (r RegionPage) IsEmpty() (bool, error) + func (r RegionPage) NextPageURL() (string, error) + type UpdateOpts struct + Description *string + ParentRegionID string + func (opts UpdateOpts) ToRegionUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToRegionUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, regionID string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Region, error) Other modules containing this package github.com/pierreprinetti/gophercloud/v2 github.com/pierreprinetti/gophercloud/v3