-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
generated_mock_utils.go
51 lines (40 loc) · 1.55 KB
/
generated_mock_utils.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
// Automatically generated by MockGen. DO NOT EDIT!
// Source: utils.go
package ephemeraldiskutils
import (
gomock "github.com/golang/mock/gomock"
safepath "kubevirt.io/kubevirt/pkg/safepath"
)
// Mock of OwnershipManagerInterface interface
type MockOwnershipManagerInterface struct {
ctrl *gomock.Controller
recorder *_MockOwnershipManagerInterfaceRecorder
}
// Recorder for MockOwnershipManagerInterface (not exported)
type _MockOwnershipManagerInterfaceRecorder struct {
mock *MockOwnershipManagerInterface
}
func NewMockOwnershipManagerInterface(ctrl *gomock.Controller) *MockOwnershipManagerInterface {
mock := &MockOwnershipManagerInterface{ctrl: ctrl}
mock.recorder = &_MockOwnershipManagerInterfaceRecorder{mock}
return mock
}
func (_m *MockOwnershipManagerInterface) EXPECT() *_MockOwnershipManagerInterfaceRecorder {
return _m.recorder
}
func (_m *MockOwnershipManagerInterface) UnsafeSetFileOwnership(file string) error {
ret := _m.ctrl.Call(_m, "UnsafeSetFileOwnership", file)
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockOwnershipManagerInterfaceRecorder) UnsafeSetFileOwnership(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "UnsafeSetFileOwnership", arg0)
}
func (_m *MockOwnershipManagerInterface) SetFileOwnership(file *safepath.Path) error {
ret := _m.ctrl.Call(_m, "SetFileOwnership", file)
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockOwnershipManagerInterfaceRecorder) SetFileOwnership(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "SetFileOwnership", arg0)
}