/
mocks.go
79 lines (66 loc) · 2.72 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
79
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/gardener/gardener/pkg/admissioncontroller/webhooks/auth/seed/graph (interfaces: Interface)
// Package mock is a generated GoMock package.
package mock
import (
context "context"
reflect "reflect"
graph "github.com/gardener/gardener/pkg/admissioncontroller/webhooks/auth/seed/graph"
gomock "github.com/golang/mock/gomock"
cache "sigs.k8s.io/controller-runtime/pkg/cache"
)
// 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
}
// HasPathFrom mocks base method.
func (m *MockInterface) HasPathFrom(arg0 graph.VertexType, arg1, arg2 string, arg3 graph.VertexType, arg4, arg5 string) bool {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HasPathFrom", arg0, arg1, arg2, arg3, arg4, arg5)
ret0, _ := ret[0].(bool)
return ret0
}
// HasPathFrom indicates an expected call of HasPathFrom.
func (mr *MockInterfaceMockRecorder) HasPathFrom(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasPathFrom", reflect.TypeOf((*MockInterface)(nil).HasPathFrom), arg0, arg1, arg2, arg3, arg4, arg5)
}
// HasVertex mocks base method.
func (m *MockInterface) HasVertex(arg0 graph.VertexType, arg1, arg2 string) bool {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HasVertex", arg0, arg1, arg2)
ret0, _ := ret[0].(bool)
return ret0
}
// HasVertex indicates an expected call of HasVertex.
func (mr *MockInterfaceMockRecorder) HasVertex(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasVertex", reflect.TypeOf((*MockInterface)(nil).HasVertex), arg0, arg1, arg2)
}
// Setup mocks base method.
func (m *MockInterface) Setup(arg0 context.Context, arg1 cache.Cache) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Setup", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
// Setup indicates an expected call of Setup.
func (mr *MockInterfaceMockRecorder) Setup(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Setup", reflect.TypeOf((*MockInterface)(nil).Setup), arg0, arg1)
}