mock_repository

package
v0.60.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAdmin added in v0.59.0

type MockAdmin struct {
	// contains filtered or unexported fields
}

MockAdmin is a mock of Admin interface.

func NewMockAdmin added in v0.59.0

func NewMockAdmin(ctrl *gomock.Controller) *MockAdmin

NewMockAdmin creates a new mock instance.

func (*MockAdmin) AddUsersToRole added in v0.59.0

func (m *MockAdmin) AddUsersToRole(arg0 context.Context, arg1 types.AddUsersToRoleRequest) error

AddUsersToRole mocks base method.

func (*MockAdmin) CreateRole added in v0.59.0

func (m *MockAdmin) CreateRole(arg0 context.Context, arg1 types.CreateRoleRequest) (int32, error)

CreateRole mocks base method.

func (*MockAdmin) DeleteRole added in v0.59.0

func (m *MockAdmin) DeleteRole(arg0 context.Context, arg1 types.DeleteRoleRequest) error

DeleteRole mocks base method.

func (*MockAdmin) DeleteUsersFromRole added in v0.59.0

func (m *MockAdmin) DeleteUsersFromRole(arg0 context.Context, arg1 types.DeleteUsersFromRoleRequest) error

DeleteUsersFromRole mocks base method.

func (*MockAdmin) EXPECT added in v0.59.0

func (m *MockAdmin) EXPECT() *MockAdminMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAdmin) GetRole added in v0.59.0

func (m *MockAdmin) GetRole(arg0 context.Context, arg1 types.GetRoleRequest) (types.RoleInfo, error)

GetRole mocks base method.

func (*MockAdmin) GetRoles added in v0.59.0

func (m *MockAdmin) GetRoles(arg0 context.Context) ([]types.Role, error)

GetRoles mocks base method.

func (*MockAdmin) GetUserPermissions added in v0.59.0

func (m *MockAdmin) GetUserPermissions(arg0 context.Context, arg1 types.GetUserPermissionsRequest) ([]string, error)

GetUserPermissions mocks base method.

func (*MockAdmin) UpdateRole added in v0.59.0

func (m *MockAdmin) UpdateRole(arg0 context.Context, arg1 types.UpdateRoleRequest) error

UpdateRole mocks base method.

type MockAdminMockRecorder added in v0.59.0

type MockAdminMockRecorder struct {
	// contains filtered or unexported fields
}

MockAdminMockRecorder is the mock recorder for MockAdmin.

func (*MockAdminMockRecorder) AddUsersToRole added in v0.59.0

func (mr *MockAdminMockRecorder) AddUsersToRole(arg0, arg1 any) *gomock.Call

AddUsersToRole indicates an expected call of AddUsersToRole.

func (*MockAdminMockRecorder) CreateRole added in v0.59.0

func (mr *MockAdminMockRecorder) CreateRole(arg0, arg1 any) *gomock.Call

CreateRole indicates an expected call of CreateRole.

func (*MockAdminMockRecorder) DeleteRole added in v0.59.0

func (mr *MockAdminMockRecorder) DeleteRole(arg0, arg1 any) *gomock.Call

DeleteRole indicates an expected call of DeleteRole.

func (*MockAdminMockRecorder) DeleteUsersFromRole added in v0.59.0

func (mr *MockAdminMockRecorder) DeleteUsersFromRole(arg0, arg1 any) *gomock.Call

DeleteUsersFromRole indicates an expected call of DeleteUsersFromRole.

func (*MockAdminMockRecorder) GetRole added in v0.59.0

func (mr *MockAdminMockRecorder) GetRole(arg0, arg1 any) *gomock.Call

GetRole indicates an expected call of GetRole.

func (*MockAdminMockRecorder) GetRoles added in v0.59.0

func (mr *MockAdminMockRecorder) GetRoles(arg0 any) *gomock.Call

GetRoles indicates an expected call of GetRoles.

func (*MockAdminMockRecorder) GetUserPermissions added in v0.59.0

func (mr *MockAdminMockRecorder) GetUserPermissions(arg0, arg1 any) *gomock.Call

