MCPcopy
hub / github.com/google/gvisor / Stopper

Interface Stopper

pkg/urpc/urpc.go:204–206  ·  view source on GitHub ↗

Stopper is an optional interface, that when implemented, allows an object to have a callback executed when the server is shutting down.

Source from the content-addressed store, hash-verified

202// Stopper is an optional interface, that when implemented, allows an object
203// to have a callback executed when the server is shutting down.
204type Stopper interface {
205 Stop()
206}
207
208// Register registers the given object as an RPC receiver.
209//

Callers 8

ResetServerMethod · 0.65
StopMethod · 0.65
StopMethod · 0.65
startVerifyLoopMethod · 0.65
StartFunction · 0.65
TestStartSignalFunction · 0.65
TestNetworkConfigFunction · 0.65
stopMethod · 0.65

Implementers 15

Serverpkg/control/server/server.go
Watchdogpkg/sentry/watchdog/watchdog.go
Profilepkg/sentry/control/pprof.go
SinkDefaultspkg/sentry/seccheck/seccheck.go
remotepkg/sentry/seccheck/sinks/remote/remot
AsyncFileServerpkg/sentry/state/stateipc/server.go
Agentpkg/sentry/fdcollector/fdcollector.go
timekeeperTcpipTimerpkg/sentry/kernel/timekeeper.go
MemoryEventspkg/sentry/kernel/memevent/memory_even
managerpkg/shim/v1/manager.go
Reaperpkg/test/testutil/testutil.go
Containerpkg/test/dockerutil/container.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…