pubsubmock

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package pubsubmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTopic

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

MockTopic is a mock of Topic interface.

func NewMockTopic

func NewMockTopic(ctrl *gomock.Controller) *MockTopic

NewMockTopic creates a new mock instance.

func (*MockTopic) As

func (m *MockTopic) As(arg0 interface{}) bool

As mocks base method.

func (*MockTopic) EXPECT

func (m *MockTopic) EXPECT() *MockTopicMockRecorder

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

func (*MockTopic) ErrorAs

func (m *MockTopic) ErrorAs(arg0 error, arg1 interface{}) bool

ErrorAs mocks base method.

func (*MockTopic) Send

func (m *MockTopic) Send(arg0 context.Context, arg1 *pubsub.Message) error

Send mocks base method.

func (*MockTopic) Shutdown

func (m *MockTopic) Shutdown(arg0 context.Context) error

Shutdown mocks base method.

type MockTopicMockRecorder

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

MockTopicMockRecorder is the mock recorder for MockTopic.

func (*MockTopicMockRecorder) As

func (mr *MockTopicMockRecorder) As(arg0 interface{}) *gomock.Call

As indicates an expected call of As.

func (*MockTopicMockRecorder) ErrorAs

func (mr *MockTopicMockRecorder) ErrorAs(arg0, arg1 interface{}) *gomock.Call

ErrorAs indicates an expected call of ErrorAs.

func (*MockTopicMockRecorder) Send

func (mr *MockTopicMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockTopicMockRecorder) Shutdown

func (mr *MockTopicMockRecorder) Shutdown(arg0 interface{}) *gomock.Call

Shutdown indicates an expected call of Shutdown.

Jump to

Keyboard shortcuts

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