/
mock_contextstore.go
81 lines (65 loc) · 2.24 KB
/
mock_contextstore.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// Automatically generated by MockGen. DO NOT EDIT!
// Source: interfaces.go
// nolint
package mock_contextstore
import (
gomock "github.com/golang/mock/gomock"
)
// Mock of ContextStore interface
type MockContextStore struct {
ctrl *gomock.Controller
recorder *_MockContextStoreRecorder
}
// Recorder for MockContextStore (not exported)
type _MockContextStoreRecorder struct {
mock *MockContextStore
}
func NewMockContextStore(ctrl *gomock.Controller) *MockContextStore {
mock := &MockContextStore{ctrl: ctrl}
mock.recorder = &_MockContextStoreRecorder{mock}
return mock
}
func (_m *MockContextStore) EXPECT() *_MockContextStoreRecorder {
return _m.recorder
}
func (_m *MockContextStore) StoreContext(contextID string, eventInfo interface{}) error {
ret := _m.ctrl.Call(_m, "StoreContext", contextID, eventInfo)
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockContextStoreRecorder) StoreContext(arg0, arg1 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "StoreContext", arg0, arg1)
}
func (_m *MockContextStore) DestroyStore() error {
ret := _m.ctrl.Call(_m, "DestroyStore")
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockContextStoreRecorder) DestroyStore() *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "DestroyStore")
}
func (_m *MockContextStore) GetContextInfo(contextID string, context interface{}) error {
ret := _m.ctrl.Call(_m, "GetContextInfo", contextID, context)
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockContextStoreRecorder) GetContextInfo(arg0, arg1 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "GetContextInfo", arg0, arg1)
}
func (_m *MockContextStore) RemoveContext(contextID string) error {
ret := _m.ctrl.Call(_m, "RemoveContext", contextID)
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockContextStoreRecorder) RemoveContext(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "RemoveContext", arg0)
}
func (_m *MockContextStore) WalkStore() (chan string, error) {
ret := _m.ctrl.Call(_m, "WalkStore")
ret0, _ := ret[0].(chan string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
func (_mr *_MockContextStoreRecorder) WalkStore() *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "WalkStore")
}