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

Method Attach

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

Attach starts streaming the output back to the client from a specified process. Errors: * processID does not refer to a running process.

(processID string, io ProcessIO)

Source from the content-addressed store, hash-verified

103 // Errors:
104 // * processID does not refer to a running process.
105 Attach(processID string, io ProcessIO) (Process, error)
106
107 // Metrics returns the current set of metrics for a container
108 Metrics() (Metrics, error)

Callers 2

handleAttachMethod · 0.65

Implementers 2

FakeContainergardenfakes/fake_container.go
containerclient/container.go

Calls

no outgoing calls

Tested by

no test coverage detected