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

Method HasInstance

pkg/ring/ring.go:92–92  ·  view source on GitHub ↗

HasInstance returns whether the ring contains an instance matching the provided instanceID.

(instanceID string)

Source from the content-addressed store, hash-verified

90
91 // HasInstance returns whether the ring contains an instance matching the provided instanceID.
92 HasInstance(instanceID string) bool
93
94 // CleanupShuffleShardCache should delete cached shuffle-shard subrings for given identifier.
95 CleanupShuffleShardCache(identifier string)

Callers 5

FilterUsersMethod · 0.65
TestShardingFunction · 0.65

Implementers 2

Ringpkg/ring/ring.go
RingMockpkg/ring/mock.go

Calls

no outgoing calls

Tested by 3

TestShardingFunction · 0.52