mocks

package
v0.0.0-...-045890f Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageQueue

type MessageQueue struct {
	mock.Mock
}

MessageQueue is an autogenerated mock type for the MessageQueue type

func (*MessageQueue) Close

func (_m *MessageQueue) Close() error

Close provides a mock function with given fields:

func (*MessageQueue) GetResult

func (_m *MessageQueue) GetResult(ctx context.Context, result *pubsub.PublishResult) (string, error)

GetResult provides a mock function with given fields: ctx, result

func (*MessageQueue) Init

func (_m *MessageQueue) Init(pubSubKey string, gProject string) error

Init provides a mock function with given fields: pubSubKey, gProject

func (*MessageQueue) Publish

Publish provides a mock function with given fields: _a0, _a1

func (*MessageQueue) SubscribeMessages

func (_m *MessageQueue) SubscribeMessages(ctx context.Context, subscriptionId string, subscribeFunction message_queue.SubscribeFunction) error

SubscribeMessages provides a mock function with given fields: ctx, subscriptionId, subscribeFunction

Jump to

Keyboard shortcuts

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