-
Notifications
You must be signed in to change notification settings - Fork 109
/
mock_scope.go
104 lines (88 loc) · 3.06 KB
/
mock_scope.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
// Code generated by MockGen. DO NOT EDIT.
// Source: k8s.io/apimachinery/pkg/conversion (interfaces: Scope)
// Package mock_conversion is a generated GoMock package.
package mock_conversion
import (
gomock "github.com/golang/mock/gomock"
conversion "k8s.io/apimachinery/pkg/conversion"
reflect "reflect"
)
// MockScope is a mock of Scope interface
type MockScope struct {
ctrl *gomock.Controller
recorder *MockScopeMockRecorder
}
// MockScopeMockRecorder is the mock recorder for MockScope
type MockScopeMockRecorder struct {
mock *MockScope
}
// NewMockScope creates a new mock instance
func NewMockScope(ctrl *gomock.Controller) *MockScope {
mock := &MockScope{ctrl: ctrl}
mock.recorder = &MockScopeMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockScope) EXPECT() *MockScopeMockRecorder {
return m.recorder
}
// Convert mocks base method
func (m *MockScope) Convert(arg0, arg1 interface{}, arg2 conversion.FieldMatchingFlags) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Convert", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
// Convert indicates an expected call of Convert
func (mr *MockScopeMockRecorder) Convert(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Convert", reflect.TypeOf((*MockScope)(nil).Convert), arg0, arg1, arg2)
}
// DestTag mocks base method
func (m *MockScope) DestTag() reflect.StructTag {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DestTag")
ret0, _ := ret[0].(reflect.StructTag)
return ret0
}
// DestTag indicates an expected call of DestTag
func (mr *MockScopeMockRecorder) DestTag() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DestTag", reflect.TypeOf((*MockScope)(nil).DestTag))
}
// Flags mocks base method
func (m *MockScope) Flags() conversion.FieldMatchingFlags {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Flags")
ret0, _ := ret[0].(conversion.FieldMatchingFlags)
return ret0
}
// Flags indicates an expected call of Flags
func (mr *MockScopeMockRecorder) Flags() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Flags", reflect.TypeOf((*MockScope)(nil).Flags))
}
// Meta mocks base method
func (m *MockScope) Meta() *conversion.Meta {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Meta")
ret0, _ := ret[0].(*conversion.Meta)
return ret0
}
// Meta indicates an expected call of Meta
func (mr *MockScopeMockRecorder) Meta() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Meta", reflect.TypeOf((*MockScope)(nil).Meta))
}
// SrcTag mocks base method
func (m *MockScope) SrcTag() reflect.StructTag {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SrcTag")
ret0, _ := ret[0].(reflect.StructTag)
return ret0
}
// SrcTag indicates an expected call of SrcTag
func (mr *MockScopeMockRecorder) SrcTag() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SrcTag", reflect.TypeOf((*MockScope)(nil).SrcTag))
}