gophercloud: github.com/rackspace/gophercloud/openstack/identity/v2/extensions Index | Files | Directories

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

Package Files

delegate.go doc.go

func ExtractExtensions Uses

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 Uses

func Get(c *gophercloud.ServiceClient, alias string) common.GetResult

Get retrieves information for a specific extension using its alias.

func List Uses

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.

type ExtensionPage Uses

type ExtensionPage struct {
    common.ExtensionPage
}

ExtensionPage is a single page of Extension results.

func (ExtensionPage) IsEmpty Uses

func (page ExtensionPage) IsEmpty() (bool, error)

IsEmpty returns true if the current page contains at least one Extension.

Directories

PathSynopsis
admin/rolesPackage roles provides functionality to interact with and control roles on the API.

Package extensions imports 4 packages (graph). Updated 2016-07-23. Refresh now. Tools for package owners.