mocks

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPI

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

MockAPI is a mock of API interface

func NewMockAPI

func NewMockAPI(ctrl *gomock.Controller) *MockAPI

NewMockAPI creates a new mock instance

func (*MockAPI) AddNotificationService

func (m *MockAPI) AddNotificationService(arg0 string, arg1 services.NotificationService)

AddNotificationService mocks base method

func (*MockAPI) EXPECT

func (m *MockAPI) EXPECT() *MockAPIMockRecorder

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

func (*MockAPI) GetNotificationServices

func (m *MockAPI) GetNotificationServices() map[string]services.NotificationService

GetNotificationServices mocks base method

func (*MockAPI) RunTrigger

func (m *MockAPI) RunTrigger(arg0 string, arg1 map[string]interface{}) ([]triggers.ConditionResult, error)

RunTrigger mocks base method

func (*MockAPI) Send

func (m *MockAPI) Send(arg0 map[string]interface{}, arg1 []string, arg2 services.Destination) error

Send mocks base method

type MockAPIMockRecorder

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

MockAPIMockRecorder is the mock recorder for MockAPI

func (*MockAPIMockRecorder) AddNotificationService

func (mr *MockAPIMockRecorder) AddNotificationService(arg0, arg1 interface{}) *gomock.Call

AddNotificationService indicates an expected call of AddNotificationService

func (*MockAPIMockRecorder) GetNotificationServices

func (mr *MockAPIMockRecorder) GetNotificationServices() *gomock.Call

GetNotificationServices indicates an expected call of GetNotificationServices

func (*MockAPIMockRecorder) RunTrigger

func (mr *MockAPIMockRecorder) RunTrigger(arg0, arg1 interface{}) *gomock.Call

RunTrigger indicates an expected call of RunTrigger

func (*MockAPIMockRecorder) Send

func (mr *MockAPIMockRecorder) Send(arg0, arg1, arg2 interface{}) *gomock.Call

Send indicates an expected call of Send

Jump to

Keyboard shortcuts

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