MCPcopy Create free account
hub / github.com/cortexproject/cortex / Query

Method Query

pkg/ring/kv/dynamodb/dynamodb.go:31–31  ·  view source on GitHub ↗
(ctx context.Context, key dynamodbKey, isPrefix bool)

Source from the content-addressed store, hash-verified

29type dynamoDbClient interface {
30 List(ctx context.Context, key dynamodbKey) ([]string, float64, error)
31 Query(ctx context.Context, key dynamodbKey, isPrefix bool) (map[string]dynamodbItem, float64, error)
32 Delete(ctx context.Context, key dynamodbKey) error
33 Put(ctx context.Context, key dynamodbKey, data []byte) error
34 Batch(ctx context.Context, put map[dynamodbKey]dynamodbItem, delete []dynamodbKey) (bool, error)

Callers 14

ServeHTTPMethod · 0.65
QueryMethod · 0.65
QueryMethod · 0.65
QueryMethod · 0.65
GetMethod · 0.65
DeleteMethod · 0.65
CASMethod · 0.65
WatchKeyMethod · 0.65
WatchPrefixMethod · 0.65
getLocalRulesMethod · 0.65
PrometheusRulesMethod · 0.65

Implementers 5

dynamodbKVpkg/ring/kv/dynamodb/dynamodb.go
dynamodbKVWithTimeoutpkg/ring/kv/dynamodb/dynamodb.go
dynamodbInstrumentationpkg/ring/kv/dynamodb/metrics.go
MockDynamodbClientpkg/ring/kv/dynamodb/client_test.go
dynamodbKVWithDelayAndContextCheckpkg/ring/kv/dynamodb/client_test.go

Calls

no outgoing calls

Tested by 2

QueryMethod · 0.52