mock_interfaces

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_interfaces is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAction

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

MockAction is a mock of Action interface.

func NewMockAction

func NewMockAction(ctrl *gomock.Controller) *MockAction

NewMockAction creates a new mock instance.

func (*MockAction) EXPECT

func (m *MockAction) EXPECT() *MockActionMockRecorder

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

func (*MockAction) Execute

func (m *MockAction) Execute(trigger interfaces.TriggerEvent) error

Execute mocks base method.

type MockActionMockRecorder

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

MockActionMockRecorder is the mock recorder for MockAction.

func (*MockActionMockRecorder) Execute

func (mr *MockActionMockRecorder) Execute(trigger interface{}) *gomock.Call

Execute indicates an expected call of Execute.

type MockAutomation

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

MockAutomation is a mock of Automation interface.

func NewMockAutomation

func NewMockAutomation(ctrl *gomock.Controller) *MockAutomation

NewMockAutomation creates a new mock instance.

func (*MockAutomation) AddAction

func (m *MockAutomation) AddAction(action interfaces.Action)

AddAction mocks base method.

func (*MockAutomation) AddCondition

func (m *MockAutomation) AddCondition(condition interfaces.Condition)

AddCondition mocks base method.

func (*MockAutomation) AddTrigger

func (m *MockAutomation) AddTrigger(trigger string)

AddTrigger mocks base method.

func (*MockAutomation) EXPECT

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

func (*MockAutomation) Execute

func (m *MockAutomation) Execute(trigger interfaces.TriggerEvent) error

Execute mocks base method.

func (*MockAutomation) GetTriggers

func (m *MockAutomation) GetTriggers() []string

GetTriggers mocks base method.

type MockAutomationMockRecorder

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

MockAutomationMockRecorder is the mock recorder for MockAutomation.

func (*MockAutomationMockRecorder) AddAction

func (mr *MockAutomationMockRecorder) AddAction(action interface{}) *gomock.Call

AddAction indicates an expected call of AddAction.

func (*MockAutomationMockRecorder) AddCondition

func (mr *MockAutomationMockRecorder) AddCondition(condition interface{}) *gomock.Call

AddCondition indicates an expected call of AddCondition.

func (*MockAutomationMockRecorder) AddTrigger

func (mr *MockAutomationMockRecorder) AddTrigger(trigger interface{}) *gomock.Call

AddTrigger indicates an expected call of AddTrigger.

func (*MockAutomationMockRecorder) Execute

func (mr *MockAutomationMockRecorder) Execute(trigger interface{}) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockAutomationMockRecorder) GetTriggers

func (mr *MockAutomationMockRecorder) GetTriggers() *gomock.Call

GetTriggers indicates an expected call of GetTriggers.

type MockCondition

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

MockCondition is a mock of Condition interface.

func NewMockCondition

func NewMockCondition(ctrl *gomock.Controller) *MockCondition

NewMockCondition creates a new mock instance.

func (*MockCondition) Check

func (m *MockCondition) Check(trigger interfaces.TriggerEvent) (bool, error)

Check mocks base method.

func (*MockCondition) EXPECT

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

type MockConditionMockRecorder

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

MockConditionMockRecorder is the mock recorder for MockCondition.

func (*MockConditionMockRecorder) Check

func (mr *MockConditionMockRecorder) Check(trigger interface{}) *gomock.Call

Check indicates an expected call of Check.

type MockTriggerEvent

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

MockTriggerEvent is a mock of TriggerEvent interface.

func NewMockTriggerEvent

func NewMockTriggerEvent(ctrl *gomock.Controller) *MockTriggerEvent

NewMockTriggerEvent creates a new mock instance.

func (*MockTriggerEvent) EXPECT

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

func (*MockTriggerEvent) GetData

func (m *MockTriggerEvent) GetData() map[string]string

GetData mocks base method.

func (*MockTriggerEvent) GetFromMeta

func (m *MockTriggerEvent) GetFromMeta(key string) string

GetFromMeta mocks base method.

func (*MockTriggerEvent) GetName

func (m *MockTriggerEvent) GetName() string

GetName mocks base method.

type MockTriggerEventMockRecorder

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

MockTriggerEventMockRecorder is the mock recorder for MockTriggerEvent.

func (*MockTriggerEventMockRecorder) GetData

func (mr *MockTriggerEventMockRecorder) GetData() *gomock.Call

GetData indicates an expected call of GetData.

func (*MockTriggerEventMockRecorder) GetFromMeta

func (mr *MockTriggerEventMockRecorder) GetFromMeta(key interface{}) *gomock.Call

GetFromMeta indicates an expected call of GetFromMeta.

func (*MockTriggerEventMockRecorder) GetName

func (mr *MockTriggerEventMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName.

Jump to

Keyboard shortcuts

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