Documentation ¶
Index ¶
- Variables
- func AddTagsToResource(resourceARN string, tags []*rds.Tag, rdssvc *rds.RDS, logger lager.Logger) error
- func BuilRDSTags(tags map[string]string) []*rds.Tag
- type DBCluster
- type DBClusterDetails
- type DBInstance
- type DBInstanceDetails
- type RDSDBCluster
- func (r *RDSDBCluster) Create(ID string, dbClusterDetails DBClusterDetails) error
- func (r *RDSDBCluster) Delete(ID string, skipFinalSnapshot bool) error
- func (r *RDSDBCluster) Describe(ID string) (DBClusterDetails, error)
- func (r *RDSDBCluster) Modify(ID string, dbClusterDetails DBClusterDetails, applyImmediately bool) error
- type RDSDBInstance
- func (r *RDSDBInstance) Create(ID string, dbInstanceDetails DBInstanceDetails) error
- func (r *RDSDBInstance) Delete(ID string, skipFinalSnapshot bool) error
- func (r *RDSDBInstance) Describe(ID string) (DBInstanceDetails, error)
- func (r *RDSDBInstance) Modify(ID string, dbInstanceDetails DBInstanceDetails, applyImmediately bool) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDBClusterDoesNotExist = errors.New("rds db cluster does not exist")
)
View Source
var (
ErrDBInstanceDoesNotExist = errors.New("rds db instance does not exist")
)
Functions ¶
func AddTagsToResource ¶
Types ¶
type DBCluster ¶
type DBCluster interface { Describe(ID string) (DBClusterDetails, error) Create(ID string, dbClusterDetails DBClusterDetails) error Modify(ID string, dbClusterDetails DBClusterDetails, applyImmediately bool) error Delete(ID string, skipFinalSnapshot bool) error }
type DBClusterDetails ¶
type DBClusterDetails struct { Identifier string Status string AllocatedStorage int64 AvailabilityZones []string BackupRetentionPeriod int64 CharacterSetName string DBClusterArn string DBClusterParameterGroupName string DBSubnetGroupName string DatabaseName string Endpoint string Engine string EngineVersion string MasterUsername string MasterUserPassword string OptionGroupName string Port int64 PreferredBackupWindow string PreferredMaintenanceWindow string VpcSecurityGroupIds []string Tags map[string]string }
type DBInstance ¶
type DBInstance interface { Describe(ID string) (DBInstanceDetails, error) Create(ID string, dbInstanceDetails DBInstanceDetails) error Modify(ID string, dbInstanceDetails DBInstanceDetails, applyImmediately bool) error Delete(ID string, skipFinalSnapshot bool) error }
type DBInstanceDetails ¶
type DBInstanceDetails struct { Identifier string Status string DBInstanceClass string Engine string EngineVersion string Address string AllocatedStorage int64 AutoMinorVersionUpgrade bool AvailabilityZone string BackupRetentionPeriod int64 CharacterSetName string CopyTagsToSnapshot bool DBName string DBClusterIdentifier string DBInstanceArn string DBParameterGroupName string DBSecurityGroups []string DBSubnetGroupName string Iops int64 KmsKeyID string LicenseModel string MasterUsername string MasterUserPassword string MultiAZ bool OptionGroupName string PendingModifications bool Port int64 PreferredBackupWindow string PreferredMaintenanceWindow string PubliclyAccessible bool StorageEncrypted bool StorageType string Tags map[string]string VpcSecurityGroupIds []string }
type RDSDBCluster ¶
type RDSDBCluster struct {
// contains filtered or unexported fields
}
func NewRDSDBCluster ¶
func (*RDSDBCluster) Create ¶
func (r *RDSDBCluster) Create(ID string, dbClusterDetails DBClusterDetails) error
func (*RDSDBCluster) Delete ¶
func (r *RDSDBCluster) Delete(ID string, skipFinalSnapshot bool) error
func (*RDSDBCluster) Describe ¶
func (r *RDSDBCluster) Describe(ID string) (DBClusterDetails, error)
func (*RDSDBCluster) Modify ¶
func (r *RDSDBCluster) Modify(ID string, dbClusterDetails DBClusterDetails, applyImmediately bool) error
type RDSDBInstance ¶
type RDSDBInstance struct {
// contains filtered or unexported fields
}
func NewRDSDBInstance ¶
func (*RDSDBInstance) Create ¶
func (r *RDSDBInstance) Create(ID string, dbInstanceDetails DBInstanceDetails) error
func (*RDSDBInstance) Delete ¶
func (r *RDSDBInstance) Delete(ID string, skipFinalSnapshot bool) error
func (*RDSDBInstance) Describe ¶
func (r *RDSDBInstance) Describe(ID string) (DBInstanceDetails, error)
func (*RDSDBInstance) Modify ¶
func (r *RDSDBInstance) Modify(ID string, dbInstanceDetails DBInstanceDetails, applyImmediately bool) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.