github.com/jen20/docker@v1.13.1/daemon/monitor_linux.go (about) 1 package daemon 2 3 import ( 4 "github.com/docker/docker/container" 5 "github.com/docker/docker/libcontainerd" 6 ) 7 8 // platformConstructExitStatus returns a platform specific exit status structure 9 func platformConstructExitStatus(e libcontainerd.StateInfo) *container.ExitStatus { 10 return &container.ExitStatus{ 11 ExitCode: int(e.ExitCode), 12 OOMKilled: e.OOMKilled, 13 } 14 } 15 16 // postRunProcessing perfoms any processing needed on the container after it has stopped. 17 func (daemon *Daemon) postRunProcessing(container *container.Container, e libcontainerd.StateInfo) error { 18 return nil 19 }