Documentation ¶
Overview ¶
Package fleetallocation handles management of allocation GameServers from running Fleets
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoGameServerReady is returned when there are no Ready GameServers // available ErrNoGameServerReady = errors.New("Could not find a Ready GameServer") )
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a the FleetAllocation controller
func NewController ¶
func NewController( wh *webhooks.WebHook, allocationMutex *sync.Mutex, kubeClient kubernetes.Interface, extClient extclientset.Interface, agonesClient versioned.Interface, agonesInformerFactory externalversions.SharedInformerFactory) *Controller
NewController returns a controller for a FleetAllocation
func (*Controller) Run ¶
func (c *Controller) Run(workers int, stop <-chan struct{}) error
Run runs this controller. This controller doesn't (currently) have a worker/queue, and as such, does not block.
Click to show internal directories.
Click to hide internal directories.