Documentation ¶
Index ¶
- func Annotations(instance v1alpha1.OpenTelemetryCollector, configMap *v1.ConfigMap) map[string]string
- func Build(params manifests.Params) ([]client.Object, error)
- func ConfigMap(cfg config.Config, logger logr.Logger, ...) (*corev1.ConfigMap, error)
- func Container(cfg config.Config, logger logr.Logger, otelcol v1alpha1.OpenTelemetryCollector) corev1.Container
- func Deployment(cfg config.Config, logger logr.Logger, otelcol v1alpha1.OpenTelemetryCollector) *appsv1.Deployment
- func Labels(instance v1alpha1.OpenTelemetryCollector, name string) map[string]string
- func Service(cfg config.Config, logger logr.Logger, otelcol v1alpha1.OpenTelemetryCollector) *corev1.Service
- func ServiceAccount(cfg config.Config, logger logr.Logger, otelcol v1alpha1.OpenTelemetryCollector) *corev1.ServiceAccount
- func ServiceAccountName(instance v1alpha1.OpenTelemetryCollector) string
- func Volumes(cfg config.Config, otelcol v1alpha1.OpenTelemetryCollector) []corev1.Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Annotations ¶
func Annotations(instance v1alpha1.OpenTelemetryCollector, configMap *v1.ConfigMap) map[string]string
Annotations returns the annotations for the TargetAllocator Pod.
func Container ¶
func Container(cfg config.Config, logger logr.Logger, otelcol v1alpha1.OpenTelemetryCollector) corev1.Container
Container builds a container for the given TargetAllocator.
func Deployment ¶
func Deployment(cfg config.Config, logger logr.Logger, otelcol v1alpha1.OpenTelemetryCollector) *appsv1.Deployment
Deployment builds the deployment for the given instance.
func Labels ¶
func Labels(instance v1alpha1.OpenTelemetryCollector, name string) map[string]string
Labels return the common labels to all TargetAllocator objects that are part of a managed OpenTelemetryCollector.
func ServiceAccount ¶
func ServiceAccount(cfg config.Config, logger logr.Logger, otelcol v1alpha1.OpenTelemetryCollector) *corev1.ServiceAccount
ServiceAccount returns the service account for the given instance.
func ServiceAccountName ¶
func ServiceAccountName(instance v1alpha1.OpenTelemetryCollector) string
ServiceAccountName returns the name of the existing or self-provisioned service account to use for the given instance.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.