events

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Object    runtime.Object
	EventType EventType
	Reason    string
	Message   string
}

type EventRecorder

type EventRecorder struct {
	// recorder is an event recorder for recording Event resources to the Kubernetes API.
	Recorder record.EventRecorder
}

func NewEventRecorder

func NewEventRecorder(recorder record.EventRecorder) *EventRecorder

func (*EventRecorder) Record

func (recorder *EventRecorder) Record(event *Event)

type EventType

type EventType string
var EventTypeNormal EventType = "Normal"
var EventTypeWarning EventType = "Warning"

Jump to

Keyboard shortcuts

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