mocks

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_notification is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNotification

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

MockNotification is a mock of Notification interface

func NewMockNotification

func NewMockNotification(ctrl *gomock.Controller) *MockNotification

NewMockNotification creates a new mock instance

func (*MockNotification) AddNotificationChan

func (m *MockNotification) AddNotificationChan(serviceID uint64, notiChan chan string)

AddNotificationChan mocks base method

func (*MockNotification) EXPECT

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

func (*MockNotification) HandleNotificationOnLocal

func (m *MockNotification) HandleNotificationOnLocal(serviceID float64, status string) error

HandleNotificationOnLocal mocks base method

func (*MockNotification) InvokeNotification

func (m *MockNotification) InvokeNotification(target string, serviceID float64, status string) error

InvokeNotification mocks base method

func (*MockNotification) SetClient

func (m *MockNotification) SetClient(clientAPI client.Clienter)

SetClient mocks base method

type MockNotificationMockRecorder

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

MockNotificationMockRecorder is the mock recorder for MockNotification

func (*MockNotificationMockRecorder) AddNotificationChan

func (mr *MockNotificationMockRecorder) AddNotificationChan(serviceID, notiChan interface{}) *gomock.Call

AddNotificationChan indicates an expected call of AddNotificationChan

func (*MockNotificationMockRecorder) HandleNotificationOnLocal

func (mr *MockNotificationMockRecorder) HandleNotificationOnLocal(serviceID, status interface{}) *gomock.Call

HandleNotificationOnLocal indicates an expected call of HandleNotificationOnLocal

func (*MockNotificationMockRecorder) InvokeNotification

func (mr *MockNotificationMockRecorder) InvokeNotification(target, serviceID, status interface{}) *gomock.Call

InvokeNotification indicates an expected call of InvokeNotification

func (*MockNotificationMockRecorder) SetClient

func (mr *MockNotificationMockRecorder) SetClient(clientAPI interface{}) *gomock.Call

SetClient indicates an expected call of SetClient

Jump to

Keyboard shortcuts

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