MCPcopy
hub / github.com/containerd/containerd / ExitCode

Method ExitCode

client/process.go:89–91  ·  view source on GitHub ↗

ExitCode returns the exit code of the process. This is only valid if Error() returns nil.

()

Source from the content-addressed store, hash-verified

87// ExitCode returns the exit code of the process.
88// This is only valid if Error() returns nil.
89func (s ExitStatus) ExitCode() uint32 {
90 return s.code
91}
92
93// ExitTime returns the exit time of the process
94// This is only valid if Error() returns nil.

Callers 11

TestContainerStartFunction · 0.80
TestContainerExecFunction · 0.80
TestRegressionIssue4769Function · 0.80
testUserNamespacesFunction · 0.80
runVerifierMethod · 0.80
execInternalMethod · 0.80
WaitMethod · 0.80
TestRecoverContainerFunction · 0.80
delete.goFile · 0.80

Calls

no outgoing calls

Tested by 7

TestContainerStartFunction · 0.64
TestContainerExecFunction · 0.64
TestRegressionIssue4769Function · 0.64
testUserNamespacesFunction · 0.64
TestRecoverContainerFunction · 0.64