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

Method Stop

container.go:27–27  ·  view source on GitHub ↗

Stop stops a container. If kill is false, garden stops a container by sending the processes running inside it the SIGTERM signal. It then waits for the processes to terminate before returning a response. If one or more processes do not terminate within 10 seconds, garden sends these processes the S

(kill bool)

Source from the content-addressed store, hash-verified

25 // Errors:
26 // * None.
27 Stop(kill bool) error
28
29 // Returns information about a container.
30 Info() (ContainerInfo, error)

Callers

nothing calls this directly

Implementers 2

FakeContainergardenfakes/fake_container.go
containerclient/container.go

Calls

no outgoing calls

Tested by

no test coverage detected