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

# Functions

CreateChunks creates some chunks for testing.
DefaultSchemaConfig returns default schema for use in test fixtures.
NewMockStorage creates a mock storage singleton MockStorage implements the interfaces client.ObjectClient, index.Client, index.TableClient, and storage.SchemaConfigProvider.
Setup a fixture with initial tables.

# Constants

# Structs

MockStorage is a fake in-memory StorageClient.

# Interfaces

Fixture type for per-backend testing.

# Type aliases

CloserFunc is to io.Closer as http.HandlerFunc is to http.Handler.