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

Method GetInstanceState

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

GetInstanceState returns the current state of an instance or an error if the instance does not exist in the ring.

(instanceID string)

Source from the content-addressed store, hash-verified

79 // GetInstanceState returns the current state of an instance or an error if the
80 // instance does not exist in the ring.
81 GetInstanceState(instanceID string) (InstanceState, error)
82
83 // GetInstanceIdByAddr returns the instance id from its address or an error if the
84 // // instance does not exist in the ring.

Callers 1

WaitInstanceStateFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected