package extensions
import "k8s.io/kubernetes/Godeps/_workspace/src/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 ¶
delegate.go doc.go
- Version
- v0.9.0
- Published
- Jan 21, 2015
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 minutes ago –
Tools for package owners.