handlers

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 12 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(ctx context.Context, obj interface{}) error
	OnUpdate(ctx context.Context, oldObj interface{}, newObj interface{}) error
	OnDelete(ctx context.Context, obj interface{}) error
}

type GameSeverEventHandler

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

func NewGameSeverEventHandler

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

func (*GameSeverEventHandler) OnAdd

func (h *GameSeverEventHandler) OnAdd(ctx context.Context, obj interface{}) error

func (*GameSeverEventHandler) OnDelete

func (h *GameSeverEventHandler) OnDelete(_ context.Context, obj interface{}) error

func (*GameSeverEventHandler) OnUpdate

func (h *GameSeverEventHandler) OnUpdate(ctx context.Context, _ interface{}, newObj interface{}) error

func (*GameSeverEventHandler) Reconcile

func (h *GameSeverEventHandler) Reconcile(ctx context.Context, logger *logrus.Entry, gs *agonesv1.GameServer) error

Jump to

Keyboard shortcuts

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