inmemorydb

package
v0.90.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL