mock_streaming

package
v0.0.0-...-34e0b2d Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockWALAccesser

type MockWALAccesser struct {
	mock.Mock
}

MockWALAccesser is an autogenerated mock type for the WALAccesser type

func NewMockWALAccesser

func NewMockWALAccesser(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockWALAccesser

NewMockWALAccesser creates a new instance of MockWALAccesser. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockWALAccesser) Append

Append provides a mock function with given fields: ctx, msgs

func (*MockWALAccesser) EXPECT

func (*MockWALAccesser) Read

Read provides a mock function with given fields: ctx, opts

type MockWALAccesser_Append_Call

type MockWALAccesser_Append_Call struct {
	*mock.Call
}

MockWALAccesser_Append_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Append'

func (*MockWALAccesser_Append_Call) Return

func (*MockWALAccesser_Append_Call) Run

func (*MockWALAccesser_Append_Call) RunAndReturn

type MockWALAccesser_Expecter

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

func (*MockWALAccesser_Expecter) Append

func (_e *MockWALAccesser_Expecter) Append(ctx interface{}, msgs ...interface{}) *MockWALAccesser_Append_Call

Append is a helper method to define mock.On call

  • ctx context.Context
  • msgs ...message.MutableMessage

func (*MockWALAccesser_Expecter) Read

func (_e *MockWALAccesser_Expecter) Read(ctx interface{}, opts interface{}) *MockWALAccesser_Read_Call

Read is a helper method to define mock.On call

  • ctx context.Context
  • opts streaming.ReadOption

type MockWALAccesser_Read_Call

type MockWALAccesser_Read_Call struct {
	*mock.Call
}

MockWALAccesser_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'

func (*MockWALAccesser_Read_Call) Return

func (*MockWALAccesser_Read_Call) Run

func (*MockWALAccesser_Read_Call) RunAndReturn

Jump to

Keyboard shortcuts

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