Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllAllocationIds ¶
func GetAllAllocationIds() []model.AllocationID
GetAllAllocationIds returns all registered allocation ids.
func GetAllocation ¶
func GetAllocation(allocationID model.AllocationID) *actor.Ref
GetAllocation returns allocation actor by allocation id.
func InitAllocationMap ¶
func InitAllocationMap()
InitAllocationMap initializes the global allocation_id -> allocation actor map.
func RegisterAllocation ¶
func RegisterAllocation(allocationID model.AllocationID, ref *actor.Ref)
RegisterAllocation inserts the new allocation into the map.
func UnregisterAllocation ¶
func UnregisterAllocation(allocationID model.AllocationID)
UnregisterAllocation deletes an allocation from the map.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.