rds

package
v0.0.0-...-cc4f0fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSizeForInstanceClass

func GetSizeForInstanceClass(class string) (*database.Size, error)

func NewRDSTransformerConfig

func NewRDSTransformerConfig(subnetGroup *string, sgs []*string) *rdsConfig

Types

type RDSClient

type RDSClient struct {
	RDSTransformer
	// contains filtered or unexported fields
}

func NewRDSImpure

func NewRDSImpure(rdsclient rdsiface.RDSAPI, t RDSTransformer) *RDSClient

func (*RDSClient) CreateDB

func (r *RDSClient) CreateDB(req *database.Request, masterCreds *database.Credential) (*database.Database, error)

func (*RDSClient) GetDB

func (r *RDSClient) GetDB(dbID database.DatabaseID) (*database.Database, error)

type RDSTransformer

type RDSTransformer interface {
	RDSToModel(db *awsrds.DBInstance) (*database.Database, error)
	ModelToRDS(req *database.Request, master *database.Credential) (*awsrds.CreateDBInstanceInput, error)
}

func NewBumblebee

func NewBumblebee(c *rdsConfig) RDSTransformer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL