Documentation
¶
Index ¶
- Variables
- func GetGeoMetryInfo(wg *sync.WaitGroup, ip_address string, status string, vm_id string, ...)
- func GetVMStatus(vm_name string, connectionConfig string) string
- func RequestGet(url string)
- type CloudConnectionInfo
- type IPStackInfo
- type KeepZero
- type KeyValueInfo
- type MCISInfo
- type NSInfo
- type RESP
- type RegionInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var CloudConnectionUrl = os.Getenv("SPIDER_URL")
var CloudConnectionUrl = "http://15.165.16.67:1024"
View Source
var MCISUrl = os.Getenv("TUMBLE_URL")
View Source
var NameSpaceUrl = os.Getenv("TUMBLE_URL")
var NameSpaceUrl = "http://15.165.16.67:1323"
View Source
var SpiderUrl = os.Getenv("SPIDER_URL")
View Source
var TumbleUrl = os.Getenv("TUMBLE_URL")
Functions ¶
func GetGeoMetryInfo ¶
func GetVMStatus ¶
func RequestGet ¶
func RequestGet(url string)
Types ¶
type CloudConnectionInfo ¶
type CloudConnectionInfo struct {
ID string `json:"id"`
ConfigName string `json:"ConfigName"`
ProviderName string `json:"ProviderName"`
DriverName string `json:"DriverName"`
CredentialName string `json:"CredentialName"`
RegionName string `json:"RegionName"`
Description string `json:"description"`
}
func GetConnectionList ¶
func GetConnectionList() []CloudConnectionInfo
func GetConnectionconfig ¶
func GetConnectionconfig(drivername string) CloudConnectionInfo
func GetCredentialList ¶
func GetCredentialList() []CloudConnectionInfo
func GetCredentialReg ¶
func GetCredentialReg() []CloudConnectionInfo
func GetDriverReg ¶
func GetDriverReg() []CloudConnectionInfo
type IPStackInfo ¶
type KeyValueInfo ¶
type MCISInfo ¶
type MCISInfo struct {
ID string `json:"id"`
Name string `json:"name"`
Status string `json:"status"`
VMNum string `json:"vm_num"`
}
func GetMCISList ¶
type NSInfo ¶
type RESP ¶
type RESP struct {
Region []struct {
RegionName string `json:"RegionName"`
ProviderName string `json:"ProviderName"`
KeyValueInfoList []KeyValueInfo `json:"KeyValueInfoList"`
} `json:"region"`
}
type RegionInfo ¶
type RegionInfo struct {
RegionName string `json:"RegionName"`
ProviderName string `json:"ProviderName"`
KeyValueInfoList []KeyValueInfo
}
func GetRegionList ¶
func GetRegionList() []RegionInfo
Click to show internal directories.
Click to hide internal directories.