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

Method FailureCase

services/service.go:80–80  ·  view source on GitHub ↗

FailureCase returns error if Service is in Failed state. If Service is not in Failed state, this method returns nil.

()

Source from the content-addressed store, hash-verified

78 // FailureCase returns error if Service is in Failed state.
79 // If Service is not in Failed state, this method returns nil.
80 FailureCase() error
81
82 // State returns current state of the service.
83 State() State

Callers 8

runMethod · 0.65
stopMethod · 0.65
runTestCaseFunction · 0.65
WatchManagerMethod · 0.65
AwaitHealthyMethod · 0.65
StartAndAwaitRunningFunction · 0.65
StopAndAwaitTerminatedFunction · 0.65

Implementers 2

BasicServiceservices/basic_service.go
mockServicegrpcutil/health_check_test.go

Calls

no outgoing calls

Tested by 2

runTestCaseFunction · 0.52