Documentation ¶
Index ¶
- func DeleteAuroraSnapshots(name string) error
- func ExtractInstanceRDSInfo(name, cluster, clusterType string) (*[]RDSInstanceInfo, error)
- func FormatDuration(d time.Duration) string
- func GetAWSCrential() (*aws.Credentials, error)
- func GetDefaultRegion() (*string, error)
- func GetS3BucketLocation(bucketName string) (string, error)
- func GetSnapshot(name string) (*string, error)
- func GetValidBackupS3(snapshotName string) (*[]types.ExportTask, error)
- func RDSSnapshotTaken(name, file string, position float64) (*string, error)
- func WaitResourceUntilExpectState(_interval, _timeout time.Duration, _resourceStateCheck func() (bool, error)) error
- type ExecutionTimer
- type RDSInstanceInfo
- type TiDBClusterNodes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAuroraSnapshots ¶
func ExtractInstanceRDSInfo ¶
func ExtractInstanceRDSInfo(name, cluster, clusterType string) (*[]RDSInstanceInfo, error)
func FormatDuration ¶
func GetAWSCrential ¶
func GetAWSCrential() (*aws.Credentials, error)
func GetDefaultRegion ¶
func GetS3BucketLocation ¶
func GetSnapshot ¶
func GetValidBackupS3 ¶
func GetValidBackupS3(snapshotName string) (*[]types.ExportTask, error)
Types ¶
type ExecutionTimer ¶
func NewTimer ¶
func NewTimer() *ExecutionTimer
func (*ExecutionTimer) Append ¶
func (c *ExecutionTimer) Append(copyTimer *ExecutionTimer) error
func (*ExecutionTimer) Initialize ¶
func (c *ExecutionTimer) Initialize(header []string) error
func (*ExecutionTimer) Print ¶
func (c *ExecutionTimer) Print() error
type RDSInstanceInfo ¶
type TiDBClusterNodes ¶
type TiDBClusterNodes struct { PD []string TiDB []string TiKV []string TiCDC []string DM []string Monitor []string Pump []string Drainer []string }
func ExtractTiDBClusterNodes ¶
func ExtractTiDBClusterNodes(name, cluster, clusterType string) (*TiDBClusterNodes, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.