rds

package
v0.0.0-...-154e0e3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2016 License: CC0-1.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRDSBroker

func InitRDSBroker(brokerDB *gorm.DB, settings *config.Settings) base.Broker

InitRDSBroker is the constructor for the rdsBroker.

Types

type RDSInstance

type RDSInstance struct {
	base.Instance

	Database string `sql:"size(255)"`
	Username string `sql:"size(255)"`
	Password string `sql:"size(255)"`
	Salt     string `sql:"size(255)"`

	ClearPassword string `sql:"-"`

	Tags             map[string]string `sql:"-"`
	DbSubnetGroup    string            `sql:"-"`
	AllocatedStorage int64             `sql:"-"`
	SecGroup         string            `sql:"-"`

	Adapter string `sql:"size(255)"`

	DbType string `sql:"size(255)"`
}

RDSInstance represents the information of a RDS Service instance.

func (*RDSInstance) FormatName

func (i *RDSInstance) FormatName() string

type RDSOptions

type RDSOptions struct {
	AllocatedStorage int64 `json:"storage"`
}

func (RDSOptions) Validate

func (r RDSOptions) Validate(settings *config.Settings) error

Jump to

Keyboard shortcuts

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