code: func (n *NodeInfo) SetAllocatableResource(allocatableResource *Resource) {
  	n.allocatableResource = allocatableResource
  	n.generation = nextGeneration()
  }
docs: // SetAllocatableResource sets the allocatableResource information of given node.