Categoryagones.dev/agonespkggameserverallocations
package
1.47.0
Repository: https://github.com/googleforgames/agones.git
Documentation: pkg.go.dev

# Functions

NewAllocationCache creates a new instance of AllocationCache.
NewAllocator creates an instance of Allocator.
NewExtensions returns the extensions controller for a GameServerAllocation.
Retry retries fn based on backoff provided.

# Constants

LastAllocatedAnnotationKey is a GameServer annotation containing an RFC 3339 formatted timestamp of the most recent allocation.

# Variables

ErrConflictInGameServerSelection is returned when the candidate gameserver already allocated.
ErrNoGameServer is returned when there are no Allocatable GameServers available.
ErrTotalTimeoutExceeded is used to signal that total retry timeout has been exceeded and no additional retries should be made.

# Structs

AllocationCache maintains a cache of GameServers that could potentially be allocated.
Allocator handles game server allocation.
Extensions is a GameServerAllocation controller within the Extensions service.