mocks

package
v1.6.0-alpha.1-nomain Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPublishSubsciber

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

MockPublishSubsciber is a mock of PublishSubsciber interface.

func NewMockPublishSubsciber

func NewMockPublishSubsciber(ctrl *gomock.Controller) *MockPublishSubsciber

NewMockPublishSubsciber creates a new mock instance.

func (*MockPublishSubsciber) EXPECT

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

func (*MockPublishSubsciber) Publish

func (m *MockPublishSubsciber) Publish(arg0 context.Context, arg1 string, arg2 []byte) error

Publish mocks base method.

func (*MockPublishSubsciber) Register

func (m *MockPublishSubsciber) Register(arg0 string, arg1 pubsub.GossipHandler, arg2 ...pubsub.ValidatorOpt)

Register mocks base method.

type MockPublishSubsciberMockRecorder

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

MockPublishSubsciberMockRecorder is the mock recorder for MockPublishSubsciber.

func (*MockPublishSubsciberMockRecorder) Publish

Publish indicates an expected call of Publish.

func (*MockPublishSubsciberMockRecorder) Register

func (mr *MockPublishSubsciberMockRecorder) Register(arg0, arg1 any, arg2 ...any) *MockPublishSubsciberRegisterCall

Register indicates an expected call of Register.

type MockPublishSubsciberPublishCall added in v1.4.0

type MockPublishSubsciberPublishCall struct {
	*gomock.Call
}

MockPublishSubsciberPublishCall wrap *gomock.Call

func (*MockPublishSubsciberPublishCall) Do added in v1.4.0

Do rewrite *gomock.Call.Do

func (*MockPublishSubsciberPublishCall) DoAndReturn added in v1.4.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPublishSubsciberPublishCall) Return added in v1.4.0

Return rewrite *gomock.Call.Return

type MockPublishSubsciberRegisterCall added in v1.4.0

type MockPublishSubsciberRegisterCall struct {
	*gomock.Call
}

MockPublishSubsciberRegisterCall wrap *gomock.Call

func (*MockPublishSubsciberRegisterCall) Do added in v1.4.0

Do rewrite *gomock.Call.Do

func (*MockPublishSubsciberRegisterCall) DoAndReturn added in v1.4.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPublishSubsciberRegisterCall) Return added in v1.4.0

Return rewrite *gomock.Call.Return

type MockPublisher

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

MockPublisher is a mock of Publisher interface.

func NewMockPublisher

func NewMockPublisher(ctrl *gomock.Controller) *MockPublisher

NewMockPublisher creates a new mock instance.

func (*MockPublisher) EXPECT

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

func (*MockPublisher) Publish

func (m *MockPublisher) Publish(arg0 context.Context, arg1 string, arg2 []byte) error

Publish mocks base method.

type MockPublisherMockRecorder

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

MockPublisherMockRecorder is the mock recorder for MockPublisher.

func (*MockPublisherMockRecorder) Publish

func (mr *MockPublisherMockRecorder) Publish(arg0, arg1, arg2 any) *MockPublisherPublishCall

Publish indicates an expected call of Publish.

type MockPublisherPublishCall added in v1.4.0

type MockPublisherPublishCall struct {
	*gomock.Call
}

MockPublisherPublishCall wrap *gomock.Call

func (*MockPublisherPublishCall) Do added in v1.4.0

Do rewrite *gomock.Call.Do

func (*MockPublisherPublishCall) DoAndReturn added in v1.4.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPublisherPublishCall) Return added in v1.4.0

Return rewrite *gomock.Call.Return

type MockSubscriber

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

MockSubscriber is a mock of Subscriber interface.

func NewMockSubscriber

func NewMockSubscriber(ctrl *gomock.Controller) *MockSubscriber

NewMockSubscriber creates a new mock instance.

func (*MockSubscriber) EXPECT

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

func (*MockSubscriber) Register

func (m *MockSubscriber) Register(arg0 string, arg1 pubsub.GossipHandler, arg2 ...pubsub.ValidatorOpt)

Register mocks base method.

type MockSubscriberMockRecorder

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

MockSubscriberMockRecorder is the mock recorder for MockSubscriber.

func (*MockSubscriberMockRecorder) Register

func (mr *MockSubscriberMockRecorder) Register(arg0, arg1 any, arg2 ...any) *MockSubscriberRegisterCall

Register indicates an expected call of Register.

type MockSubscriberRegisterCall added in v1.4.0

type MockSubscriberRegisterCall struct {
	*gomock.Call
}

MockSubscriberRegisterCall wrap *gomock.Call

func (*MockSubscriberRegisterCall) Do added in v1.4.0

Do rewrite *gomock.Call.Do

func (*MockSubscriberRegisterCall) DoAndReturn added in v1.4.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSubscriberRegisterCall) Return added in v1.4.0

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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