extensions

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 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

Get retrieves information for a specific extension using its alias.

func List

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