# Functions
AvailableForNodes finds available resources by subtracting current usage from allocatable per node.
CreateResources creates a new Resources struct with given specs.
CreateSchedulingMetadata creates a new NodeSchedulingMetadata struct with provided specs as the available capacity.
CreateSchedulingMetadataWithTotals creates a new NodeSchedulingMetadata struct with the provided usage and total capacity specs.
NodeSchedulingMetadataForNodes calculate available and schedulable resources.
UsageForNodes tallies resource usages per node from the given list of resource reservations.
Zero returns a Resources object with quantities of zero.
# Structs
NodeSchedulingMetadata represents various parameters of a node that are considered in scheduling decisions.
Resources represents the CPU and Memory resource quantities.
# Type aliases
NodeGroupResources represents resources for a group of nodes.
NodeGroupSchedulingMetadata represents NodeSchedulingMetadata for a group of nodes.