k8sevents

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventsCollector

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

func NewEventsCollector

func NewEventsCollector(clientset *kubernetes.Clientset, logger Logger) *EventsCollector

func (*EventsCollector) RegisterSubscriber

func (m *EventsCollector) RegisterSubscriber(aggregatorID, svcName, svcNamespace, port, namespace string)

func (*EventsCollector) UnregisterByAggregatorID

func (m *EventsCollector) UnregisterByAggregatorID(aggregatorID string)

func (*EventsCollector) UnregisterSubscriber

func (m *EventsCollector) UnregisterSubscriber(aggregatorID, svcName, svcNamespace string)

type Logger

type Logger interface {
	Info(msg string, keysAndValues ...any)
	Error(err error, msg string, keysAndValues ...any)
}

Jump to

Keyboard shortcuts

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