queue

package
v1.2.8-prerelease2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Overview

Package queue is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProvider

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

MockProvider is a mock of Provider interface.

func NewMockProvider

func NewMockProvider(ctrl *gomock.Controller) *MockProvider

NewMockProvider creates a new mock instance.

func (*MockProvider) EXPECT

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

func (*MockProvider) GetAsyncQueueConsumer

func (m *MockProvider) GetAsyncQueueConsumer(domain string) (messaging.Consumer, error)

GetAsyncQueueConsumer mocks base method.

func (*MockProvider) GetAsyncQueueProducer

func (m *MockProvider) GetAsyncQueueProducer(domain string) (messaging.Producer, error)

GetAsyncQueueProducer mocks base method.

type MockProviderMockRecorder

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

MockProviderMockRecorder is the mock recorder for MockProvider.

func (*MockProviderMockRecorder) GetAsyncQueueConsumer

func (mr *MockProviderMockRecorder) GetAsyncQueueConsumer(domain interface{}) *gomock.Call

GetAsyncQueueConsumer indicates an expected call of GetAsyncQueueConsumer.

func (*MockProviderMockRecorder) GetAsyncQueueProducer

func (mr *MockProviderMockRecorder) GetAsyncQueueProducer(domain interface{}) *gomock.Call

GetAsyncQueueProducer indicates an expected call of GetAsyncQueueProducer.

type Provider

type Provider interface {
	GetAsyncQueueProducer(domain string) (messaging.Producer, error)
	GetAsyncQueueConsumer(domain string) (messaging.Consumer, error)
}

Provider is used to get a queue for a given domain

func NewAsyncQueueProvider

func NewAsyncQueueProvider(cfg map[string]config.AsyncWorkflowQueueProvider, params *provider.Params) (Provider, error)

NewAsyncQueueProvider returns a new async queue provider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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