model

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProductsSelectableList

func ProductsSelectableList() []string

func RegionsAvailableList

func RegionsAvailableList() []string

Types

type ProductMapping

type ProductMapping struct {
	ProductCode  string
	APICode      management.EnumProductType
	Default      bool
	Selectable   bool
	Deprecated   bool
	DisplayOrder int
}

func FindProductByAPICode

func FindProductByAPICode(apiCode management.EnumProductType) (ProductMapping, error)

func FindProductByName

func FindProductByName(product string) (ProductMapping, error)

type RegionMapping

type RegionMapping struct {
	Region    string
	URLSuffix string
	APICode   management.EnumRegionCode
	Default   bool
}

func FindRegionByAPICode

func FindRegionByAPICode(apiCode management.EnumRegionCode) RegionMapping

func FindRegionByName

func FindRegionByName(region string) RegionMapping

Jump to

Keyboard shortcuts

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