Documentation ¶
Index ¶
- func FindRdsInstance(config config.ServerConfig, sess *session.Session) (*rds.DBInstance, error)
- func GetAwsSession(cfg config.ServerConfig) (*session.Session, error)
- func GetRdsParameter(group *rds.DBParameterGroupStatus, name string, svc *rds.RDS) (parameter *rds.Parameter, err error)
- type RdsCloudWatchReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindRdsInstance ¶
func FindRdsInstance(config config.ServerConfig, sess *session.Session) (*rds.DBInstance, error)
func GetAwsSession ¶
func GetAwsSession(cfg config.ServerConfig) (*session.Session, error)
GetAwsSession - Returns an AWS session for the specified server cfguration
func GetRdsParameter ¶
Types ¶
type RdsCloudWatchReader ¶
type RdsCloudWatchReader struct {
// contains filtered or unexported fields
}
func NewRdsCloudWatchReader ¶
func (RdsCloudWatchReader) GetRdsFloatMetric ¶
func (reader RdsCloudWatchReader) GetRdsFloatMetric(metricName string, unit string) float64
GetRdsFloatMetric - Gets a float value from Cloudwatch
func (RdsCloudWatchReader) GetRdsIntMetric ¶
func (reader RdsCloudWatchReader) GetRdsIntMetric(metricName string, unit string) int64
GetRdsIntMetric - Gets an integer value from Cloudwatch
Click to show internal directories.
Click to hide internal directories.