record

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IngressKind = "Ingress"
	ServiceKind = "Service"

	EventTypeNormal         string = "Normal"
	EventTypeWarning               = "Warning"
	ReasonReconcileFailed          = "Failed"
	ReasonReconciled               = "Created"
	ReasonReconcileCreating        = "Creating"
	ReasonReconcileUpdated         = "Updated"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EventRecorder

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

func NewEventRecorder

func NewEventRecorder(recorder Recorder) *EventRecorder

func (*EventRecorder) RecordCreating

func (r *EventRecorder) RecordCreating(gs *agonesv1.GameServer, kind string)

func (*EventRecorder) RecordEvent added in v0.2.1

func (r *EventRecorder) RecordEvent(gs *agonesv1.GameServer, eventMessage string)

func (*EventRecorder) RecordFailed

func (r *EventRecorder) RecordFailed(gs *agonesv1.GameServer, kind string, err error)

func (*EventRecorder) RecordSuccess

func (r *EventRecorder) RecordSuccess(gs *agonesv1.GameServer, kind string)

type Recorder

type Recorder interface {
	Event(object runtime.Object, eventtype string, reason string, message string)
}

Jump to

Keyboard shortcuts

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