forked from cloudfoundry-community/pe-rds-broker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
parameters.go
20 lines (17 loc) · 826 Bytes
/
parameters.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package rdsbroker
type ProvisionParameters struct {
BackupRetentionPeriod int64 `mapstructure:"backup_retention_period"`
CharacterSetName string `mapstructure:"character_set_name"`
DBName string `mapstructure:"dbname"`
PreferredBackupWindow string `mapstructure:"preferred_backup_window"`
PreferredMaintenanceWindow string `mapstructure:"preferred_maintenance_window"`
}
type UpdateParameters struct {
ApplyImmediately bool `mapstructure:"apply_immediately"`
BackupRetentionPeriod int64 `mapstructure:"backup_retention_period"`
PreferredBackupWindow string `mapstructure:"preferred_backup_window"`
PreferredMaintenanceWindow string `mapstructure:"preferred_maintenance_window"`
}
type BindParameters struct {
DBName string `mapstructure:"dbname"`
}