mockwritepath

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIngesterClient

type MockIngesterClient struct {
	mock.Mock
}

MockIngesterClient is an autogenerated mock type for the IngesterClient type

func NewMockIngesterClient

func NewMockIngesterClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockIngesterClient

NewMockIngesterClient creates a new instance of MockIngesterClient. 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 (*MockIngesterClient) EXPECT

func (*MockIngesterClient) Push

Push provides a mock function with given fields: _a0, _a1

type MockIngesterClient_Expecter

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

func (*MockIngesterClient_Expecter) Push

func (_e *MockIngesterClient_Expecter) Push(_a0 interface{}, _a1 interface{}) *MockIngesterClient_Push_Call

Push is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *model.PushRequest

type MockIngesterClient_Push_Call

type MockIngesterClient_Push_Call struct {
	*mock.Call
}

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

func (*MockIngesterClient_Push_Call) Return

func (*MockIngesterClient_Push_Call) Run

func (*MockIngesterClient_Push_Call) RunAndReturn

type MockSegmentWriterClient

type MockSegmentWriterClient struct {
	mock.Mock
}

MockSegmentWriterClient is an autogenerated mock type for the SegmentWriterClient type

func NewMockSegmentWriterClient

func NewMockSegmentWriterClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSegmentWriterClient

NewMockSegmentWriterClient creates a new instance of MockSegmentWriterClient. 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 (*MockSegmentWriterClient) EXPECT

func (*MockSegmentWriterClient) Push

Push provides a mock function with given fields: _a0, _a1

type MockSegmentWriterClient_Expecter

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

func (*MockSegmentWriterClient_Expecter) Push

func (_e *MockSegmentWriterClient_Expecter) Push(_a0 interface{}, _a1 interface{}) *MockSegmentWriterClient_Push_Call

Push is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *segmentwriterv1.PushRequest

type MockSegmentWriterClient_Push_Call

type MockSegmentWriterClient_Push_Call struct {
	*mock.Call
}

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

func (*MockSegmentWriterClient_Push_Call) Return

func (*MockSegmentWriterClient_Push_Call) Run

Jump to

Keyboard shortcuts

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