Versions in this module Expand all Collapse all v1 v1.5.0-1 Jun 24, 2023 v1.2.1 Mar 20, 2023 Changes in this version + func List(client *gophercloud.ServiceClient, opts *ListOpts) pagination.Pager + type CreateOpts struct + Description string + Enabled *bool + Name string + func (opts CreateOpts) ToTenantCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToTenantCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Tenant, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Tenant, error) + type ListOpts struct + Limit int + Marker string + type Tenant struct + Description string + Enabled bool + ID string + Name string + func ExtractTenants(r pagination.Page) ([]Tenant, error) + type TenantPage struct + func (r TenantPage) IsEmpty() (bool, error) + func (r TenantPage) NextPageURL() (string, error) + type UpdateOpts struct + Description *string + Enabled *bool + Name string + func (opts UpdateOpts) ToTenantUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToTenantUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Tenant, error)