naming

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 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 RouteFqdn added in v0.10.0

func RouteFqdn(namespace string, tempoStackName string, component string, baseDomain string) string

RouteFqdn returns the fully qualified domain name of an ingress.

func ServiceFqdn

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

ServiceFqdn returns the fully qualified domain name of a service.

func ServingCABundleName added in v0.10.0

func ServingCABundleName(tempoStackName string) string

ServingCABundleName returns the ConfigMap name the CA bundle generated by service-ca-operator.

func ServingCertName added in v0.10.0

func ServingCertName(component string, tempoStackName string) string

ServingCertName returns the Secret name of the serving certs generated by service-ca-operator.

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