mocks

package
v2.0.2-dev.47 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageProcessor

type MessageProcessor struct {
	mock.Mock
}

MessageProcessor is an autogenerated mock type for the MessageProcessor type

func (*MessageProcessor) MessageReceived

MessageReceived provides a mock function with given fields: ctx, envelope, outputHandler

func (*MessageProcessor) Process

Process provides a mock function with given fields: ctx, envelope

type ServiceBinding

type ServiceBinding struct {
	mock.Mock
}

ServiceBinding is an autogenerated mock type for the ServiceBinding type

func (*ServiceBinding) BuildContext

BuildContext provides a mock function with given fields: env

func (*ServiceBinding) Config

Config provides a mock function with given fields:

func (*ServiceBinding) GetMatchingPipelines

func (_m *ServiceBinding) GetMatchingPipelines(incomingTopic string) []*interfaces.FunctionPipeline

GetMatchingPipelines provides a mock function with given fields: incomingTopic

func (*ServiceBinding) LoadCustomConfig

func (_m *ServiceBinding) LoadCustomConfig(config interfaces.UpdatableConfig, sectionName string) error

LoadCustomConfig provides a mock function with given fields: config, sectionName

func (*ServiceBinding) LoggingClient

func (_m *ServiceBinding) LoggingClient() logger.LoggingClient

LoggingClient provides a mock function with given fields:

func (*ServiceBinding) ProcessMessage

func (_m *ServiceBinding) ProcessMessage(appContext *appfunction.Context, envelope types.MessageEnvelope, pipeline *interfaces.FunctionPipeline) *runtime.MessageError

ProcessMessage provides a mock function with given fields: appContext, envelope, pipeline

func (*ServiceBinding) SecretProvider

func (_m *ServiceBinding) SecretProvider() messaging.SecretDataProvider

SecretProvider 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