Documentation ¶
Index ¶
- Constants
- func ClusterHeadlessSvcName(name string, i int) string
- func ClusterStatefulSetName(clusterName string, i int) string
- func GenerateAclcommands(log logr.Logger, client client.Client, ...) (map[string]string, error)
- func GetRedisClusterAdminPassword(client client.Client, cluster *redisv1alpha1.DistributedRedisCluster, ...) (string, error)
- func IsdiffAclConfigs(curr_map, check_map map[string]string, logger logr.Logger) bool
- func NewStatefulSetForCR(cluster *redisv1alpha1.DistributedRedisCluster, ssName, svcName string, ...) (*appsv1.StatefulSet, error)
Constants ¶
View Source
const (
ExporterContainerName = "exporter"
)
Variables ¶
This section is empty.
Functions ¶
func ClusterHeadlessSvcName ¶
func ClusterStatefulSetName ¶
func GenerateAclcommands ¶
func GetRedisClusterAdminPassword ¶
func GetRedisClusterAdminPassword(client client.Client, cluster *redisv1alpha1.DistributedRedisCluster, log logr.Logger) (string, error)
GetOldRedisClusterPassword return old redis cluster's password.
func IsdiffAclConfigs ¶
func NewStatefulSetForCR ¶
func NewStatefulSetForCR(cluster *redisv1alpha1.DistributedRedisCluster, ssName, svcName string, labels map[string]string) (*appsv1.StatefulSet, error)
NewStatefulSetForCR creates a new StatefulSet for the given Cluster.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.