fake

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 3 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 {
	Annotations map[string]string
	EventType   string
	Reason      string
	Message     string
	Object      runtime.Object
}

func NewEvent

func NewEvent(
	annotations map[string]string,
	eventType,
	reason,
	message string,
	object runtime.Object,
) Event

type EventRecorder

type EventRecorder struct {
	Events chan Event
}

func NewEventRecorder

func NewEventRecorder(bufferSize int) *EventRecorder

func (*EventRecorder) AnnotatedEventf

func (r *EventRecorder) AnnotatedEventf(
	object runtime.Object,
	annotations map[string]string,
	eventtype,
	reason,
	messageFmt string,
	args ...any,
)

func (*EventRecorder) Event

func (r *EventRecorder) Event(object runtime.Object, eventtype, reason, message string)

func (*EventRecorder) Eventf

func (r *EventRecorder) Eventf(object runtime.Object, eventtype, reason, messageFmt string, args ...any)

Jump to

Keyboard shortcuts

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