Documentation
¶
Index ¶
- Variables
- func GenId(name string) string
- func GenMcisKey(nsId string, mcisId string, vmId string) string
- func GenResourceKey(nsId string, resourceType string, resourceId string) string
- func GenUuid() string
- func GetCspResourceId(nsId string, resourceType string, resourceId string) (string, error)
- func LookupKeyValueList(kvl []KeyValue, key string) string
- func NsValidation() echo.MiddlewareFunc
- func PrintJsonPretty(v interface{})
- func RestCheckNs(c echo.Context) error
- func RestDelAllNs(c echo.Context) error
- func RestDelNs(c echo.Context) error
- func RestGetAllNs(c echo.Context) error
- func RestGetConnConfig(c echo.Context) error
- func RestGetConnConfigList(c echo.Context) error
- func RestGetNs(c echo.Context) error
- func RestGetRegion(c echo.Context) error
- func RestGetRegionList(c echo.Context) error
- func RestPostNs(c echo.Context) error
- func RestPutNs(c echo.Context) error
- type ConnConfig
- type ConnConfigList
- type IID
- type KeyValue
- type Region
- type RegionList
Constants ¶
This section is empty.
Variables ¶
View Source
var SPIDER_URL string
Functions ¶
func GenResourceKey ¶
func GetCspResourceId ¶
func LookupKeyValueList ¶
func NsValidation ¶
func NsValidation() echo.MiddlewareFunc
func PrintJsonPretty ¶
func PrintJsonPretty(v interface{})
func RestCheckNs ¶
func RestDelAllNs ¶
func RestGetAllNs ¶
func RestGetConnConfig ¶
func RestGetConnConfigList ¶
func RestGetRegion ¶
func RestGetRegionList ¶
Types ¶
type ConnConfig ¶
type ConnConfig struct { ConfigName string ProviderName string DriverName string CredentialName string RegionName string }
func GetConnConfig ¶
func GetConnConfig(ConnConfigName string) (ConnConfig, error)
type ConnConfigList ¶
type ConnConfigList struct {
Connectionconfig []ConnConfig `json:"connectionconfig"`
}
func GetConnConfigList ¶
func GetConnConfigList() (ConnConfigList, error)
type IID ¶ added in v0.1.3
Spider 2020-03-30 https://github.com/cloud-barista/cb-spider/blob/master/cloud-control-manager/cloud-driver/interfaces/resources/IId.go
type RegionList ¶
type RegionList struct {
Region []Region `json:"region"`
}
func GetRegionList ¶
func GetRegionList() (RegionList, error)
Click to show internal directories.
Click to hide internal directories.