blob: 8b986ec08d51d99692ce943856e8b7dffa81d1e8 [file] [log] [blame]
vinokumaf7605fc2023-06-02 18:08:01 +05301/*
2* Copyright 2022-present Open Networking Foundation
3* Licensed under the Apache License, Version 2.0 (the "License");
4* you may not use this file except in compliance with the License.
5* You may obtain a copy of the License at
6*
7* http://www.apache.org/licenses/LICENSE-2.0
8*
9* Unless required by applicable law or agreed to in writing, software
10* distributed under the License is distributed on an "AS IS" BASIS,
11* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12* See the License for the specific language governing permissions and
13* limitations under the License.
14 */
15
16// Code generated by MockGen. DO NOT EDIT.
17// Source: /home/vinod/go/src/gerrit.opencord.org/voltha-go-controller/internal/pkg/intf/appif.go
18
19// Package mock_intf is a generated GoMock package.
20package mocks
21
22import (
23 context "context"
24 reflect "reflect"
25 intf "voltha-go-controller/internal/pkg/intf"
26
27 gomock "github.com/golang/mock/gomock"
28)
29
30// MockApp is a mock of App interface.
31type MockApp struct {
32 ctrl *gomock.Controller
33 recorder *MockAppMockRecorder
34}
35
36// MockAppMockRecorder is the mock recorder for MockApp.
37type MockAppMockRecorder struct {
38 mock *MockApp
39}
40
41// NewMockApp creates a new mock instance.
42func NewMockApp(ctrl *gomock.Controller) *MockApp {
43 mock := &MockApp{ctrl: ctrl}
44 mock.recorder = &MockAppMockRecorder{mock}
45 return mock
46}
47
48// EXPECT returns an object that allows the caller to indicate expected use.
49func (m *MockApp) EXPECT() *MockAppMockRecorder {
50 return m.recorder
51}
52
53// AddDevice mocks base method.
54func (m *MockApp) AddDevice(arg0 context.Context, arg1, arg2, arg3 string) {
55 m.ctrl.T.Helper()
56 m.ctrl.Call(m, "AddDevice", arg0, arg1, arg2, arg3)
57}
58
59// AddDevice indicates an expected call of AddDevice.
60func (mr *MockAppMockRecorder) AddDevice(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
61 mr.mock.ctrl.T.Helper()
62 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddDevice", reflect.TypeOf((*MockApp)(nil).AddDevice), arg0, arg1, arg2, arg3)
63}
64
65// DelDevice mocks base method.
66func (m *MockApp) DelDevice(arg0 context.Context, arg1 string) {
67 m.ctrl.T.Helper()
68 m.ctrl.Call(m, "DelDevice", arg0, arg1)
69}
70
71// DelDevice indicates an expected call of DelDevice.
72func (mr *MockAppMockRecorder) DelDevice(arg0, arg1 interface{}) *gomock.Call {
73 mr.mock.ctrl.T.Helper()
74 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelDevice", reflect.TypeOf((*MockApp)(nil).DelDevice), arg0, arg1)
75}
76
77// DeviceDisableInd mocks base method.
78func (m *MockApp) DeviceDisableInd(arg0 context.Context, arg1 string) {
79 m.ctrl.T.Helper()
80 m.ctrl.Call(m, "DeviceDisableInd", arg0, arg1)
81}
82
83// DeviceDisableInd indicates an expected call of DeviceDisableInd.
84func (mr *MockAppMockRecorder) DeviceDisableInd(arg0, arg1 interface{}) *gomock.Call {
85 mr.mock.ctrl.T.Helper()
86 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeviceDisableInd", reflect.TypeOf((*MockApp)(nil).DeviceDisableInd), arg0, arg1)
87}
88
89// DeviceDownInd mocks base method.
90func (m *MockApp) DeviceDownInd(arg0 string) {
91 m.ctrl.T.Helper()
92 m.ctrl.Call(m, "DeviceDownInd", arg0)
93}
94
95// DeviceDownInd indicates an expected call of DeviceDownInd.
96func (mr *MockAppMockRecorder) DeviceDownInd(arg0 interface{}) *gomock.Call {
97 mr.mock.ctrl.T.Helper()
98 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeviceDownInd", reflect.TypeOf((*MockApp)(nil).DeviceDownInd), arg0)
99}
100
101// DeviceRebootInd mocks base method.
102func (m *MockApp) DeviceRebootInd(arg0 context.Context, arg1, arg2, arg3 string) {
103 m.ctrl.T.Helper()
104 m.ctrl.Call(m, "DeviceRebootInd", arg0, arg1, arg2, arg3)
105}
106
107// DeviceRebootInd indicates an expected call of DeviceRebootInd.
108func (mr *MockAppMockRecorder) DeviceRebootInd(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
109 mr.mock.ctrl.T.Helper()
110 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeviceRebootInd", reflect.TypeOf((*MockApp)(nil).DeviceRebootInd), arg0, arg1, arg2, arg3)
111}
112
113// DeviceUpInd mocks base method.
114func (m *MockApp) DeviceUpInd(arg0 string) {
115 m.ctrl.T.Helper()
116 m.ctrl.Call(m, "DeviceUpInd", arg0)
117}
118
119// DeviceUpInd indicates an expected call of DeviceUpInd.
120func (mr *MockAppMockRecorder) DeviceUpInd(arg0 interface{}) *gomock.Call {
121 mr.mock.ctrl.T.Helper()
122 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeviceUpInd", reflect.TypeOf((*MockApp)(nil).DeviceUpInd), arg0)
123}
124
125// PacketInInd mocks base method.
126func (m *MockApp) PacketInInd(arg0 context.Context, arg1, arg2 string, arg3 []byte) {
127 m.ctrl.T.Helper()
128 m.ctrl.Call(m, "PacketInInd", arg0, arg1, arg2, arg3)
129}
130
131// PacketInInd indicates an expected call of PacketInInd.
132func (mr *MockAppMockRecorder) PacketInInd(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
133 mr.mock.ctrl.T.Helper()
134 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PacketInInd", reflect.TypeOf((*MockApp)(nil).PacketInInd), arg0, arg1, arg2, arg3)
135}
136
137// PortAddInd mocks base method.
138func (m *MockApp) PortAddInd(arg0 context.Context, arg1 string, arg2 uint32, arg3 string) {
139 m.ctrl.T.Helper()
140 m.ctrl.Call(m, "PortAddInd", arg0, arg1, arg2, arg3)
141}
142
143// PortAddInd indicates an expected call of PortAddInd.
144func (mr *MockAppMockRecorder) PortAddInd(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
145 mr.mock.ctrl.T.Helper()
146 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortAddInd", reflect.TypeOf((*MockApp)(nil).PortAddInd), arg0, arg1, arg2, arg3)
147}
148
149// PortDelInd mocks base method.
150func (m *MockApp) PortDelInd(arg0 context.Context, arg1, arg2 string) {
151 m.ctrl.T.Helper()
152 m.ctrl.Call(m, "PortDelInd", arg0, arg1, arg2)
153}
154
155// PortDelInd indicates an expected call of PortDelInd.
156func (mr *MockAppMockRecorder) PortDelInd(arg0, arg1, arg2 interface{}) *gomock.Call {
157 mr.mock.ctrl.T.Helper()
158 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortDelInd", reflect.TypeOf((*MockApp)(nil).PortDelInd), arg0, arg1, arg2)
159}
160
161// PortDownInd mocks base method.
162func (m *MockApp) PortDownInd(arg0 context.Context, arg1, arg2 string) {
163 m.ctrl.T.Helper()
164 m.ctrl.Call(m, "PortDownInd", arg0, arg1, arg2)
165}
166
167// PortDownInd indicates an expected call of PortDownInd.
168func (mr *MockAppMockRecorder) PortDownInd(arg0, arg1, arg2 interface{}) *gomock.Call {
169 mr.mock.ctrl.T.Helper()
170 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortDownInd", reflect.TypeOf((*MockApp)(nil).PortDownInd), arg0, arg1, arg2)
171}
172
173// PortUpInd mocks base method.
174func (m *MockApp) PortUpInd(arg0 context.Context, arg1, arg2 string) {
175 m.ctrl.T.Helper()
176 m.ctrl.Call(m, "PortUpInd", arg0, arg1, arg2)
177}
178
179// PortUpInd indicates an expected call of PortUpInd.
180func (mr *MockAppMockRecorder) PortUpInd(arg0, arg1, arg2 interface{}) *gomock.Call {
181 mr.mock.ctrl.T.Helper()
182 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortUpInd", reflect.TypeOf((*MockApp)(nil).PortUpInd), arg0, arg1, arg2)
183}
184
185// PortUpdateInd mocks base method.
186func (m *MockApp) PortUpdateInd(arg0, arg1 string, arg2 uint32) {
187 m.ctrl.T.Helper()
188 m.ctrl.Call(m, "PortUpdateInd", arg0, arg1, arg2)
189}
190
191// PortUpdateInd indicates an expected call of PortUpdateInd.
192func (mr *MockAppMockRecorder) PortUpdateInd(arg0, arg1, arg2 interface{}) *gomock.Call {
193 mr.mock.ctrl.T.Helper()
194 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortUpdateInd", reflect.TypeOf((*MockApp)(nil).PortUpdateInd), arg0, arg1, arg2)
195}
196
197// ProcessFlowModResultIndication mocks base method.
198func (m *MockApp) ProcessFlowModResultIndication(arg0 context.Context, arg1 intf.FlowStatus) {
199 m.ctrl.T.Helper()
200 m.ctrl.Call(m, "ProcessFlowModResultIndication", arg0, arg1)
201}
202
203// ProcessFlowModResultIndication indicates an expected call of ProcessFlowModResultIndication.
204func (mr *MockAppMockRecorder) ProcessFlowModResultIndication(arg0, arg1 interface{}) *gomock.Call {
205 mr.mock.ctrl.T.Helper()
206 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ProcessFlowModResultIndication", reflect.TypeOf((*MockApp)(nil).ProcessFlowModResultIndication), arg0, arg1)
207}
208
Sridhar Ravindra3ec14232024-01-01 19:11:48 +0530209// IsFlowDelThresholdReached mocks base method.
210func (m *MockApp) IsFlowDelThresholdReached(arg0 context.Context, arg1 string, arg2 string) bool {
211 m.ctrl.T.Helper()
212 m.ctrl.Call(m, "IsFlowDelThresholdReached", arg0, arg1, arg2)
213 return false
214}
215
216// IsFlowDelThresholdReached indicates an expected call of IsFlowDelThresholdReached.
217func (mr *MockAppMockRecorder) IsFlowDelThresholdReached(arg0, arg1, arg2 interface{}) *gomock.Call {
218 mr.mock.ctrl.T.Helper()
219 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsFlowDelThresholdReached", reflect.TypeOf((*MockApp)(nil).IsFlowDelThresholdReached), arg0, arg1, arg2)
220}
221
vinokumaf7605fc2023-06-02 18:08:01 +0530222// SetRebootFlag mocks base method.
223func (m *MockApp) SetRebootFlag(arg0 bool) {
224 m.ctrl.T.Helper()
225 m.ctrl.Call(m, "SetRebootFlag", arg0)
226}
227
228// SetRebootFlag indicates an expected call of SetRebootFlag.
229func (mr *MockAppMockRecorder) SetRebootFlag(arg0 interface{}) *gomock.Call {
230 mr.mock.ctrl.T.Helper()
231 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetRebootFlag", reflect.TypeOf((*MockApp)(nil).SetRebootFlag), arg0)
232}
233
234// TriggerPendingMigrateServicesReq mocks base method.
235func (m *MockApp) TriggerPendingMigrateServicesReq(arg0 context.Context, arg1 string) {
236 m.ctrl.T.Helper()
237 m.ctrl.Call(m, "TriggerPendingMigrateServicesReq", arg0, arg1)
238}
239
240// TriggerPendingMigrateServicesReq indicates an expected call of TriggerPendingMigrateServicesReq.
241func (mr *MockAppMockRecorder) TriggerPendingMigrateServicesReq(arg0, arg1 interface{}) *gomock.Call {
242 mr.mock.ctrl.T.Helper()
243 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TriggerPendingMigrateServicesReq", reflect.TypeOf((*MockApp)(nil).TriggerPendingMigrateServicesReq), arg0, arg1)
244}
245
246// TriggerPendingProfileDeleteReq mocks base method.
247func (m *MockApp) TriggerPendingProfileDeleteReq(arg0 context.Context, arg1 string) {
248 m.ctrl.T.Helper()
249 m.ctrl.Call(m, "TriggerPendingProfileDeleteReq", arg0, arg1)
250}
251
252// TriggerPendingProfileDeleteReq indicates an expected call of TriggerPendingProfileDeleteReq.
253func (mr *MockAppMockRecorder) TriggerPendingProfileDeleteReq(arg0, arg1 interface{}) *gomock.Call {
254 mr.mock.ctrl.T.Helper()
255 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TriggerPendingProfileDeleteReq", reflect.TypeOf((*MockApp)(nil).TriggerPendingProfileDeleteReq), arg0, arg1)
256}
257
258// UpdateMvlanProfilesForDevice mocks base method.
259func (m *MockApp) UpdateMvlanProfilesForDevice(arg0 context.Context, arg1 string) {
260 m.ctrl.T.Helper()
261 m.ctrl.Call(m, "UpdateMvlanProfilesForDevice", arg0, arg1)
262}
263
264// UpdateMvlanProfilesForDevice indicates an expected call of UpdateMvlanProfilesForDevice.
265func (mr *MockAppMockRecorder) UpdateMvlanProfilesForDevice(arg0, arg1 interface{}) *gomock.Call {
266 mr.mock.ctrl.T.Helper()
267 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateMvlanProfilesForDevice", reflect.TypeOf((*MockApp)(nil).UpdateMvlanProfilesForDevice), arg0, arg1)
268}