// Code generated by MockGen. DO NOT EDIT.
// Source: ./pkg/common/azure/privatelinkservice_client.go
//
// Generated by this command:
//
//	mockgen -destination ./test/mockazure/privatelinkservice_client.go -package mockazure -source ./pkg/common/azure/privatelinkservice_client.go
//

// Package mockazure is a generated GoMock package.
package mockazure

import (
	context "context"
	reflect "reflect"

	armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v6"
	gomock "go.uber.org/mock/gomock"
)

// MockPrivateLinkServiceClient is a mock of PrivateLinkServiceClient interface.
type MockPrivateLinkServiceClient struct {
	ctrl     *gomock.Controller
	recorder *MockPrivateLinkServiceClientMockRecorder
}

// MockPrivateLinkServiceClientMockRecorder is the mock recorder for MockPrivateLinkServiceClient.
type MockPrivateLinkServiceClientMockRecorder struct {
	mock *MockPrivateLinkServiceClient
}

// NewMockPrivateLinkServiceClient creates a new mock instance.
func NewMockPrivateLinkServiceClient(ctrl *gomock.Controller) *MockPrivateLinkServiceClient {
	mock := &MockPrivateLinkServiceClient{ctrl: ctrl}
	mock.recorder = &MockPrivateLinkServiceClientMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockPrivateLinkServiceClient) EXPECT() *MockPrivateLinkServiceClientMockRecorder {
	return m.recorder
}

// AcceptPrivateLinkEndpointConnection mocks base method.
func (m *MockPrivateLinkServiceClient) AcceptPrivateLinkEndpointConnection(ctx context.Context, resourceGroupName, serviceName string, conn *armnetwork.PrivateEndpointConnection) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "AcceptPrivateLinkEndpointConnection", ctx, resourceGroupName, serviceName, conn)
	ret0, _ := ret[0].(error)
	return ret0
}

// AcceptPrivateLinkEndpointConnection indicates an expected call of AcceptPrivateLinkEndpointConnection.
func (mr *MockPrivateLinkServiceClientMockRecorder) AcceptPrivateLinkEndpointConnection(ctx, resourceGroupName, serviceName, conn any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AcceptPrivateLinkEndpointConnection", reflect.TypeOf((*MockPrivateLinkServiceClient)(nil).AcceptPrivateLinkEndpointConnection), ctx, resourceGroupName, serviceName, conn)
}

// ListPrivateLinkEndpointConnections mocks base method.
func (m *MockPrivateLinkServiceClient) ListPrivateLinkEndpointConnections(ctx context.Context, resourceGroupName, serviceName string) ([]*armnetwork.PrivateEndpointConnection, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ListPrivateLinkEndpointConnections", ctx, resourceGroupName, serviceName)
	ret0, _ := ret[0].([]*armnetwork.PrivateEndpointConnection)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// ListPrivateLinkEndpointConnections indicates an expected call of ListPrivateLinkEndpointConnections.
func (mr *MockPrivateLinkServiceClientMockRecorder) ListPrivateLinkEndpointConnections(ctx, resourceGroupName, serviceName any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPrivateLinkEndpointConnections", reflect.TypeOf((*MockPrivateLinkServiceClient)(nil).ListPrivateLinkEndpointConnections), ctx, resourceGroupName, serviceName)
}

// RejectPrivateLinkEndpointConnection mocks base method.
func (m *MockPrivateLinkServiceClient) RejectPrivateLinkEndpointConnection(ctx context.Context, resourceGroupName, serviceName string, conn *armnetwork.PrivateEndpointConnection) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "RejectPrivateLinkEndpointConnection", ctx, resourceGroupName, serviceName, conn)
	ret0, _ := ret[0].(error)
	return ret0
}

// RejectPrivateLinkEndpointConnection indicates an expected call of RejectPrivateLinkEndpointConnection.
func (mr *MockPrivateLinkServiceClientMockRecorder) RejectPrivateLinkEndpointConnection(ctx, resourceGroupName, serviceName, conn any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RejectPrivateLinkEndpointConnection", reflect.TypeOf((*MockPrivateLinkServiceClient)(nil).RejectPrivateLinkEndpointConnection), ctx, resourceGroupName, serviceName, conn)
}

// RemovePrivateLinkEndpointConnection mocks base method.
func (m *MockPrivateLinkServiceClient) RemovePrivateLinkEndpointConnection(ctx context.Context, resourceGroupName, serviceName string, conn *armnetwork.PrivateEndpointConnection) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "RemovePrivateLinkEndpointConnection", ctx, resourceGroupName, serviceName, conn)
	ret0, _ := ret[0].(error)
	return ret0
}

// RemovePrivateLinkEndpointConnection indicates an expected call of RemovePrivateLinkEndpointConnection.
func (mr *MockPrivateLinkServiceClientMockRecorder) RemovePrivateLinkEndpointConnection(ctx, resourceGroupName, serviceName, conn any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemovePrivateLinkEndpointConnection", reflect.TypeOf((*MockPrivateLinkServiceClient)(nil).RemovePrivateLinkEndpointConnection), ctx, resourceGroupName, serviceName, conn)
}
