-
Notifications
You must be signed in to change notification settings - Fork 450
/
mocks.go
78 lines (66 loc) · 2.59 KB
/
mocks.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
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/gardener/gardener/pkg/client/core/clientset/versioned (interfaces: Interface)
// Package versioned is a generated GoMock package.
package versioned
import (
v1alpha1 "github.com/gardener/gardener/pkg/client/core/clientset/versioned/typed/core/v1alpha1"
v1beta1 "github.com/gardener/gardener/pkg/client/core/clientset/versioned/typed/core/v1beta1"
gomock "github.com/golang/mock/gomock"
discovery "k8s.io/client-go/discovery"
reflect "reflect"
)
// MockInterface is a mock of Interface interface
type MockInterface struct {
ctrl *gomock.Controller
recorder *MockInterfaceMockRecorder
}
// MockInterfaceMockRecorder is the mock recorder for MockInterface
type MockInterfaceMockRecorder struct {
mock *MockInterface
}
// NewMockInterface creates a new mock instance
func NewMockInterface(ctrl *gomock.Controller) *MockInterface {
mock := &MockInterface{ctrl: ctrl}
mock.recorder = &MockInterfaceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder {
return m.recorder
}
// CoreV1alpha1 mocks base method
func (m *MockInterface) CoreV1alpha1() v1alpha1.CoreV1alpha1Interface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CoreV1alpha1")
ret0, _ := ret[0].(v1alpha1.CoreV1alpha1Interface)
return ret0
}
// CoreV1alpha1 indicates an expected call of CoreV1alpha1
func (mr *MockInterfaceMockRecorder) CoreV1alpha1() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CoreV1alpha1", reflect.TypeOf((*MockInterface)(nil).CoreV1alpha1))
}
// CoreV1beta1 mocks base method
func (m *MockInterface) CoreV1beta1() v1beta1.CoreV1beta1Interface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CoreV1beta1")
ret0, _ := ret[0].(v1beta1.CoreV1beta1Interface)
return ret0
}
// CoreV1beta1 indicates an expected call of CoreV1beta1
func (mr *MockInterfaceMockRecorder) CoreV1beta1() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CoreV1beta1", reflect.TypeOf((*MockInterface)(nil).CoreV1beta1))
}
// Discovery mocks base method
func (m *MockInterface) Discovery() discovery.DiscoveryInterface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Discovery")
ret0, _ := ret[0].(discovery.DiscoveryInterface)
return ret0
}
// Discovery indicates an expected call of Discovery
func (mr *MockInterfaceMockRecorder) Discovery() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Discovery", reflect.TypeOf((*MockInterface)(nil).Discovery))
}