Documentation ¶
Overview ¶
Package gameserversets handles management of the GameServerSet Custom Resource Definition
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoGameServerSetOwner is returned when a GameServerSet can't be found as an owner // for a GameServer ErrNoGameServerSetOwner = errors.New("No GameServerSet owner for this GameServer") )
Functions ¶
func ListGameServersByGameServerSetOwner ¶
func ListGameServersByGameServerSetOwner(gameServerLister listerv1alpha1.GameServerLister, gsSet *v1alpha1.GameServerSet) ([]*v1alpha1.GameServer, error)
ListGameServersByGameServerSetOwner lists the GameServers for a given GameServerSet
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a the GameServerSet controller
func NewController ¶
func NewController( wh *webhooks.WebHook, health healthcheck.Handler, counter *gameservers.PerNodeCounter, kubeClient kubernetes.Interface, extClient extclientset.Interface, agonesClient versioned.Interface, agonesInformerFactory externalversions.SharedInformerFactory) *Controller
NewController returns a new gameserverset crd controller
func (*Controller) Run ¶
func (c *Controller) Run(workers int, stop <-chan struct{}) error
Run the GameServerSet controller. Will block until stop is closed. Runs threadiness number workers to process the rate limited queue
Click to show internal directories.
Click to hide internal directories.