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

Method Attach

client/container.go:65–67  ·  view source on GitHub ↗
(processID string, io garden.ProcessIO)

Source from the content-addressed store, hash-verified

63}
64
65func (container *container) Attach(processID string, io garden.ProcessIO) (garden.Process, error) {
66 return container.connection.Attach(container.handle, processID, io)
67}
68
69func (container *container) NetIn(hostPort, containerPort uint32) (uint32, uint32, error) {
70 return container.connection.NetIn(container.handle, hostPort, containerPort)

Callers

nothing calls this directly

Calls 1

AttachMethod · 0.65

Tested by

no test coverage detected