Documentation ¶
Overview ¶
Package go_rds_iam provides functionality to connect to AWS RDS instances using IAM authentication.
Index ¶
Constants ¶
View Source
const ( PostgresRDSType = "postgres" MySQLRDSType = "mysql" )
Variables ¶
This section is empty.
Functions ¶
func RegisterDriver ¶
func RegisterDriver(sess *session.Session, rdsType ConnectionRDSType) string
RegisterDriver registers a new database driver for the given RDS type (e.g., "postgres" or "mysql") that uses IAM authentication to connect to RDS instances.
Types ¶
type ConnectionRDSType ¶
type ConnectionRDSType string
type ConnectionRequest ¶
type ConnectionRequest struct { RDSType ConnectionRDSType Region string DBUser string Hostname string Port int DBName string SSLMode string SSLCertificatePath string }
ConnectionRequest represents a request to connect to an RDS instance.
type GenericIAMDriver ¶
type GenericIAMDriver struct {
// contains filtered or unexported fields
}
GenericIAMDriver is a database driver that uses IAM authentication to connect to RDS instances.
Click to show internal directories.
Click to hide internal directories.