code: func (p *Process) SetConstraints(c Constraints) {
  	p.Memory = c.Memory
  	p.CPUShare = c.CPUShare
  	p.Nproc = c.Nproc
  }
docs: // SetConstraints sets the memory/cpu/nproc for this Process to the given
  // constraints.