-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathzz_generated.ippool_manager.go
More file actions
113 lines (97 loc) · 4.02 KB
/
zz_generated.ippool_manager.go
File metadata and controls
113 lines (97 loc) · 4.02 KB
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
105
106
107
108
109
110
111
112
113
// /*
// Copyright The Kubernetes Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// */
//
//
// Code generated by MockGen. DO NOT EDIT.
// Source: ./ipam/ippool_manager.go
//
// Generated by this command:
//
// mockgen -destination=./ipam/mocks/zz_generated.ippool_manager.go -source=./ipam/ippool_manager.go -package=ipam_mocks -copyright_file=./hack/boilerplate/boilerplate.generatego.txt PoolManagerInterface
//
// Package ipam_mocks is a generated GoMock package.
package ipam_mocks
import (
context "context"
reflect "reflect"
gomock "go.uber.org/mock/gomock"
v1beta1 "sigs.k8s.io/cluster-api/api/core/v1beta1"
)
// MockIPPoolManagerInterface is a mock of IPPoolManagerInterface interface.
type MockIPPoolManagerInterface struct {
ctrl *gomock.Controller
recorder *MockIPPoolManagerInterfaceMockRecorder
isgomock struct{}
}
// MockIPPoolManagerInterfaceMockRecorder is the mock recorder for MockIPPoolManagerInterface.
type MockIPPoolManagerInterfaceMockRecorder struct {
mock *MockIPPoolManagerInterface
}
// NewMockIPPoolManagerInterface creates a new mock instance.
func NewMockIPPoolManagerInterface(ctrl *gomock.Controller) *MockIPPoolManagerInterface {
mock := &MockIPPoolManagerInterface{ctrl: ctrl}
mock.recorder = &MockIPPoolManagerInterfaceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockIPPoolManagerInterface) EXPECT() *MockIPPoolManagerInterfaceMockRecorder {
return m.recorder
}
// SetClusterOwnerRef mocks base method.
func (m *MockIPPoolManagerInterface) SetClusterOwnerRef(arg0 *v1beta1.Cluster) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SetClusterOwnerRef", arg0)
ret0, _ := ret[0].(error)
return ret0
}
// SetClusterOwnerRef indicates an expected call of SetClusterOwnerRef.
func (mr *MockIPPoolManagerInterfaceMockRecorder) SetClusterOwnerRef(arg0 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetClusterOwnerRef", reflect.TypeOf((*MockIPPoolManagerInterface)(nil).SetClusterOwnerRef), arg0)
}
// SetFinalizer mocks base method.
func (m *MockIPPoolManagerInterface) SetFinalizer() {
m.ctrl.T.Helper()
m.ctrl.Call(m, "SetFinalizer")
}
// SetFinalizer indicates an expected call of SetFinalizer.
func (mr *MockIPPoolManagerInterfaceMockRecorder) SetFinalizer() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFinalizer", reflect.TypeOf((*MockIPPoolManagerInterface)(nil).SetFinalizer))
}
// UnsetFinalizer mocks base method.
func (m *MockIPPoolManagerInterface) UnsetFinalizer() {
m.ctrl.T.Helper()
m.ctrl.Call(m, "UnsetFinalizer")
}
// UnsetFinalizer indicates an expected call of UnsetFinalizer.
func (mr *MockIPPoolManagerInterfaceMockRecorder) UnsetFinalizer() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnsetFinalizer", reflect.TypeOf((*MockIPPoolManagerInterface)(nil).UnsetFinalizer))
}
// UpdateAddresses mocks base method.
func (m *MockIPPoolManagerInterface) UpdateAddresses(arg0 context.Context) (int, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UpdateAddresses", arg0)
ret0, _ := ret[0].(int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UpdateAddresses indicates an expected call of UpdateAddresses.
func (mr *MockIPPoolManagerInterfaceMockRecorder) UpdateAddresses(arg0 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateAddresses", reflect.TypeOf((*MockIPPoolManagerInterface)(nil).UpdateAddresses), arg0)
}