naming

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DNSName

func DNSName(name string) string

DNSName returns a dns-safe string for the given name. Any char that is not [a-z0-9] is replaced by "-" or "a". Replacement character "a" is used only at the beginning or at the end of the name. The function does not change length of the string.

func DefaultServiceAccountName

func DefaultServiceAccountName(name string) string

DefaultServiceAccountName returns the name of the default tempo service account to use.

func Name

func Name(component string, tempoStackName string) string

Name returns the manifest name of a component. Example: tempo-simplest-compactor.

func PrometheusRuleName

func PrometheusRuleName(stackName string) string

PrometheusRuleName is the name of the tempo-prometheus-rule.

func ServiceFqdn

func ServiceFqdn(namespace string, tempoStackName string, component string) string

ServiceFqdn returns the fully qualified domain name of a service.

func SigningCABundleName

func SigningCABundleName(name string) string

SigningCABundleName return CA bundle configmap name.

func TLSSecretName

func TLSSecretName(component string, tempoStackName string) string

TLSSecretName returns the secret name that stores the TLS cert/key for given component.

Types

This section is empty.

Jump to

Keyboard shortcuts

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