// Code generated by MockGen. DO NOT EDIT.
// Source: ../interfaces/discover_task_access.go
//
// Generated by this command:
//
//	mockgen -source ../interfaces/discover_task_access.go -destination ../interfaces/mock/mock_discover_task_access.go
//

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

import (
	context "context"
	reflect "reflect"
	interfaces "vega-backend/interfaces"

	gomock "go.uber.org/mock/gomock"
)

// MockDiscoverTaskAccess is a mock of DiscoverTaskAccess interface.
type MockDiscoverTaskAccess struct {
	ctrl     *gomock.Controller
	recorder *MockDiscoverTaskAccessMockRecorder
	isgomock struct{}
}

// MockDiscoverTaskAccessMockRecorder is the mock recorder for MockDiscoverTaskAccess.
type MockDiscoverTaskAccessMockRecorder struct {
	mock *MockDiscoverTaskAccess
}

// NewMockDiscoverTaskAccess creates a new mock instance.
func NewMockDiscoverTaskAccess(ctrl *gomock.Controller) *MockDiscoverTaskAccess {
	mock := &MockDiscoverTaskAccess{ctrl: ctrl}
	mock.recorder = &MockDiscoverTaskAccessMockRecorder{mock}
	return mock
}

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

// CheckExistByStatuses mocks base method.
func (m *MockDiscoverTaskAccess) CheckExistByStatuses(ctx context.Context, catalogID string, statuses []string) (bool, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CheckExistByStatuses", ctx, catalogID, statuses)
	ret0, _ := ret[0].(bool)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// CheckExistByStatuses indicates an expected call of CheckExistByStatuses.
func (mr *MockDiscoverTaskAccessMockRecorder) CheckExistByStatuses(ctx, catalogID, statuses any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckExistByStatuses", reflect.TypeOf((*MockDiscoverTaskAccess)(nil).CheckExistByStatuses), ctx, catalogID, statuses)
}

// Create mocks base method.
func (m *MockDiscoverTaskAccess) Create(ctx context.Context, task *interfaces.DiscoverTask) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Create", ctx, task)
	ret0, _ := ret[0].(error)
	return ret0
}

// Create indicates an expected call of Create.
func (mr *MockDiscoverTaskAccessMockRecorder) Create(ctx, task any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockDiscoverTaskAccess)(nil).Create), ctx, task)
}

// Delete mocks base method.
func (m *MockDiscoverTaskAccess) Delete(ctx context.Context, id string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Delete", ctx, id)
	ret0, _ := ret[0].(error)
	return ret0
}

// Delete indicates an expected call of Delete.
func (mr *MockDiscoverTaskAccessMockRecorder) Delete(ctx, id any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockDiscoverTaskAccess)(nil).Delete), ctx, id)
}

// GetByID mocks base method.
func (m *MockDiscoverTaskAccess) GetByID(ctx context.Context, id string) (*interfaces.DiscoverTask, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetByID", ctx, id)
	ret0, _ := ret[0].(*interfaces.DiscoverTask)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetByID indicates an expected call of GetByID.
func (mr *MockDiscoverTaskAccessMockRecorder) GetByID(ctx, id any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetByID", reflect.TypeOf((*MockDiscoverTaskAccess)(nil).GetByID), ctx, id)
}

// List mocks base method.
func (m *MockDiscoverTaskAccess) List(ctx context.Context, params interfaces.DiscoverTaskQueryParams) ([]*interfaces.DiscoverTask, int64, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "List", ctx, params)
	ret0, _ := ret[0].([]*interfaces.DiscoverTask)
	ret1, _ := ret[1].(int64)
	ret2, _ := ret[2].(error)
	return ret0, ret1, ret2
}

// List indicates an expected call of List.
func (mr *MockDiscoverTaskAccessMockRecorder) List(ctx, params any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockDiscoverTaskAccess)(nil).List), ctx, params)
}

// UpdateProgress mocks base method.
func (m *MockDiscoverTaskAccess) UpdateProgress(ctx context.Context, id string, progress int) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpdateProgress", ctx, id, progress)
	ret0, _ := ret[0].(error)
	return ret0
}

// UpdateProgress indicates an expected call of UpdateProgress.
func (mr *MockDiscoverTaskAccessMockRecorder) UpdateProgress(ctx, id, progress any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateProgress", reflect.TypeOf((*MockDiscoverTaskAccess)(nil).UpdateProgress), ctx, id, progress)
}

// UpdateResult mocks base method.
func (m *MockDiscoverTaskAccess) UpdateResult(ctx context.Context, id string, result *interfaces.DiscoverResult, stime int64) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpdateResult", ctx, id, result, stime)
	ret0, _ := ret[0].(error)
	return ret0
}

// UpdateResult indicates an expected call of UpdateResult.
func (mr *MockDiscoverTaskAccessMockRecorder) UpdateResult(ctx, id, result, stime any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateResult", reflect.TypeOf((*MockDiscoverTaskAccess)(nil).UpdateResult), ctx, id, result, stime)
}

// UpdateStatus mocks base method.
func (m *MockDiscoverTaskAccess) UpdateStatus(ctx context.Context, id, status, message string, stime int64) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpdateStatus", ctx, id, status, message, stime)
	ret0, _ := ret[0].(error)
	return ret0
}

// UpdateStatus indicates an expected call of UpdateStatus.
func (mr *MockDiscoverTaskAccessMockRecorder) UpdateStatus(ctx, id, status, message, stime any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStatus", reflect.TypeOf((*MockDiscoverTaskAccess)(nil).UpdateStatus), ctx, id, status, message, stime)
}
