catalog

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractServiceCatalog

func ExtractServiceCatalog(r pagination.Page) ([]tokens.CatalogEntry, error)

ExtractServiceCatalog extracts a slice of Catalog from a Collection acquired from List.

func List

func List(client *golangsdk.ServiceClient) pagination.Pager

List enumerates the services available to a specific user.

Types

type CatalogPage

type CatalogPage struct {
	pagination.LinkedPageBase
}

CatalogPage is a single page of Service results.

func (CatalogPage) IsEmpty

func (p CatalogPage) IsEmpty() (bool, error)

IsEmpty returns true if the CatalogPage contains no results.

func (CatalogPage) NextPageURL

func (r CatalogPage) NextPageURL() (string, error)

NextPageURL extracts the "next" link from the links section of the result.

Jump to

Keyboard shortcuts

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