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

Method Query

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

Source from the content-addressed store, hash-verified

310}
311
312func (d *dynamodbKVWithTimeout) Query(ctx context.Context, key dynamodbKey, isPrefix bool) (map[string]dynamodbItem, float64, error) {
313 ctx, cancel := context.WithTimeout(ctx, d.timeout)
314 defer cancel()
315 return d.ddbClient.Query(ctx, key, isPrefix)
316}
317
318func (d *dynamodbKVWithTimeout) Delete(ctx context.Context, key dynamodbKey) error {
319 ctx, cancel := context.WithTimeout(ctx, d.timeout)

Callers

nothing calls this directly

Calls 1

QueryMethod · 0.65

Tested by

no test coverage detected