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

Method Destroy

client.go:40–40  ·  view source on GitHub ↗

Destroy destroys a container. When a container is destroyed, its resource allocations are released, its filesystem is removed, and all references to its handle are removed. All resources that have been acquired during the lifetime of the container are released. Examples of these resources are its

(handle string)

Source from the content-addressed store, hash-verified

38 // Errors:
39 // * TODO.
40 Destroy(handle string) error
41
42 // Containers lists all containers filtered by Properties (which are ANDed together).
43 //

Callers 3

reapContainerMethod · 0.65
handleDestroyMethod · 0.65

Implementers 3

FakeBackendgardenfakes/fake_backend.go
FakeClientgardenfakes/fake_client.go
clientclient/client.go

Calls

no outgoing calls

Tested by

no test coverage detected