MCPcopy Create free account
hub / github.com/cortexproject/cortex / GetAllInstanceDescs

Method GetAllInstanceDescs

pkg/ring/ring.go:53–53  ·  view source on GitHub ↗

GetAllInstanceDescs returns a slice of healthy and unhealthy InstanceDesc.

(op Operation)

Source from the content-addressed store, hash-verified

51
52 // GetAllInstanceDescs returns a slice of healthy and unhealthy InstanceDesc.
53 GetAllInstanceDescs(op Operation) ([]InstanceDesc, []InstanceDesc, error)
54
55 // GetInstanceDescsForOperation returns map of InstanceDesc with instance ID as the keys.
56 GetInstanceDescsForOperation(op Operation) (map[string]InstanceDesc, error)

Implementers 2

Ringpkg/ring/ring.go
RingMockpkg/ring/mock.go

Calls

no outgoing calls