Documentation
¶
Index ¶
- Constants
- Variables
- func NewRDSClient(cm *config.AWSConfigMore) (*rds.RDS, error)
- type ParameterGroupService
- func (svc *ParameterGroupService) CreateDBClusterParameterGroup(dbClusterParameterGroupName string, dbParameterGroupFamily string, ...) (*rds.CreateDBClusterParameterGroupOutput, error)
- func (svc *ParameterGroupService) DescribeDBParameterGroup(dbParameterGroupName string, opts *rds.DescribeDBParametersInput) (Parameters, error)
- func (svc *ParameterGroupService) DescribeEngineDefaultParameters(dbParameterGroupFamily string, opts *rds.DescribeEngineDefaultParametersInput) (Parameters, error)
- func (svc *ParameterGroupService) ModifyDBParameterGroup(dbParameterGroupName string, params map[string]string) (*rds.DBParameterGroupNameMessage, error)
- type Parameters
- type ParametersSet
- func (ps *ParametersSet) AddParameters(p ...rds.Parameter)
- func (ps *ParametersSet) GetValue(key string) (string, error)
- func (ps *ParametersSet) Map() map[string]string
- func (ps *ParametersSet) ModifyMapToPointerSlice(m map[string]string) ([]*rds.Parameter, error)
- func (ps *ParametersSet) Names() []string
- type RDSClientMore
Constants ¶
View Source
const ( ApplyMethodImmediate = "immediate" ApplyMethodPendingReboot = "pending-reboot" )
View Source
const ( DBPGFAuroraMySQL57 = "aurora-mysql5.7" DBPGFMySQL80 = "mysql8.0" )
Variables ¶
View Source
var ErrPagesGT1000 = errors.New("more than 1000 pages returned")
View Source
var ErrParameterNotFound = errors.New("parameter not found")
Functions ¶
func NewRDSClient ¶
func NewRDSClient(cm *config.AWSConfigMore) (*rds.RDS, error)
Types ¶
type ParameterGroupService ¶
type ParameterGroupService struct {
// contains filtered or unexported fields
}
func (*ParameterGroupService) CreateDBClusterParameterGroup ¶
func (svc *ParameterGroupService) CreateDBClusterParameterGroup( dbClusterParameterGroupName string, dbParameterGroupFamily string, description string, opts *rds.CreateDBClusterParameterGroupInput) (*rds.CreateDBClusterParameterGroupOutput, error)
func (*ParameterGroupService) DescribeDBParameterGroup ¶
func (svc *ParameterGroupService) DescribeDBParameterGroup(dbParameterGroupName string, opts *rds.DescribeDBParametersInput) (Parameters, error)
DescribeDBParameterGroup returnsthe parameters for a parameter group. The corresponding AWS SDk Method is `DescribeDBParameters()`.
func (*ParameterGroupService) DescribeEngineDefaultParameters ¶
func (svc *ParameterGroupService) DescribeEngineDefaultParameters(dbParameterGroupFamily string, opts *rds.DescribeEngineDefaultParametersInput) (Parameters, error)
DescribeEngineDefaultParameters is a wrapper for https://docs.aws.amazon.com/sdk-for-go/api/service/rds/#RDS.DescribeEngineDefaultParameters
func (*ParameterGroupService) ModifyDBParameterGroup ¶
func (svc *ParameterGroupService) ModifyDBParameterGroup(dbParameterGroupName string, params map[string]string) (*rds.DBParameterGroupNameMessage, error)
ModifyDBParameterGroup is a wrapper for https://docs.aws.amazon.com/sdk-for-go/api/service/rds/#RDS.ModifyDBParameterGroup .
type Parameters ¶
func MapToParameters ¶
func MapToParameters(m map[string]string) Parameters
func (Parameters) Map ¶
func (p Parameters) Map() map[string]string
func (Parameters) Names ¶
func (p Parameters) Names() []string
func (Parameters) Table ¶
func (p Parameters) Table() table.Table
func (Parameters) ToPointers ¶
func (p Parameters) ToPointers() []*rds.Parameter
type ParametersSet ¶
func NewParametersSet ¶
func NewParametersSet() ParametersSet
func (*ParametersSet) AddParameters ¶
func (ps *ParametersSet) AddParameters(p ...rds.Parameter)
func (*ParametersSet) Map ¶
func (ps *ParametersSet) Map() map[string]string
func (*ParametersSet) ModifyMapToPointerSlice ¶
ModifyMapToPointerSlice converts a `map[string]string` to a `[]*rds.Parameter` adding the current ApplyType.` This is used in `ModifyDBParameterGroup()`.
func (*ParametersSet) Names ¶
func (ps *ParametersSet) Names() []string
type RDSClientMore ¶
type RDSClientMore struct {
Parameter *ParameterGroupService
// contains filtered or unexported fields
}
func NewRDSClientMore ¶
func NewRDSClientMore(cm *config.AWSConfigMore) (*RDSClientMore, error)
Click to show internal directories.
Click to hide internal directories.