# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
AddAllocationAcceleratorData stores acceleration data for an allocation.
InsertNTSCAllocationWorkspaceRecord inserts a record linking an NTSC tasks' allocation to it's respective workspace.
InsertTrialAllocationWorkspaceRecord inserts a record linking an trial's allocation to a trial to it's respective workspace & experiment.
# Constants
KillAllocation is the signal to kill an allocation; analogous to SIGKILL.
TerminateAllocation is the signal to kill an allocation; analogous to SIGTERM.
# Variables
DefaultService is the singleton default allocationService.
# Structs
AllocationExited summarizes the exit status of an allocation.
AllocationState requests allocation state.
AllocationUnfulfilledError is returned an operation is tried without an active allocation.
AlreadyCancelledError is returned to the allocation when it tries to take an action but has an unread cancellation in its inbox.
BehaviorDisabledError is returned an operation is tried without the behavior being enabled.
BehaviorUnsupportedError is returned an operation is tried without the behavior being supported.
NoAllocationError is returned an operation is tried without a requested allocation.
RendezvousInfoOrError contains either rendezvous info or an error from failing to materialize it.
RendezvousWatcher contains a channel which can be polled for rendezvous info.
StaleContainerError is returned when an operation was attempted by a stale container.
StaleResourcesError is returned when an operation was attempted by a stale resources.
StaleResourcesReceivedError is returned the scheduler gives an allocation resources between when it requests them and it deciding, for some reason or another, they are not needed.
TimeoutExceededError is return, with a bit of detail, when a timeout is exceeded.
# Interfaces
AllocationService allows callers to launch, direct and query allocations.
# Type aliases
AllocationSignal is an interface for signals that can be sent to an allocation.