forked from joeholley/supergloo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpolicy_reconciler.sk.go
50 lines (41 loc) · 1.85 KB
/
policy_reconciler.sk.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
// Code generated by MockGen. DO NOT EDIT.
// Source: ./pkg/api/external/istio/authorization/v1alpha1/policy_reconciler.sk.go
// Package mocks is a generated GoMock package.
package mocks
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
clients "github.com/solo-io/solo-kit/pkg/api/v1/clients"
v1alpha1 "github.com/solo-io/supergloo/pkg/api/external/istio/authorization/v1alpha1"
)
// MockPolicyReconciler is a mock of PolicyReconciler interface
type MockPolicyReconciler struct {
ctrl *gomock.Controller
recorder *MockPolicyReconcilerMockRecorder
}
// MockPolicyReconcilerMockRecorder is the mock recorder for MockPolicyReconciler
type MockPolicyReconcilerMockRecorder struct {
mock *MockPolicyReconciler
}
// NewMockPolicyReconciler creates a new mock instance
func NewMockPolicyReconciler(ctrl *gomock.Controller) *MockPolicyReconciler {
mock := &MockPolicyReconciler{ctrl: ctrl}
mock.recorder = &MockPolicyReconcilerMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockPolicyReconciler) EXPECT() *MockPolicyReconcilerMockRecorder {
return m.recorder
}
// Reconcile mocks base method
func (m *MockPolicyReconciler) Reconcile(namespace string, desiredResources v1alpha1.PolicyList, transition v1alpha1.TransitionPolicyFunc, opts clients.ListOpts) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Reconcile", namespace, desiredResources, transition, opts)
ret0, _ := ret[0].(error)
return ret0
}
// Reconcile indicates an expected call of Reconcile
func (mr *MockPolicyReconcilerMockRecorder) Reconcile(namespace, desiredResources, transition, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reconcile", reflect.TypeOf((*MockPolicyReconciler)(nil).Reconcile), namespace, desiredResources, transition, opts)
}