mock

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: Apache-2.0 Imports: 5 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 MockFactory

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

MockFactory is a mock of Factory interface.

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance.

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

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

func (*MockFactory) For

func (m *MockFactory) For(cfg pusher.Config) (pusher.Pusher, error)

For mocks base method.

type MockFactoryMockRecorder

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

MockFactoryMockRecorder is the mock recorder for MockFactory.

func (*MockFactoryMockRecorder) For

func (mr *MockFactoryMockRecorder) For(cfg any) *gomock.Call

For indicates an expected call of For.

type MockPusher

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

MockPusher is a mock of Pusher interface.

func NewMockPusher

func NewMockPusher(ctrl *gomock.Controller) *MockPusher

NewMockPusher creates a new mock instance.

func (*MockPusher) EXPECT

func (m *MockPusher) EXPECT() *MockPusherMockRecorder

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

func (*MockPusher) Push

func (m *MockPusher) Push(ctx context.Context, batches []entity.Batch) (entity.PushResult, error)

Push mocks base method.

type MockPusherMockRecorder

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

MockPusherMockRecorder is the mock recorder for MockPusher.

func (*MockPusherMockRecorder) Push

func (mr *MockPusherMockRecorder) Push(ctx, batches any) *gomock.Call

Push indicates an expected call of Push.

Jump to

Keyboard shortcuts

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