MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / Wait

Method Wait

service/lifecycle.go:43–43  ·  view source on GitHub ↗

Wait waits for the service to enter the "stopped" or "crashed" state. If the service goes into the "crashed" state it returns the error that caused the crash.

()

Source from the content-addressed store, hash-verified

41 // Wait waits for the service to enter the "stopped" or "crashed" state. If the service goes into the "crashed"
42 // state it returns the error that caused the crash.
43 Wait() error
44
45 // Error returns the error that caused the service to go into the "crashed" state.
46 Error() error

Callers 15

authServerMethod · 0.95
ExampleNewServerFunction · 0.95
TestOneServiceCrashFunction · 0.95
NewTestServerFunction · 0.95
OIDCServerFunction · 0.95
TestHTTPFunction · 0.95
ExampleNewServerFunction · 0.95
startPoolFunction · 0.65
WriteMethod · 0.65
WaitFinishMethod · 0.65

Implementers 1

lifecycleservice/lifecycle_impl.go

Calls

no outgoing calls

Tested by 7

authServerMethod · 0.76
ExampleNewServerFunction · 0.76
TestOneServiceCrashFunction · 0.76
TestHTTPFunction · 0.76
ExampleNewServerFunction · 0.76