eventbroadcaster

package
v0.0.0-...-51bb0a0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventBroadcaster

func EventBroadcaster() record.EventBroadcaster

func RegisterNotifierSinks

func RegisterNotifierSinks(mgr ctrl.Manager, broadcaster record.EventBroadcaster, notifiers []eventnotifier.Notifier, logger *zap.SugaredLogger)

RegisterNotifierSinks registers notifiers sinks on the given broadcaster

Types

type NotifierSink

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

func (*NotifierSink) Create

func (s *NotifierSink) Create(event *corev1.Event) (*corev1.Event, error)

func (*NotifierSink) Patch

func (s *NotifierSink) Patch(oldEvent *corev1.Event, data []byte) (*corev1.Event, error)

func (*NotifierSink) Update

func (s *NotifierSink) Update(event *corev1.Event) (*corev1.Event, error)

Jump to

Keyboard shortcuts

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