package
3.4.2
Repository: https://github.com/grafana/loki.git
Documentation: pkg.go.dev

# Packages

# Functions

NewClient wraps the provided ObjectClient with a chunk.Client implementation.

# Variables

ErrMethodNotImplemented when any of the storage clients do not implement a method.
ErrStorageObjectNotFound when object storage does not have requested object.

# Structs

takes a chunk client and exposes metrics for its operations.
StorageObject represents an object being stored in an Object Store.

# Interfaces

Client is for storing and retrieving chunks.
ObjectAndIndexClient allows optimisations where the same client handles both Only used by DynamoDB (dynamodbIndexReader and dynamoDBStorageClient).
ObjectClient is used to store arbitrary data in Object Store (S3/GCS/Azure/...).

# Type aliases

KeyEncoder is used to encode chunk keys before writing/retrieving chunks from the underlying ObjectClient Schema/Chunk are passed as arguments to allow this to improve over revisions.
StorageCommonPrefix represents a common prefix aka a synthetic directory in Object Store.