Help us shape the future of Go! Take the 2026 Go Developer Survey

catalog

package
v0.5.21 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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