зеркало из https://github.com/Azure/ARO-RP.git
generate
This commit is contained in:
Родитель
ed3df61a85
Коммит
9048751367
|
@ -1,9 +1,9 @@
|
|||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/Azure/ARO-RP/pkg/util/azureclient/azuresdk/armnetwork (interfaces: FlowLogsClient,InterfacesClient,LoadBalancersClient,LoadBalancerBackendAddressPoolsClient,PrivateEndpointsClient,PrivateLinkServicesClient,PublicIPAddressesClient,SecurityGroupsClient,SubnetsClient)
|
||||
// Source: github.com/Azure/ARO-RP/pkg/util/azureclient/azuresdk/armnetwork (interfaces: FlowLogsClient,InterfacesClient,LoadBalancersClient,LoadBalancerBackendAddressPoolsClient,PrivateEndpointsClient,PrivateLinkServicesClient,PublicIPAddressesClient,RouteTablesClient,SecurityGroupsClient,SubnetsClient,VirtualNetworksClient)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -destination=../../../../util/mocks/azureclient/azuresdk/armnetwork/armnetwork.go github.com/Azure/ARO-RP/pkg/util/azureclient/azuresdk/armnetwork FlowLogsClient,InterfacesClient,LoadBalancersClient,LoadBalancerBackendAddressPoolsClient,PrivateEndpointsClient,PrivateLinkServicesClient,PublicIPAddressesClient,SecurityGroupsClient,SubnetsClient
|
||||
// mockgen -destination=../../../../util/mocks/azureclient/azuresdk/armnetwork/armnetwork.go github.com/Azure/ARO-RP/pkg/util/azureclient/azuresdk/armnetwork FlowLogsClient,InterfacesClient,LoadBalancersClient,LoadBalancerBackendAddressPoolsClient,PrivateEndpointsClient,PrivateLinkServicesClient,PublicIPAddressesClient,RouteTablesClient,SecurityGroupsClient,SubnetsClient,VirtualNetworksClient
|
||||
//
|
||||
|
||||
// Package mock_armnetwork is a generated GoMock package.
|
||||
|
@ -468,6 +468,58 @@ func (mr *MockPublicIPAddressesClientMockRecorder) List(arg0, arg1, arg2 any) *g
|
|||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockPublicIPAddressesClient)(nil).List), arg0, arg1, arg2)
|
||||
}
|
||||
|
||||
// MockRouteTablesClient is a mock of RouteTablesClient interface.
|
||||
type MockRouteTablesClient struct {
|
||||
ctrl *gomock.Controller
|
||||
recorder *MockRouteTablesClientMockRecorder
|
||||
}
|
||||
|
||||
// MockRouteTablesClientMockRecorder is the mock recorder for MockRouteTablesClient.
|
||||
type MockRouteTablesClientMockRecorder struct {
|
||||
mock *MockRouteTablesClient
|
||||
}
|
||||
|
||||
// NewMockRouteTablesClient creates a new mock instance.
|
||||
func NewMockRouteTablesClient(ctrl *gomock.Controller) *MockRouteTablesClient {
|
||||
mock := &MockRouteTablesClient{ctrl: ctrl}
|
||||
mock.recorder = &MockRouteTablesClientMockRecorder{mock}
|
||||
return mock
|
||||
}
|
||||
|
||||
// EXPECT returns an object that allows the caller to indicate expected use.
|
||||
func (m *MockRouteTablesClient) EXPECT() *MockRouteTablesClientMockRecorder {
|
||||
return m.recorder
|
||||
}
|
||||
|
||||
// DeleteAndWait mocks base method.
|
||||
func (m *MockRouteTablesClient) DeleteAndWait(arg0 context.Context, arg1, arg2 string, arg3 *armnetwork.RouteTablesClientBeginDeleteOptions) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "DeleteAndWait", arg0, arg1, arg2, arg3)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// DeleteAndWait indicates an expected call of DeleteAndWait.
|
||||
func (mr *MockRouteTablesClientMockRecorder) DeleteAndWait(arg0, arg1, arg2, arg3 any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAndWait", reflect.TypeOf((*MockRouteTablesClient)(nil).DeleteAndWait), arg0, arg1, arg2, arg3)
|
||||
}
|
||||
|
||||
// Get mocks base method.
|
||||
func (m *MockRouteTablesClient) Get(arg0 context.Context, arg1, arg2 string, arg3 *armnetwork.RouteTablesClientGetOptions) (armnetwork.RouteTablesClientGetResponse, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Get", arg0, arg1, arg2, arg3)
|
||||
ret0, _ := ret[0].(armnetwork.RouteTablesClientGetResponse)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// Get indicates an expected call of Get.
|
||||
func (mr *MockRouteTablesClientMockRecorder) Get(arg0, arg1, arg2, arg3 any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockRouteTablesClient)(nil).Get), arg0, arg1, arg2, arg3)
|
||||
}
|
||||
|
||||
// MockSecurityGroupsClient is a mock of SecurityGroupsClient interface.
|
||||
type MockSecurityGroupsClient struct {
|
||||
ctrl *gomock.Controller
|
||||
|
@ -629,3 +681,41 @@ func (mr *MockSubnetsClientMockRecorder) List(arg0, arg1, arg2, arg3 any) *gomoc
|
|||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockSubnetsClient)(nil).List), arg0, arg1, arg2, arg3)
|
||||
}
|
||||
|
||||
// MockVirtualNetworksClient is a mock of VirtualNetworksClient interface.
|
||||
type MockVirtualNetworksClient struct {
|
||||
ctrl *gomock.Controller
|
||||
recorder *MockVirtualNetworksClientMockRecorder
|
||||
}
|
||||
|
||||
// MockVirtualNetworksClientMockRecorder is the mock recorder for MockVirtualNetworksClient.
|
||||
type MockVirtualNetworksClientMockRecorder struct {
|
||||
mock *MockVirtualNetworksClient
|
||||
}
|
||||
|
||||
// NewMockVirtualNetworksClient creates a new mock instance.
|
||||
func NewMockVirtualNetworksClient(ctrl *gomock.Controller) *MockVirtualNetworksClient {
|
||||
mock := &MockVirtualNetworksClient{ctrl: ctrl}
|
||||
mock.recorder = &MockVirtualNetworksClientMockRecorder{mock}
|
||||
return mock
|
||||
}
|
||||
|
||||
// EXPECT returns an object that allows the caller to indicate expected use.
|
||||
func (m *MockVirtualNetworksClient) EXPECT() *MockVirtualNetworksClientMockRecorder {
|
||||
return m.recorder
|
||||
}
|
||||
|
||||
// Get mocks base method.
|
||||
func (m *MockVirtualNetworksClient) Get(arg0 context.Context, arg1, arg2 string, arg3 *armnetwork.VirtualNetworksClientGetOptions) (armnetwork.VirtualNetworksClientGetResponse, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Get", arg0, arg1, arg2, arg3)
|
||||
ret0, _ := ret[0].(armnetwork.VirtualNetworksClientGetResponse)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// Get indicates an expected call of Get.
|
||||
func (mr *MockVirtualNetworksClientMockRecorder) Get(arg0, arg1, arg2, arg3 any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockVirtualNetworksClient)(nil).Get), arg0, arg1, arg2, arg3)
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/Azure/ARO-RP/pkg/util/azureclient/mgmt/network (interfaces: InterfacesClient,LoadBalancersClient,PrivateEndpointsClient,PublicIPAddressesClient,LoadBalancerBackendAddressPoolsClient,RouteTablesClient,SubnetsClient,VirtualNetworksClient,UsageClient)
|
||||
// Source: github.com/Azure/ARO-RP/pkg/util/azureclient/mgmt/network (interfaces: InterfacesClient,LoadBalancersClient,PrivateEndpointsClient,PublicIPAddressesClient,LoadBalancerBackendAddressPoolsClient,SubnetsClient,VirtualNetworksClient,UsageClient)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -destination=../../../../util/mocks/azureclient/mgmt/network/network.go github.com/Azure/ARO-RP/pkg/util/azureclient/mgmt/network InterfacesClient,LoadBalancersClient,PrivateEndpointsClient,PublicIPAddressesClient,LoadBalancerBackendAddressPoolsClient,RouteTablesClient,SubnetsClient,VirtualNetworksClient,UsageClient
|
||||
// mockgen -destination=../../../../util/mocks/azureclient/mgmt/network/network.go github.com/Azure/ARO-RP/pkg/util/azureclient/mgmt/network InterfacesClient,LoadBalancersClient,PrivateEndpointsClient,PublicIPAddressesClient,LoadBalancerBackendAddressPoolsClient,SubnetsClient,VirtualNetworksClient,UsageClient
|
||||
//
|
||||
|
||||
// Package mock_network is a generated GoMock package.
|
||||
|
@ -320,58 +320,6 @@ func (mr *MockLoadBalancerBackendAddressPoolsClientMockRecorder) Get(arg0, arg1,
|
|||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockLoadBalancerBackendAddressPoolsClient)(nil).Get), arg0, arg1, arg2, arg3)
|
||||
}
|
||||
|
||||
// MockRouteTablesClient is a mock of RouteTablesClient interface.
|
||||
type MockRouteTablesClient struct {
|
||||
ctrl *gomock.Controller
|
||||
recorder *MockRouteTablesClientMockRecorder
|
||||
}
|
||||
|
||||
// MockRouteTablesClientMockRecorder is the mock recorder for MockRouteTablesClient.
|
||||
type MockRouteTablesClientMockRecorder struct {
|
||||
mock *MockRouteTablesClient
|
||||
}
|
||||
|
||||
// NewMockRouteTablesClient creates a new mock instance.
|
||||
func NewMockRouteTablesClient(ctrl *gomock.Controller) *MockRouteTablesClient {
|
||||
mock := &MockRouteTablesClient{ctrl: ctrl}
|
||||
mock.recorder = &MockRouteTablesClientMockRecorder{mock}
|
||||
return mock
|
||||
}
|
||||
|
||||
// EXPECT returns an object that allows the caller to indicate expected use.
|
||||
func (m *MockRouteTablesClient) EXPECT() *MockRouteTablesClientMockRecorder {
|
||||
return m.recorder
|
||||
}
|
||||
|
||||
// DeleteAndWait mocks base method.
|
||||
func (m *MockRouteTablesClient) DeleteAndWait(arg0 context.Context, arg1, arg2 string) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "DeleteAndWait", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// DeleteAndWait indicates an expected call of DeleteAndWait.
|
||||
func (mr *MockRouteTablesClientMockRecorder) DeleteAndWait(arg0, arg1, arg2 any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAndWait", reflect.TypeOf((*MockRouteTablesClient)(nil).DeleteAndWait), arg0, arg1, arg2)
|
||||
}
|
||||
|
||||
// Get mocks base method.
|
||||
func (m *MockRouteTablesClient) Get(arg0 context.Context, arg1, arg2, arg3 string) (network.RouteTable, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Get", arg0, arg1, arg2, arg3)
|
||||
ret0, _ := ret[0].(network.RouteTable)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// Get indicates an expected call of Get.
|
||||
func (mr *MockRouteTablesClientMockRecorder) Get(arg0, arg1, arg2, arg3 any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockRouteTablesClient)(nil).Get), arg0, arg1, arg2, arg3)
|
||||
}
|
||||
|
||||
// MockSubnetsClient is a mock of SubnetsClient interface.
|
||||
type MockSubnetsClient struct {
|
||||
ctrl *gomock.Controller
|
||||
|
|
Загрузка…
Ссылка в новой задаче