statefulsets

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExporterContainerName = "exporter"
)

Variables

This section is empty.

Functions

func ClusterHeadlessSvcName

func ClusterHeadlessSvcName(name string, i int) string

func ClusterStatefulSetName

func ClusterStatefulSetName(clusterName string, i int) string

func GenerateAclcommands

func GenerateAclcommands(log logr.Logger, client client.Client, cluster *redisv1alpha1.DistributedRedisCluster, newaclconf string, newsecretver map[string]string) (map[string]string, error)

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 IsdiffAclConfigs(curr_map, check_map map[string]string, logger logr.Logger) bool

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.

Jump to

Keyboard shortcuts

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