Documentation
¶
Index ¶
- func PreCheck(client *golangsdk.ServiceClient, opts PreCheckOpts) (string, error)
- type AvailableVersions
- type GetAvailableVersionOpts
- type GetInspectionHistoriesOpts
- type GetStatusOpts
- type GetUpgradeHistoriesOpts
- type Histories
- type InspectionHistories
- type InspectionReport
- type JobResponse
- type PreCheckOpts
- type Report
- type UpgradeMajorVersionOpts
- type VersionStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PreCheck ¶
func PreCheck(client *golangsdk.ServiceClient, opts PreCheckOpts) (string, error)
Types ¶
type AvailableVersions ¶
type AvailableVersions struct {
AvailableVersions []string `json:"available_versions"`
}
func GetAvailableVersion ¶
func GetAvailableVersion(client *golangsdk.ServiceClient, opts GetAvailableVersionOpts) (*AvailableVersions, error)
type GetAvailableVersionOpts ¶
type GetAvailableVersionOpts struct {
InstanceId string `json:"-"`
}
type GetStatusOpts ¶
type GetUpgradeHistoriesOpts ¶
type Histories ¶
type Histories struct {
TotalCount int `json:"total_count"`
UpgradeReports []Report `json:"upgrade_reports"`
}
func GetUpgradeHistories ¶
func GetUpgradeHistories(client *golangsdk.ServiceClient, opts GetUpgradeHistoriesOpts) (*Histories, error)
type InspectionHistories ¶
type InspectionHistories struct {
TotalCount int `json:"total_count"`
InspectionReports []InspectionReport `json:"inspection_reports"`
}
func GetInspectionHistories ¶
func GetInspectionHistories(client *golangsdk.ServiceClient, opts GetInspectionHistoriesOpts) (*InspectionHistories, error)
type InspectionReport ¶
type JobResponse ¶
type JobResponse struct {
JobId string `json:"job_id"`
}
func UpgradeMajorVersion ¶
func UpgradeMajorVersion(client *golangsdk.ServiceClient, opts UpgradeMajorVersionOpts) (*JobResponse, error)
type PreCheckOpts ¶
type Report ¶
type Report struct {
Id string `json:"id"`
StartTime string `json:"start_time"`
EndTime string `json:"end_time"`
SrcInstanceId string `json:"src_instance_id"`
SrcDatabaseVersion string `json:"src_database_version"`
DstInstanceId string `json:"dst_instance_id"`
DstDatabaseVersion string `json:"dst_database_version"`
Result string `json:"result"`
IsPrivateIpChanged bool `json:"is_private_ip_changed"`
PrivateIpChangeTime string `json:"private_ip_change_time"`
StatisticsCollectionMode string `json:"statistics_collection_mode"`
Detail string `json:"detail"`
}
type UpgradeMajorVersionOpts ¶
type VersionStatus ¶
type VersionStatus struct {
Status string `json:"status"`
TargetVersion string `json:"target_version"`
StartTime string `json:"start_time"`
CheckExpirationTime string `json:"check_expiration_time"`
Detail string `json:"detail"`
}
func GetStatus ¶
func GetStatus(client *golangsdk.ServiceClient, opts GetStatusOpts) (*VersionStatus, error)
Click to show internal directories.
Click to hide internal directories.