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

# Functions

FleetReadyCount returns the ready count in a fleet.
GetAllocation returns a GameServerAllocation that is looking for a Ready GameServer from this fleet.
NewFromFlags sets up the testing framework with the standard command line flags.
ParseTestFlags Parses go test flags separately because pflag package ignores flags with '-test.' prefix Related issues: https://github.com/spf13/pflag/issues/63 https://github.com/spf13/pflag/issues/238.
SendGameServerTCP sends a message to a gameserver and returns its reply finds the first tcp port from the spec to send the message to, returns error if no Ports were allocated.
SendGameServerTCPToPort sends a message to a gameserver at the named port and returns its reply returns error if no Ports were allocated or a port of the specified name doesn't exist.
SendTCP sends a message to an address, and returns its reply if it returns one in 30 seconds.
TestLogger returns the standard logger for helper functions.

# Constants

special labels that can be put on pods to trigger automatic cleanup.
special labels that can be put on pods to trigger automatic cleanup.

# Variables

NamespaceLabel is the label that is put on all namespaces that are created for e2e tests.

# Structs

Framework is a testing framework.
StatsCollector collects latency and throughput counters.