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 listerv1.GameServerLister,
gsSet *agonesv1.GameServerSet) ([]*agonesv1.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
Click to show internal directories.
Click to hide internal directories.