MCPcopy Create free account
hub / github.com/cloudfoundry/garden / GardenServer

Struct GardenServer

server/server.go:20–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18)
19
20type GardenServer struct {
21 logger lager.Logger
22
23 server *http.Server
24 listenNetwork string
25 listenAddr string
26
27 containerGraceTime time.Duration
28 backend garden.Backend
29
30 listener net.Listener
31 handling *sync.WaitGroup
32
33 started bool
34 startMutex *sync.Mutex
35 stopping chan bool
36
37 bomberman *bomberman.Bomberman
38
39 conns map[net.Conn]net.Conn
40 mu sync.Mutex
41
42 streamer *streamer.Streamer
43
44 destroys map[string]struct{}
45 destroysL *sync.Mutex
46}
47
48func New(
49 listenNetwork, listenAddr string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected