// Code generated by MockGen. DO NOT EDIT.
// Source: ../interfaces/build_task_service.go
//
// Generated by this command:
//
//	mockgen -source ../interfaces/build_task_service.go -destination ../interfaces/mock/mock_build_task_service.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"
)

// MockBuildTaskService is a mock of BuildTaskService interface.
type MockBuildTaskService struct {
	ctrl     *gomock.Controller
	recorder *MockBuildTaskServiceMockRecorder
	isgomock struct{}
}

// MockBuildTaskServiceMockRecorder is the mock recorder for MockBuildTaskService.
type MockBuildTaskServiceMockRecorder struct {
	mock *MockBuildTaskService
}

// NewMockBuildTaskService creates a new mock instance.
func NewMockBuildTaskService(ctrl *gomock.Controller) *MockBuildTaskService {
	mock := &MockBuildTaskService{ctrl: ctrl}
	mock.recorder = &MockBuildTaskServiceMockRecorder{mock}
	return mock
}

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

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

// CreateBuildTask indicates an expected call of CreateBuildTask.
func (mr *MockBuildTaskServiceMockRecorder) CreateBuildTask(ctx, req any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBuildTask", reflect.TypeOf((*MockBuildTaskService)(nil).CreateBuildTask), ctx, req)
}

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

// DeleteBuildTasks indicates an expected call of DeleteBuildTasks.
func (mr *MockBuildTaskServiceMockRecorder) DeleteBuildTasks(ctx, ids, ignoreMissing any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBuildTasks", reflect.TypeOf((*MockBuildTaskService)(nil).DeleteBuildTasks), ctx, ids, ignoreMissing)
}

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

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

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

// GetBuildTaskByResourceID indicates an expected call of GetBuildTaskByResourceID.
func (mr *MockBuildTaskServiceMockRecorder) GetBuildTaskByResourceID(ctx, resourceID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBuildTaskByResourceID", reflect.TypeOf((*MockBuildTaskService)(nil).GetBuildTaskByResourceID), ctx, resourceID)
}

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

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

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

// StartBuildTask indicates an expected call of StartBuildTask.
func (mr *MockBuildTaskServiceMockRecorder) StartBuildTask(ctx, taskID, executeType any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StartBuildTask", reflect.TypeOf((*MockBuildTaskService)(nil).StartBuildTask), ctx, taskID, executeType)
}

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

// StopBuildTask indicates an expected call of StopBuildTask.
func (mr *MockBuildTaskServiceMockRecorder) StopBuildTask(ctx, taskID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StopBuildTask", reflect.TypeOf((*MockBuildTaskService)(nil).StopBuildTask), ctx, taskID)
}
