Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBInstanceResult ¶
type DBInstanceResult struct { Instance types.DBInstance Error error }
DBInstanceResult is wrapper around a DBInstance or error as a result of listing RDS Instances
type RDSClient ¶
type RDSClient interface { GetPostgresInstances(ctx context.Context) <-chan DBInstanceResult NewAuthToken(ctx context.Context, host, region, user string) (string, error) RegionForInstance(inst types.DBInstance) (string, error) }
RDSClient is our wrapper around the RDS library, allows us to mock this for testing
Click to show internal directories.
Click to hide internal directories.