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

Function PartitionRingDescFactory

ring/partition_ring_model.go:47–49  ·  view source on GitHub ↗

PartitionRingDescFactory makes new PartitionRingDesc.

()

Source from the content-addressed store, hash-verified

45
46// PartitionRingDescFactory makes new PartitionRingDesc.
47func PartitionRingDescFactory() proto.Message {
48 return NewPartitionRingDesc()
49}
50
51func GetOrCreatePartitionRingDesc(in any) *PartitionRingDesc {
52 if in == nil {

Callers

nothing calls this directly

Calls 1

NewPartitionRingDescFunction · 0.85

Tested by

no test coverage detected