mocks

package
v1.2.2-dev.88 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationDeleter

type NotificationDeleter struct {
	mock.Mock
}

NotificationDeleter is an autogenerated mock type for the NotificationDeleter type

func (*NotificationDeleter) DeleteNotificationById

func (_m *NotificationDeleter) DeleteNotificationById(id string) error

DeleteNotificationById provides a mock function with given fields: id

func (*NotificationDeleter) DeleteNotificationBySlug

func (_m *NotificationDeleter) DeleteNotificationBySlug(slug string) error

DeleteNotificationBySlug provides a mock function with given fields: slug

func (*NotificationDeleter) DeleteNotificationsOld

func (_m *NotificationDeleter) DeleteNotificationsOld(age int) error

DeleteNotificationsOld provides a mock function with given fields: age

type NotificationLoader

type NotificationLoader struct {
	mock.Mock
}

NotificationLoader is an autogenerated mock type for the NotificationLoader type

func (*NotificationLoader) GetNewNotifications

func (_m *NotificationLoader) GetNewNotifications(limit int) ([]models.Notification, error)

GetNewNotifications provides a mock function with given fields: limit

func (*NotificationLoader) GetNotificationById

func (_m *NotificationLoader) GetNotificationById(id string) (models.Notification, error)

GetNotificationById provides a mock function with given fields: id

func (*NotificationLoader) GetNotificationBySender

func (_m *NotificationLoader) GetNotificationBySender(sender string, limit int) ([]models.Notification, error)

GetNotificationBySender provides a mock function with given fields: sender, limit

func (*NotificationLoader) GetNotificationBySlug

func (_m *NotificationLoader) GetNotificationBySlug(slug string) (models.Notification, error)

GetNotificationBySlug provides a mock function with given fields: slug

func (*NotificationLoader) GetNotificationsByEnd

func (_m *NotificationLoader) GetNotificationsByEnd(end int64, limit int) ([]models.Notification, error)

GetNotificationsByEnd provides a mock function with given fields: end, limit

func (*NotificationLoader) GetNotificationsByLabels

func (_m *NotificationLoader) GetNotificationsByLabels(labels []string, limit int) ([]models.Notification, error)

GetNotificationsByLabels provides a mock function with given fields: labels, limit

func (*NotificationLoader) GetNotificationsByStart

func (_m *NotificationLoader) GetNotificationsByStart(start int64, limit int) ([]models.Notification, error)

GetNotificationsByStart provides a mock function with given fields: start, limit

func (*NotificationLoader) GetNotificationsByStartEnd

func (_m *NotificationLoader) GetNotificationsByStartEnd(start int64, end int64, limit int) ([]models.Notification, error)

GetNotificationsByStartEnd provides a mock function with given fields: start, end, limit

Jump to

Keyboard shortcuts

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