controller

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GameServerController

type GameServerController struct {
	manager.Manager
	// contains filtered or unexported fields
}

GameServerController watches for events associated to a particular resource type like GameServers or Fleets. It uses the passed EventHandler argument to send back the current state of the world.

func NewGameServerController

func NewGameServerController(ctx context.Context, mgr manager.Manager, eventHandler handlers.EventHandler, options Options) (*GameServerController, error)

func (*GameServerController) Start

func (c *GameServerController) Start(ctx context.Context) error

type Options

type Options struct {
	For  client.Object
	Owns client.Object
}

Jump to

Keyboard shortcuts

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