Documentation ¶
Overview ¶
Package mock_correlation is a generated GoMock package.
Index ¶
- type MockRulesAdapter
- func (m *MockRulesAdapter) EXPECT() *MockRulesAdapterMockRecorder
- func (m *MockRulesAdapter) Get(arg0 context.Context) ([]correlation.Rule, error)
- func (m *MockRulesAdapter) GetManualRule(arg0 context.Context, arg1 bool) (correlation.Rule, error)
- func (m *MockRulesAdapter) GetRule(arg0 context.Context, arg1 string) (correlation.Rule, error)
- func (m *MockRulesAdapter) Save(arg0 context.Context, arg1 correlation.Rule) error
- type MockRulesAdapterMockRecorder
- func (mr *MockRulesAdapterMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockRulesAdapterMockRecorder) GetManualRule(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRulesAdapterMockRecorder) GetRule(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRulesAdapterMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRulesAdapter ¶
type MockRulesAdapter struct {
// contains filtered or unexported fields
}
MockRulesAdapter is a mock of RulesAdapter interface.
func NewMockRulesAdapter ¶
func NewMockRulesAdapter(ctrl *gomock.Controller) *MockRulesAdapter
NewMockRulesAdapter creates a new mock instance.
func (*MockRulesAdapter) EXPECT ¶
func (m *MockRulesAdapter) EXPECT() *MockRulesAdapterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRulesAdapter) Get ¶
func (m *MockRulesAdapter) Get(arg0 context.Context) ([]correlation.Rule, error)
Get mocks base method.
func (*MockRulesAdapter) GetManualRule ¶
func (m *MockRulesAdapter) GetManualRule(arg0 context.Context, arg1 bool) (correlation.Rule, error)
GetManualRule mocks base method.
func (*MockRulesAdapter) GetRule ¶
func (m *MockRulesAdapter) GetRule(arg0 context.Context, arg1 string) (correlation.Rule, error)
GetRule mocks base method.
func (*MockRulesAdapter) Save ¶
func (m *MockRulesAdapter) Save(arg0 context.Context, arg1 correlation.Rule) error
Save mocks base method.
type MockRulesAdapterMockRecorder ¶
type MockRulesAdapterMockRecorder struct {
// contains filtered or unexported fields
}
MockRulesAdapterMockRecorder is the mock recorder for MockRulesAdapter.
func (*MockRulesAdapterMockRecorder) Get ¶
func (mr *MockRulesAdapterMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockRulesAdapterMockRecorder) GetManualRule ¶
func (mr *MockRulesAdapterMockRecorder) GetManualRule(arg0, arg1 interface{}) *gomock.Call
GetManualRule indicates an expected call of GetManualRule.
func (*MockRulesAdapterMockRecorder) GetRule ¶
func (mr *MockRulesAdapterMockRecorder) GetRule(arg0, arg1 interface{}) *gomock.Call
GetRule indicates an expected call of GetRule.
func (*MockRulesAdapterMockRecorder) Save ¶
func (mr *MockRulesAdapterMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call
Save indicates an expected call of Save.
Click to show internal directories.
Click to hide internal directories.