Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnectorSet ¶
func NewConnectorSet(awsProvider AWSProvider, configs ConfigProvider) *pgConnSet
Types ¶
type AWSProvider ¶
type AWSProvider interface {
Credentials() aws.CredentialsProvider
Region() string
}
type AuroraConfig ¶
type AuthClient ¶
type ConfigProvider ¶
type ConfigSet ¶
type ConfigSet interface {
GetConnector(raw string) (PGConnector, error)
}
type CredBuilder ¶
type CredBuilder struct {
// contains filtered or unexported fields
}
func NewCredBuilder ¶
func NewCredBuilder(creds aws.CredentialsProvider, region string) *CredBuilder
func (*CredBuilder) AddConfig ¶
func (cb *CredBuilder) AddConfig(name string, config *AuroraConfig) error
func (*CredBuilder) ConnectionString ¶
type EnvProvider ¶
type EnvProvider struct{}
type PGConnector ¶
func NewAuroraConnector ¶
func NewAuroraConnector(name string, creds AuthClient) (PGConnector, error)
func NewDirectConnector ¶
func NewDirectConnector(name, dsn string) PGConnector
Click to show internal directories.
Click to hide internal directories.