Documentation ¶ Index ¶ type Database func New(provider Provider) *Database func (db *Database) Lookup(ctx context.Context, name string) (*types.Node, error) func (db *Database) LookupAll(ctx context.Context) ([]types.Node, error) type Provider Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Database ¶ type Database struct { // contains filtered or unexported fields } func New ¶ func New(provider Provider) *Database func (*Database) Lookup ¶ func (db *Database) Lookup(ctx context.Context, name string) (*types.Node, error) Lookup database ID using human-friendly name func (*Database) LookupAll ¶ func (db *Database) LookupAll(ctx context.Context) ([]types.Node, error) type Provider ¶ type Provider interface { DescribeDBInstances( context.Context, *rds.DescribeDBInstancesInput, ...func(*rds.Options), ) (*rds.DescribeDBInstancesOutput, error) } Source Files ¶ View all Source files database.go Click to show internal directories. Click to hide internal directories.