Documentation
¶
Overview ¶
Package mock_dashboards is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) CreateDashboard(arg0 context.Context, arg1 types.CreateDashboardRequest) (string, error)
- func (m *MockService) DeleteDashboard(arg0 context.Context, arg1 types.DeleteDashboardRequest) error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetAllDashboards(arg0 context.Context, arg1 types.GetAllDashboardsRequest) (types.DashboardInfosWithOwner, error)
- func (m *MockService) GetDashboardByUUID(arg0 context.Context, arg1 string) (types.Dashboard, error)
- func (m *MockService) GetMyDashboards(arg0 context.Context, arg1 types.GetUserDashboardsRequest) (types.DashboardInfos, error)
- func (m *MockService) SearchDashboards(arg0 context.Context, arg1 types.SearchDashboardsRequest) (types.DashboardInfosWithOwner, error)
- func (m *MockService) UpdateDashboard(arg0 context.Context, arg1 types.UpdateDashboardRequest) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) CreateDashboard(arg0, arg1 any) *gomock.Call
- func (mr *MockServiceMockRecorder) DeleteDashboard(arg0, arg1 any) *gomock.Call
- func (mr *MockServiceMockRecorder) GetAllDashboards(arg0, arg1 any) *gomock.Call
- func (mr *MockServiceMockRecorder) GetDashboardByUUID(arg0, arg1 any) *gomock.Call
- func (mr *MockServiceMockRecorder) GetMyDashboards(arg0, arg1 any) *gomock.Call
- func (mr *MockServiceMockRecorder) SearchDashboards(arg0, arg1 any) *gomock.Call
- func (mr *MockServiceMockRecorder) UpdateDashboard(arg0, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) CreateDashboard ¶
func (m *MockService) CreateDashboard(arg0 context.Context, arg1 types.CreateDashboardRequest) (string, error)
CreateDashboard mocks base method.
func (*MockService) DeleteDashboard ¶
func (m *MockService) DeleteDashboard(arg0 context.Context, arg1 types.DeleteDashboardRequest) error
DeleteDashboard mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) GetAllDashboards ¶
func (m *MockService) GetAllDashboards(arg0 context.Context, arg1 types.GetAllDashboardsRequest) (types.DashboardInfosWithOwner, error)
GetAllDashboards mocks base method.
func (*MockService) GetDashboardByUUID ¶
func (m *MockService) GetDashboardByUUID(arg0 context.Context, arg1 string) (types.Dashboard, error)
GetDashboardByUUID mocks base method.
func (*MockService) GetMyDashboards ¶
func (m *MockService) GetMyDashboards(arg0 context.Context, arg1 types.GetUserDashboardsRequest) (types.DashboardInfos, error)
GetMyDashboards mocks base method.
func (*MockService) SearchDashboards ¶
func (m *MockService) SearchDashboards(arg0 context.Context, arg1 types.SearchDashboardsRequest) (types.DashboardInfosWithOwner, error)
SearchDashboards mocks base method.
func (*MockService) UpdateDashboard ¶
func (m *MockService) UpdateDashboard(arg0 context.Context, arg1 types.UpdateDashboardRequest) error
UpdateDashboard mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) CreateDashboard ¶
func (mr *MockServiceMockRecorder) CreateDashboard(arg0, arg1 any) *gomock.Call
CreateDashboard indicates an expected call of CreateDashboard.
func (*MockServiceMockRecorder) DeleteDashboard ¶
func (mr *MockServiceMockRecorder) DeleteDashboard(arg0, arg1 any) *gomock.Call
DeleteDashboard indicates an expected call of DeleteDashboard.
func (*MockServiceMockRecorder) GetAllDashboards ¶
func (mr *MockServiceMockRecorder) GetAllDashboards(arg0, arg1 any) *gomock.Call
GetAllDashboards indicates an expected call of GetAllDashboards.
func (*MockServiceMockRecorder) GetDashboardByUUID ¶
func (mr *MockServiceMockRecorder) GetDashboardByUUID(arg0, arg1 any) *gomock.Call
GetDashboardByUUID indicates an expected call of GetDashboardByUUID.
func (*MockServiceMockRecorder) GetMyDashboards ¶
func (mr *MockServiceMockRecorder) GetMyDashboards(arg0, arg1 any) *gomock.Call
GetMyDashboards indicates an expected call of GetMyDashboards.
func (*MockServiceMockRecorder) SearchDashboards ¶
func (mr *MockServiceMockRecorder) SearchDashboards(arg0, arg1 any) *gomock.Call
SearchDashboards indicates an expected call of SearchDashboards.
func (*MockServiceMockRecorder) UpdateDashboard ¶
func (mr *MockServiceMockRecorder) UpdateDashboard(arg0, arg1 any) *gomock.Call
UpdateDashboard indicates an expected call of UpdateDashboard.