code: func (n *NodeInfo) AllowedPodNumber() int {
  	if n == nil || n.allocatableResource == nil {
  		return 0
  	}
  	return n.allocatableResource.AllowedPodNumber
  }
docs: // AllowedPodNumber returns the number of the allowed pods on this node.