github.com/docker/docker@v299999999.0.0-20200612211812-aaf470eca7b5+incompatible/libcontainerd/supervisor/remote_daemon_options_linux.go (about)

     1  package supervisor // import "github.com/docker/docker/libcontainerd/supervisor"
     2  
     3  // WithOOMScore defines the oom_score_adj to set for the containerd process.
     4  func WithOOMScore(score int) DaemonOpt {
     5  	return func(r *remote) error {
     6  		r.OOMScore = score
     7  		return nil
     8  	}
     9  }