Documentation ¶
Index ¶
- type AgentInstallContent
- type AgentInstallContentWrapper
- type AutoAction
- type AutoCondition
- type BenchmarkInfo
- type BenchmarkInfos
- type CheckMcisDynamicReqInfo
- type CheckVmDynamicReqInfo
- type DeploymentPlan
- type FilterCondition
- type FilterInfo
- type InspectOverview
- type InspectResource
- type InspectResourceAllResult
- type InspectResourceResult
- type McisCmdReq
- type McisConnectionConfigCandidatesReq
- type McisPolicyInfo
- type McisStatusInfo
- type McisStatusInfos
- type MonResultSimple
- type MonResultSimpleResponse
- type NetworkReq
- type Operation
- type ParameterKeyVal
- type Policies
- type Policy
- type PriorityCondition
- type PriorityInfo
- type RegionInfo
- type RegisterResourceAllResult
- type RegisterResourceResult
- type RegisterationOverview
- type ResourceCountOverview
- type ResourceOnCsp
- type ResourceOnCspInfo
- type ResourceOnSpider
- type ResourceOnSpiderInfo
- type ResourceOnTumblebug
- type ResourceOnTumblebugInfo
- type ResourcesByManageType
- type RestGetAllBenchmarkRequest
- type RestGetAllMcisPolicyResponse
- type RestGetAllMcisResponse
- type RestGetBenchmarkRequest
- type RestPostCmdMcisResponse
- type RestPostCmdMcisResponseWrapper
- type RestPostCmdMcisVmResponse
- type SpiderVMInfo
- type StatusCountInfo
- type StructElementCycle
- type TbCustomImageInfo
- type TbMcisDynamicReq
- type TbMcisInfo
- type TbMcisReq
- type TbNLBAddRemoveVMReq
- type TbNLBHealthCheckerInfo
- type TbNLBHealthCheckerReq
- type TbNLBInfo
- type TbNLBListenerInfo
- type TbNLBReq
- type TbNLBTargetGroup
- type TbScaleOutSubGroupReq
- type TbVmDynamicReq
- type TbVmInfo
- type TbVmRecommendReq
- type TbVmReq
- type TbVmSnapshotReq
- type TbVmStatusInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentInstallContent ¶
type AgentInstallContentWrapper ¶
type AgentInstallContentWrapper struct {
ResultArray AgentInstallContent `json:"resultArray"`
}
type AutoAction ¶
type AutoAction struct { ActionType string `json:"actionType"` PlacementAlgo string `json:"placementAlgo"` PostCommand McisCmdReq `json:"postCommand"` Vm TbVmInfo `json:"vm"` }
type AutoCondition ¶
type BenchmarkInfo ¶
type BenchmarkInfos ¶
type BenchmarkInfos []BenchmarkInfo
type CheckMcisDynamicReqInfo ¶
type CheckMcisDynamicReqInfo struct {
ReqCheck []CheckVmDynamicReqInfo `json:"reqCheck"`
}
type CheckVmDynamicReqInfo ¶
type DeploymentPlan ¶
type DeploymentPlan struct { Filter FilterInfo `json:"filter"` Limit string `json:"limit"` Priority PriorityInfo `json:"priority"` }
type FilterCondition ¶
type FilterInfo ¶
type FilterInfo struct {
Policy []FilterCondition `json:"policy"`
}
type InspectOverview ¶
type InspectResource ¶
type InspectResource struct { ConnectionName string `json:"connectionName"` ResourceOverview ResourceCountOverview `json:"resourceOverview"` ResourceType string `json:"resourceType"` Resources ResourcesByManageType `json:"resources"` SystemMessage string `json:"systemMessage"` }
type InspectResourceAllResult ¶
type InspectResourceAllResult struct { AvailableConnection int `json:"availableConnection"` CspOnlyOverview InspectOverview `json:"cspOnlyOverview"` ElapsedTime int `json:"elapsedTime"` InspectResult []InspectResourceResult `json:"inspectResult"` RegisteredConnection int `json:"registeredConnection"` TumblebugOverview InspectOverview `json:"tumblebugOverview"` }
type InspectResourceResult ¶
type InspectResourceResult struct { ConnectionName string `json:"connectionName"` CspOnlyOverview InspectOverview `json:"cspOnlyOverview"` ElapsedTime int `json:"elapsedTime"` SystemMessage string `json:"systemMessage"` TumblebugOverview InspectOverview `json:"tumblebugOverview"` }
type McisCmdReq ¶
type McisConnectionConfigCandidatesReq ¶
type McisConnectionConfigCandidatesReq struct {
CommonSpec []string `json:"commonSpec"`
}
type McisPolicyInfo ¶
type McisStatusInfo ¶
type McisStatusInfo struct { ID string `json:"id"` InstallMonAgent string `json:"installMonAgent"` // yes, no Label string `json:"label"` MasterIp string `json:"masterIp"` MasterSSHPort string `json:"masterSSHPort"` MasterVmID string `json:"masterVmId"` Name string `json:"name"` Status string `json:"status"` StatusCount StatusCountInfo `json:"statusCount"` SystemLabel string `json:"systemLabel"` TargetAction string `json:"targetAction"` TargetStatus string `json:"targetStatus"` Vm []TbVmStatusInfo `json:"vm"` }
type McisStatusInfos ¶
type McisStatusInfos []McisStatusInfo
type MonResultSimple ¶
type MonResultSimpleResponse ¶
type MonResultSimpleResponse struct { McisID string `json:"mcisId"` McisMonitoring MonResultSimple `json:"mcisMonitoring"` // yes, no NamespaceID string `json:"nsId"` }
type NetworkReq ¶
type ParameterKeyVal ¶
type Policy ¶
type Policy struct { AutoAction AutoAction `json:"autoAction"` AutoCondition AutoCondition `json:"autoCondition"` Status string `json:"status"` }
type PriorityCondition ¶
type PriorityCondition struct { Metric string `json:"metric"` Parameter []ParameterKeyVal `json:"parameter"` Weight string `json:"weight"` }
type PriorityInfo ¶
type PriorityInfo struct {
Policy []PriorityCondition `json:"policy"`
}
type RegionInfo ¶
type RegisterResourceAllResult ¶
type RegisterResourceAllResult struct {
RegisterationResult []RegisterResourceResult `json:"registerationResult"`
}
type RegisterResourceResult ¶
type RegisterResourceResult struct { ConnectionName string `json:"connectionName"` ElapsedTime int `json:"elapsedTime"` RegisterationOutputs tbcommon.TbIdList `json:"registerationOutputs"` RegisterationOverview RegisterationOverview `json:"registerationOverview"` SystemMessage string `json:"systemMessage"` }
type RegisterationOverview ¶
type ResourceCountOverview ¶
type ResourceOnCsp ¶
type ResourceOnCsp struct { Count int `json:"count"` Info []ResourceOnCspInfo `json:"info"` }
ResourcesOnCsp 와 ResourcesOnSpider 가 동일하여 ResourecesOnCspOrSpider 로 사용하는 것 같음.
type ResourceOnCspInfo ¶
type ResourceOnSpider ¶
type ResourceOnSpider struct { Count int `json:"count"` Info []ResourceOnSpiderInfo `json:"info"` }
ResourcesOnCsp 와 ResourcesOnSpider 가 동일하여 ResourecesOnCspOrSpider 로 사용하는 것 같음.
type ResourceOnSpiderInfo ¶
type ResourceOnTumblebug ¶
type ResourceOnTumblebug struct { Count int `json:"count"` Info []ResourceOnTumblebugInfo `json:"info"` }
type ResourceOnTumblebugInfo ¶
type ResourcesByManageType ¶
type ResourcesByManageType struct { OnCspOnly ResourceOnCsp `json:"onCspOnly"` OnCspTotal ResourceOnCsp `json:"onCspTotal"` OnSpider ResourceOnSpider `json:"onSpider"` OnTumblebug ResourceOnTumblebug `json:"onTumblebug"` }
type RestGetAllBenchmarkRequest ¶
type RestGetAllBenchmarkRequest struct {
Host string `json:"host"`
}
type RestGetAllMcisPolicyResponse ¶
type RestGetAllMcisPolicyResponse struct {
McisPolicy McisPolicyInfo `json:"mcisPolicy"`
}
type RestGetAllMcisResponse ¶
type RestGetAllMcisResponse struct {
Mcis []TbMcisInfo `json:"mcis"`
}
type RestGetBenchmarkRequest ¶
type RestGetBenchmarkRequest struct {
Host string `json:"host"`
}
type RestPostCmdMcisResponse ¶
type RestPostCmdMcisResponseWrapper ¶
type RestPostCmdMcisResponseWrapper struct {
ResultArray []RestPostCmdMcisResponse `json:"resultArray"`
}
type RestPostCmdMcisVmResponse ¶
type RestPostCmdMcisVmResponse struct {
Result string `json:"result"`
}
type SpiderVMInfo ¶
type SpiderVMInfo struct { CspId string `json:"cspid"` IID tbcommon.TbIID `json:"iid"` ImageIID tbcommon.TbIID `json:"imageIId"` KeyPairIID tbcommon.TbIID `json:"keyPairIId"` KeyPairName string `json:"keyPairName"` KeyValueList []tbcommon.TbKeyValue `json:"keyValueList"` Name string `json:"name"` NetworkInterface string `json:"networkInterface"` PrivateDns string `json:"networkInterface"` PrivateIP string `json:"privateIP"` PublicDns string `json:"publicDns"` PublicIP string `json:"publicIP"` Region RegionInfo `json:"region"` SecurityGroupIIds []tbcommon.TbIID `json:"securityGroupIIds"` SecurityGroupNames []string `json:"securityGroupNames"` SshaccessPoint string `json:"sshaccessPoint"` StartTime string `json:"startTime"` SubnetIID tbcommon.TbIID `json:"subnetIID"` SubnetName string `json:"subnetName"` VmblockDisk string `json:"vmblockDisk"` VmbootDisk string `json:"vmbootDisk"` VmspecName string `json:"vmspecName"` VmuserId string `json:"vmuserId"` VmuserPasswd string `json:"vmuserPasswd"` RootDeviceName string `json:"rootDeviceName"` RootDiskSize string `json:"rootDiskSize"` RootDiskType string `json:"rootDiskType"` VpcIID tbcommon.TbIID `json:"vpcIID"` VpcName string `json:"vpcName"` }
type StatusCountInfo ¶
type StatusCountInfo struct { CountCreating int `json:"countCreating"` CountFailed int `json:"countFailed"` CountRebooting int `json:"countRebooting"` CountResuming int `json:"countResuming"` CountRunning int `json:"countRunning"` CountSuspended int `json:"countSuspended"` CountSuspending int `json:"countSuspending"` CountTerminated int `json:"countTerminated"` CountTerminating int `json:"countTerminating"` CountTotal int `json:"countTotal"` CountUndefined int `json:"countUndefined"` }
type StructElementCycle ¶
type StructElementCycle struct {
Cycle string `json:"cycle"`
}
type TbCustomImageInfo ¶
type TbCustomImageInfo struct { AssociatedObjectList []string `json:"associatedObjectList"` ConnectionName string `json:"connectionName"` CreatedTime string `json:"createdTime"` CspCustomImageId string `json:"cspCustomImageId"` CspCustomImageName string `json:"cspCustomImageName"` Description string `json:"description"` GuestOS string `json:"guestOS"` ID string `json:"id"` KeyValueList []tbcommon.TbKeyValue `json:"keyValueList"` Name string `json:"name"` NameSpace string `json:"namespace"` SourceVmId string `json:"sourceVmId"` Status string `json:"status"` SystemLabel string `json:"systemLabel"` // contains filtered or unexported fields }
type TbMcisDynamicReq ¶
type TbMcisInfo ¶
type TbMcisInfo struct { ConfigureCloudAdaptiveNetwork string `json:"configureCloudAdaptiveNetwork"` ID string `json:"id"` Description string `json:"description"` InstallMonAgent string `json:"installMonAgent"` Label string `json:"label"` SystemLabel string `json:"systemLabel"` Name string `json:"name"` PlacementAlgo string `json:"placementAlgo"` Status string `json:"status"` StatusCount StatusCountInfo `json:"statusCount"` TargetAction string `json:"targetAction"` TargetStatus string `json:"targetStatus"` Vm []TbVmInfo `json:"vm"` }
type TbMcisReq ¶
type TbMcisReq struct { Description string `json:"description"` InstallMonAgent string `json:"installMonAgent"` Label string `json:"label"` Name string `json:"name"` PlacementAlgo string `json:"placementAlgo"` SystemLabel string `json:"systemLabel"` // Vm TbVmInfo `json:"vm"` Vm []TbVmReq `json:"vm"` }
type TbNLBAddRemoveVMReq ¶
type TbNLBAddRemoveVMReq struct {
TargetGroup []TbNLBTargetGroup `json:"targetGroup"`
}
type TbNLBHealthCheckerInfo ¶
type TbNLBHealthCheckerReq ¶
type TbNLBInfo ¶
type TbNLBInfo struct { AssociatedObjectList []string `json:"associatedObjectList"` ConnectionName string `json:"connectionName"` CreatedTime string `json:"createdTime"` CspNlbId string `json:"cspNlbId"` CspNlbName string `json:"cspNlbName"` Description string `json:"description"` HealthChecker TbNLBHealthCheckerInfo `json:"healthChecker"` Listener TbNLBListenerInfo `json:"listener"` Location tbcommon.TbGeoLocation `json:"location"` TargetGroup TbNLBTargetGroup `json:"targetGroup"` ID string `json:"id"` IsAutoGenerated bool `json:"isAutoGenerated"` KeyValueList []tbcommon.TbKeyValue `json:"keyValueList"` Name string `json:"name"` Status string `json:"status"` SystemLabel string `json:"systemLabel"` Scope string `json:"scope"` Type string `json:"type"` McisID string `json:"mcisId"` // TB에서 해당항목이 없지만 NLB는 McisID가 필수라 추가함. }
type TbNLBListenerInfo ¶
type TbNLBReq ¶
type TbNLBReq struct { ConnectionName string `json:"connectionName"` CspNlbId string `json:"cspNlbId"` Description string `json:"description"` Name string `json:"name"` Scope string `json:"scope"` Type string `json:"type"` VNetId string `json:"vNetId"` HealthCheckerReq TbNLBHealthCheckerReq `json:"healthCheckerReq"` Listener TbNLBListenerInfo `json:"listener"` TargetGroup TbNLBTargetGroup `json:"targetGroup"` IsAutoGenerated bool `json:"isAutoGenerated"` KeyValueList []tbcommon.TbKeyValue `json:"keyValueList"` Status string `json:"status"` SystemLabel string `json:"systemLabel"` }
type TbNLBTargetGroup ¶
type TbScaleOutSubGroupReq ¶
type TbScaleOutSubGroupReq struct {
NumVMsToAdd string `json:"numVMsToAdd"`
}
type TbVmDynamicReq ¶
type TbVmDynamicReq struct { CommonImage string `json:"commonImage"` CommonSpec string `json:"commonSpec"` ConnectionName string `json:"connectionName"` Description string `json:"description"` Label string `json:"label"` Name string `json:"name"` RootDiskSize string `json:"rootDiskSize"` RootDiskType string `json:"rootDiskType"` SubGroupSize string `json:"subGroupSize"` }
type TbVmInfo ¶
type TbVmInfo struct { ConnectionName string `json:"connectionName"` CreatedTime string `json:"createdTime"` CspViewVmDetail SpiderVMInfo `json:"cspViewVmDetail"` Description string `json:"description"` ID string `json:"id"` IdByCSP string `json:"idByCSP"` ImageID string `json:"imageId"` Label string `json:"label"` Location tbcommon.TbGeoLocation `json:"location"` MonAgentStatus string `json:"monAgentStatus"` Name string `json:"name"` NetworkAgentStatus string `json:"networkAgentStatus"` PrivateDns string `json:"privateDns"` PrivateIP string `json:"privateIP"` PublicDNS string `json:"publicDNS"` PublicIP string `json:"publicIP"` Region RegionInfo `json:"region"` RootDeviceName string `json:"rootDeviceName"` RootDiskSize string `json:"rootDiskSize"` RootDiskType string `json:"rootDiskType"` DataDiskIds []string `json:"dataDiskIds"` SecurityGroupIDs []string `json:"securityGroupIds"` SpecID string `json:"specId"` SshKeyID string `json:"sshKeyId"` SshPort string `json:"sshPort"` Status string `json:"status"` SubnetID string `json:"subnetId"` SystemMessage string `json:"systemMessage"` TargetAction string `json:"targetAction"` TargetStatus string `json:"targetStatus"` VNetID string `json:"vNetId"` VmBlockDisk string `json:"vmBlockDisk"` VmBootDisk string `json:"vmBootDisk"` SubGroupID string `json:"subGroupId"` VmUserAccount string `json:"vmUserAccount"` VmUserPassword string `json:"vmUserPassword"` }
type TbVmRecommendReq ¶
type TbVmRecommendReq struct { DiskSize string `json:"diskSize"` MaxResultNum string `json:"maxResultNum"` MemorySize string `json:"memorySize"` PlacementAlgo string `json:"placementAlgo"` PlacementParam []tbcommon.TbKeyValue `json:"placementParam"` RequestName string `json:"requestName"` VcpuSize string `json:"vcpuSize"` }
type TbVmReq ¶
type TbVmReq struct { ConnectionName string `json:"connectionName"` Description string `json:"description"` IdByCsp string `json:"idByCsp"` ImageID string `json:"imageId"` ImageType string `json:"imageType"` Label string `json:"label"` Name string `json:"name"` RootDiskSize string `json:"rootDiskSize"` RootDiskType string `json:"rootDiskType"` SecurityGroupIDs []string `json:"securityGroupIds"` SpecID string `json:"specId"` SshKeyID string `json:"sshKeyId"` SubnetID string `json:"subnetId"` VNetID string `json:"vNetId"` SubGroupSize string `json:"subGroupSize"` VmUserAccount string `json:"vmUserAccount"` VmUserPassword string `json:"vmUserPassword"` DataDiskIds []string `json:"dataDiskIds"` }
type TbVmSnapshotReq ¶
type TbVmSnapshotReq struct {
Name string `json:"name"`
}
type TbVmStatusInfo ¶
type TbVmStatusInfo struct { CreatedTime string `json:"createdTime"` CspVmID string `json:"cspVmId"` ID string `json:"id"` Location tbcommon.TbGeoLocation `json:"location"` MonAgentStatus string `json:"monAgentStatus"` Name string `json:"name"` NativeStatus string `json:"nativeStatus"` PrivateIP string `json:"privateIP"` PublicIP string `json:"publicIP"` SshPort string `json:"sshPort"` Status string `json:"status"` SystemMessage string `json:"systemMessage"` TargetAction string `json:"targetAction"` TargetStatus string `json:"targetStatus"` }
Source Files ¶
- AgentInstallContent.go
- AgentInstallContentWrapper.go
- AutoAction.go
- AutoCondition.go
- BenchmarkInfo.go
- CheckMcisDynamicReqInfo.go
- CheckVmDynamicReqInfo.go
- DeploymentPlan.go
- FilterCondition.go
- FilterInfo.go
- InspectOverview.go
- InspectResource.go
- InspectResourceAllResult.go
- InspectResourceResult.go
- McisCmdReq.go
- McisConnectionConfigCandidatesReq.go
- McisPolicyInfo.go
- McisStatusInfo.go
- MonResultSimple.go
- MonResultSimpleResponse.go
- NetworkReq.go
- Operation.go
- ParameterKeyVal.go
- Policy.go
- PriorityCondition.go
- PriorityInfo.go
- RegionInfo.go
- RegisterResourceAllResult.go
- RegisterResourceResult.go
- RegisterationOverview.go
- ResourceCountOverview.go
- ResourceOnCsp.go
- ResourceOnCspInfo.go
- ResourceOnSpider.go
- ResourceOnSpiderInfo.go
- ResourceOnTumblebug.go
- ResourceOnTumblebugInfo.go
- ResourcesByManageType.go
- RestGetAllBenchmarkRequest.go
- RestGetAllMcisPolicyResponse.go
- RestGetAllMcisResponse.go
- RestGetBenchmarkRequest.go
- RestPostCmdMcisResponse.go
- RestPostCmdMcisResponseWrapper.go
- RestPostCmdMcisVmResponse.go
- SpiderVMInfo.go
- StatusCountInfo.go
- TbCustomImageInfo.go
- TbMcisDynamicReq.go
- TbMcisInfo.go
- TbMcisReq.go
- TbNLBAddRemoveVMReq.go
- TbNLBHealthCheckerInfo.go
- TbNLBHealthCheckerReq.go
- TbNLBInfo.go
- TbNLBListenerInfo.go
- TbNLBReq.go
- TbNLBTargetGroup.go
- TbScaleOutVmGroupReq.go
- TbVmDynamicReq.go
- TbVmInfo.go
- TbVmRecommendReq.go
- TbVmReq.go
- TbVmSnapshotReq.go
- TbVmStatusInfo.go
Click to show internal directories.
Click to hide internal directories.