location

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLocation

func GetLocation(locationName string) (*infrav3.Metro, error)

GetLocation fetches a single location

func ListAllLocation

func ListAllLocation() ([]*infrav3.Metro, error)

func ListLocation

func ListLocation(partner string, limit, offset int) ([]*infrav3.Metro, int, error)

ListLocation is used to fetch the locations in the provided project. It accepts a project id a limit and an offset as inputs. It returns an error if there was a problem while fetching the locations. The function will return the list of locations, total locations count, and an error if applicable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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