/
mockstats.go
63 lines (52 loc) · 1.67 KB
/
mockstats.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
// Automatically generated by MockGen. DO NOT EDIT!
// Source: github.com/aporeto-inc/trireme/cmd/remoteenforcer (interfaces: Stats)
// nolint
package mockstats
import (
gomock "github.com/aporeto-inc/mock/gomock"
)
// MockStats is a mock of Stats interface
type MockStats struct {
ctrl *gomock.Controller
recorder *MockStatsMockRecorder
}
// MockStatsMockRecorder is the mock recorder for MockStats
type MockStatsMockRecorder struct {
mock *MockStats
}
// NewMockStats creates a new mock instance
func NewMockStats(ctrl *gomock.Controller) *MockStats {
mock := &MockStats{ctrl: ctrl}
mock.recorder = &MockStatsMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (_m *MockStats) EXPECT() *MockStatsMockRecorder {
return _m.recorder
}
// ConnectStatsClient mocks base method
func (_m *MockStats) ConnectStatsClient() error {
ret := _m.ctrl.Call(_m, "ConnectStatsClient")
ret0, _ := ret[0].(error)
return ret0
}
// ConnectStatsClient indicates an expected call of ConnectStatsClient
func (_mr *MockStatsMockRecorder) ConnectStatsClient() *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "ConnectStatsClient")
}
// SendStats mocks base method
func (_m *MockStats) SendStats() {
_m.ctrl.Call(_m, "SendStats")
}
// SendStats indicates an expected call of SendStats
func (_mr *MockStatsMockRecorder) SendStats() *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "SendStats")
}
// Stop mocks base method
func (_m *MockStats) Stop() {
_m.ctrl.Call(_m, "Stop")
}
// Stop indicates an expected call of Stop
func (_mr *MockStatsMockRecorder) Stop() *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "Stop")
}