mock

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

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

Processor provides a mock processor.

func NewProcessor

func NewProcessor() *Processor

NewProcessor creates a new mock processor.

func (*Processor) GetEvents

func (p *Processor) GetEvents() []types.InputLogEvent

GetEvents gets the events.

func (*Processor) Process

func (p *Processor) Process(event types.InputLogEvent) error

Process the event.

Jump to

Keyboard shortcuts

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