fleets

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package fleets handles management of the Fleet Custom Resource Definition

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListGameServerSetsByFleetOwner

func ListGameServerSetsByFleetOwner(gameServerSetLister listerv1alpha1.GameServerSetLister, f *stablev1alpha1.Fleet) ([]*stablev1alpha1.GameServerSet, error)

ListGameServerSetsByFleetOwner lists all the GameServerSets for a given Fleet

func ListGameServersByFleetOwner

func ListGameServersByFleetOwner(gameServerLister listerv1alpha1.GameServerLister,
	gameServerSetLister listerv1alpha1.GameServerSetLister, fleet *stablev1alpha1.Fleet) ([]*stablev1alpha1.GameServer, error)

ListGameServersByFleetOwner lists all GameServers that belong to a fleet through the GameServer -> GameServerSet -> Fleet owner chain

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,
	kubeClient kubernetes.Interface,
	extClient extclientset.Interface,
	agonesClient versioned.Interface,
	agonesInformerFactory externalversions.SharedInformerFactory) *Controller

NewController returns a new fleets crd controller

func (*Controller) Run

func (c *Controller) Run(workers int, stop <-chan struct{}) error

Run the Fleet controller. Will block until stop is closed. Runs threadiness number workers to process the rate limited queue

Jump to

Keyboard shortcuts

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