Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRDSClientFactory ¶
func NewRDSClientFactory(awsMaker blip.AWSConfigFactory) rdsClientFactory
func Region ¶
Region auto-detects the region. Currently, the function relies on IMDS v2: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html If the region cannot be detect, it returns an empty string.
func RegisterRDSCA ¶
func RegisterRDSCA()
RegisterRDSCA registers the Amazon RDS certificate authority (CA) to enable TLS connections to RDS. The TLS param is called "rds". It is only registered once (as required by Go), but it's safe to call multiple times.
Types ¶
type ConfigFactory ¶
type ConfigFactory struct {
// contains filtered or unexported fields
}
type RDSClient ¶
type RDSClient interface { // https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/rds#DescribeDBInstancesAPIClient rds.DescribeDBInstancesAPIClient }
type RDSLoader ¶
type RDSLoader struct {
ClientFactory RDSClientFactory
}
Click to show internal directories.
Click to hide internal directories.