Versions in this module Expand all Collapse all v0 v0.0.5 Sep 17, 2020 v0.0.4 Sep 17, 2020 v0.0.3 Sep 17, 2020 v0.0.2 Sep 17, 2020 v0.0.1 Sep 11, 2020 Changes in this version + func List(client *golangsdk.ServiceClient, opts ListGaussDBBuilder) pagination.Pager + type BackupStrategyOpt struct + KeepDays int + StartTime string + type Coordinator struct + AzCode string + type CreateGaussDBBuilder interface + ToInstancesCreateMap func() (map[string]interface{}, error) + type CreateGaussDBOpts struct + AvailabilityZone string + BackupStrategy *BackupStrategyOpt + ConfigurationId string + CoordinatorNum int + DataStore DataStoreOpt + DiskEncryptionId string + DsspoolId string + EnterpriseProjectId string + Flavor string + Ha *HaOpt + Name string + Password string + Port string + Region string + ReplicaOfId string + RestorePoint *RestorePointOpt + SecurityGroupId string + ShardingNum int + SubnetId string + TimeZone string + Volume VolumeOpt + VpcId string + func (opts CreateGaussDBOpts) ToInstancesCreateMap() (map[string]interface{}, error) + type CreateResponse struct + Instance GaussDBResponse + type CreateResult struct + func Create(client *golangsdk.ServiceClient, opts CreateGaussDBBuilder) (r CreateResult) + func (r CreateResult) Extract() (*CreateResponse, error) + type DataStoreOpt struct + Type string + Version string + type DeleteResponse struct + JobId string + type DeleteResult struct + func Delete(client *golangsdk.ServiceClient, instanceId string) (r DeleteResult) + func (r DeleteResult) Extract() (*DeleteResponse, error) + type GaussDBInstance struct + BackupStrategy BackupStrategyOpt + DataStore DataStoreOpt + DbUserName string + DiskEncryptionId string + DsspoolId string + EnterpriseProjectId string + FlavorRef string + Ha HaOpt + Id string + MaintenanceWindow string + Name string + Nodes []Nodes + Port int + PrivateIps []string + PublicIps []string + Region string + SecurityGroupId string + Status string + SubnetId string + SwitchStrategy string + TimeZone string + Type string + Volume VolumeOpt + VpcId string + func GetInstanceByID(client *golangsdk.ServiceClient, instanceId string) (GaussDBInstance, error) + type GaussDBPage struct + func (r GaussDBPage) IsEmpty() (bool, error) + type GaussDBResponse struct + Id string + Status string + type HaOpt struct + Consistency string + Mode string + ReplicationMode string + type ListGaussDBBuilder interface + ToGaussDBListDetailQuery func() (string, error) + type ListGaussDBInstanceOpts struct + DataStoreType string + Id string + Limit int + Name string + Offset int + SubnetId string + Type string + VpcId string + func (opts ListGaussDBInstanceOpts) ToGaussDBListDetailQuery() (string, error) + type ListGaussDBResponse struct + Instances []GaussDBInstance + TotalCount int + func ExtractGaussDBInstances(r pagination.Page) (ListGaussDBResponse, error) + type ListGaussDBResult struct + type Nodes struct + AvailabilityZone string + Id string + Name string + Role string + Status string + type RestorePointOpt struct + BackupId string + DatabaseName map[string]string + InstanceId string + RestoreTime int + Type string + type Shard struct + Count int + type UpdateClusterOpts struct + Coordinators []Coordinator + Shard *Shard + func (opts UpdateClusterOpts) ToClusterUpdateMap() (map[string]interface{}, error) + type UpdateClusterOptsBuilder interface + ToClusterUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func UpdateCluster(client *golangsdk.ServiceClient, opts UpdateClusterOptsBuilder, id string) (r UpdateResult) + func UpdateVolume(client *golangsdk.ServiceClient, opts UpdateVolumeOptsBuilder, id string) (r UpdateResult) + type UpdateVolumeOpts struct + Size int + func (opts UpdateVolumeOpts) ToVolumeUpdateMap() (map[string]interface{}, error) + type UpdateVolumeOptsBuilder interface + ToVolumeUpdateMap func() (map[string]interface{}, error) + type VolumeOpt struct + Size int + Type string