package extensions
import "github.com/rackspace/gophercloud/openstack/identity/v2/extensions"
Package extensions provides information and interaction with the different extensions available for the OpenStack Identity service.
Index ¶
- func ExtractExtensions(page pagination.Page) ([]common.Extension, error)
- func Get(c *gophercloud.ServiceClient, alias string) common.GetResult
- func List(c *gophercloud.ServiceClient) pagination.Pager
- type ExtensionPage
Functions ¶
func ExtractExtensions ¶
func ExtractExtensions(page pagination.Page) ([]common.Extension, error)
ExtractExtensions accepts a Page struct, specifically an ExtensionPage struct, and extracts the elements into a slice of Extension structs.
func Get ¶
func Get(c *gophercloud.ServiceClient, alias string) common.GetResult
Get retrieves information for a specific extension using its alias.
func List ¶
func List(c *gophercloud.ServiceClient) pagination.Pager
List returns a Pager which allows you to iterate over the full collection of extensions. It does not accept query parameters.
Types ¶
type ExtensionPage ¶
type ExtensionPage struct { common.ExtensionPage }
ExtensionPage is a single page of Extension results.
func (ExtensionPage) IsEmpty ¶
func (page ExtensionPage) IsEmpty() (bool, error)
IsEmpty returns true if the current page contains at least one Extension.
Source Files ¶
- Version
- v1.0.0 (latest)
- Published
- Oct 28, 2014
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 days ago –
Tools for package owners.