rediscaches

package
v0.0.0-...-8ad424e Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureRedisManager

type AzureRedisManager struct {
	Creds        config.Credentials
	SecretClient secrets.SecretClient
	Scheme       *runtime.Scheme
}

AzureRedisManager

func (*AzureRedisManager) CreateSecrets

func (m *AzureRedisManager) CreateSecrets(ctx context.Context, secretClient secrets.SecretClient, instance *v1alpha1.RedisCache, data map[string][]byte) error

CreateSecrets creates a secret for a redis cache

func (*AzureRedisManager) GetRedisCacheClient

func (m *AzureRedisManager) GetRedisCacheClient() (redis.Client, error)

func (*AzureRedisManager) ListKeys

func (m *AzureRedisManager) ListKeys(ctx context.Context, resourceGroupName string, redisCacheName string) (result redis.AccessKeys, err error)

ListKeys lists the keys for redis cache

func (*AzureRedisManager) ListKeysAndCreateSecrets

func (m *AzureRedisManager) ListKeysAndCreateSecrets(ctx context.Context, secretClient secrets.SecretClient, instance *v1alpha1.RedisCache) error

ListKeysAndCreateSecrets lists keys and creates secrets

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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