mocks

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientFactory

type ClientFactory struct {
	mock.Mock
}

ClientFactory is an autogenerated mock type for the ClientFactory type

func (*ClientFactory) GetConsumer

func (_m *ClientFactory) GetConsumer(client cherami.Client, config internal.ConsumerConfig) (cherami.Consumer, chan cherami.Delivery, error)

GetConsumer provides a mock function with given fields: client, config

func (*ClientFactory) GetPublisher

func (_m *ClientFactory) GetPublisher(client cherami.Client, destination string) (cherami.Publisher, error)

GetPublisher provides a mock function with given fields: client, destination

type Consumer

type Consumer struct {
	mock.Mock
}

Consumer is an autogenerated mock type for the Consumer type

func (*Consumer) AckDelivery

func (_m *Consumer) AckDelivery(deliveryToken string) error

AckDelivery provides a mock function with given fields: deliveryToken

func (*Consumer) Close

func (_m *Consumer) Close()

Close provides a mock function with given fields:

func (*Consumer) NackDelivery

func (_m *Consumer) NackDelivery(deliveryToken string) error

NackDelivery provides a mock function with given fields: deliveryToken

func (*Consumer) Open

func (_m *Consumer) Open(deliveryCh chan cherami.Delivery) (chan cherami.Delivery, error)

Open provides a mock function with given fields: deliveryCh

func (*Consumer) Pause added in v1.9.0

func (_m *Consumer) Pause()

Pause provides a mock function with given fields:

func (*Consumer) Resume added in v1.9.0

func (_m *Consumer) Resume()

Resume provides a mock function with given fields:

type Publisher

type Publisher struct {
	mock.Mock
}

Publisher is an autogenerated mock type for the Publisher type

func (*Publisher) Close

func (_m *Publisher) Close()

Close provides a mock function with given fields:

func (*Publisher) Open

func (_m *Publisher) Open() error

Open provides a mock function with given fields:

func (*Publisher) Pause added in v1.9.0

func (_m *Publisher) Pause()

Pause provides a mock function with given fields:

func (*Publisher) Publish

Publish provides a mock function with given fields: message

func (*Publisher) PublishAsync

func (_m *Publisher) PublishAsync(message *cherami.PublisherMessage, done chan<- *cherami.PublisherReceipt) (string, error)

PublishAsync provides a mock function with given fields: message, done

func (*Publisher) Resume added in v1.9.0

func (_m *Publisher) Resume()

Resume provides a mock function with given fields:

Jump to

Keyboard shortcuts

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