Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a the main GameServer crd controller
func NewController ¶
func NewController( namespace, name string, kubeClient kubernetes.Interface, carrierClient versioned.Interface, gameServerInformer v1alpha1.GameServerInformer, sendChan chan *sdkapi.GameServer) *Controller
NewController returns a new GameServer crd controller
func (*Controller) Run ¶
func (c *Controller) Run(stop <-chan struct{}) error
Run starts the controller.
func (*Controller) SetNotifyFunc ¶
func (c *Controller) SetNotifyFunc(setCondition f)
SetNotifyFunc set the notification func name. This should be called when notify func is ready.
Click to show internal directories.
Click to hide internal directories.