util

package
v0.0.0-...-bdcd3c7 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLabels

func GetLabels(component, role string) map[string]string

GetLabels returns the labels for the component with specific role

func GetRedisName

func GetRedisName(r *redisv1alpha1.Redis) string

GetRedisName returns the name for redis resources

func GetRedisShutdownConfigMapName

func GetRedisShutdownConfigMapName(r *redisv1alpha1.Redis) string

GetRedisShutdownConfigMapName returns the name for redis configmap

func GetRedisShutdownName

func GetRedisShutdownName(r *redisv1alpha1.Redis) string

GetRedisShutdownName returns the name for redis resources

func GetSentinelName

func GetSentinelName(r *redisv1alpha1.Redis) string

GetSentinelName returns the name for sentinel resources

func MergeLabels

func MergeLabels(allLabels ...map[string]string) map[string]string

MergeLabels merges all the label maps received as argument into a single new label map.

Types

This section is empty.

Jump to

Keyboard shortcuts

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