mock

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEventHandler

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

MockEventHandler is a mock of EventHandler interface

func NewMockEventHandler

func NewMockEventHandler(ctrl *gomock.Controller) *MockEventHandler

NewMockEventHandler creates a new mock instance

func (*MockEventHandler) EXPECT

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

func (*MockEventHandler) GetEvents

func (m *MockEventHandler) GetEvents(namespaceFunc events.NamespaceFunc) ([]*models.Event, error)

GetEvents mocks base method

type MockEventHandlerMockRecorder

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

MockEventHandlerMockRecorder is the mock recorder for MockEventHandler

func (*MockEventHandlerMockRecorder) GetEvents

func (mr *MockEventHandlerMockRecorder) GetEvents(namespaceFunc interface{}) *gomock.Call

GetEvents indicates an expected call of GetEvents

Jump to

Keyboard shortcuts

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