code: func (p *Process) Constraints() Constraints {
  	return Constraints{
  		Memory:   p.Memory,
  		CPUShare: p.CPUShare,
  		Nproc:    p.Nproc,
  	}
  }
docs: // Constraints returns a constraints.Constraints from this Process definition.