mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 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 Hook

type Hook struct {
	mock.Mock
}

Hook is an autogenerated mock type for the Hook type

func NewHook

func NewHook(t mockConstructorTestingTNewHook) *Hook

NewHook creates a new instance of Hook. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Hook) Fire

func (_m *Hook) Fire(_a0 *logrus.Entry) error

Fire provides a mock function with given fields: _a0

func (*Hook) Levels

func (_m *Hook) Levels() []logrus.Level

Levels provides a mock function with given fields:

type Notifier

type Notifier struct {
	mock.Mock
}

Notifier is an autogenerated mock type for the Notifier type

func NewNotifier

func NewNotifier(t mockConstructorTestingTNewNotifier) *Notifier

NewNotifier creates a new instance of Notifier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Notifier) Notify

func (_m *Notifier) Notify(tx workplace.Transmission) error

Notify provides a mock function with given fields: tx

Jump to

Keyboard shortcuts

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