MCPcopy Index your code
hub / github.com/containerd/containerd / Result

Method Result

client/process.go:83–85  ·  view source on GitHub ↗

Result returns the exit code and time of the exit status. An error may be returned here to which indicates there was an error at some point while waiting for the exit status. It does not signify an error with the process itself. If an error is returned, the process may still be running.

()

Source from the content-addressed store, hash-verified

81//
82// If an error is returned, the process may still be running.
83func (s ExitStatus) Result() (uint32, time.Time, error) {
84 return s.code, s.exitedAt, s.err
85}
86
87// ExitCode returns the exit code of the process.
88// This is only valid if Error() returns nil.

Callers 15

TestContainerStartFunction · 0.80
TestContainerOutputFunction · 0.80
TestContainerExecFunction · 0.80
TestContainerPidsFunction · 0.80
TestWaitStoppedTaskFunction · 0.80
TestWaitStoppedProcessFunction · 0.80
TestContainerHostnameFunction · 0.80
TestContainerExitedAtSetFunction · 0.80
TestContainerNoSTDINFunction · 0.80

Calls

no outgoing calls

Tested by 15

TestContainerStartFunction · 0.64
TestContainerOutputFunction · 0.64
TestContainerExecFunction · 0.64
TestContainerPidsFunction · 0.64
TestWaitStoppedTaskFunction · 0.64
TestWaitStoppedProcessFunction · 0.64
TestContainerHostnameFunction · 0.64
TestContainerExitedAtSetFunction · 0.64
TestContainerNoSTDINFunction · 0.64