MCPcopy
hub / github.com/grafana/dskit / PartitionRing

Method PartitionRing

ring/partition_instance_ring.go:12–12  ·  view source on GitHub ↗

PartitionRing returns a snapshot of the PartitionRing. This function must never return nil. If the ring is empty or unknown, an empty PartitionRing can be returned.

()

Source from the content-addressed store, hash-verified

10 // PartitionRing returns a snapshot of the PartitionRing. This function must never return nil.
11 // If the ring is empty or unknown, an empty PartitionRing can be returned.
12 PartitionRing() *PartitionRing
13}
14
15type InstanceRingReader interface {

Callers 5

PartitionRingMethod · 0.65
PartitionRingMethod · 0.65
handleGetRequestMethod · 0.65

Implementers 4

MultiPartitionInstanceRingring/multi_partition_instance_ring.go
PartitionInstanceRingring/partition_instance_ring.go
staticPartitionRingReaderring/partition_instance_ring.go
PartitionRingWatcherring/partition_ring_watcher.go

Calls

no outgoing calls