utils

package
v0.0.0-...-e6f21ea Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendEnvs

func AppendEnvs(envs []corev1.EnvVar, instance *jaegerv1a1.Jaeger)

func ConvertEnvSettings

func ConvertEnvSettings(envs []corev1.EnvVar) []jaegerv1a1.EnvSetting

func ConvertEnvVar

func ConvertEnvVar(envs []jaegerv1a1.EnvSetting) []corev1.EnvVar

func ExtractNamespace

func ExtractNamespace(ns string) set.Set[string]

ExtractNamespace Extract namespaces separated by ',' in the string

func GetHashedName

func GetHashedName(nsName types.NamespacedName) string

func HashString

func HashString(str string) string

func Labels

func Labels(name, component, strategy string) map[string]string

Labels Returns the generic labels

func MergeCommonMap

func MergeCommonMap(exist map[string]string, append map[string]string) map[string]string

MergeCommonMap Combining the data of two maps, the append map overwrites the value of the exist map

func MergePodArgs

func MergePodArgs(existArgs []string, args ...string) []string

func MergePodEnv

func MergePodEnv(existEnvs []corev1.EnvVar, envs ...jaegerv1a1.EnvSetting) []jaegerv1a1.EnvSetting

Types

This section is empty.

Jump to

Keyboard shortcuts

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