storage

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildOptions added in v0.6.0

func BuildOptions(ctx context.Context, k k8s.Client, stack *lokiv1.LokiStack, fg configv1.FeatureGates) (storage.Options, error)

BuildOptions returns the object storage options to generate Kubernetes resource manifests which require access to object storage buckets. The returned error can be a status.DegradedError in the following cases:

  • The user-provided object storage secret is missing.
  • The object storage Secret data is invalid.
  • The object storage schema config is invalid.
  • The object storage CA ConfigMap is missing if one referenced.
  • The object storage CA ConfigMap data is invalid.
  • The object storage token cco auth secret is missing (Only on OpenShift STS-clusters)

Types

This section is empty.

Jump to

Keyboard shortcuts

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