GetUserPermissions indicates an expected call of GetUserPermissions.

func (*MockAdminMockRecorder) UpdateRole added in v0.59.0

func (mr *MockAdminMockRecorder) UpdateRole(arg0, arg1 any) *gomock.Call

UpdateRole indicates an expected call of UpdateRole.

type MockAsyncSearches

type MockAsyncSearches struct {
	// contains filtered or unexported fields
}

MockAsyncSearches is a mock of AsyncSearches interface.

func NewMockAsyncSearches

func NewMockAsyncSearches(ctrl *gomock.Controller) *MockAsyncSearches

NewMockAsyncSearches creates a new mock instance.

func (*MockAsyncSearches) DeleteAsyncSearch

func (m *MockAsyncSearches) DeleteAsyncSearch(arg0 context.Context, arg1 string) error

DeleteAsyncSearch mocks base method.

func (*MockAsyncSearches) DeleteExpiredAsyncSearches

func (m *MockAsyncSearches) DeleteExpiredAsyncSearches(arg0 context.Context) error

DeleteExpiredAsyncSearches mocks base method.

func (*MockAsyncSearches) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAsyncSearches) GetAsyncSearchById

func (m *MockAsyncSearches) GetAsyncSearchById(arg0 context.Context, arg1 string) (types.AsyncSearchInfo, error)

GetAsyncSearchById mocks base method.

func (*MockAsyncSearches) GetAsyncSearchesList

GetAsyncSearchesList mocks base method.

func (*MockAsyncSearches) SaveAsyncSearch

func (m *MockAsyncSearches) SaveAsyncSearch(arg0 context.Context, arg1 types.SaveAsyncSearchRequest) error

SaveAsyncSearch mocks base method.

type MockAsyncSearchesMockRecorder

type MockAsyncSearchesMockRecorder struct {
	// contains filtered or unexported fields
}

MockAsyncSearchesMockRecorder is the mock recorder for MockAsyncSearches.

func (*MockAsyncSearchesMockRecorder) DeleteAsyncSearch

func (mr *MockAsyncSearchesMockRecorder) DeleteAsyncSearch(arg0, arg1 any) *gomock.Call

DeleteAsyncSearch indicates an expected call of DeleteAsyncSearch.

func (*MockAsyncSearchesMockRecorder) DeleteExpiredAsyncSearches

func (mr *MockAsyncSearchesMockRecorder) DeleteExpiredAsyncSearches(arg0 any) *gomock.Call

DeleteExpiredAsyncSearches indicates an expected call of DeleteExpiredAsyncSearches.

func (*MockAsyncSearchesMockRecorder) GetAsyncSearchById

func (mr *MockAsyncSearchesMockRecorder) GetAsyncSearchById(arg0, arg1 any) *gomock.Call

GetAsyncSearchById indicates an expected call of GetAsyncSearchById.

func (*MockAsyncSearchesMockRecorder) GetAsyncSearchesList

func (mr *MockAsyncSearchesMockRecorder) GetAsyncSearchesList(arg0, arg1 any) *gomock.Call

GetAsyncSearchesList indicates an expected call of GetAsyncSearchesList.

func (*MockAsyncSearchesMockRecorder) SaveAsyncSearch

func (mr *MockAsyncSearchesMockRecorder) SaveAsyncSearch(arg0, arg1 any) *gomock.Call

SaveAsyncSearch indicates an expected call of SaveAsyncSearch.

type MockDashboards

type MockDashboards struct {
	// contains filtered or unexported fields
}

MockDashboards is a mock of Dashboards interface.

func NewMockDashboards

func NewMockDashboards(ctrl *gomock.Controller) *MockDashboards

NewMockDashboards creates a new mock instance.

func (*MockDashboards) Create

Create mocks base method.

func (*MockDashboards) Delete

Delete mocks base method.

func (*MockDashboards) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDashboards) GetAll

GetAll mocks base method.

func (*MockDashboards) GetByUUID

func (m *MockDashboards) GetByUUID(arg0 context.Context, arg1 string) (types.Dashboard, error)

