fleetallocation

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 27 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL