Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnRegisterRegion ¶
Types ¶
type RegionInfo ¶
type RegionInfo struct { RegionName string // ex) "region01" ProviderName string // ex) "GCP" KeyValueInfoList []icbs.KeyValue // ex) { {region, us-east1}, }
====================================================================
func GetRegion ¶
func GetRegion(regionName string) (*RegionInfo, error)
1. check params 2. get CredentialInfo from cb-store
func ListRegion ¶
func ListRegion() ([]*RegionInfo, error)
func RegisterRegion ¶
func RegisterRegion(regionName string, providerName string, keyValueInfoList []icbs.KeyValue) (*RegionInfo, error)
1. check params 2. insert them into cb-store
func RegisterRegionInfo ¶
func RegisterRegionInfo(rgnInfo RegionInfo) (*RegionInfo, error)
Click to show internal directories.
Click to hide internal directories.