Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateChunks ¶
CreateChunks creates some chunks for testing
func DefaultSchemaConfig ¶
func DefaultSchemaConfig(kind string) chunk.SchemaConfig
DefaultSchemaConfig returns default schema for use in test fixtures
func Setup ¶
func Setup(fixture Fixture, tableName string) (chunk.IndexClient, chunk.ObjectClient, error)
Setup a fixture with initial tables
Types ¶
type Fixture ¶
type Fixture interface { Name() string Clients() (chunk.IndexClient, chunk.ObjectClient, chunk.TableClient, chunk.SchemaConfig, error) Teardown() error }
Fixture type for per-backend testing.
Click to show internal directories.
Click to hide internal directories.