mock

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2025 License: BSD-3-Clause 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 MockQueueReadWriter added in v2.0.4

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

MockQueueReadWriter is a mock of QueueReadWriter interface.

func NewMockQueueReadWriter added in v2.0.4

func NewMockQueueReadWriter(ctrl *gomock.Controller) *MockQueueReadWriter

NewMockQueueReadWriter creates a new mock instance.

func (*MockQueueReadWriter) EXPECT added in v2.0.4

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

func (*MockQueueReadWriter) Front added in v2.0.4

func (m *MockQueueReadWriter) Front() (ksuid.KSUID, func())

Front mocks base method.

func (*MockQueueReadWriter) Has added in v2.0.4

func (m *MockQueueReadWriter) Has(arg0 ksuid.KSUID) bool

Has mocks base method.

func (*MockQueueReadWriter) Len added in v2.0.4

func (m *MockQueueReadWriter) Len() int

Len mocks base method.

func (*MockQueueReadWriter) Remove added in v2.0.4

func (m *MockQueueReadWriter) Remove(arg0 ksuid.KSUID) bool

Remove mocks base method.

func (*MockQueueReadWriter) Scan added in v2.0.4

func (m *MockQueueReadWriter) Scan(after ksuid.KSUID, fn func(ksuid.KSUID, func()) bool) bool

Scan mocks base method.

func (*MockQueueReadWriter) Set added in v2.0.4

func (m *MockQueueReadWriter) Set(arg0 ksuid.KSUID, arg1 func()) bool

Set mocks base method.

type MockQueueReadWriterMockRecorder added in v2.0.4

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

MockQueueReadWriterMockRecorder is the mock recorder for MockQueueReadWriter.

func (*MockQueueReadWriterMockRecorder) Front added in v2.0.4

Front indicates an expected call of Front.

func (*MockQueueReadWriterMockRecorder) Has added in v2.0.4

Has indicates an expected call of Has.

func (*MockQueueReadWriterMockRecorder) Len added in v2.0.4

Len indicates an expected call of Len.

func (*MockQueueReadWriterMockRecorder) Remove added in v2.0.4

func (mr *MockQueueReadWriterMockRecorder) Remove(arg0 any) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockQueueReadWriterMockRecorder) Scan added in v2.0.4

func (mr *MockQueueReadWriterMockRecorder) Scan(after, fn any) *gomock.Call

Scan indicates an expected call of Scan.

func (*MockQueueReadWriterMockRecorder) Set added in v2.0.4

func (mr *MockQueueReadWriterMockRecorder) Set(arg0, arg1 any) *gomock.Call

Set indicates an expected call of Set.

type MockQueueReader added in v2.0.4

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

MockQueueReader is a mock of QueueReader interface.

func NewMockQueueReader added in v2.0.4

func NewMockQueueReader(ctrl *gomock.Controller) *MockQueueReader

NewMockQueueReader creates a new mock instance.

func (*MockQueueReader) EXPECT added in v2.0.4

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

func (*MockQueueReader) Has added in v2.0.4

func (m *MockQueueReader) Has(arg0 ksuid.KSUID) bool

Has mocks base method.

func (*MockQueueReader) Len added in v2.0.4

func (m *MockQueueReader) Len() int

Len mocks base method.

func (*MockQueueReader) Scan added in v2.0.4

func (m *MockQueueReader) Scan(after ksuid.KSUID, fn func(ksuid.KSUID, func()) bool) bool

Scan mocks base method.

type MockQueueReaderMockRecorder added in v2.0.4

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

MockQueueReaderMockRecorder is the mock recorder for MockQueueReader.

func (*MockQueueReaderMockRecorder) Has added in v2.0.4

func (mr *MockQueueReaderMockRecorder) Has(arg0 any) *gomock.Call

Has indicates an expected call of Has.

func (*MockQueueReaderMockRecorder) Len added in v2.0.4

Len indicates an expected call of Len.

func (*MockQueueReaderMockRecorder) Scan added in v2.0.4

func (mr *MockQueueReaderMockRecorder) Scan(after, fn any) *gomock.Call

Scan indicates an expected call of Scan.

type MockQueueWriter added in v2.0.4

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

MockQueueWriter is a mock of QueueWriter interface.

func NewMockQueueWriter added in v2.0.4

func NewMockQueueWriter(ctrl *gomock.Controller) *MockQueueWriter

NewMockQueueWriter creates a new mock instance.

func (*MockQueueWriter) EXPECT added in v2.0.4

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

func (*MockQueueWriter) Front added in v2.0.4

func (m *MockQueueWriter) Front() (ksuid.KSUID, func())

Front mocks base method.

func (*MockQueueWriter) Remove added in v2.0.4

func (m *MockQueueWriter) Remove(arg0 ksuid.KSUID) bool

Remove mocks base method.

func (*MockQueueWriter) Set added in v2.0.4

func (m *MockQueueWriter) Set(arg0 ksuid.KSUID, arg1 func()) bool

Set mocks base method.

type MockQueueWriterMockRecorder added in v2.0.4

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

MockQueueWriterMockRecorder is the mock recorder for MockQueueWriter.

func (*MockQueueWriterMockRecorder) Front added in v2.0.4

Front indicates an expected call of Front.

func (*MockQueueWriterMockRecorder) Remove added in v2.0.4

func (mr *MockQueueWriterMockRecorder) Remove(arg0 any) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockQueueWriterMockRecorder) Set added in v2.0.4

func (mr *MockQueueWriterMockRecorder) Set(arg0, arg1 any) *gomock.Call

Set indicates an expected call of Set.

type MockTimeProvider

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

MockTimeProvider is a mock of TimeProvider interface.

func NewMockTimeProvider

func NewMockTimeProvider(ctrl *gomock.Controller) *MockTimeProvider

NewMockTimeProvider creates a new mock instance.

func (*MockTimeProvider) AfterFunc

func (m *MockTimeProvider) AfterFunc(arg0 sched.Duration, arg1 func()) sched.Timer

AfterFunc mocks base method.

func (*MockTimeProvider) EXPECT

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

func (*MockTimeProvider) Now

func (m *MockTimeProvider) Now() sched.Time

Now mocks base method.

type MockTimeProviderMockRecorder

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

MockTimeProviderMockRecorder is the mock recorder for MockTimeProvider.

func (*MockTimeProviderMockRecorder) AfterFunc

func (mr *MockTimeProviderMockRecorder) AfterFunc(arg0, arg1 any) *gomock.Call

AfterFunc indicates an expected call of AfterFunc.

func (*MockTimeProviderMockRecorder) Now

Now indicates an expected call of Now.

type MockTimer

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

MockTimer is a mock of Timer interface.

func NewMockTimer

func NewMockTimer(ctrl *gomock.Controller) *MockTimer

NewMockTimer creates a new mock instance.

func (*MockTimer) EXPECT

func (m *MockTimer) EXPECT() *MockTimerMockRecorder

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

func (*MockTimer) Reset

func (m *MockTimer) Reset(arg0 sched.Duration) bool

Reset mocks base method.

func (*MockTimer) Stop

func (m *MockTimer) Stop() bool

Stop mocks base method.

type MockTimerMockRecorder

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

MockTimerMockRecorder is the mock recorder for MockTimer.

func (*MockTimerMockRecorder) Reset

func (mr *MockTimerMockRecorder) Reset(arg0 any) *gomock.Call

Reset indicates an expected call of Reset.

func (*MockTimerMockRecorder) Stop

func (mr *MockTimerMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