Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeManager ¶
type NodeManager struct {
// contains filtered or unexported fields
}
func NewNodeManager ¶
func NewNodeManager(nodepools []*pb.NodePool) (*NodeManager, error)
NewNodeManager returns a NodeManager pointer with initialised caches about nodes.
func (*NodeManager) GetCapacity ¶
func (nm *NodeManager) GetCapacity(np *pb.NodePool) k8sV1.ResourceList
GetCapacity returns a theoretical capacity for a new node from specified nodepool.
Click to show internal directories.
Click to hide internal directories.