mock_pubsub

package
v0.0.0-...-5cd5cfe Latest Latest
Warning

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

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

Documentation

Overview

Package mock_pubsub is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPublishResult

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

MockPublishResult is a mock of PublishResult interface.

func NewMockPublishResult

func NewMockPublishResult(ctrl *gomock.Controller) *MockPublishResult

NewMockPublishResult creates a new mock instance.

func (*MockPublishResult) EXPECT

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

func (*MockPublishResult) Get

func (m *MockPublishResult) Get(arg0 context.Context) (string, error)

Get mocks base method.

type MockPublishResultMockRecorder

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

MockPublishResultMockRecorder is the mock recorder for MockPublishResult.

func (*MockPublishResultMockRecorder) Get

func (mr *MockPublishResultMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockPubsubClient

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

MockPubsubClient is a mock of PubsubClient interface.

func NewMockPubsubClient

func NewMockPubsubClient(ctrl *gomock.Controller) *MockPubsubClient

NewMockPubsubClient creates a new mock instance.

func (*MockPubsubClient) EXPECT

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

func (*MockPubsubClient) Topic

func (m *MockPubsubClient) Topic(arg0 string) ifaces_pubsub.Topic

Topic mocks base method.

func (*MockPubsubClient) Topics

Topics mocks base method.

type MockPubsubClientMockRecorder

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

MockPubsubClientMockRecorder is the mock recorder for MockPubsubClient.

func (*MockPubsubClientMockRecorder) Topic

func (mr *MockPubsubClientMockRecorder) Topic(arg0 interface{}) *gomock.Call

Topic indicates an expected call of Topic.

func (*MockPubsubClientMockRecorder) Topics

func (mr *MockPubsubClientMockRecorder) Topics(arg0 interface{}) *gomock.Call

Topics indicates an expected call of Topics.

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) EXPECT

func (m *MockTopic) EXPECT() *MockTopicMockRecorder

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

func (*MockTopic) Exists

func (m *MockTopic) Exists(arg0 context.Context) (bool, error)

Exists mocks base method.

func (*MockTopic) ID

func (m *MockTopic) ID() string

ID mocks base method.

func (*MockTopic) Labels

func (m *MockTopic) Labels(arg0 context.Context) (map[string]string, error)

Labels mocks base method.

func (*MockTopic) Publish

Publish mocks base method.

func (*MockTopic) String

func (m *MockTopic) String() string

String mocks base method.

func (*MockTopic) Subscriptions

Subscriptions mocks base method.

type MockTopicIterator

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

MockTopicIterator is a mock of TopicIterator interface.

func NewMockTopicIterator

func NewMockTopicIterator(ctrl *gomock.Controller) *MockTopicIterator

NewMockTopicIterator creates a new mock instance.

func (*MockTopicIterator) EXPECT

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

func (*MockTopicIterator) Next

Next mocks base method.

type MockTopicIteratorMockRecorder

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

MockTopicIteratorMockRecorder is the mock recorder for MockTopicIterator.

func (*MockTopicIteratorMockRecorder) Next

Next indicates an expected call of Next.

type MockTopicMockRecorder

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

MockTopicMockRecorder is the mock recorder for MockTopic.

func (*MockTopicMockRecorder) Exists

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

Exists indicates an expected call of Exists.

func (*MockTopicMockRecorder) ID

func (mr *MockTopicMockRecorder) ID() *gomock.Call

ID indicates an expected call of ID.

func (*MockTopicMockRecorder) Labels

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

Labels indicates an expected call of Labels.

func (*MockTopicMockRecorder) Publish

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

Publish indicates an expected call of Publish.

func (*MockTopicMockRecorder) String

func (mr *MockTopicMockRecorder) String() *gomock.Call

String indicates an expected call of String.

func (*MockTopicMockRecorder) Subscriptions

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

Subscriptions indicates an expected call of Subscriptions.

Jump to

Keyboard shortcuts

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