mock_pubsub

package
v1.1.69 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: pubsub/pubsub_client.go

Generated by this command:

mockgen -source=pubsub/pubsub_client.go -destination=pubsub/mock/pubsub_client_mock.go

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 MockGooglePubSub

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

MockGooglePubSub is a mock of GooglePubSub interface.

func NewMockGooglePubSub

func NewMockGooglePubSub(ctrl *gomock.Controller) *MockGooglePubSub

NewMockGooglePubSub creates a new mock instance.

func (*MockGooglePubSub) Close

func (m *MockGooglePubSub) Close() error

Close mocks base method.

func (*MockGooglePubSub) CreateSubscription

func (m *MockGooglePubSub) CreateSubscription(ctx context.Context, id string, cfg pubsub.SubscriptionConfig) (*pubsub.Subscription, error)

CreateSubscription mocks base method.

func (*MockGooglePubSub) CreateTopic

func (m *MockGooglePubSub) CreateTopic(ctx context.Context, topicID string) (*pubsub.Topic, error)

CreateTopic mocks base method.

func (*MockGooglePubSub) EXPECT

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

func (*MockGooglePubSub) Subscription

func (m *MockGooglePubSub) Subscription(id string) *pubsub.Subscription

Subscription mocks base method.

func (*MockGooglePubSub) Topic

func (m *MockGooglePubSub) Topic(id string) *pubsub.Topic

Topic mocks base method.

type MockGooglePubSubMockRecorder

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

MockGooglePubSubMockRecorder is the mock recorder for MockGooglePubSub.

func (*MockGooglePubSubMockRecorder) Close

Close indicates an expected call of Close.

func (*MockGooglePubSubMockRecorder) CreateSubscription

func (mr *MockGooglePubSubMockRecorder) CreateSubscription(ctx, id, cfg any) *gomock.Call

CreateSubscription indicates an expected call of CreateSubscription.

func (*MockGooglePubSubMockRecorder) CreateTopic

func (mr *MockGooglePubSubMockRecorder) CreateTopic(ctx, topicID any) *gomock.Call

CreateTopic indicates an expected call of CreateTopic.

func (*MockGooglePubSubMockRecorder) Subscription

func (mr *MockGooglePubSubMockRecorder) Subscription(id any) *gomock.Call

Subscription indicates an expected call of Subscription.

func (*MockGooglePubSubMockRecorder) Topic

Topic indicates an expected call of Topic.

Jump to

Keyboard shortcuts

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