code: func (rep *SimulationRep) availableResources() rep.Resources {
  	resources := rep.totalResources
  	for _, lrp := range rep.lrps {
  		resources.MemoryMB -= lrp.MemoryMB
  		resources.DiskMB -= lrp.DiskMB
  		resources.Containers -= 1
  	}
  	for _, task := range rep.tasks {
  		resources.MemoryMB -= task.MemoryMB
  		resources.DiskMB -= task.DiskMB
  		resources.Containers -= 1
  	}
  	return resources
  }
docs: //internal -- no locks here