Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(client *gophercloud.ServiceClient, opts *ListOpts) pagination.Pager
Types ¶
type Domain ¶
type Domain struct { // Description is the description of the domain. Description string `json:"description"` // Enabled is whether or not the project is enabled. Enabled bool `json:"enabled"` // ID is the unique ID of the domain. ID string `json:"id"` // Name is the name of the domain. Name string `json:"name"` }
Project is a base unit of ownership.
func ExtractDomains ¶
func ExtractDomains(r pagination.Page) ([]Domain, error)
ExtractDomains returns a slice of Domains contained in a single page of results.
type DomainPage ¶
type DomainPage struct {
pagination.LinkedPageBase
}
DomainPage is a single page of User results.
func (DomainPage) IsEmpty ¶
func (r DomainPage) IsEmpty() (bool, error)
IsEmpty determines whether or not a DomainPage contains any results.
func (DomainPage) NextPageURL ¶
func (r DomainPage) NextPageURL() (string, error)
NextPageURL extracts the "next" link from the links section of the result.
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
GetResult temporarily contains the response from the Get call.
func Get ¶
func Get(client *gophercloud.ServiceClient, id string) (r GetResult)
Get retrieves details on a single project, by ID.
Click to show internal directories.
Click to hide internal directories.