github.com/sijibomii/docker@v0.0.0-20231230191044-5cf6ca554647/daemon/monitor_windows.go (about) 1 package daemon 2 3 import ( 4 "fmt" 5 6 "github.com/docker/docker/container" 7 "github.com/docker/docker/libcontainerd" 8 ) 9 10 // platformConstructExitStatus returns a platform specific exit status structure 11 func platformConstructExitStatus(e libcontainerd.StateInfo) *container.ExitStatus { 12 return &container.ExitStatus{ 13 ExitCode: int(e.ExitCode), 14 } 15 } 16 17 // postRunProcessing perfoms any processing needed on the container after it has stopped. 18 func (daemon *Daemon) postRunProcessing(container *container.Container, e libcontainerd.StateInfo) error { 19 //TODO Windows - handle update processing here... 20 if e.UpdatePending { 21 return fmt.Errorf("Windows: Update handling not implemented.") 22 } 23 return nil 24 }