MCPcopy
hub / github.com/moby/moby / Combined

Method Combined

integration/internal/container/exec.go:29–31  ·  view source on GitHub ↗

Combined returns combined stdout and stderr output of a command run by Exec()

()

Source from the content-addressed store, hash-verified

27
28// Combined returns combined stdout and stderr output of a command run by Exec()
29func (res ExecResult) Combined() string {
30 return res.outBuffer.String() + res.errBuffer.String()
31}
32
33// AssertSuccess fails the test and stops execution if the command exited with a
34// nonzero status code.

Callers 15

TestExecSocketDeniedFunction · 0.80
testIpcContainerFunction · 0.80
TestHostIPv4BridgeLabelFunction · 0.80
TestDefaultNetworkOptsFunction · 0.80
testIpvlanL2InternalModeFunction · 0.80
testIpvlanL3InternalModeFunction · 0.80
testIpvlanL2AddressingFunction · 0.80
testIpvlanL3AddressingFunction · 0.80

Calls 1

StringMethod · 0.65

Tested by 15

TestExecSocketDeniedFunction · 0.64
testIpcContainerFunction · 0.64
TestHostIPv4BridgeLabelFunction · 0.64
TestDefaultNetworkOptsFunction · 0.64
testIpvlanL2InternalModeFunction · 0.64
testIpvlanL3InternalModeFunction · 0.64
testIpvlanL2AddressingFunction · 0.64
testIpvlanL3AddressingFunction · 0.64