MCPcopy
hub / github.com/cilium/cilium / Shutdown

Method Shutdown

pkg/health/server/server.go:390–393  ·  view source on GitHub ↗

Shutdown server and clean up resources

()

Source from the content-addressed store, hash-verified

388
389// Shutdown server and clean up resources
390func (s *Server) Shutdown() {
391 s.httpPathServer.Shutdown()
392 s.Server.Shutdown()
393}
394
395// newServer instantiates a new instance of the health API server on the
396// defaults unix socket.

Callers 1

AddServerRuntimeHooksMethod · 0.95

Calls 1

ShutdownMethod · 0.65

Tested by

no test coverage detected