MCPcopy Create free account

hub / github.com/cloudfoundry/garden / functions

Functions656 in github.com/cloudfoundry/garden

↓ 55 callersMethodHandle
()
container.go:11
↓ 49 callersMethodwriteError
(w http.ResponseWriter, err error, logger lager.Logger)
server/request_handling.go:982
↓ 32 callersMethodWait
()
container.go:193
↓ 29 callersMethodInfo
Returns information about a container.
container.go:30
↓ 29 callersMethodPause
()
server/timebomb/timebomb.go:33
↓ 26 callersMethodClose
()
client/connection/process_stream.go:28
↓ 26 callersMethodStop
()
backend.go:11
↓ 26 callersMethodrecordInvocation
(key string, args []interface{})
client/connection/connectionfakes/fake_connection.go:1731
↓ 25 callersMethodUnpause
()
server/timebomb/timebomb.go:65
↓ 25 callersFunctionWriteMessage
(writer io.Writer, req interface{})
transport/message_writer.go:8
↓ 23 callersMethodLookup
Lookup returns the container with the specified handle. Errors: * Container not found.
client.go:58
↓ 22 callersMethoddo
( handler string, req, res interface{}, params rata.Params, query url.Values, )
client/connection/connection.go:569
↓ 21 callersMethodHijack
(handler string, body io.Reader, params rata.Params, query url.Values, contentType string)
client/connection/connection.go:73
↓ 20 callersMethodClose
()
server/chanwriter.go:26
↓ 20 callersMethodrecordInvocation
(key string, args []interface{})
gardenfakes/fake_container.go:1493
↓ 18 callersMethodID
()
container.go:192
↓ 17 callersMethodNetOut
Whitelist outbound network traffic. This is deprecated in favour of passing NetOut configuration in the ContainerSpec at creation time. If the config
container.go:84
↓ 15 callersMethodCreate
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
client.go:26
↓ 15 callersFunctionmarshalProto
(messages ...interface{})
client/connection/connection_test.go:1729
↓ 15 callersFunctionuint64ptr
(n uint64)
client/connection/connection_suite_test.go:18
↓ 15 callersFunctionuint64ptr
(n uint64)
server/helpers_test.go:3
↓ 15 callersMethodwriteResponse
(w http.ResponseWriter, msg interface{})
server/request_handling.go:995
↓ 14 callersMethodRun
Run a script inside a container. The root user will be mapped to a non-root UID in the host unless the container (not this process) was created with
container.go:99
↓ 14 callersMethodStrap
()
server/timebomb/timebomb.go:27
↓ 14 callersMethodStream
(handler string, body io.Reader, params rata.Params, query url.Values, contentType string)
client/connection/connection.go:72
↓ 13 callersMethodError
()
errors.go:35
↓ 13 callersMethodHandleReturns
(result1 string)
gardenfakes/fake_container.go:637
↓ 13 callersMethodNetOutArgsForCall
(i int)
gardenfakes/fake_container.go:867
↓ 12 callersFunctionNew
( listenNetwork, listenAddr string, containerGraceTime time.Duration, readHeaderTimeout time.Duration, bac
server/server.go:48
↓ 12 callersMethodRun
(handle string, spec garden.ProcessSpec, io garden.ProcessIO)
client/connection/connection.go:53
↓ 11 callersMethodGraceTime
(Container)
backend.go:13
↓ 11 callersMethodIDReturns
(result1 string)
gardenfakes/fake_process.go:88
↓ 11 callersMethodString
()
server/streamer/streamer_test.go:143
↓ 11 callersMethodWrite
(data []byte)
client/connection/process_stream.go:18
↓ 11 callersMethodrecordInvocation
(key string, args []interface{})
gardenfakes/fake_backend.go:833
↓ 10 callersMethodDestroy
Destroy destroys a container. When a container is destroyed, its resource allocations are released, its filesystem is removed, and all references to
client.go:40
↓ 10 callersFunctionNew
(backend garden.Backend, detonate func(garden.Container))
server/bomberman/bomberman.go:33
↓ 9 callersMethodAttach
(handle string, processID string, io garden.ProcessIO)
client/connection/connection.go:54
↓ 9 callersMethodContainers
Containers lists all containers filtered by Properties (which are ANDed together). Errors: * None.
client.go:46
↓ 9 callersMethodGraceTimeReturns
(result1 time.Duration)
gardenfakes/fake_backend.go:559
↓ 9 callersMethodwriteSuccess
(w http.ResponseWriter)
server/request_handling.go:245
↓ 8 callersMethodAttach
Attach starts streaming the output back to the client from a specified process. Errors: * processID does not refer to a running process.
container.go:105
↓ 8 callersFunctionemptyStderrStream
(handle, processid string, attachid int)
client/connection/connection_test.go:1743
↓ 8 callersFunctionlistenAndServe
(apiServer *server.GardenServer, network, addr string)
server/server_suite_test.go:18
↓ 8 callersMethodreadRequest
(msg interface{}, w http.ResponseWriter, r *http.Request)
server/request_handling.go:1001
↓ 8 callersMethodrecordInvocation
(key string, args []interface{})
gardenfakes/fake_client.go:631
↓ 7 callersMethodCreateReturns
(result1 garden.Container, result2 error)
gardenfakes/fake_client.go:404
↓ 7 callersFunctionNew
(connection connection.Connection)
client/client.go:16
↓ 7 callersMethodPing
Pings the garden server. Checks connectivity to the server. The server may, optionally, respond with specific errors indicating health issues. Errors
client.go:12
↓ 7 callersMethodPing
()
client/connection/connection.go:27
↓ 7 callersMethodSignal
(Signal)
container.go:195
↓ 7 callersMethodStrap
(container garden.Container)
server/bomberman/bomberman.go:49
↓ 7 callersFunctionemptyStdoutStream
(handle, processid string, attachid int)
client/connection/connection_test.go:1739
↓ 6 callersMethodBulkInfo
(handles []string)
client/connection/connection.go:42
↓ 6 callersMethodBulkMetrics
(handles []string)
client/connection/connection.go:43
↓ 6 callersMethodCreate
(spec garden.ContainerSpec)
client/connection/connection.go:31
↓ 6 callersMethodDestroyArgsForCall
(i int)
gardenfakes/fake_client.go:460
↓ 6 callersMethodLookupReturns
(result1 garden.Container, result2 error)
gardenfakes/fake_client.go:527
↓ 6 callersMethodProperties
Properties returns the current set of properties
container.go:114
↓ 6 callersMethodProperty
Property returns the value of the property with the specified name. Errors: * When the property does not exist on the container.
container.go:120
↓ 6 callersMethodRemoveProperty
Remove a property with the specified name from a container. Errors: * None.
container.go:132
↓ 6 callersMethodRunReturns
(result1 garden.Process, result2 error)
gardenfakes/fake_container.go:1113
↓ 6 callersMethodSetProperty
Set a named property on a container to a specified value. Errors: * None.
container.go:126
↓ 6 callersMethodStreamIn
(handle string, spec garden.StreamInSpec)
client/connection/connection.go:45
↓ 6 callersMethodStreamOut
StreamOut streams a file out of a container. Errors: * TODO.
container.go:42
↓ 6 callersMethodWrite
(d []byte)
server/chanwriter.go:11
↓ 5 callersMethodBulkInfo
BulkInfo returns info or error for a list of containers.
client.go:49
↓ 5 callersMethodBulkMetrics
BulkMetrics returns metrics or error for a list of containers.
client.go:52
↓ 5 callersMethodCapacity
()
client/connection/connection.go:29
↓ 5 callersMethodDestroy
Destroys the container with the given handle. If the container cannot be found, garden.ContainerNotFoundError is returned. If deletion fails for anoth
client/connection/connection.go:37
↓ 5 callersMethodListReturns
(result1 []string, result2 error)
client/connection/connectionfakes/fake_connection.go:515
↓ 5 callersMethodListen
()
server/server.go:219
↓ 5 callersMethodMetrics
Metrics returns the current set of metrics for a container
container.go:108
↓ 5 callersMethodNetIn
Map a port on the host to a port in the container so that traffic to the host port is forwarded to the container port. This is deprecated in favour of
container.go:71
↓ 5 callersMethodProperties
(handle string)
client/connection/connection.go:62
↓ 5 callersMethodProperty
(handle string, name string)
client/connection/connection.go:63
↓ 5 callersMethodSetGraceTime
(handle string, graceTime time.Duration)
client/connection/connection.go:60
↓ 5 callersMethodStreamOut
(handle string, spec garden.StreamOutSpec)
client/connection/connection.go:46
↓ 5 callersFunctionverifyRequestBody
(expectedMessage interface{}, emptyType interface{})
client/connection/connection_test.go:1715
↓ 4 callersMethodBulkInfoReturns
(result1 map[string]garden.ContainerInfoEntry, result2 error)
gardenfakes/fake_client.go:155
↓ 4 callersMethodBulkMetricsReturns
(result1 map[string]garden.ContainerMetricsEntry, result2 error)
gardenfakes/fake_client.go:223
↓ 4 callersMethodBulkNetOut
A Bulk call for NetOut. This is deprecated in favour of passing NetOut configuration in the ContainerSpec at creation time. Errors: * An error is ret
container.go:91
↓ 4 callersMethodContainersReturns
(result1 []garden.Container, result2 error)
gardenfakes/fake_client.go:341
↓ 4 callersMethodCurrentBandwidthLimits
(handle string)
client/connection/connection.go:48
↓ 4 callersMethodCurrentCPULimits
Returns the current CPU limts set for the container.
container.go:48
↓ 4 callersMethodCurrentCPULimits
(handle string)
client/connection/connection.go:49
↓ 4 callersMethodCurrentDiskLimits
Returns the current disk limts set for the container.
container.go:51
↓ 4 callersMethodCurrentMemoryLimits
Returns the current memory limts set for the container.
container.go:54
↓ 4 callersMethodCurrentMemoryLimits
(handle string)
client/connection/connection.go:51
↓ 4 callersMethodDefuse
()
server/timebomb/timebomb.go:49
↓ 4 callersMethodInfo
(handle string)
client/connection/connection.go:41
↓ 4 callersMethodNetIn
(handle string, hostPort, containerPort uint32)
client/connection/connection.go:56
↓ 4 callersMethodNetOut
(handle string, rule garden.NetOutRule)
client/connection/connection.go:57
↓ 4 callersFunctionNewWithHijacker
(hijacker HijackStreamer, log lager.Logger)
client/connection/connection.go:104
↓ 4 callersMethodPause
(name string)
server/bomberman/bomberman.go:53
↓ 4 callersMethodSetTTY
(TTYSpec)
container.go:194
↓ 4 callersMethodStop
(handle string, kill bool)
client/connection/connection.go:39
↓ 4 callersMethodStreamIn
StreamIn streams data into a file in a container. Errors: * TODO.
container.go:36
↓ 4 callersMethodWaitReturns
(result1 int, result2 error)
gardenfakes/fake_process.go:260
↓ 4 callersMethodrecordInvocation
(key string, args []interface{})
gardenfakes/fake_process.go:304
next →1–100 of 656, ranked by callers