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

Function GetOrCreateRingDesc

ring/model.go:719–725  ·  view source on GitHub ↗
(d interface{})

Source from the content-addressed store, hash-verified

717}
718
719func GetOrCreateRingDesc(d interface{}) *Desc {
720 if d == nil {
721 return NewDesc()
722 }
723
724 return d.(*Desc)
725}
726
727// MergeTokens takes in input multiple lists of tokens and returns a single list
728// containing all tokens merged and sorted. Each input single list is required

Callers 13

TestAutoForgetDelegateFunction · 0.85
initRingMethod · 0.85
verifyTokensMethod · 0.85
autoJoinMethod · 0.85
updateConsulMethod · 0.85
getRingMethod · 0.85
registerInstanceMethod · 0.85
updateInstanceMethod · 0.85

Calls 1

NewDescFunction · 0.85