-
Notifications
You must be signed in to change notification settings - Fork 29
/
pod.go
61 lines (49 loc) · 1.76 KB
/
pod.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
// Automatically generated by MockGen. DO NOT EDIT!
// Source: github.com/ZTE/Knitter/knitter-monitor/daos (interfaces: PodDaoInterface)
package mockdaos
import (
daos "github.com/ZTE/Knitter/knitter-monitor/daos"
gomock "github.com/golang/mock/gomock"
)
// Mock of PodDaoInterface interface
type MockPodDaoInterface struct {
ctrl *gomock.Controller
recorder *_MockPodDaoInterfaceRecorder
}
// Recorder for MockPodDaoInterface (not exported)
type _MockPodDaoInterfaceRecorder struct {
mock *MockPodDaoInterface
}
func NewMockPodDaoInterface(ctrl *gomock.Controller) *MockPodDaoInterface {
mock := &MockPodDaoInterface{ctrl: ctrl}
mock.recorder = &_MockPodDaoInterfaceRecorder{mock}
return mock
}
func (_m *MockPodDaoInterface) EXPECT() *_MockPodDaoInterfaceRecorder {
return _m.recorder
}
func (_m *MockPodDaoInterface) Delete(_param0 string, _param1 string) error {
ret := _m.ctrl.Call(_m, "Delete", _param0, _param1)
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockPodDaoInterfaceRecorder) Delete(arg0, arg1 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "Delete", arg0, arg1)
}
func (_m *MockPodDaoInterface) Get(_param0 string, _param1 string) (*daos.PodForDB, error) {
ret := _m.ctrl.Call(_m, "Get", _param0, _param1)
ret0, _ := ret[0].(*daos.PodForDB)
ret1, _ := ret[1].(error)
return ret0, ret1
}
func (_mr *_MockPodDaoInterfaceRecorder) Get(arg0, arg1 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "Get", arg0, arg1)
}
func (_m *MockPodDaoInterface) Save(_param0 *daos.PodForDB) error {
ret := _m.ctrl.Call(_m, "Save", _param0)
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockPodDaoInterfaceRecorder) Save(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "Save", arg0)
}