alirds

package
v0.0.0-...-caacdb4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DescribeDBInstancesOut []DBInstances
	TimestampType          = util.ReturnTimestampType("alibaba", "rds")
)

Functions

func GetRDSRegions

func GetRDSRegions() []rds.RDSRegion

func PrintDBInstancesList

func PrintDBInstancesList(region string, running bool, specifiedDBInstanceID string, engine string, lsFlushCache bool)

func PrintDBInstancesListHistory

func PrintDBInstancesListHistory(region string, running bool, specifiedDBInstanceID string, engine string)

func PrintDBInstancesListRealTime

func PrintDBInstancesListRealTime(region string, running bool, specifiedDBInstanceID string, engine string)

func RDSClient

func RDSClient(region string) *rds.Client

func RemoveRepeatedElement

func RemoveRepeatedElement(arr []string) (newArr []string)

Types

type DBInstances

type DBInstances struct {
	DBInstanceId     string
	Engine           string
	EngineVersion    string
	DBInstanceStatus string
	RegionId         string
}

func DescribeDBInstances

func DescribeDBInstances(region string, running bool, specifiedDBInstanceID string, engine string, NextToken string) ([]DBInstances, error)

func ReturnDBInstancesList

func ReturnDBInstancesList(region string, running bool, specifiedDBInstanceID string, engine string) []DBInstances

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL