mocks

package
v1.1.129 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

type Publisher struct {
	mock.Mock
}

Publisher is an autogenerated mock type for the Publisher type

func (*Publisher) OnPublish

func (_m *Publisher) OnPublish(ctx context.Context, notificationType string, msg protoiface.MessageV1) *Publisher_Publish

func (*Publisher) OnPublishMatch

func (_m *Publisher) OnPublishMatch(matchers ...interface{}) *Publisher_Publish

func (*Publisher) Publish

func (_m *Publisher) Publish(ctx context.Context, notificationType string, msg protoiface.MessageV1) error

Publish provides a mock function with given fields: ctx, notificationType, msg

type Publisher_Publish

type Publisher_Publish struct {
	*mock.Call
}

func (Publisher_Publish) Return

func (_m Publisher_Publish) Return(_a0 error) *Publisher_Publish

type Sender

type Sender struct {
	mock.Mock
}

Sender is an autogenerated mock type for the Sender type

func (*Sender) OnSend

func (_m *Sender) OnSend(ctx context.Context, notificationType string, _a2 event.Event) *Sender_Send

func (*Sender) OnSendMatch

func (_m *Sender) OnSendMatch(matchers ...interface{}) *Sender_Send

func (*Sender) Send

func (_m *Sender) Send(ctx context.Context, notificationType string, _a2 event.Event) error

Send provides a mock function with given fields: ctx, notificationType, _a2

type Sender_Send

type Sender_Send struct {
	*mock.Call
}

func (Sender_Send) Return

func (_m Sender_Send) Return(_a0 error) *Sender_Send

Jump to

Keyboard shortcuts

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