Versions in this module Expand all Collapse all v0 v0.0.1 Jan 19, 2019 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)