record

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

Documentation

Index

Constants

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

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

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) 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