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

Method Create

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

Create creates a new container. Errors: * When the handle, if specified, is already taken. * When one of the bind_mount paths does not exist. * When resource allocations fail (subnet, user ID, etc).

(ContainerSpec)

Source from the content-addressed store, hash-verified

24 // * When one of the bind_mount paths does not exist.
25 // * When resource allocations fail (subnet, user ID, etc).
26 Create(ContainerSpec) (Container, error)
27
28 // Destroy destroys a container.
29 //

Callers 3

server_test.goFile · 0.65
handleCreateMethod · 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