Documentation ¶
Index ¶
- Variables
- func GetInMemoryDB(c *providers.Provider) (providers.ClowderProvider, error)
- func NewElasticache(p *providers.Provider) (providers.ClowderProvider, error)
- func NewLocalRedis(p *providers.Provider) (providers.ClowderProvider, error)
- func NewNoneInMemoryDb(p *providers.Provider) (providers.ClowderProvider, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProvName = "inmemorydb"
ProvName is the name/ident of the provider
View Source
var RedisConfigMap = rc.NewSingleResourceIdent(ProvName, "redis_config_map", &core.ConfigMap{})
RedisConfigMap identifies the main redis configmap
View Source
var RedisDeployment = rc.NewSingleResourceIdent(ProvName, "redis_deployment", &apps.Deployment{})
RedisDeployment identifies the main redis deployment
View Source
var RedisService = rc.NewSingleResourceIdent(ProvName, "redis_service", &core.Service{})
RedisService identifies the main redis service
Functions ¶
func GetInMemoryDB ¶
func GetInMemoryDB(c *providers.Provider) (providers.ClowderProvider, error)
GetInMemoryDB returns the correct in-memory DB provider based on the environment.
func NewElasticache ¶
func NewElasticache(p *providers.Provider) (providers.ClowderProvider, error)
NewElasticache returns a new elasticache provider object.
func NewLocalRedis ¶
func NewLocalRedis(p *providers.Provider) (providers.ClowderProvider, error)
NewLocalRedis returns a new local redis provider object.
func NewNoneInMemoryDb ¶
func NewNoneInMemoryDb(p *providers.Provider) (providers.ClowderProvider, error)
NewNoneInMemoryDb returns a new none in-memory DB provider object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.