eventbroadcaster

package
v0.0.0-...-1e8dc9b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 12 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, notifiersConfig eventnotifier.NotifiersConfig, logger *zap.SugaredLogger) (err error)

RegisterNotifierSinks builds notifiers sinks and registers them 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