Documentation ¶
Index ¶
- Variables
- func AddRdsAccount(DBInstanceId string, userName string)
- func DelRdsAccount()
- func GetAccountInfo(region string, specifiedDBInstanceId string) []rds.DBInstanceAccount
- func GetDataBases(region string, specifiedDBInstanceId string) []rds.Database
- func GetNetInfo(region string, specifiedDBInstanceId string) []rds.DBInstanceNetInfo
- func GetRDSRegions() []rds.RDSRegion
- func GetWhiteListInfo(region string, specifiedDBInstanceId string) []rds.DBInstanceIPArray
- func LsRdsAccount()
- func PrintDBInstancesList(region string, running bool, specifiedDBInstanceId string, engine string, ...)
- func PrintDBInstancesListHistory(region string, running bool, specifiedDBInstanceId string, engine string)
- func PrintDBInstancesListRealTime(region string, running bool, specifiedDBInstanceId string, engine string)
- func RDSClient(region string) *rds.Client
- func RdsPublic(DBInstanceId string)
- func RdsPublicCancel()
- func RdsPublicLs()
- func RdsWhiteList(DBInstanceId string, WhiteList string)
- func RdsWhiteListDel()
- func RdsWhiteListLs()
- func RemoveRepeatedElement(arr []string) (newArr []string)
- func ReturnGetNetInfo(region string, specifiedDBInstanceId string)
- func ReturnGetWhiteListInfo(region string, specifiedDBInstanceId string, WhiteList string)
- type DBInstances
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PublicIPAddress string PublicConnectionAddress string PublicPort string )
View Source
var ( DescribeDBInstancesOut []DBInstances TraversedRegions []string TimestampType = util.ReturnTimestampType("alibaba", "rds") )
View Source
var ( WhiteListIPArrayName string WhiteListIPType string WhiteListIPList string )
Functions ¶
func AddRdsAccount ¶ added in v0.5.0
func DelRdsAccount ¶ added in v0.5.0
func DelRdsAccount()
func GetAccountInfo ¶ added in v0.5.0
func GetAccountInfo(region string, specifiedDBInstanceId string) []rds.DBInstanceAccount
func GetDataBases ¶ added in v0.5.0
func GetNetInfo ¶ added in v0.5.0
func GetNetInfo(region string, specifiedDBInstanceId string) []rds.DBInstanceNetInfo
func GetRDSRegions ¶
func GetWhiteListInfo ¶ added in v0.5.0
func GetWhiteListInfo(region string, specifiedDBInstanceId string) []rds.DBInstanceIPArray
func LsRdsAccount ¶ added in v0.5.0
func LsRdsAccount()
func PrintDBInstancesList ¶
func RdsPublicCancel ¶ added in v0.5.0
func RdsPublicCancel()
func RdsPublicLs ¶ added in v0.5.0
func RdsPublicLs()
func RdsWhiteList ¶ added in v0.5.0
func RdsWhiteListDel ¶ added in v0.5.0
func RdsWhiteListDel()
func RdsWhiteListLs ¶ added in v0.5.0
func RdsWhiteListLs()
func RemoveRepeatedElement ¶
func ReturnGetNetInfo ¶ added in v0.5.0
func ReturnGetWhiteListInfo ¶ added in v0.5.0
Types ¶
type DBInstances ¶
type DBInstances struct { DBInstanceId string Engine string EngineVersion string DBInstanceStatus string RegionId string }
func DescribeDBInstances ¶
func ReturnDBInstancesList ¶
func ReturnDBInstancesList(region string, running bool, specifiedDBInstanceId string, engine string) []DBInstances
Click to show internal directories.
Click to hide internal directories.