handlers

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventHandler

type EventHandler interface {
	OnAdd(obj interface{}) error
	OnUpdate(oldObj interface{}, newObj interface{}) error
	OnDelete(obj interface{}) error
}

type GameSeverEventHandler

type GameSeverEventHandler struct {
	// contains filtered or unexported fields
}

func NewGameSeverEventHandler

func NewGameSeverEventHandler(store *stores.Store, recorder *record.EventRecorder) *GameSeverEventHandler

func (*GameSeverEventHandler) OnAdd

func (h *GameSeverEventHandler) OnAdd(obj interface{}) error

func (*GameSeverEventHandler) OnDelete

func (h *GameSeverEventHandler) OnDelete(obj interface{}) error

func (*GameSeverEventHandler) OnUpdate

func (h *GameSeverEventHandler) OnUpdate(_ interface{}, newObj interface{}) error

func (*GameSeverEventHandler) Reconcile

func (h *GameSeverEventHandler) Reconcile(gs *agonesv1.GameServer) error

Jump to

Keyboard shortcuts

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