common

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RedisClusterSkipReconcileAnnotation     = "rediscluster.opstreelabs.in/skip-reconcile"
	RedisSkipReconcileAnnotation            = "redis.opstreelabs.in/skip-reconcile"
	RedisReplicationSkipReconcileAnnotation = "redisreplication.opstreelabs.in/skip-reconcile"
	RedisSentinelSkipReconcileAnnotation    = "redissentinel.opstreelabs.in/skip-reconcile"
)

Variables

This section is empty.

Functions

func GetRedisLabels

func GetRedisLabels(name string, st SetupType, role string, labels map[string]string) map[string]string

func IsSkipReconcile

func IsSkipReconcile(ctx context.Context, obj metav1.Object) (skip bool)

Types

type SetupType

type SetupType string
const (
	SetupTypeStandalone  SetupType = "standalone"
	SetupTypeReplication SetupType = "replication"
	SetupTypeCluster     SetupType = "cluster"
	SetupTypeSentinel    SetupType = "sentinel"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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