mock

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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 MockPublishResult added in v0.0.5

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

MockPublishResult is a mock of PublishResult interface.

func NewMockPublishResult added in v0.0.5

func NewMockPublishResult(ctrl *gomock.Controller) *MockPublishResult

NewMockPublishResult creates a new mock instance.

func (*MockPublishResult) EXPECT added in v0.0.5

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

func (*MockPublishResult) Get added in v0.0.5

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

Get mocks base method.

func (*MockPublishResult) Ready added in v0.0.5

func (m *MockPublishResult) Ready() <-chan struct{}

Ready mocks base method.

type MockPublishResultMockRecorder added in v0.0.5

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

MockPublishResultMockRecorder is the mock recorder for MockPublishResult.

func (*MockPublishResultMockRecorder) Get added in v0.0.5

Get indicates an expected call of Get.

func (*MockPublishResultMockRecorder) Ready added in v0.0.5

Ready indicates an expected call of Ready.

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

func (m *MockPublisher) AsyncPublish(ctx context.Context, msg pubsub.Message) pubsub.PublishResult

AsyncPublish mocks base method.

func (*MockPublisher) EXPECT

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

type MockPublisherMockRecorder

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

MockPublisherMockRecorder is the mock recorder for MockPublisher.

func (*MockPublisherMockRecorder) AsyncPublish

func (mr *MockPublisherMockRecorder) AsyncPublish(ctx, msg any) *gomock.Call

AsyncPublish indicates an expected call of AsyncPublish.

Jump to

Keyboard shortcuts

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