-
Notifications
You must be signed in to change notification settings - Fork 266
/
dfpath_mock.go
146 lines (123 loc) · 4.22 KB
/
dfpath_mock.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
// Code generated by MockGen. DO NOT EDIT.
// Source: pkg/dfpath/dfpath.go
// Package mocks is a generated GoMock package.
package mocks
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
)
// MockDfpath is a mock of Dfpath interface.
type MockDfpath struct {
ctrl *gomock.Controller
recorder *MockDfpathMockRecorder
}
// MockDfpathMockRecorder is the mock recorder for MockDfpath.
type MockDfpathMockRecorder struct {
mock *MockDfpath
}
// NewMockDfpath creates a new mock instance.
func NewMockDfpath(ctrl *gomock.Controller) *MockDfpath {
mock := &MockDfpath{ctrl: ctrl}
mock.recorder = &MockDfpathMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockDfpath) EXPECT() *MockDfpathMockRecorder {
return m.recorder
}
// CacheDir mocks base method.
func (m *MockDfpath) CacheDir() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CacheDir")
ret0, _ := ret[0].(string)
return ret0
}
// CacheDir indicates an expected call of CacheDir.
func (mr *MockDfpathMockRecorder) CacheDir() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CacheDir", reflect.TypeOf((*MockDfpath)(nil).CacheDir))
}
// DaemonLockPath mocks base method.
func (m *MockDfpath) DaemonLockPath() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DaemonLockPath")
ret0, _ := ret[0].(string)
return ret0
}
// DaemonLockPath indicates an expected call of DaemonLockPath.
func (mr *MockDfpathMockRecorder) DaemonLockPath() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DaemonLockPath", reflect.TypeOf((*MockDfpath)(nil).DaemonLockPath))
}
// DaemonSockPath mocks base method.
func (m *MockDfpath) DaemonSockPath() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DaemonSockPath")
ret0, _ := ret[0].(string)
return ret0
}
// DaemonSockPath indicates an expected call of DaemonSockPath.
func (mr *MockDfpathMockRecorder) DaemonSockPath() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DaemonSockPath", reflect.TypeOf((*MockDfpath)(nil).DaemonSockPath))
}
// DataDir mocks base method.
func (m *MockDfpath) DataDir() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DataDir")
ret0, _ := ret[0].(string)
return ret0
}
// DataDir indicates an expected call of DataDir.
func (mr *MockDfpathMockRecorder) DataDir() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DataDir", reflect.TypeOf((*MockDfpath)(nil).DataDir))
}
// DfgetLockPath mocks base method.
func (m *MockDfpath) DfgetLockPath() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DfgetLockPath")
ret0, _ := ret[0].(string)
return ret0
}
// DfgetLockPath indicates an expected call of DfgetLockPath.
func (mr *MockDfpathMockRecorder) DfgetLockPath() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DfgetLockPath", reflect.TypeOf((*MockDfpath)(nil).DfgetLockPath))
}
// LogDir mocks base method.
func (m *MockDfpath) LogDir() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "LogDir")
ret0, _ := ret[0].(string)
return ret0
}
// LogDir indicates an expected call of LogDir.
func (mr *MockDfpathMockRecorder) LogDir() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogDir", reflect.TypeOf((*MockDfpath)(nil).LogDir))
}
// PluginDir mocks base method.
func (m *MockDfpath) PluginDir() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PluginDir")
ret0, _ := ret[0].(string)
return ret0
}
// PluginDir indicates an expected call of PluginDir.
func (mr *MockDfpathMockRecorder) PluginDir() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginDir", reflect.TypeOf((*MockDfpath)(nil).PluginDir))
}
// WorkHome mocks base method.
func (m *MockDfpath) WorkHome() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "WorkHome")
ret0, _ := ret[0].(string)
return ret0
}
// WorkHome indicates an expected call of WorkHome.
func (mr *MockDfpathMockRecorder) WorkHome() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WorkHome", reflect.TypeOf((*MockDfpath)(nil).WorkHome))
}