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

// MockCatalogAccess is a mock of CatalogAccess interface.
type MockCatalogAccess struct {
	ctrl     *gomock.Controller
	recorder *MockCatalogAccessMockRecorder
	isgomock struct{}
}

// MockCatalogAccessMockRecorder is the mock recorder for MockCatalogAccess.
type MockCatalogAccessMockRecorder struct {
	mock *MockCatalogAccess
}

// NewMockCatalogAccess creates a new mock instance.
func NewMockCatalogAccess(ctrl *gomock.Controller) *MockCatalogAccess {
	mock := &MockCatalogAccess{ctrl: ctrl}
	mock.recorder = &MockCatalogAccessMockRecorder{mock}
	return mock
}

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

// AttachListExtensions mocks base method.
func (m *MockCatalogAccess) AttachListExtensions(ctx context.Context, params interfaces.CatalogsQueryParams, catalogs []*interfaces.Catalog) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "AttachListExtensions", ctx, params, catalogs)
	ret0, _ := ret[0].(error)
	return ret0
}

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

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

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

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

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

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

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

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

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

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

// GetByName indicates an expected call of GetByName.
func (mr *MockCatalogAccessMockRecorder) GetByName(ctx, name any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetByName", reflect.TypeOf((*MockCatalogAccess)(nil).GetByName), ctx, name)
}

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

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

// ListAuthResources mocks base method.
func (m *MockCatalogAccess) ListAuthResources(ctx context.Context, params interfaces.AuthResourceQueryParams) ([]*interfaces.AuthResourceEntry, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ListAuthResources", ctx, params)
	ret0, _ := ret[0].([]*interfaces.AuthResourceEntry)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

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

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

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

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

// Update indicates an expected call of Update.
func (mr *MockCatalogAccessMockRecorder) Update(ctx, catalog any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockCatalogAccess)(nil).Update), ctx, catalog)
}

// UpdateEnabled mocks base method.
func (m *MockCatalogAccess) UpdateEnabled(ctx context.Context, id string, enabled bool, status interfaces.CatalogHealthCheckStatus, updateTime int64, updater interfaces.AccountInfo) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpdateEnabled", ctx, id, enabled, status, updateTime, updater)
	ret0, _ := ret[0].(error)
	return ret0
}

// UpdateEnabled indicates an expected call of UpdateEnabled.
func (mr *MockCatalogAccessMockRecorder) UpdateEnabled(ctx, id, enabled, status, updateTime, updater any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateEnabled", reflect.TypeOf((*MockCatalogAccess)(nil).UpdateEnabled), ctx, id, enabled, status, updateTime, updater)
}

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

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

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

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