GetByUUID mocks base method.

func (*MockDashboards) GetMy

GetMy mocks base method.

func (*MockDashboards) Search

Search mocks base method.

func (*MockDashboards) Update

Update mocks base method.

type MockDashboardsMockRecorder

type MockDashboardsMockRecorder struct {
	// contains filtered or unexported fields
}

MockDashboardsMockRecorder is the mock recorder for MockDashboards.

func (*MockDashboardsMockRecorder) Create

func (mr *MockDashboardsMockRecorder) Create(arg0, arg1 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockDashboardsMockRecorder) Delete

func (mr *MockDashboardsMockRecorder) Delete(arg0, arg1 any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockDashboardsMockRecorder) GetAll

func (mr *MockDashboardsMockRecorder) GetAll(arg0, arg1 any) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockDashboardsMockRecorder) GetByUUID

func (mr *MockDashboardsMockRecorder) GetByUUID(arg0, arg1 any) *gomock.Call

GetByUUID indicates an expected call of GetByUUID.

func (*MockDashboardsMockRecorder) GetMy

func (mr *MockDashboardsMockRecorder) GetMy(arg0, arg1 any) *gomock.Call

GetMy indicates an expected call of GetMy.

func (*MockDashboardsMockRecorder) Search

func (mr *MockDashboardsMockRecorder) Search(arg0, arg1 any) *gomock.Call

Search indicates an expected call of Search.

func (*MockDashboardsMockRecorder) Update

func (mr *MockDashboardsMockRecorder) Update(arg0, arg1 any) *gomock.Call

Update indicates an expected call of Update.

type MockFavoriteQueries

type MockFavoriteQueries struct {
	// contains filtered or unexported fields
}

MockFavoriteQueries is a mock of FavoriteQueries interface.

func NewMockFavoriteQueries

func NewMockFavoriteQueries(ctrl *gomock.Controller) *MockFavoriteQueries

NewMockFavoriteQueries creates a new mock instance.

func (*MockFavoriteQueries) Delete

Delete mocks base method.

func (*MockFavoriteQueries) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFavoriteQueries) GetAll

GetAll mocks base method.

func (*MockFavoriteQueries) GetOrCreate

GetOrCreate mocks base method.

type MockFavoriteQueriesMockRecorder

type MockFavoriteQueriesMockRecorder struct {
	// contains filtered or unexported fields
}

MockFavoriteQueriesMockRecorder is the mock recorder for MockFavoriteQueries.

func (*MockFavoriteQueriesMockRecorder) Delete

func (mr *MockFavoriteQueriesMockRecorder) Delete(arg0, arg1 any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockFavoriteQueriesMockRecorder) GetAll

func (mr *MockFavoriteQueriesMockRecorder) GetAll(arg0, arg1 any) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockFavoriteQueriesMockRecorder) GetOrCreate

func (mr *MockFavoriteQueriesMockRecorder) GetOrCreate(arg0, arg1 any) *gomock.Call

GetOrCreate indicates an expected call of GetOrCreate.

type MockUserProfiles

type MockUserProfiles struct {
	// contains filtered or unexported fields
}

MockUserProfiles is a mock of UserProfiles interface.

func NewMockUserProfiles

func NewMockUserProfiles(ctrl *gomock.Controller) *MockUserProfiles

NewMockUserProfiles creates a new mock instance.

func (*MockUserProfiles) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUserProfiles) GetOrCreate

GetOrCreate mocks base method.

func (*MockUserProfiles) Update

Update mocks base method.

type MockUserProfilesMockRecorder

type MockUserProfilesMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserProfilesMockRecorder is the mock recorder for MockUserProfiles.

func (*MockUserProfilesMockRecorder) GetOrCreate

func (mr *MockUserProfilesMockRecorder) GetOrCreate(arg0, arg1 any) *gomock.Call

GetOrCreate indicates an expected call of GetOrCreate.

func (*MockUserProfilesMockRecorder) Update

func (mr *MockUserProfilesMockRecorder) Update(arg0, arg1 any) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL