Documentation
¶
Index ¶
- Variables
- func RestCheckResource(c echo.Context) error
- func RestDelAllImage(c echo.Context) error
- func RestDelAllSecurityGroup(c echo.Context) error
- func RestDelAllSpec(c echo.Context) error
- func RestDelAllSshKey(c echo.Context) error
- func RestDelAllVNet(c echo.Context) error
- func RestDelImage(c echo.Context) error
- func RestDelSecurityGroup(c echo.Context) error
- func RestDelSpec(c echo.Context) error
- func RestDelSshKey(c echo.Context) error
- func RestDelVNet(c echo.Context) error
- func RestFetchSpecs(c echo.Context) error
- func RestGetAllImage(c echo.Context) error
- func RestGetAllSecurityGroup(c echo.Context) error
- func RestGetAllSpec(c echo.Context) error
- func RestGetAllSshKey(c echo.Context) error
- func RestGetAllVNet(c echo.Context) error
- func RestGetImage(c echo.Context) error
- func RestGetSecurityGroup(c echo.Context) error
- func RestGetSpec(c echo.Context) error
- func RestGetSshKey(c echo.Context) error
- func RestGetVNet(c echo.Context) error
- func RestLookupSpec(c echo.Context) error
- func RestLookupSpecList(c echo.Context) error
- func RestPostImage(c echo.Context) error
- func RestPostSecurityGroup(c echo.Context) error
- func RestPostSpec(c echo.Context) error
- func RestPostSshKey(c echo.Context) error
- func RestPostVNet(c echo.Context) error
- func RestPutImage(c echo.Context) error
- func RestPutSecurityGroup(c echo.Context) error
- func RestPutSpec(c echo.Context) error
- func RestPutSshKey(c echo.Context) error
- func RestPutVNet(c echo.Context) error
- type GpuInfo
- type ImageInfo
- type ImageReqInfo
- type KeyPairInfo
- type KeyPairReqInfo
- type NameOnly
- type ReturnValue
- type SecurityInfo
- type SecurityReqInfo
- type SecurityRuleInfo
- type SpecInfo
- type SpiderImageReqInfo
- type SpiderKeyPairReqInfo
- type SpiderSecurityReqInfo
- type SpiderSpecInfo
- type SpiderSpecList
- type SpiderVPCReqInfo
- type SubnetInfo
- type SubnetReqInfo
- type VCpuInfo
- type VPCInfo
- type VPCReqInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var SPIDER_URL string
Functions ¶
func RestCheckResource ¶
func RestDelAllImage ¶
func RestDelAllSecurityGroup ¶
func RestDelAllSpec ¶
func RestDelAllSshKey ¶
func RestDelAllVNet ¶ added in v0.1.3
func RestDelImage ¶
func RestDelSecurityGroup ¶
func RestDelSpec ¶
func RestDelSshKey ¶
func RestDelVNet ¶ added in v0.1.3
func RestFetchSpecs ¶ added in v0.1.3
func RestGetAllImage ¶
func RestGetAllSecurityGroup ¶
func RestGetAllSpec ¶
func RestGetAllSshKey ¶
func RestGetAllVNet ¶ added in v0.1.3
func RestGetImage ¶
func RestGetSecurityGroup ¶
func RestGetSpec ¶
func RestGetSshKey ¶
func RestGetVNet ¶ added in v0.1.3
func RestLookupSpec ¶
func RestLookupSpecList ¶
func RestPostSecurityGroup ¶
MCIS API Proxy: SecurityGroup
func RestPutImage ¶
func RestPutSecurityGroup ¶
func RestPutSpec ¶
func RestPutSshKey ¶
func RestPutVNet ¶ added in v0.1.3
Types ¶
type ImageReqInfo ¶ added in v0.1.3
type ImageReqInfo struct {
//IId IID // {NameId, SystemId}
Name string
}
type KeyPairInfo ¶ added in v0.1.3
type KeyPairReqInfo ¶ added in v0.1.3
type KeyPairReqInfo struct {
Name string
}
type ReturnValue ¶
type ReturnValue struct {
CustomStruct interface{}
}
type SecurityInfo ¶ added in v0.1.3
type SecurityReqInfo ¶ added in v0.1.3
type SecurityReqInfo struct {
Name string
VPCName string
SecurityRules *[]SecurityRuleInfo
}
type SecurityRuleInfo ¶ added in v0.1.3
type SpecInfo ¶
type SpecInfo struct {
Id string `json:"id"`
ConnectionName string `json:"connectionName"`
CspSpecName string `json:"cspSpecName"`
Name string `json:"name"`
Os_type string `json:"os_type"`
Num_vCPU string `json:"num_vCPU"`
Num_core string `json:"num_core"`
Mem_GiB string `json:"mem_GiB"`
Mem_MiB string `json:"mem_MiB"`
Storage_GiB string `json:"storage_GiB"`
Description string `json:"description"`
Cost_per_hour string `json:"cost_per_hour"`
Num_storage string `json:"num_storage"`
Max_num_storage string `json:"max_num_storage"`
Max_total_storage_TiB string `json:"max_total_storage_TiB"`
Net_bw_Gbps string `json:"net_bw_Gbps"`
Ebs_bw_Mbps string `json:"ebs_bw_Mbps"`
Gpu_model string `json:"gpu_model"`
Num_gpu string `json:"num_gpu"`
Gpumem_GiB string `json:"gpumem_GiB"`
Gpu_p2p string `json:"gpu_p2p"`
}
type SpiderImageReqInfo ¶ added in v0.1.3
type SpiderImageReqInfo struct {
ConnectionName string
ReqInfo ImageReqInfo
}
type SpiderKeyPairReqInfo ¶ added in v0.1.3
type SpiderKeyPairReqInfo struct {
ConnectionName string
ReqInfo KeyPairReqInfo
}
type SpiderSecurityReqInfo ¶ added in v0.1.3
type SpiderSecurityReqInfo struct {
ConnectionName string
ReqInfo SecurityReqInfo
}
type SpiderSpecInfo ¶
type SpiderSpecList ¶ added in v0.1.3
type SpiderSpecList struct {
Vmspec []SpiderSpecInfo `json:"vmspec"`
}
func LookupSpecList ¶
func LookupSpecList(connConfig string) (SpiderSpecList, error)
type SpiderVPCReqInfo ¶ added in v0.1.3
type SpiderVPCReqInfo struct {
ConnectionName string
ReqInfo VPCReqInfo
}
type SubnetInfo ¶ added in v0.1.3
type SubnetReqInfo ¶ added in v0.1.3
type VPCReqInfo ¶ added in v0.1.3
type VPCReqInfo struct {
Name string
IPv4_CIDR string
SubnetInfoList []SubnetReqInfo
}
Click to show internal directories.
Click to hide internal directories.