extensions

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package extensions provides information and interaction with the different extensions available for the OpenStack Identity service.

Index

Constants

This section is empty.

Variables

This section is empty.

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 *golangsdk.ServiceClient, alias string) common.GetResult

Get retrieves information for a specific extension using its alias.

func List

func List(c *golangsdk.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.

Directories

Path Synopsis
admin
roles
Package roles provides functionality to interact with and control roles on the API.
Package roles provides functionality to interact with and control roles on the API.
roles/testing
roles unit tests
roles unit tests
extensions unit tests
extensions unit tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL