# Functions

EqualStateControllers : check if two controllers have similar allocation state.
EqualStateControllers : check if two forest controllers have similar allocation state.
EqualStateQuotaNodes : check if two quota nodes have similar allocation data.
EqualStateQuotaTrees : check if two quota trees have similar allocation data.
NewAllocation : create an empty allocation of a given size (length).
NewAllocationCopy : create an allocation given an array of values.
NewAllocationRecovery : create an allocation recovery for a consumer.
NewAllocationResponse : create an allocation response for a consumer.
NewConsumer : create a consumer.
NewController : create a quota controller.
NewForestConsumer: create a forest consumer.
NewForestConsumerFromFile : create a forest consumer from JSON file.
NewForestConsumerFromString : create a forest consumer from JSON string spec.
NewForestConsumerFromStruct : create a forest consumer from JSON struct.
NewForestController : create a multiple tree controller.
NewQuotaNode : create a quota node.
NewQuotaNodeHard : create a quota node.
NewQuotaTree : create a quota tree.
NewTreeCache : create a tree cache.
NewTreeSnapshot : create a new snapshot before allocating a consumer on a quota tree.

# Structs

Allocation : an allocation of an (ordered) array of resources (names of resources are left out for efficiency).
AllocationRecovery : Used to recover from failure after partial allocation.
AllocationResponse : A response object to a consumer allocation request.
Consumer : A tree consumer.
ConsumerState : snapshot data about state of a consumer.
Controller : controller of a quota tree.
ForestConsumer : A forest consumer (multiple tree consumers).
ForestController : controller for multiple quota trees.
NodeState : snapshot data about state of a node.
QuotaNode : a node in the quota tree.
QuotaTree : a quota tree.
TreeCache : cache area for the parts of the quota tree (resources, nodes, topology) which may be updated; a quota tree may be created from the cache at any point.
TreeCacheCreateResponse : response information of creating a tree from the cache.
TreeSnapshot : A snapshot of a quota tree that could be used to undo a consumer allocation.

# Type aliases

ByID implements sort.Interface based on the ID field.