naming

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package naming is for determining the names for components (containers, services, ...).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collector

func Collector(otelcol v1alpha1.OpenTelemetryCollector) string

Collector builds the collector (deployment/daemonset) name based on the instance.

func ConfigMap

func ConfigMap(otelcol v1alpha1.OpenTelemetryCollector) string

ConfigMap builds the name for the config map used in the OpenTelemetryCollector containers.

func ConfigMapVolume

func ConfigMapVolume() string

ConfigMapVolume returns the name to use for the config map's volume in the pod.

func Container

func Container() string

Container returns the name to use for the container in the pod.

func HeadlessService

func HeadlessService(otelcol v1alpha1.OpenTelemetryCollector) string

HeadlessService builds the name for the headless service based on the instance.

func MonitoringService

func MonitoringService(otelcol v1alpha1.OpenTelemetryCollector) string

MonitoringService builds the name for the monitoring service based on the instance.

func Service

func Service(otelcol v1alpha1.OpenTelemetryCollector) string

Service builds the service name based on the instance.

func ServiceAccount

func ServiceAccount(otelcol v1alpha1.OpenTelemetryCollector) string

ServiceAccount builds the service account name based on the instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

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