-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathBigSwitchBCFService_mock.go
More file actions
146 lines (126 loc) · 6.59 KB
/
BigSwitchBCFService_mock.go
File metadata and controls
146 lines (126 loc) · 6.59 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you 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: ./cloudstack/BigSwitchBCFService.go
//
// Generated by this command:
//
// mockgen -destination=./cloudstack/BigSwitchBCFService_mock.go -package=cloudstack -copyright_file=header.txt -source=./cloudstack/BigSwitchBCFService.go
//
// Package cloudstack is a generated GoMock package.
package cloudstack
import (
reflect "reflect"
gomock "go.uber.org/mock/gomock"
)
// MockBigSwitchBCFServiceIface is a mock of BigSwitchBCFServiceIface interface.
type MockBigSwitchBCFServiceIface struct {
ctrl *gomock.Controller
recorder *MockBigSwitchBCFServiceIfaceMockRecorder
isgomock struct{}
}
// MockBigSwitchBCFServiceIfaceMockRecorder is the mock recorder for MockBigSwitchBCFServiceIface.
type MockBigSwitchBCFServiceIfaceMockRecorder struct {
mock *MockBigSwitchBCFServiceIface
}
// NewMockBigSwitchBCFServiceIface creates a new mock instance.
func NewMockBigSwitchBCFServiceIface(ctrl *gomock.Controller) *MockBigSwitchBCFServiceIface {
mock := &MockBigSwitchBCFServiceIface{ctrl: ctrl}
mock.recorder = &MockBigSwitchBCFServiceIfaceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockBigSwitchBCFServiceIface) EXPECT() *MockBigSwitchBCFServiceIfaceMockRecorder {
return m.recorder
}
// AddBigSwitchBcfDevice mocks base method.
func (m *MockBigSwitchBCFServiceIface) AddBigSwitchBcfDevice(p *AddBigSwitchBcfDeviceParams) (*AddBigSwitchBcfDeviceResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "AddBigSwitchBcfDevice", p)
ret0, _ := ret[0].(*AddBigSwitchBcfDeviceResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// AddBigSwitchBcfDevice indicates an expected call of AddBigSwitchBcfDevice.
func (mr *MockBigSwitchBCFServiceIfaceMockRecorder) AddBigSwitchBcfDevice(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddBigSwitchBcfDevice", reflect.TypeOf((*MockBigSwitchBCFServiceIface)(nil).AddBigSwitchBcfDevice), p)
}
// DeleteBigSwitchBcfDevice mocks base method.
func (m *MockBigSwitchBCFServiceIface) DeleteBigSwitchBcfDevice(p *DeleteBigSwitchBcfDeviceParams) (*DeleteBigSwitchBcfDeviceResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteBigSwitchBcfDevice", p)
ret0, _ := ret[0].(*DeleteBigSwitchBcfDeviceResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteBigSwitchBcfDevice indicates an expected call of DeleteBigSwitchBcfDevice.
func (mr *MockBigSwitchBCFServiceIfaceMockRecorder) DeleteBigSwitchBcfDevice(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBigSwitchBcfDevice", reflect.TypeOf((*MockBigSwitchBCFServiceIface)(nil).DeleteBigSwitchBcfDevice), p)
}
// ListBigSwitchBcfDevices mocks base method.
func (m *MockBigSwitchBCFServiceIface) ListBigSwitchBcfDevices(p *ListBigSwitchBcfDevicesParams) (*ListBigSwitchBcfDevicesResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListBigSwitchBcfDevices", p)
ret0, _ := ret[0].(*ListBigSwitchBcfDevicesResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListBigSwitchBcfDevices indicates an expected call of ListBigSwitchBcfDevices.
func (mr *MockBigSwitchBCFServiceIfaceMockRecorder) ListBigSwitchBcfDevices(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListBigSwitchBcfDevices", reflect.TypeOf((*MockBigSwitchBCFServiceIface)(nil).ListBigSwitchBcfDevices), p)
}
// NewAddBigSwitchBcfDeviceParams mocks base method.
func (m *MockBigSwitchBCFServiceIface) NewAddBigSwitchBcfDeviceParams(hostname string, nat bool, password, physicalnetworkid, username string) *AddBigSwitchBcfDeviceParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewAddBigSwitchBcfDeviceParams", hostname, nat, password, physicalnetworkid, username)
ret0, _ := ret[0].(*AddBigSwitchBcfDeviceParams)
return ret0
}
// NewAddBigSwitchBcfDeviceParams indicates an expected call of NewAddBigSwitchBcfDeviceParams.
func (mr *MockBigSwitchBCFServiceIfaceMockRecorder) NewAddBigSwitchBcfDeviceParams(hostname, nat, password, physicalnetworkid, username any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewAddBigSwitchBcfDeviceParams", reflect.TypeOf((*MockBigSwitchBCFServiceIface)(nil).NewAddBigSwitchBcfDeviceParams), hostname, nat, password, physicalnetworkid, username)
}
// NewDeleteBigSwitchBcfDeviceParams mocks base method.
func (m *MockBigSwitchBCFServiceIface) NewDeleteBigSwitchBcfDeviceParams(bcfdeviceid string) *DeleteBigSwitchBcfDeviceParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewDeleteBigSwitchBcfDeviceParams", bcfdeviceid)
ret0, _ := ret[0].(*DeleteBigSwitchBcfDeviceParams)
return ret0
}
// NewDeleteBigSwitchBcfDeviceParams indicates an expected call of NewDeleteBigSwitchBcfDeviceParams.
func (mr *MockBigSwitchBCFServiceIfaceMockRecorder) NewDeleteBigSwitchBcfDeviceParams(bcfdeviceid any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewDeleteBigSwitchBcfDeviceParams", reflect.TypeOf((*MockBigSwitchBCFServiceIface)(nil).NewDeleteBigSwitchBcfDeviceParams), bcfdeviceid)
}
// NewListBigSwitchBcfDevicesParams mocks base method.
func (m *MockBigSwitchBCFServiceIface) NewListBigSwitchBcfDevicesParams() *ListBigSwitchBcfDevicesParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewListBigSwitchBcfDevicesParams")
ret0, _ := ret[0].(*ListBigSwitchBcfDevicesParams)
return ret0
}
// NewListBigSwitchBcfDevicesParams indicates an expected call of NewListBigSwitchBcfDevicesParams.
func (mr *MockBigSwitchBCFServiceIfaceMockRecorder) NewListBigSwitchBcfDevicesParams() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewListBigSwitchBcfDevicesParams", reflect.TypeOf((*MockBigSwitchBCFServiceIface)(nil).NewListBigSwitchBcfDevicesParams))
}