Documentation ¶
Index ¶
- func ConvertTagsToRDSTags(tags map[string]string) []*rds.Tag
- func InitRDSBroker(brokerDB *gorm.DB, settings *config.Settings, tagManager brokertags.TagManager) base.Broker
- func NewAwsParameterGroupClient(rds rdsiface.RDSAPI, settings config.Settings) *awsParameterGroupClient
- type DatabaseUtils
- type Options
- type RDSDatabaseUtils
- type RDSInstance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitRDSBroker ¶
func InitRDSBroker(brokerDB *gorm.DB, settings *config.Settings, tagManager brokertags.TagManager) base.Broker
InitRDSBroker is the constructor for the rdsBroker.
Types ¶
type DatabaseUtils ¶
type Options ¶
type Options struct { AllocatedStorage int64 `json:"storage"` EnableFunctions bool `json:"enable_functions"` PubliclyAccessible bool `json:"publicly_accessible"` Version string `json:"version"` BackupRetentionPeriod *int64 `json:"backup_retention_period"` BinaryLogFormat string `json:"binary_log_format"` EnablePgCron *bool `json:"enable_pg_cron"` RotateCredentials *bool `json:"rotate_credentials"` StorageType string `json:"storage_type"` EnableCloudWatchLogGroupExports []string `json:"enable_cloudwatch_log_groups_exports"` }
Options is a struct containing all of the custom parameters supported by the broker for the "cf create-service" and "cf update-service" commands - they are passed in via the "-c <JSON string or file>" flag.
type RDSDatabaseUtils ¶
type RDSDatabaseUtils struct { }
func (*RDSDatabaseUtils) FormatDBName ¶
func (u *RDSDatabaseUtils) FormatDBName(dbType string, database string) string
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:"-"` BackupRetentionPeriod int64 `sql:"size(255)"` DbSubnetGroup string `sql:"-"` AllocatedStorage int64 `sql:"size(255)"` SecGroup string `sql:"-"` EnableFunctions bool `sql:"-"` PubliclyAccessible bool `sql:"-"` Adapter string `sql:"size(255)"` DbType string `sql:"size(255)"` DbVersion string `sql:"size(255)"` LicenseModel string `sql:"size(255)"` BinaryLogFormat string `sql:"size(255)"` EnablePgCron *bool `sql:"size(255)"` ParameterGroupFamily string `sql:"-"` ParameterGroupName string `sql:"size(255)"` EnabledCloudwatchLogGroupExports pq.StringArray `sql:"type:text[]"` StorageType string `sql:"size(255)"` // contains filtered or unexported fields }
RDSInstance represents the information of a RDS Service instance.
func NewRDSInstance ¶
func NewRDSInstance() *RDSInstance
func (*RDSInstance) FormatDBName ¶
func (i *RDSInstance) FormatDBName() string
Click to show internal directories.
Click to hide internal directories.