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

Method Write

client/connection/process_stream.go:18–26  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

16}
17
18func (s *processStream) Write(data []byte) (int, error) {
19 d := string(data)
20 stdin := transport.Stdin
21 return len(data), s.sendPayload(transport.ProcessPayload{
22 ProcessID: s.processID,
23 Source: &stdin,
24 Data: &d,
25 })
26}
27
28func (s *processStream) Close() error {
29 stdin := transport.Stdin

Callers 2

connection_test.goFile · 0.45

Calls 1

sendPayloadMethod · 0.95

Tested by

no test coverage detected