MCPcopy Create free account
hub / github.com/ParsaKSH/SlipStream-Plus / String

Method String

internal/engine/instance.go:26–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24)
25
26func (s InstanceState) String() string {
27 switch s {
28 case StateStarting:
29 return "starting"
30 case StateHealthy:
31 return "healthy"
32 case StateUnhealthy:
33 return "unhealthy"
34 case StateDead:
35 return "dead"
36 default:
37 return "unknown"
38 }
39}
40
41type Instance struct {
42 Config config.ExpandedInstance

Callers 4

ExtractIPFunction · 0.80
StatusInfoMethod · 0.80
handleConnectionMethod · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected