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

Method GetState

ring/partition_ring_desc.pb.go:215–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213}
214
215func (m *PartitionDesc) GetState() PartitionState {
216 if m != nil {
217 return m.State
218 }
219 return PartitionUnknown
220}
221
222func (m *PartitionDesc) GetStateTimestamp() int64 {
223 if m != nil {

Callers 3

IsPendingMethod · 0.95
IsActiveMethod · 0.95
IsInactiveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected