processor

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPolicyProcessor

func NewPolicyProcessor(ctx context.Context, offsetManager OffsetManager) *policyProcessor

Types

type EventOffset

type EventOffset struct {
	Topic     string
	Partition int32
	Offset    int64
}

type EventProcessor

type EventProcessor interface {
	Process(event *kube.EnhancedEvent, offset *EventOffset)
}

type OffsetManager

type OffsetManager interface {
	MarkOffset(topic string, partition int32, offset int64)
}

Jump to

Keyboard shortcuts

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