config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildConfigMap

func BuildConfigMap(tempo v1alpha1.TempoStack, params Params) (*corev1.ConfigMap, string, error)

BuildConfigMap builds the tempo configuration file and the tenant-specific overrides configuration. It returns a ConfigMap containing both configuration files and the checksum of the main configuration file (the tenant-specific configuration gets reloaded automatically, therefore no checksum is required).

Types

type AzureStorage

type AzureStorage struct {
	Container string
}

AzureStorage holds AzureStorage object storage configuration options.

type GCS

type GCS struct {
	Bucket string
}

GCS holds Google Cloud Storage object storage configuration options.

type Params

type Params struct {
	AzureStorage   AzureStorage
	GCS            GCS
	S3             S3
	HTTPEncryption bool
	GRPCEncryption bool
	TLSProfile     tlsprofile.TLSProfileOptions
}

Params holds configuration parameters.

type S3

type S3 struct {
	Endpoint string
	Bucket   string
	Insecure bool
}

S3 holds S3 object storage configuration options.

Jump to

Keyboard shortcuts

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