Versions in this module Expand all Collapse all v0 v0.9.3 Apr 23, 2024 v0.9.2 Mar 22, 2024 v0.9.1 Mar 14, 2024 v0.9.0 Mar 6, 2024 v0.8.0 Sep 6, 2023 v0.7.0 Jun 26, 2023 v0.6.2 May 30, 2023 v0.6.1 Apr 19, 2023 v0.6.0 Mar 22, 2023 v0.5.28 Feb 1, 2023 Changes in this version + func CreateCluster(client *golangsdk.ServiceClient, opts CreateClusterOpts) (string, error) + func DeleteCluster(client *golangsdk.ServiceClient, opts DeleteClusterOpts) error + func ExtractClusterId(err error, raw *http.Response) (string, error) + func ResetPassword(client *golangsdk.ServiceClient, opts ResetPasswordOpts) (err error) + func ResizeCluster(client *golangsdk.ServiceClient, opts ResizeClusterOpts) (err error) + func RestartCluster(client *golangsdk.ServiceClient, opts RestartClusterOpts) (err error) + func WaitForCreate(c *golangsdk.ServiceClient, id string, secs int) error + func WaitForResize(c *golangsdk.ServiceClient, id string, secs int) error + func WaitForRestart(c *golangsdk.ServiceClient, id string, secs int) error + type ClusterDetail struct + ActionProgress map[string]interface{} + AvailabilityZone string + Created string + Endpoints []Endpoints + EnterpriseProjectId string + FailedReasons FailedReason + Id string + MaintainWindow MaintainWindow + Name string + NodeType string + NodeTypeId string + Nodes []Nodes + NumberOfNode int + ParameterGroup ParameterGroup + Port int + PrivateIp []string + PublicEndpoints []PublicEndpoints + PublicIp PublicIp + RecentEvent int + ResizeInfo ResizeInfo + SecurityGroupId string + Status string + SubStatus string + SubnetId string + Tags []Tags + TaskStatus string + Updated string + UserName string + Version string + VpcId string + func ListClusterDetails(client *golangsdk.ServiceClient, clusterId string) (*ClusterDetail, error) + type ClusterInfo struct + ActionProgress map[string]string + AvailabilityZone string + Created string + Endpoints []Endpoints + EnterpriseProjectId string + FailedReasons FailedReason + Id string + Name string + NodeType string + Nodes []Nodes + NumberOfNode int + Port int + PublicEndpoints []PublicEndpoints + PublicIp PublicIp + RecentEvent int + SecurityGroupId string + Status string + SubStatus string + SubnetId string + Tags []Tags + TaskStatus string + Updated string + UserName string + Version string + VpcId string + type CreateClusterOpts struct + AvailabilityZone string + EnterpriseProjectId string + Name string + NodeType string + NumberOfCn int + NumberOfNode int + Port int + PublicIp PublicIp + SecurityGroupId string + SubnetId string + UserName string + UserPwd string + VpcId string + type DeleteClusterOpts struct + ClusterId string + KeepLastManualSnapshot *int + type Endpoints struct + ConnectInfo string + JdbcUrl string + type FailedReason struct + ErrorCode string + ErrorMsg string + type ListClustersResponse struct + Clusters []ClusterInfo + Count int + func ListClusters(client *golangsdk.ServiceClient) (*ListClustersResponse, error) + type MaintainWindow struct + Day string + EndTime string + StartTime string + type Nodes struct + Id string + Status string + type ParameterGroup struct + Id string + Name string + Status string + type PublicEndpoints struct + JdbcUrl string + PublicConnectInfo string + type PublicIp struct + EipId string + PublicBindType string + type ResetPasswordOpts struct + ClusterId string + NewPassword string + type ResizeClusterOpts struct + ClusterId string + Count int + type ResizeInfo struct + OriginNodeNum int + ResizeStatus string + StartTime string + TargetNodeNum int + type RestartClusterOpts struct + ClusterId string + Restart interface{} + type Tags struct + Key string + Value string