Documentation ¶
Overview ¶
Package fleets handles management of the Fleet Custom Resource Definition
Index ¶
- func ListGameServerSetsByFleetOwner(gameServerSetLister listerv1.GameServerSetLister, f *agonesv1.Fleet) ([]*agonesv1.GameServerSet, error)
- func ListGameServersByFleetOwner(gameServerLister listerv1.GameServerLister, fleet *agonesv1.Fleet) ([]*agonesv1.GameServer, error)
- type Controller
- type Extensions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListGameServerSetsByFleetOwner ¶
func ListGameServerSetsByFleetOwner(gameServerSetLister listerv1.GameServerSetLister, f *agonesv1.Fleet) ([]*agonesv1.GameServerSet, error)
ListGameServerSetsByFleetOwner lists all the GameServerSets for a given Fleet
func ListGameServersByFleetOwner ¶
func ListGameServersByFleetOwner(gameServerLister listerv1.GameServerLister, fleet *agonesv1.Fleet) ([]*agonesv1.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( health healthcheck.Handler, kubeClient kubernetes.Interface, extClient extclientset.Interface, agonesClient versioned.Interface, agonesInformerFactory externalversions.SharedInformerFactory) *Controller
NewController returns a new fleets crd controller
type Extensions ¶ added in v1.29.0
type Extensions struct {
// contains filtered or unexported fields
}
Extensions struct contains what is needed to bind webhook handlers
func NewExtensions ¶ added in v1.29.0
func NewExtensions(apiHooks agonesv1.APIHooks, wh *webhooks.WebHook) *Extensions
NewExtensions binds the handlers to the webhook outside the initialization of the controller initializes a new logger for extensions.
Click to show internal directories.
Click to hide internal directories.