Documentation
¶
Index ¶
- type FilterSpecsByRangeRequest
- type Range
- type RestFilterSpecsResponse
- type RestGetAllImageResponse
- type RestGetAllSecurityGroupResponse
- type RestGetAllSpecResponse
- type RestGetAllSshKeyResponse
- type RestGetAllVNetResponse
- type RestLookupImageRequest
- type RestLookupSpecRequest
- type RestSearchImageRequest
- type SpiderGpuInfo
- type SpiderGpuInfos
- type SpiderImageInfo
- type SpiderImageInfos
- type SpiderSecurityRuleInfo
- type SpiderSpecInfo
- type SpiderSpecInfos
- type SpiderSubnetInfo
- type SpiderSubnetInfos
- type SpiderSubnetReqInfo
- type SpiderVCpuInfo
- type TbImageInfo
- type TbImageInfos
- type TbImageReq
- type TbSecurityGroupInfo
- type TbSecurityGroupInfos
- type TbSecurityGroupReq
- type TbSpecInfo
- type TbSpecInfos
- type TbSpecReq
- type TbSshKeyInfo
- type TbSshKeyInfos
- type TbSshKeyReq
- type TbSubnetInfo
- type TbSubnetInfos
- type TbSubnetReq
- type TbSubnetReqs
- type TbVNetInfo
- type TbVNetInfos
- type TbVNetReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilterSpecsByRangeRequest ¶
type FilterSpecsByRangeRequest struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
ConnectionName string `json:"connectionName"`
CspSpecName string `json:"cspSpecName"`
OsType string `json:"osType"`
CostPerHour Range `json:"costPerHour"`
EbsBwMbps Range `json:"ebsBwMbps"`
EvaluationScore01 Range `json:"evaluationScore01"`
EvaluationScore02 Range `json:"evaluationScore02"`
EvaluationScore03 Range `json:"evaluationScore03"`
EvaluationScore04 Range `json:"evaluationScore04"`
EvaluationScore05 Range `json:"evaluationScore05"`
EvaluationScore06 Range `json:"evaluationScore06"`
EvaluationScore07 Range `json:"evaluationScore07"`
EvaluationScore08 Range `json:"evaluationScore08"`
EvaluationScore09 Range `json:"evaluationScore09"`
EvaluationScore10 Range `json:"evaluationScore10"`
EvaluationStatus string `json:"evaluationStatus"`
GpuModel string `json:"gpuModel"`
GpuP2p string `json:"gpuP2p"`
MaxNumStorage Range `json:"maxNumStorage"`
MaxTotalStorageTiB Range `json:"maxTotalStorageTiB"`
MemGiB Range `json:"memGiB"`
NetBwGbps Range `json:"netBwGbps"`
NumCore Range `json:"numCore"`
NumGpu Range `json:"numGpu"`
NumStorage Range `json:"numStorage"`
NumVCPU Range `json:"numvCPU"`
StorageGiB Range `json:"storageGiB"`
}
type RestFilterSpecsResponse ¶
type RestFilterSpecsResponse struct {
SpaceInfo []TbSpecInfo `json:"spec"`
}
type RestGetAllImageResponse ¶
type RestGetAllImageResponse struct {
Image []TbImageInfo `json:"image"`
}
type RestGetAllSecurityGroupResponse ¶
type RestGetAllSecurityGroupResponse struct {
SecurityGroup TbSecurityGroupInfo `json:"securityGroup"`
}
type RestGetAllSpecResponse ¶
type RestGetAllSpecResponse struct {
Spec []TbSpecInfo `json:"spec"`
}
type RestGetAllSshKeyResponse ¶
type RestGetAllSshKeyResponse struct {
SshKey TbSshKeyInfo `json:"sshKey"`
}
type RestGetAllVNetResponse ¶
type RestGetAllVNetResponse struct {
// contains filtered or unexported fields
}
type RestLookupImageRequest ¶
type RestLookupSpecRequest ¶
type RestSearchImageRequest ¶
type RestSearchImageRequest struct {
Keywords []string `json:"keywords"`
}
type SpiderGpuInfo ¶
type SpiderGpuInfos ¶
type SpiderGpuInfos []SpiderGpuInfo
type SpiderImageInfo ¶
type SpiderImageInfos ¶
type SpiderImageInfos []SpiderImageInfo
type SpiderSecurityRuleInfo ¶
type SpiderSpecInfo ¶
type SpiderSpecInfo struct {
Gpu SpiderGpuInfo `json:"gpu"`
KeyValueList tbcommon.TbKeyValue `json:"keyValueList"`
Mem string `json:"mem"`
Name string `json:"name"`
Region string `json:"region"`
Vcpu SpiderVCpuInfo `json:"vCpu"`
}
type SpiderSpecInfos ¶
type SpiderSpecInfos []SpiderSpecInfo
type SpiderSubnetInfo ¶
type SpiderSubnetInfo struct {
IID tbcommon.TbIID `json:"iid"`
Ipv4_CIDR string `json:"ipv4_CIDR"`
KeyValueList []tbcommon.TbKeyValue `json:"keyValueList"`
}
type SpiderSubnetInfos ¶
type SpiderSubnetInfos []SpiderSubnetInfo
type SpiderSubnetReqInfo ¶
type SpiderSubnetReqInfo struct {
Name string `json:"name"`
Ipv4_CIDR string `json:"ipv4_CIDR"`
KeyValueList []tbcommon.TbKeyValue `json:"keyValueList"`
}
type SpiderVCpuInfo ¶
type TbImageInfo ¶
type TbImageInfo struct {
AssociatedObjectList []string `json:"associatedObjectList"`
ConnectionName string `json:"connectionName"`
CreationDate string `json:"creationDate"`
CspImageId string `json:"cspImageId"`
CspImageName string `json:"cspImageName"`
Description string `json:"description"`
GuestOS string `json:"guestOS"`
ID string `json:"id"`
IsAutoGenerated string `json:"isAutoGenerated"`
KeyValueList []tbcommon.TbKeyValue `json:"keyValueList"`
Name string `json:"name"`
Namespace string `json:"namespace"` //required
Status string `json:"status"`
}
type TbImageInfos ¶
type TbImageInfos []TbImageInfo
type TbImageReq ¶
type TbSecurityGroupInfo ¶
type TbSecurityGroupInfo struct {
AssociatedObjectList []string `json:"associatedObjectList"`
ConnectionName string `json:"connectionName"`
CspSecurityGroupId string `json:"cspSecurityGroupId"`
CspSecurityGroupName string `json:"cspSecurityGroupName"`
Description string `json:"description"`
FirewallRules []SpiderSecurityRuleInfo `json:"firewallRules"`
ID string `json:"id"`
IsAutoGenerated string `json:"isAutoGenerated"`
KeyValueList []tbcommon.TbKeyValue `json:"keyValueList"`
Name string `json:"name"`
SystemLabel string `json:"systemLabel"`
VNetID string `json:"vNetId"`
}
type TbSecurityGroupInfos ¶
type TbSecurityGroupInfos []TbSecurityGroupInfo
type TbSecurityGroupReq ¶
type TbSecurityGroupReq struct {
ConnectionName string `json:"connectionName"`
Description string `json:"description"`
FirewallRules []SpiderSecurityRuleInfo `json:"firewallRules"`
Name string `json:"name"`
VNetID string `json:"vNetId"`
}
type TbSpecInfo ¶
type TbSpecInfo struct {
AssociatedObjectList []string `json:"associatedObjectList"`
ConnectionName string `json:"connectionName"`
CostPerHour float32 `json:"costPerHour"`
CspSpecName string `json:"cspSpecName"`
Description string `json:"description"`
EbsBwMbps int `json:"ebsBwMbps"`
EvaluationScore01 float32 `json:"evaluationScore01"`
EvaluationScore02 float32 `json:"evaluationScore02"`
EvaluationScore03 float32 `json:"evaluationScore03"`
EvaluationScore04 float32 `json:"evaluationScore04"`
EvaluationScore05 float32 `json:"evaluationScore05"`
EvaluationScore06 float32 `json:"evaluationScore06"`
EvaluationScore07 float32 `json:"evaluationScore07"`
EvaluationScore08 float32 `json:"evaluationScore08"`
EvaluationScore09 float32 `json:"evaluationScore09"`
EvaluationScore10 float32 `json:"evaluationScore10"`
EvaluationStatus string `json:"evaluationStatus"`
GpuMemGiB float32 `json:"gpuMemGiB"`
GpuModel string `json:"gpuModel"`
GpuP2p string `json:"gpuP2p"`
ID string `json:"id"`
IsAutoGenerated bool `json:"isAutoGenerated"`
MaxNumStorage int `json:"maxNumStorage"`
MaxTotalStorageTiB int `json:"maxTotalStorageTiB"`
MemGiB float32 `json:"memGiB"`
Name string `json:"name"`
Namespace string `json:"namespace"`
NetBwGbps int `json:"netBwGbps"`
NumCore int `json:"numCore"`
NumGpu int `json:"numGpu"`
NumStorage int `json:"numStorage"`
NumVCPU int `json:"numvCPU"`
OrderInFilteredResult int `json:"orderInFilteredResult"`
OsType string `json:"osType"`
StorageGiB int `json:"storageGiB"`
}
type TbSpecInfos ¶
type TbSpecInfos []TbSpecInfo
type TbSshKeyInfo ¶
type TbSshKeyInfo struct {
AssociatedObjectList []string `json:"associatedObjectList"`
ConnectionName string `json:"connectionName"`
CspSshKeyName string `json:"cspSshKeyName"`
Description string `json:"description"`
Fingerprint string `json:"fingerprint"`
ID string `json:"id"`
IsAutoGenerated bool `json:"isAutoGenerated"`
KeyValueInfos []tbcommon.TbKeyValue `json:"keyValueList"`
Name string `json:"name"`
PrivateKey string `json:"privateKey"`
PublicKey string `json:"publicKey"`
Username string `json:"username"`
VerifiedUsername string `json:"verifiedUsername"`
}
type TbSshKeyInfos ¶
type TbSshKeyInfos []TbSshKeyInfo
type TbSshKeyReq ¶
type TbSubnetInfo ¶
type TbSubnetInfos ¶
type TbSubnetInfos []TbSubnetInfo
type TbSubnetReq ¶
type TbSubnetReq struct {
Description string `json:"description"`
Ipv4_CIDR string `json:"ipv4_CIDR"`
KeyValueInfos []tbcommon.TbKeyValue `json:"keyValueList"`
Name string `json:"name"`
}
type TbSubnetReqs ¶
type TbSubnetReqs []TbSubnetReq
type TbVNetInfo ¶
type TbVNetInfo struct {
AssociatedObjectList []string `json:"associatedObjectList"`
CidrBlock string `json:"cidrBlock"`
ConnectionName string `json:"connectionName"`
CspVNetID string `json:"cspVNetId"`
CspVNetName string `json:"cspVNetName"`
Description string `json:"description"`
ID string `json:"id"`
IsAutoGenerated bool `json:"isAutoGenerated"`
KeyValueInfos []tbcommon.TbKeyValue `json:"keyValueList"`
Name string `json:"name"`
Statue string `json:"status"`
SubnetInfoList []TbSubnetInfo `json:"subnetInfoList"`
SystemLabel string `json:"systemLabel"`
}
type TbVNetInfos ¶
type TbVNetInfos []TbVNetInfo
Source Files
¶
- FilterSpecsByRangeRequest.go
- Range.go
- RestFilterSpecsResponse.go
- RestGetAllImageResponse.go
- RestGetAllSecurityGroupResponse.go
- RestGetAllSpecResponse.go
- RestGetAllSshKeyResponse.go
- RestGetAllVNetResponse.go
- RestLookupImageRequest.go
- RestLookupSpecRequest.go
- RestSearchImageRequest.go
- SpiderGpuInfo.go
- SpiderImageInfo.go
- SpiderSecurityRuleInfo.go
- SpiderSpecInfo.go
- SpiderSubnetInfo.go
- SpiderSubnetReqInfo.go
- SpiderVCpuInfo.go
- TbImageInfo.go
- TbImageReq.go
- TbSecurityGroupInfo.go
- TbSecurityGroupReq.go
- TbSpecInfo.go
- TbSpecReq.go
- TbSshKeyInfo.go
- TbSshKeyReq.go
- TbSubnetInfo.go
- TbSubnetReq.go
- TbVNetInfo.go
- TbVNetReq.go
Click to show internal directories.
Click to hide internal directories.