зеркало из https://github.com/Azure/ARO-RP.git
make generate
This commit is contained in:
Родитель
0cffab2653
Коммит
e697e07d1b
|
@ -1,5 +1,5 @@
|
|||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/Azure/ARO-RP/pkg/util/azureclient/mgmt/features (interfaces: Client,DeploymentsClient,ProvidersClient,ResourceGroupsClient,ResourcesClient)
|
||||
// Source: github.com/Azure/ARO-RP/pkg/util/azureclient/mgmt/features (interfaces: DeploymentsClient,ProvidersClient,ResourceGroupsClient,ResourcesClient)
|
||||
|
||||
// Package mock_features is a generated GoMock package.
|
||||
package mock_features
|
||||
|
@ -8,65 +8,11 @@ import (
|
|||
context "context"
|
||||
reflect "reflect"
|
||||
|
||||
features "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2015-12-01/features"
|
||||
features0 "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-07-01/features"
|
||||
features "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-07-01/features"
|
||||
autorest "github.com/Azure/go-autorest/autorest"
|
||||
gomock "github.com/golang/mock/gomock"
|
||||
)
|
||||
|
||||
// MockClient is a mock of Client interface.
|
||||
type MockClient struct {
|
||||
ctrl *gomock.Controller
|
||||
recorder *MockClientMockRecorder
|
||||
}
|
||||
|
||||
// MockClientMockRecorder is the mock recorder for MockClient.
|
||||
type MockClientMockRecorder struct {
|
||||
mock *MockClient
|
||||
}
|
||||
|
||||
// NewMockClient creates a new mock instance.
|
||||
func NewMockClient(ctrl *gomock.Controller) *MockClient {
|
||||
mock := &MockClient{ctrl: ctrl}
|
||||
mock.recorder = &MockClientMockRecorder{mock}
|
||||
return mock
|
||||
}
|
||||
|
||||
// EXPECT returns an object that allows the caller to indicate expected use.
|
||||
func (m *MockClient) EXPECT() *MockClientMockRecorder {
|
||||
return m.recorder
|
||||
}
|
||||
|
||||
// Get mocks base method.
|
||||
func (m *MockClient) Get(arg0 context.Context, arg1, arg2 string) (features.Result, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Get", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(features.Result)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// Get indicates an expected call of Get.
|
||||
func (mr *MockClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockClient)(nil).Get), arg0, arg1, arg2)
|
||||
}
|
||||
|
||||
// Register mocks base method.
|
||||
func (m *MockClient) Register(arg0 context.Context, arg1, arg2 string) (features.Result, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Register", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(features.Result)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// Register indicates an expected call of Register.
|
||||
func (mr *MockClientMockRecorder) Register(arg0, arg1, arg2 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Register", reflect.TypeOf((*MockClient)(nil).Register), arg0, arg1, arg2)
|
||||
}
|
||||
|
||||
// MockDeploymentsClient is a mock of DeploymentsClient interface.
|
||||
type MockDeploymentsClient struct {
|
||||
ctrl *gomock.Controller
|
||||
|
@ -91,7 +37,7 @@ func (m *MockDeploymentsClient) EXPECT() *MockDeploymentsClientMockRecorder {
|
|||
}
|
||||
|
||||
// CreateOrUpdateAndWait mocks base method.
|
||||
func (m *MockDeploymentsClient) CreateOrUpdateAndWait(arg0 context.Context, arg1, arg2 string, arg3 features0.Deployment) error {
|
||||
func (m *MockDeploymentsClient) CreateOrUpdateAndWait(arg0 context.Context, arg1, arg2 string, arg3 features.Deployment) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "CreateOrUpdateAndWait", arg0, arg1, arg2, arg3)
|
||||
ret0, _ := ret[0].(error)
|
||||
|
@ -105,7 +51,7 @@ func (mr *MockDeploymentsClientMockRecorder) CreateOrUpdateAndWait(arg0, arg1, a
|
|||
}
|
||||
|
||||
// CreateOrUpdateAtSubscriptionScopeAndWait mocks base method.
|
||||
func (m *MockDeploymentsClient) CreateOrUpdateAtSubscriptionScopeAndWait(arg0 context.Context, arg1 string, arg2 features0.Deployment) error {
|
||||
func (m *MockDeploymentsClient) CreateOrUpdateAtSubscriptionScopeAndWait(arg0 context.Context, arg1 string, arg2 features.Deployment) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "CreateOrUpdateAtSubscriptionScopeAndWait", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(error)
|
||||
|
@ -133,10 +79,10 @@ func (mr *MockDeploymentsClientMockRecorder) DeleteAndWait(arg0, arg1, arg2 inte
|
|||
}
|
||||
|
||||
// Get mocks base method.
|
||||
func (m *MockDeploymentsClient) Get(arg0 context.Context, arg1, arg2 string) (features0.DeploymentExtended, error) {
|
||||
func (m *MockDeploymentsClient) Get(arg0 context.Context, arg1, arg2 string) (features.DeploymentExtended, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Get", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(features0.DeploymentExtended)
|
||||
ret0, _ := ret[0].(features.DeploymentExtended)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -185,10 +131,10 @@ func (m *MockProvidersClient) EXPECT() *MockProvidersClientMockRecorder {
|
|||
}
|
||||
|
||||
// List mocks base method.
|
||||
func (m *MockProvidersClient) List(arg0 context.Context, arg1 *int32, arg2 string) ([]features0.Provider, error) {
|
||||
func (m *MockProvidersClient) List(arg0 context.Context, arg1 *int32, arg2 string) ([]features.Provider, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "List", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].([]features0.Provider)
|
||||
ret0, _ := ret[0].([]features.Provider)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -199,21 +145,6 @@ func (mr *MockProvidersClientMockRecorder) List(arg0, arg1, arg2 interface{}) *g
|
|||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockProvidersClient)(nil).List), arg0, arg1, arg2)
|
||||
}
|
||||
|
||||
// Register mocks base method.
|
||||
func (m *MockProvidersClient) Register(arg0 context.Context, arg1 string) (features0.Provider, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Register", arg0, arg1)
|
||||
ret0, _ := ret[0].(features0.Provider)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// Register indicates an expected call of Register.
|
||||
func (mr *MockProvidersClientMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Register", reflect.TypeOf((*MockProvidersClient)(nil).Register), arg0, arg1)
|
||||
}
|
||||
|
||||
// MockResourceGroupsClient is a mock of ResourceGroupsClient interface.
|
||||
type MockResourceGroupsClient struct {
|
||||
ctrl *gomock.Controller
|
||||
|
@ -238,10 +169,10 @@ func (m *MockResourceGroupsClient) EXPECT() *MockResourceGroupsClientMockRecorde
|
|||
}
|
||||
|
||||
// CreateOrUpdate mocks base method.
|
||||
func (m *MockResourceGroupsClient) CreateOrUpdate(arg0 context.Context, arg1 string, arg2 features0.ResourceGroup) (features0.ResourceGroup, error) {
|
||||
func (m *MockResourceGroupsClient) CreateOrUpdate(arg0 context.Context, arg1 string, arg2 features.ResourceGroup) (features.ResourceGroup, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "CreateOrUpdate", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(features0.ResourceGroup)
|
||||
ret0, _ := ret[0].(features.ResourceGroup)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -253,10 +184,10 @@ func (mr *MockResourceGroupsClientMockRecorder) CreateOrUpdate(arg0, arg1, arg2
|
|||
}
|
||||
|
||||
// Delete mocks base method.
|
||||
func (m *MockResourceGroupsClient) Delete(arg0 context.Context, arg1 string) (features0.ResourceGroupsDeleteFuture, error) {
|
||||
func (m *MockResourceGroupsClient) Delete(arg0 context.Context, arg1 string) (features.ResourceGroupsDeleteFuture, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Delete", arg0, arg1)
|
||||
ret0, _ := ret[0].(features0.ResourceGroupsDeleteFuture)
|
||||
ret0, _ := ret[0].(features.ResourceGroupsDeleteFuture)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -282,10 +213,10 @@ func (mr *MockResourceGroupsClientMockRecorder) DeleteAndWait(arg0, arg1 interfa
|
|||
}
|
||||
|
||||
// Get mocks base method.
|
||||
func (m *MockResourceGroupsClient) Get(arg0 context.Context, arg1 string) (features0.ResourceGroup, error) {
|
||||
func (m *MockResourceGroupsClient) Get(arg0 context.Context, arg1 string) (features.ResourceGroup, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Get", arg0, arg1)
|
||||
ret0, _ := ret[0].(features0.ResourceGroup)
|
||||
ret0, _ := ret[0].(features.ResourceGroup)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -297,10 +228,10 @@ func (mr *MockResourceGroupsClientMockRecorder) Get(arg0, arg1 interface{}) *gom
|
|||
}
|
||||
|
||||
// List mocks base method.
|
||||
func (m *MockResourceGroupsClient) List(arg0 context.Context, arg1 string, arg2 *int32) ([]features0.ResourceGroup, error) {
|
||||
func (m *MockResourceGroupsClient) List(arg0 context.Context, arg1 string, arg2 *int32) ([]features.ResourceGroup, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "List", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].([]features0.ResourceGroup)
|
||||
ret0, _ := ret[0].([]features.ResourceGroup)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -349,10 +280,10 @@ func (mr *MockResourcesClientMockRecorder) Client() *gomock.Call {
|
|||
}
|
||||
|
||||
// DeleteByID mocks base method.
|
||||
func (m *MockResourcesClient) DeleteByID(arg0 context.Context, arg1, arg2 string) (features0.ResourcesDeleteByIDFuture, error) {
|
||||
func (m *MockResourcesClient) DeleteByID(arg0 context.Context, arg1, arg2 string) (features.ResourcesDeleteByIDFuture, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "DeleteByID", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(features0.ResourcesDeleteByIDFuture)
|
||||
ret0, _ := ret[0].(features.ResourcesDeleteByIDFuture)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -364,10 +295,10 @@ func (mr *MockResourcesClientMockRecorder) DeleteByID(arg0, arg1, arg2 interface
|
|||
}
|
||||
|
||||
// GetByID mocks base method.
|
||||
func (m *MockResourcesClient) GetByID(arg0 context.Context, arg1, arg2 string) (features0.GenericResource, error) {
|
||||
func (m *MockResourcesClient) GetByID(arg0 context.Context, arg1, arg2 string) (features.GenericResource, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "GetByID", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(features0.GenericResource)
|
||||
ret0, _ := ret[0].(features.GenericResource)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -379,10 +310,10 @@ func (mr *MockResourcesClientMockRecorder) GetByID(arg0, arg1, arg2 interface{})
|
|||
}
|
||||
|
||||
// ListByResourceGroup mocks base method.
|
||||
func (m *MockResourcesClient) ListByResourceGroup(arg0 context.Context, arg1, arg2, arg3 string, arg4 *int32) ([]features0.GenericResourceExpanded, error) {
|
||||
func (m *MockResourcesClient) ListByResourceGroup(arg0 context.Context, arg1, arg2, arg3 string, arg4 *int32) ([]features.GenericResourceExpanded, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ListByResourceGroup", arg0, arg1, arg2, arg3, arg4)
|
||||
ret0, _ := ret[0].([]features0.GenericResourceExpanded)
|
||||
ret0, _ := ret[0].([]features.GenericResourceExpanded)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
|
|
@ -301,21 +301,6 @@ func (mr *MockPublicIPAddressesClientMockRecorder) Get(arg0, arg1, arg2, arg3 in
|
|||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockPublicIPAddressesClient)(nil).Get), arg0, arg1, arg2, arg3)
|
||||
}
|
||||
|
||||
// List mocks base method.
|
||||
func (m *MockPublicIPAddressesClient) List(arg0 context.Context, arg1 string) ([]network.PublicIPAddress, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "List", arg0, arg1)
|
||||
ret0, _ := ret[0].([]network.PublicIPAddress)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// List indicates an expected call of List.
|
||||
func (mr *MockPublicIPAddressesClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockPublicIPAddressesClient)(nil).List), arg0, arg1)
|
||||
}
|
||||
|
||||
// MockRouteTablesClient is a mock of RouteTablesClient interface.
|
||||
type MockRouteTablesClient struct {
|
||||
ctrl *gomock.Controller
|
||||
|
@ -457,21 +442,6 @@ func (m *MockVirtualNetworksClient) EXPECT() *MockVirtualNetworksClientMockRecor
|
|||
return m.recorder
|
||||
}
|
||||
|
||||
// CreateOrUpdate mocks base method.
|
||||
func (m *MockVirtualNetworksClient) CreateOrUpdate(arg0 context.Context, arg1, arg2 string, arg3 network.VirtualNetwork) (network.VirtualNetworksCreateOrUpdateFuture, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "CreateOrUpdate", arg0, arg1, arg2, arg3)
|
||||
ret0, _ := ret[0].(network.VirtualNetworksCreateOrUpdateFuture)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// CreateOrUpdate indicates an expected call of CreateOrUpdate.
|
||||
func (mr *MockVirtualNetworksClientMockRecorder) CreateOrUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdate", reflect.TypeOf((*MockVirtualNetworksClient)(nil).CreateOrUpdate), arg0, arg1, arg2, arg3)
|
||||
}
|
||||
|
||||
// Get mocks base method.
|
||||
func (m *MockVirtualNetworksClient) Get(arg0 context.Context, arg1, arg2, arg3 string) (network.VirtualNetwork, error) {
|
||||
m.ctrl.T.Helper()
|
||||
|
@ -487,21 +457,6 @@ func (mr *MockVirtualNetworksClientMockRecorder) Get(arg0, arg1, arg2, arg3 inte
|
|||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockVirtualNetworksClient)(nil).Get), arg0, arg1, arg2, arg3)
|
||||
}
|
||||
|
||||
// List mocks base method.
|
||||
func (m *MockVirtualNetworksClient) List(arg0 context.Context, arg1 string) ([]network.VirtualNetwork, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "List", arg0, arg1)
|
||||
ret0, _ := ret[0].([]network.VirtualNetwork)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// List indicates an expected call of List.
|
||||
func (mr *MockVirtualNetworksClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockVirtualNetworksClient)(nil).List), arg0, arg1)
|
||||
}
|
||||
|
||||
// MockSecurityGroupsClient is a mock of SecurityGroupsClient interface.
|
||||
type MockSecurityGroupsClient struct {
|
||||
ctrl *gomock.Controller
|
||||
|
@ -525,20 +480,6 @@ func (m *MockSecurityGroupsClient) EXPECT() *MockSecurityGroupsClientMockRecorde
|
|||
return m.recorder
|
||||
}
|
||||
|
||||
// CreateOrUpdateAndWait mocks base method.
|
||||
func (m *MockSecurityGroupsClient) CreateOrUpdateAndWait(arg0 context.Context, arg1, arg2 string, arg3 network.SecurityGroup) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "CreateOrUpdateAndWait", arg0, arg1, arg2, arg3)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// CreateOrUpdateAndWait indicates an expected call of CreateOrUpdateAndWait.
|
||||
func (mr *MockSecurityGroupsClientMockRecorder) CreateOrUpdateAndWait(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateAndWait", reflect.TypeOf((*MockSecurityGroupsClient)(nil).CreateOrUpdateAndWait), arg0, arg1, arg2, arg3)
|
||||
}
|
||||
|
||||
// Get mocks base method.
|
||||
func (m *MockSecurityGroupsClient) Get(arg0 context.Context, arg1, arg2, arg3 string) (network.SecurityGroup, error) {
|
||||
m.ctrl.T.Helper()
|
||||
|
@ -592,50 +533,6 @@ func (m *MockVirtualNetworkPeeringsClient) EXPECT() *MockVirtualNetworkPeeringsC
|
|||
return m.recorder
|
||||
}
|
||||
|
||||
// CreateOrUpdate mocks base method.
|
||||
func (m *MockVirtualNetworkPeeringsClient) CreateOrUpdate(arg0 context.Context, arg1, arg2, arg3 string, arg4 network.VirtualNetworkPeering) (network.VirtualNetworkPeeringsCreateOrUpdateFuture, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "CreateOrUpdate", arg0, arg1, arg2, arg3, arg4)
|
||||
ret0, _ := ret[0].(network.VirtualNetworkPeeringsCreateOrUpdateFuture)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// CreateOrUpdate indicates an expected call of CreateOrUpdate.
|
||||
func (mr *MockVirtualNetworkPeeringsClientMockRecorder) CreateOrUpdate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdate", reflect.TypeOf((*MockVirtualNetworkPeeringsClient)(nil).CreateOrUpdate), arg0, arg1, arg2, arg3, arg4)
|
||||
}
|
||||
|
||||
// CreateOrUpdateAndWait mocks base method.
|
||||
func (m *MockVirtualNetworkPeeringsClient) CreateOrUpdateAndWait(arg0 context.Context, arg1, arg2, arg3 string, arg4 network.VirtualNetworkPeering) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "CreateOrUpdateAndWait", arg0, arg1, arg2, arg3, arg4)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// CreateOrUpdateAndWait indicates an expected call of CreateOrUpdateAndWait.
|
||||
func (mr *MockVirtualNetworkPeeringsClientMockRecorder) CreateOrUpdateAndWait(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateAndWait", reflect.TypeOf((*MockVirtualNetworkPeeringsClient)(nil).CreateOrUpdateAndWait), arg0, arg1, arg2, arg3, arg4)
|
||||
}
|
||||
|
||||
// Delete mocks base method.
|
||||
func (m *MockVirtualNetworkPeeringsClient) Delete(arg0 context.Context, arg1, arg2, arg3 string) (network.VirtualNetworkPeeringsDeleteFuture, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Delete", arg0, arg1, arg2, arg3)
|
||||
ret0, _ := ret[0].(network.VirtualNetworkPeeringsDeleteFuture)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// Delete indicates an expected call of Delete.
|
||||
func (mr *MockVirtualNetworkPeeringsClientMockRecorder) Delete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockVirtualNetworkPeeringsClient)(nil).Delete), arg0, arg1, arg2, arg3)
|
||||
}
|
||||
|
||||
// DeleteAndWait mocks base method.
|
||||
func (m *MockVirtualNetworkPeeringsClient) DeleteAndWait(arg0 context.Context, arg1, arg2, arg3 string) error {
|
||||
m.ctrl.T.Helper()
|
||||
|
@ -650,21 +547,6 @@ func (mr *MockVirtualNetworkPeeringsClientMockRecorder) DeleteAndWait(arg0, arg1
|
|||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAndWait", reflect.TypeOf((*MockVirtualNetworkPeeringsClient)(nil).DeleteAndWait), arg0, arg1, arg2, arg3)
|
||||
}
|
||||
|
||||
// Get mocks base method.
|
||||
func (m *MockVirtualNetworkPeeringsClient) Get(arg0 context.Context, arg1, arg2, arg3 string) (network.VirtualNetworkPeering, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Get", arg0, arg1, arg2, arg3)
|
||||
ret0, _ := ret[0].(network.VirtualNetworkPeering)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// Get indicates an expected call of Get.
|
||||
func (mr *MockVirtualNetworkPeeringsClientMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockVirtualNetworkPeeringsClient)(nil).Get), arg0, arg1, arg2, arg3)
|
||||
}
|
||||
|
||||
// MockUsageClient is a mock of UsageClient interface.
|
||||
type MockUsageClient struct {
|
||||
ctrl *gomock.Controller
|
||||
|
|
Загрузка…
Ссылка в новой задаче