Documentation ¶
Index ¶
Constants ¶
View Source
const PgroupPrefix = "cg-redis-broker-"
This is the prefix for all pgroups created by the broker.
Variables ¶
This section is empty.
Functions ¶
func ConvertTagsToElasticacheTags ¶
func ConvertTagsToElasticacheTags(tags map[string]string) []*elasticache.Tag
func InitRedisBroker ¶
func InitRedisBroker( brokerDB *gorm.DB, settings *config.Settings, tagManager brokertags.TagManager, ) base.Broker
InitRedisBroker is the constructor for the redisBroker.
Types ¶
type RedisInstance ¶
type RedisInstance struct { base.Instance Description string `sql:"size(255)"` Password string `sql:"size(255)"` Salt string `sql:"size(255)"` ClearPassword string `sql:"-"` EngineVersion string `sql:"size(255)"` ClusterID string `sql:"size(255)"` CacheNodeType string `sql:"size(255)"` NumCacheClusters int `sql:"size(255)"` ParameterGroup string `sql:"size(255)"` PreferredMaintenanceWindow string `sql:"size(255)"` SnapshotWindow string `sql:"size(255)"` SnapshotRetentionLimit int `sql:"size(255)"` AutomaticFailoverEnabled bool `sql:"size(255)"` Tags map[string]string `sql:"-"` DbSubnetGroup string `sql:"-"` SecGroup string `sql:"-"` ParameterGroupFamily string `sql:"-"` ParameterGroupName string `sql:"size(255)"` EngineLogsGroupName string `sql:"size(512)"` SlowLogsGroupName string `sql:"size(512)"` }
RedisInstance represents the information of a Redis Service instance.
type RedisOptions ¶
type RedisOptions struct {
EngineVersion string `json:"engineVersion"`
}
Click to show internal directories.
Click to hide internal directories.