Documentation ¶
Index ¶
- type Cluster
- type ClusterDetail
- type ClusterInfo
- type CreateClusterInfo
- type CreateClusterRequest
- type CreateClusterRequestBody
- type CreateClusterResponse
- type CreateSnapshotRequest
- type CreateSnapshotRequestBody
- type CreateSnapshotResponse
- type DeleteClusterRequest
- type DeleteClusterRequestBody
- type DeleteClusterResponse
- type DeleteSnapshotRequest
- type DeleteSnapshotResponse
- type Detail
- type Endpoints
- type FailedReason
- type ListClusterDetailsRequest
- type ListClusterDetailsResponse
- type ListClustersRequest
- type ListClustersResponse
- type ListNodeTypesRequest
- type ListNodeTypesResponse
- type ListSnapshotDetailsRequest
- type ListSnapshotDetailsResponse
- type ListSnapshotsRequest
- type ListSnapshotsResponse
- type MaintainWindow
- type NodeTypes
- type ParameterGroup
- type PublicEndpoints
- type PublicIp
- type ResetPasswordRequest
- type ResetPasswordRequestBody
- type ResetPasswordResponse
- type ResizeClusterRequest
- type ResizeClusterRequestBody
- type ResizeClusterResponse
- type ResizeInfo
- type RestartClusterRequest
- type RestartClusterRequestBody
- type RestartClusterResponse
- type Restore
- type RestoreClusterRequest
- type RestoreClusterRequestBody
- type RestoreClusterResponse
- type ScaleOut
- type SnapshoDetail
- type Snapshot
- type SnapshotResp
- type Snapshots
- type Tags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterDetail ¶
type ClusterDetail struct { ActionProgress map[string]string `json:"action_progress"` PublicIp *PublicIp `json:"public_ip"` NumberOfNode int32 `json:"number_of_node"` RecentEvent int32 `json:"recent_event"` VpcId string `json:"vpc_id"` UserName string `json:"user_name"` SecurityGroupId string `json:"security_group_id"` PrivateIp []string `json:"private_ip"` ParameterGroup *ParameterGroup `json:"parameter_group,omitempty"` NodeType string `json:"node_type"` PublicEndpoints []PublicEndpoints `json:"public_endpoints"` Id string `json:"id"` FailedReasons *FailedReason `json:"failed_reasons,omitempty"` AvailabilityZone string `json:"availability_zone"` Endpoints []Endpoints `json:"endpoints"` TaskStatus string `json:"task_status"` SubStatus string `json:"sub_status"` Created string `json:"created"` NodeTypeId string `json:"node_type_id"` Version string `json:"version"` MaintainWindow *MaintainWindow `json:"maintain_window"` Tags []Tags `json:"tags"` ResizeInfo *ResizeInfo `json:"resize_info,omitempty"` EnterpriseProjectId string `json:"enterprise_project_id"` Port int32 `json:"port"` Name string `json:"name"` SubnetId string `json:"subnet_id"` Updated string `json:"updated"` Status string `json:"status"` }
集群详情对象
func (ClusterDetail) String ¶
func (o ClusterDetail) String() string
type ClusterInfo ¶
type ClusterInfo struct { ActionProgress map[string]string `json:"action_progress"` FailedReasons *FailedReason `json:"failed_reasons,omitempty"` AvailabilityZone string `json:"availability_zone"` Endpoints []Endpoints `json:"endpoints"` TaskStatus string `json:"task_status"` PublicIp *PublicIp `json:"public_ip"` SubStatus string `json:"sub_status"` NumberOfNode int32 `json:"number_of_node"` RecentEvent int32 `json:"recent_event"` VpcId string `json:"vpc_id"` Created string `json:"created"` UserName string `json:"user_name"` SecurityGroupId string `json:"security_group_id"` Version string `json:"version"` EnterpriseProjectId string `json:"enterprise_project_id"` NodeType string `json:"node_type"` Port int32 `json:"port"` Name string `json:"name"` SubnetId string `json:"subnet_id"` PublicEndpoints []PublicEndpoints `json:"public_endpoints"` Id string `json:"id"` Updated string `json:"updated"` Status string `json:"status"` }
集群列表对象
func (ClusterInfo) String ¶
func (o ClusterInfo) String() string
type CreateClusterInfo ¶
type CreateClusterInfo struct { AvailabilityZone *string `json:"availability_zone,omitempty"` PublicIp *PublicIp `json:"public_ip,omitempty"` NumberOfNode int32 `json:"number_of_node"` VpcId string `json:"vpc_id"` UserName string `json:"user_name"` SecurityGroupId string `json:"security_group_id"` NumberOfCn *int32 `json:"number_of_cn,omitempty"` UserPwd string `json:"user_pwd"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` NodeType string `json:"node_type"` Port *int32 `json:"port,omitempty"` Name string `json:"name"` SubnetId string `json:"subnet_id"` }
集群对象
func (CreateClusterInfo) String ¶
func (o CreateClusterInfo) String() string
type CreateClusterRequest ¶
type CreateClusterRequest struct {
Body *CreateClusterRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateClusterRequest) String ¶
func (o CreateClusterRequest) String() string
type CreateClusterRequestBody ¶
type CreateClusterRequestBody struct {
Cluster *CreateClusterInfo `json:"cluster"`
}
This is a auto create Body Object
func (CreateClusterRequestBody) String ¶
func (o CreateClusterRequestBody) String() string
type CreateClusterResponse ¶
type CreateClusterResponse struct { Cluster *Cluster `json:"cluster,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateClusterResponse) String ¶
func (o CreateClusterResponse) String() string
type CreateSnapshotRequest ¶
type CreateSnapshotRequest struct {
Body *CreateSnapshotRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateSnapshotRequest) String ¶
func (o CreateSnapshotRequest) String() string
type CreateSnapshotRequestBody ¶
type CreateSnapshotRequestBody struct {
Snapshot *Snapshot `json:"snapshot"`
}
This is a auto create Body Object
func (CreateSnapshotRequestBody) String ¶
func (o CreateSnapshotRequestBody) String() string
type CreateSnapshotResponse ¶
type CreateSnapshotResponse struct { Snapshot *SnapshotResp `json:"snapshot,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSnapshotResponse) String ¶
func (o CreateSnapshotResponse) String() string
type DeleteClusterRequest ¶
type DeleteClusterRequest struct { ClusterId string `json:"cluster_id"` Body *DeleteClusterRequestBody `json:"body,omitempty"` }
Request Object
func (DeleteClusterRequest) String ¶
func (o DeleteClusterRequest) String() string
type DeleteClusterRequestBody ¶
type DeleteClusterRequestBody struct {
KeepLastManualSnapshot int32 `json:"keep_last_manual_snapshot"`
}
This is a auto create Body Object
func (DeleteClusterRequestBody) String ¶
func (o DeleteClusterRequestBody) String() string
type DeleteClusterResponse ¶
type DeleteClusterResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteClusterResponse) String ¶
func (o DeleteClusterResponse) String() string
type DeleteSnapshotRequest ¶
type DeleteSnapshotRequest struct {
SnapshotId string `json:"snapshot_id"`
}
Request Object
func (DeleteSnapshotRequest) String ¶
func (o DeleteSnapshotRequest) String() string
type DeleteSnapshotResponse ¶
type DeleteSnapshotResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteSnapshotResponse) String ¶
func (o DeleteSnapshotResponse) String() string
type Detail ¶
type Detail struct { Unit string `json:"unit"` Type *string `json:"type,omitempty"` Value string `json:"value"` }
节点类型详细
type Endpoints ¶
type FailedReason ¶
type FailedReason struct { ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` }
func (FailedReason) String ¶
func (o FailedReason) String() string
type ListClusterDetailsRequest ¶
type ListClusterDetailsRequest struct {
ClusterId string `json:"cluster_id"`
}
Request Object
func (ListClusterDetailsRequest) String ¶
func (o ListClusterDetailsRequest) String() string
type ListClusterDetailsResponse ¶
type ListClusterDetailsResponse struct { Cluster *ClusterDetail `json:"cluster,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListClusterDetailsResponse) String ¶
func (o ListClusterDetailsResponse) String() string
type ListClustersRequest ¶
type ListClustersRequest struct { }
Request Object
func (ListClustersRequest) String ¶
func (o ListClustersRequest) String() string
type ListClustersResponse ¶
type ListClustersResponse struct { Clusters *[]ClusterInfo `json:"clusters,omitempty"` Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListClustersResponse) String ¶
func (o ListClustersResponse) String() string
type ListNodeTypesRequest ¶
type ListNodeTypesRequest struct { }
Request Object
func (ListNodeTypesRequest) String ¶
func (o ListNodeTypesRequest) String() string
type ListNodeTypesResponse ¶
type ListNodeTypesResponse struct { NodeTypes *[]NodeTypes `json:"node_types,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListNodeTypesResponse) String ¶
func (o ListNodeTypesResponse) String() string
type ListSnapshotDetailsRequest ¶
type ListSnapshotDetailsRequest struct {
SnapshotId string `json:"snapshot_id"`
}
Request Object
func (ListSnapshotDetailsRequest) String ¶
func (o ListSnapshotDetailsRequest) String() string
type ListSnapshotDetailsResponse ¶
type ListSnapshotDetailsResponse struct { Snapshot *SnapshoDetail `json:"snapshot,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSnapshotDetailsResponse) String ¶
func (o ListSnapshotDetailsResponse) String() string
type ListSnapshotsRequest ¶
type ListSnapshotsRequest struct { }
Request Object
func (ListSnapshotsRequest) String ¶
func (o ListSnapshotsRequest) String() string
type ListSnapshotsResponse ¶
type ListSnapshotsResponse struct { Snapshots *[]Snapshots `json:"snapshots,omitempty"` Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSnapshotsResponse) String ¶
func (o ListSnapshotsResponse) String() string
type MaintainWindow ¶
type MaintainWindow struct { StartTime *string `json:"start_time,omitempty"` EndTime *string `json:"end_time,omitempty"` Day *string `json:"day,omitempty"` }
集群维护时间窗信息
func (MaintainWindow) String ¶
func (o MaintainWindow) String() string
type NodeTypes ¶
type NodeTypes struct { Detail []Detail `json:"detail"` Id string `json:"id"` SpecName string `json:"spec_name"` }
节点类型对象
type ParameterGroup ¶
type ParameterGroup struct { Name string `json:"name"` Id string `json:"id"` Status string `json:"status"` }
集群所关联的参数组信息
func (ParameterGroup) String ¶
func (o ParameterGroup) String() string
type PublicEndpoints ¶
type PublicEndpoints struct { PublicConnectInfo *string `json:"public_connect_info,omitempty"` JdbcUrl *string `json:"jdbc_url,omitempty"` }
func (PublicEndpoints) String ¶
func (o PublicEndpoints) String() string
type PublicIp ¶
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { ClusterId string `json:"cluster_id"` Body *ResetPasswordRequestBody `json:"body,omitempty"` }
Request Object
func (ResetPasswordRequest) String ¶
func (o ResetPasswordRequest) String() string
type ResetPasswordRequestBody ¶
type ResetPasswordRequestBody struct {
NewPassword string `json:"new_password"`
}
This is a auto create Body Object
func (ResetPasswordRequestBody) String ¶
func (o ResetPasswordRequestBody) String() string
type ResetPasswordResponse ¶
type ResetPasswordResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ResetPasswordResponse) String ¶
func (o ResetPasswordResponse) String() string
type ResizeClusterRequest ¶
type ResizeClusterRequest struct { ClusterId string `json:"cluster_id"` Body *ResizeClusterRequestBody `json:"body,omitempty"` }
Request Object
func (ResizeClusterRequest) String ¶
func (o ResizeClusterRequest) String() string
type ResizeClusterRequestBody ¶
type ResizeClusterRequestBody struct {
ScaleOut *ScaleOut `json:"scale_out,omitempty"`
}
This is a auto create Body Object
func (ResizeClusterRequestBody) String ¶
func (o ResizeClusterRequestBody) String() string
type ResizeClusterResponse ¶
type ResizeClusterResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ResizeClusterResponse) String ¶
func (o ResizeClusterResponse) String() string
type ResizeInfo ¶
type ResizeInfo struct { ResizeStatus *string `json:"resize_status,omitempty"` StartTime *string `json:"start_time,omitempty"` TargetNodeNum *int32 `json:"target_node_num,omitempty"` OriginNodeNum *int32 `json:"origin_node_num,omitempty"` }
集群扩容状态详情
func (ResizeInfo) String ¶
func (o ResizeInfo) String() string
type RestartClusterRequest ¶
type RestartClusterRequest struct { ClusterId string `json:"cluster_id"` Body *RestartClusterRequestBody `json:"body,omitempty"` }
Request Object
func (RestartClusterRequest) String ¶
func (o RestartClusterRequest) String() string
type RestartClusterRequestBody ¶
type RestartClusterRequestBody struct {
Restart *interface{} `json:"restart"`
}
This is a auto create Body Object
func (RestartClusterRequestBody) String ¶
func (o RestartClusterRequestBody) String() string
type RestartClusterResponse ¶
type RestartClusterResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RestartClusterResponse) String ¶
func (o RestartClusterResponse) String() string
type Restore ¶
type Restore struct { AvailabilityZone *string `json:"availability_zone,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` PublicIp *PublicIp `json:"public_ip,omitempty"` Port *int32 `json:"port,omitempty"` VpcId *string `json:"vpc_id,omitempty"` Name string `json:"name"` SecurityGroupId *string `json:"security_group_id,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` }
恢复对象
type RestoreClusterRequest ¶
type RestoreClusterRequest struct { SnapshotId string `json:"snapshot_id"` Body *RestoreClusterRequestBody `json:"body,omitempty"` }
Request Object
func (RestoreClusterRequest) String ¶
func (o RestoreClusterRequest) String() string
type RestoreClusterRequestBody ¶
type RestoreClusterRequestBody struct {
Restore *Restore `json:"restore"`
}
This is a auto create Body Object
func (RestoreClusterRequestBody) String ¶
func (o RestoreClusterRequestBody) String() string
type RestoreClusterResponse ¶
type RestoreClusterResponse struct { Cluster *Cluster `json:"cluster,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RestoreClusterResponse) String ¶
func (o RestoreClusterResponse) String() string
type SnapshoDetail ¶
type SnapshoDetail struct { ClusterId string `json:"cluster_id"` Size float64 `json:"size"` Name string `json:"name"` Description string `json:"description"` Finished string `json:"finished"` Started string `json:"started"` Id string `json:"id"` Type string `json:"type"` Status string `json:"status"` }
快照对象
func (SnapshoDetail) String ¶
func (o SnapshoDetail) String() string
type Snapshot ¶
type Snapshot struct { ClusterId string `json:"cluster_id"` Name string `json:"name"` Description *string `json:"description,omitempty"` }
快照对象
type SnapshotResp ¶
type SnapshotResp struct {
Id *string `json:"id,omitempty"`
}
func (SnapshotResp) String ¶
func (o SnapshotResp) String() string
type Snapshots ¶
type Snapshots struct { ClusterId string `json:"cluster_id"` Size float64 `json:"size"` Name string `json:"name"` Description string `json:"description"` Finished string `json:"finished"` Started string `json:"started"` Id string `json:"id"` Type string `json:"type"` Status string `json:"status"` }
快照对象列表
Source Files ¶
- model_cluster.go
- model_cluster_detail.go
- model_cluster_info.go
- model_create_cluster_info.go
- model_create_cluster_request.go
- model_create_cluster_request_body.go
- model_create_cluster_response.go
- model_create_snapshot_request.go
- model_create_snapshot_request_body.go
- model_create_snapshot_response.go
- model_delete_cluster_request.go
- model_delete_cluster_request_body.go
- model_delete_cluster_response.go
- model_delete_snapshot_request.go
- model_delete_snapshot_response.go
- model_detail.go
- model_endpoints.go
- model_failed_reason.go
- model_list_cluster_details_request.go
- model_list_cluster_details_response.go
- model_list_clusters_request.go
- model_list_clusters_response.go
- model_list_node_types_request.go
- model_list_node_types_response.go
- model_list_snapshot_details_request.go
- model_list_snapshot_details_response.go
- model_list_snapshots_request.go
- model_list_snapshots_response.go
- model_maintain_window.go
- model_node_types.go
- model_parameter_group.go
- model_public_endpoints.go
- model_public_ip.go
- model_reset_password_request.go
- model_reset_password_request_body.go
- model_reset_password_response.go
- model_resize_cluster_request.go
- model_resize_cluster_request_body.go
- model_resize_cluster_response.go
- model_resize_info.go
- model_restart_cluster_request.go
- model_restart_cluster_request_body.go
- model_restart_cluster_response.go
- model_restore.go
- model_restore_cluster_request.go
- model_restore_cluster_request_body.go
- model_restore_cluster_response.go
- model_scale_out.go
- model_snapsho_detail.go
- model_snapshot.go
- model_snapshot_resp.go
- model_snapshots.go
- model_tags.go