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

Function GetPartitionRingCodec

ring/partition_ring_model.go:40–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40func GetPartitionRingCodec() codec.Codec {
41 return &partitionRingCodec{
42 Codec: codec.NewProtoCodec("partitionRingDesc", PartitionRingDescFactory),
43 }
44}
45
46// PartitionRingDescFactory makes new PartitionRingDesc.
47func PartitionRingDescFactory() proto.Message {

Calls 1

NewProtoCodecFunction · 0.92