mockjournal

package
v1.17.1-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mockjournal is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockJournal

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

MockJournal is a mock of Journal interface.

func NewMockJournal

func NewMockJournal(ctrl *gomock.Controller) *MockJournal

NewMockJournal creates a new mock instance.

func (*MockJournal) Close

func (m *MockJournal) Close() error

Close mocks base method.

func (*MockJournal) EXPECT

func (m *MockJournal) EXPECT() *MockJournalMockRecorder

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

func (*MockJournal) RecordEvent

func (m *MockJournal) RecordEvent(arg0 journal.EventType, arg1 func() interface{})

RecordEvent mocks base method.

func (*MockJournal) RegisterEventType

func (m *MockJournal) RegisterEventType(arg0, arg1 string) journal.EventType

RegisterEventType mocks base method.

type MockJournalMockRecorder

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

MockJournalMockRecorder is the mock recorder for MockJournal.

func (*MockJournalMockRecorder) Close

func (mr *MockJournalMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockJournalMockRecorder) RecordEvent

func (mr *MockJournalMockRecorder) RecordEvent(arg0, arg1 interface{}) *gomock.Call

RecordEvent indicates an expected call of RecordEvent.

func (*MockJournalMockRecorder) RegisterEventType

func (mr *MockJournalMockRecorder) RegisterEventType(arg0, arg1 interface{}) *gomock.Call

RegisterEventType indicates an expected call of RegisterEventType.

Jump to

Keyboard shortcuts

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