MCPcopy
hub / github.com/gofr-dev/gofr / trackedElasticsearch

Struct trackedElasticsearch

pkg/gofr/migration/tracker.go:433–437  ·  view source on GitHub ↗

--- Elasticsearch ---

Source from the content-addressed store, hash-verified

431// --- Elasticsearch ---
432
433type trackedElasticsearch struct {
434 inner Elasticsearch
435 used map[string]bool
436 key string
437}
438
439func (t *trackedElasticsearch) CreateIndex(ctx context.Context, index string, settings map[string]any) error {
440 markUsed(t.used, t.key)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected