enricher

package
v0.0.1-pre Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package enricher is a generated GoMock package.

Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enricher

type Enricher struct {
	Reader *container.RingReader
	// contains filtered or unexported fields
}

func Instance

func Instance() *Enricher

func New

func New(ctx context.Context, cache cache.CacheInterface) *Enricher

func (*Enricher) ExportReader

func (e *Enricher) ExportReader() *container.RingReader

func (*Enricher) Run

func (e *Enricher) Run()

func (*Enricher) Write

func (e *Enricher) Write(ev *v1.Event)

type EnricherInterface

type EnricherInterface interface {
	Run()
	Write(ev *v1.Event)
	ExportReader() *container.RingReader
}

type MockEnricherInterface

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

MockEnricherInterface is a mock of EnricherInterface interface.

func NewMockEnricherInterface

func NewMockEnricherInterface(ctrl *gomock.Controller) *MockEnricherInterface

NewMockEnricherInterface creates a new mock instance.

func (*MockEnricherInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEnricherInterface) ExportReader

func (m *MockEnricherInterface) ExportReader() *container.RingReader

ExportReader mocks base method.

func (*MockEnricherInterface) Run

func (m *MockEnricherInterface) Run()

Run mocks base method.

func (*MockEnricherInterface) Write

func (m *MockEnricherInterface) Write(arg0 *v1.Event)

Write mocks base method.

type MockEnricherInterfaceMockRecorder

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

MockEnricherInterfaceMockRecorder is the mock recorder for MockEnricherInterface.

func (*MockEnricherInterfaceMockRecorder) ExportReader

func (mr *MockEnricherInterfaceMockRecorder) ExportReader() *gomock.Call

ExportReader indicates an expected call of ExportReader.

func (*MockEnricherInterfaceMockRecorder) Run

Run indicates an expected call of Run.

func (*MockEnricherInterfaceMockRecorder) Write

func (mr *MockEnricherInterfaceMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write.

Jump to

Keyboard shortcuts

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