Documentation
¶
Index ¶
- type AwsClient
- type DbEngineName
- type DbInstance
- type DbInstanceList
- type DbSnapshot
- type RdsRepository
- func (r *RdsRepository) FindMinimalDBEngineVersions(engine DbEngineName) (types.DBEngineVersion, error)
- func (r *RdsRepository) GetRegion() ptypes.AwsRegion
- func (r *RdsRepository) ListDBEngineVersionsByInput(query *rds.DescribeDBEngineVersionsInput) ([]types.DBEngineVersion, error)
- func (r *RdsRepository) ListDbInstancesAll() ([]DbInstance, error)
- func (r *RdsRepository) ListDbInstancesByInput(query *rds.DescribeDBInstancesInput) ([]DbInstance, error)
- func (r *RdsRepository) ListDbSnapshotsAll() ([]DbSnapshot, error)
- func (r *RdsRepository) ListDbSnapshotsByInput(query *rds.DescribeDBSnapshotsInput) ([]DbSnapshot, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbEngineName ¶
type DbEngineName string
type DbInstance ¶
type DbInstance struct { service.AbstractResource types.DBInstance }
func NewDbInstance ¶
func NewDbInstance(client AwsClient, db types.DBInstance) DbInstance
func (DbInstance) GetEngine ¶
func (e DbInstance) GetEngine() string
func (DbInstance) GetEngineVersion ¶
func (e DbInstance) GetEngineVersion() string
func (DbInstance) GetName ¶
func (e DbInstance) GetName() string
func (DbInstance) GetTagValue ¶
func (e DbInstance) GetTagValue(tag string) string
func (DbInstance) GetTags ¶
func (e DbInstance) GetTags() map[string]string
type DbInstanceList ¶
type DbInstanceList struct {
Items []DbInstance
}
type DbSnapshot ¶
type DbSnapshot struct { service.AbstractResource types.DBSnapshot }
func NewDbSnapshot ¶
func NewDbSnapshot(client AwsClient, snapshot types.DBSnapshot) DbSnapshot
func (DbSnapshot) GetName ¶
func (e DbSnapshot) GetName() string
func (DbSnapshot) GetTagValue ¶
func (e DbSnapshot) GetTagValue(tag string) string
func (DbSnapshot) GetTags ¶
func (e DbSnapshot) GetTags() map[string]string
type RdsRepository ¶
type RdsRepository struct {
// contains filtered or unexported fields
}
func NewRdsRepository ¶
func NewRdsRepository(ctx context.Context, client AwsClient) *RdsRepository
func (*RdsRepository) FindMinimalDBEngineVersions ¶
func (r *RdsRepository) FindMinimalDBEngineVersions(engine DbEngineName) (types.DBEngineVersion, error)
func (*RdsRepository) GetRegion ¶
func (r *RdsRepository) GetRegion() ptypes.AwsRegion
func (*RdsRepository) ListDBEngineVersionsByInput ¶
func (r *RdsRepository) ListDBEngineVersionsByInput(query *rds.DescribeDBEngineVersionsInput) ([]types.DBEngineVersion, error)
func (*RdsRepository) ListDbInstancesAll ¶
func (r *RdsRepository) ListDbInstancesAll() ([]DbInstance, error)
func (*RdsRepository) ListDbInstancesByInput ¶
func (r *RdsRepository) ListDbInstancesByInput(query *rds.DescribeDBInstancesInput) ([]DbInstance, error)
func (*RdsRepository) ListDbSnapshotsAll ¶
func (r *RdsRepository) ListDbSnapshotsAll() ([]DbSnapshot, error)
func (*RdsRepository) ListDbSnapshotsByInput ¶
func (r *RdsRepository) ListDbSnapshotsByInput(query *rds.DescribeDBSnapshotsInput) ([]DbSnapshot, error)
Click to show internal directories.
Click to hide internal directories.