mock

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock is a generated GoMock package.

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 MockPuller

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

MockPuller is a mock of Puller interface.

func NewMockPuller

func NewMockPuller(ctrl *gomock.Controller) *MockPuller

NewMockPuller creates a new mock instance.

func (*MockPuller) EXPECT

func (m *MockPuller) EXPECT() *MockPullerMockRecorder

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

func (*MockPuller) Pull

func (m *MockPuller) Pull(arg0 context.Context, arg1 func(context.Context, *puller.Message)) error

Pull mocks base method.

func (*MockPuller) SubscriptionName added in v0.4.0

func (m *MockPuller) SubscriptionName() string

SubscriptionName mocks base method.

type MockPullerMockRecorder

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

MockPullerMockRecorder is the mock recorder for MockPuller.

func (*MockPullerMockRecorder) Pull

func (mr *MockPullerMockRecorder) Pull(arg0, arg1 interface{}) *gomock.Call

Pull indicates an expected call of Pull.

func (*MockPullerMockRecorder) SubscriptionName added in v0.4.0

func (mr *MockPullerMockRecorder) SubscriptionName() *gomock.Call

SubscriptionName indicates an expected call of SubscriptionName.

type MockRateLimitedPuller

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

MockRateLimitedPuller is a mock of RateLimitedPuller interface.

func NewMockRateLimitedPuller

func NewMockRateLimitedPuller(ctrl *gomock.Controller) *MockRateLimitedPuller

NewMockRateLimitedPuller creates a new mock instance.

func (*MockRateLimitedPuller) EXPECT

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

func (*MockRateLimitedPuller) MessageCh

func (m *MockRateLimitedPuller) MessageCh() <-chan *puller.Message

MessageCh mocks base method.

func (*MockRateLimitedPuller) Run

Run mocks base method.

func (*MockRateLimitedPuller) SubscriptionName added in v0.4.0

func (m *MockRateLimitedPuller) SubscriptionName() string

SubscriptionName mocks base method.

type MockRateLimitedPullerMockRecorder

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

MockRateLimitedPullerMockRecorder is the mock recorder for MockRateLimitedPuller.

func (*MockRateLimitedPullerMockRecorder) MessageCh

MessageCh indicates an expected call of MessageCh.

func (*MockRateLimitedPullerMockRecorder) Run

func (mr *MockRateLimitedPullerMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockRateLimitedPullerMockRecorder) SubscriptionName added in v0.4.0

func (mr *MockRateLimitedPullerMockRecorder) SubscriptionName() *gomock.Call

SubscriptionName indicates an expected call of SubscriptionName.

Jump to

Keyboard shortcuts

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