Documentation ¶
Overview ¶
Package report_mock is a generated GoMock package.
Index ¶
- type MockReportAPIClient
- func (m *MockReportAPIClient) CreateReport(ctx context.Context, in *v1.CreateReportRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockReportAPIClient) CreateReportReason(ctx context.Context, in *v1.CreateReportReasonRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockReportAPIClient) EXPECT() *MockReportAPIClientMockRecorder
- func (m *MockReportAPIClient) GetActionReasons(ctx context.Context, in *v1.GetActionReasonsRequest, opts ...grpc.CallOption) (*v1.GetActionReasonsResponse, error)
- func (m *MockReportAPIClient) GetActionsByModerator(ctx context.Context, in *v1.GetActionsByModeratorRequest, ...) (*v1.GetActionsByModeratorResponse, error)
- func (m *MockReportAPIClient) GetActionsForEntity(ctx context.Context, in *v1.GetActionsForEntityRequest, ...) (*v1.GetActionsForEntityResponse, error)
- func (m *MockReportAPIClient) GetReportReasons(ctx context.Context, in *v1.GetReportReasonsRequest, opts ...grpc.CallOption) (*v1.GetReportReasonsResponse, error)
- func (m *MockReportAPIClient) GetReports(ctx context.Context, in *v1.GetReportsRequest, opts ...grpc.CallOption) (*v1.GetReportsResponse, error)
- func (m *MockReportAPIClient) GetReportsByReporter(ctx context.Context, in *v1.GetReportsByReporterRequest, ...) (*v1.GetReportsByReporterResponse, error)
- func (m *MockReportAPIClient) GetReportsCount(ctx context.Context, in *v1.GetReportsCountRequest, opts ...grpc.CallOption) (*v1.GetReportsCountResponse, error)
- func (m *MockReportAPIClient) UpdateReportStatus(ctx context.Context, in *v1.UpdateReportStatusRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- type MockReportAPIClientMockRecorder
- func (mr *MockReportAPIClientMockRecorder) CreateReport(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockReportAPIClientMockRecorder) CreateReportReason(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockReportAPIClientMockRecorder) GetActionReasons(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockReportAPIClientMockRecorder) GetActionsByModerator(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockReportAPIClientMockRecorder) GetActionsForEntity(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockReportAPIClientMockRecorder) GetReportReasons(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockReportAPIClientMockRecorder) GetReports(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockReportAPIClientMockRecorder) GetReportsByReporter(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockReportAPIClientMockRecorder) GetReportsCount(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockReportAPIClientMockRecorder) UpdateReportStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockReportAPIServer
- func (m *MockReportAPIServer) CreateReport(arg0 context.Context, arg1 *v1.CreateReportRequest) (*v1.Empty, error)
- func (m *MockReportAPIServer) CreateReportReason(arg0 context.Context, arg1 *v1.CreateReportReasonRequest) (*v1.Empty, error)
- func (m *MockReportAPIServer) EXPECT() *MockReportAPIServerMockRecorder
- func (m *MockReportAPIServer) GetActionReasons(arg0 context.Context, arg1 *v1.GetActionReasonsRequest) (*v1.GetActionReasonsResponse, error)
- func (m *MockReportAPIServer) GetActionsByModerator(arg0 context.Context, arg1 *v1.GetActionsByModeratorRequest) (*v1.GetActionsByModeratorResponse, error)
- func (m *MockReportAPIServer) GetActionsForEntity(arg0 context.Context, arg1 *v1.GetActionsForEntityRequest) (*v1.GetActionsForEntityResponse, error)
- func (m *MockReportAPIServer) GetReportReasons(arg0 context.Context, arg1 *v1.GetReportReasonsRequest) (*v1.GetReportReasonsResponse, error)
- func (m *MockReportAPIServer) GetReports(arg0 context.Context, arg1 *v1.GetReportsRequest) (*v1.GetReportsResponse, error)
- func (m *MockReportAPIServer) GetReportsByReporter(arg0 context.Context, arg1 *v1.GetReportsByReporterRequest) (*v1.GetReportsByReporterResponse, error)
- func (m *MockReportAPIServer) GetReportsCount(arg0 context.Context, arg1 *v1.GetReportsCountRequest) (*v1.GetReportsCountResponse, error)
- func (m *MockReportAPIServer) UpdateReportStatus(arg0 context.Context, arg1 *v1.UpdateReportStatusRequest) (*v1.Empty, error)
- type MockReportAPIServerMockRecorder
- func (mr *MockReportAPIServerMockRecorder) CreateReport(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportAPIServerMockRecorder) CreateReportReason(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportAPIServerMockRecorder) GetActionReasons(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportAPIServerMockRecorder) GetActionsByModerator(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportAPIServerMockRecorder) GetActionsForEntity(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportAPIServerMockRecorder) GetReportReasons(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportAPIServerMockRecorder) GetReports(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportAPIServerMockRecorder) GetReportsByReporter(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportAPIServerMockRecorder) GetReportsCount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportAPIServerMockRecorder) UpdateReportStatus(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeReportAPIServer
- type MockUnsafeReportAPIServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockReportAPIClient ¶
type MockReportAPIClient struct {
// contains filtered or unexported fields
}
MockReportAPIClient is a mock of ReportAPIClient interface.
func NewMockReportAPIClient ¶
func NewMockReportAPIClient(ctrl *gomock.Controller) *MockReportAPIClient
NewMockReportAPIClient creates a new mock instance.
func (*MockReportAPIClient) CreateReport ¶
func (m *MockReportAPIClient) CreateReport(ctx context.Context, in *v1.CreateReportRequest, opts ...grpc.CallOption) (*v1.Empty, error)
CreateReport mocks base method.
func (*MockReportAPIClient) CreateReportReason ¶
func (m *MockReportAPIClient) CreateReportReason(ctx context.Context, in *v1.CreateReportReasonRequest, opts ...grpc.CallOption) (*v1.Empty, error)
CreateReportReason mocks base method.
func (*MockReportAPIClient) EXPECT ¶
func (m *MockReportAPIClient) EXPECT() *MockReportAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReportAPIClient) GetActionReasons ¶
func (m *MockReportAPIClient) GetActionReasons(ctx context.Context, in *v1.GetActionReasonsRequest, opts ...grpc.CallOption) (*v1.GetActionReasonsResponse, error)
GetActionReasons mocks base method.
func (*MockReportAPIClient) GetActionsByModerator ¶
func (m *MockReportAPIClient) GetActionsByModerator(ctx context.Context, in *v1.GetActionsByModeratorRequest, opts ...grpc.CallOption) (*v1.GetActionsByModeratorResponse, error)
GetActionsByModerator mocks base method.
func (*MockReportAPIClient) GetActionsForEntity ¶
func (m *MockReportAPIClient) GetActionsForEntity(ctx context.Context, in *v1.GetActionsForEntityRequest, opts ...grpc.CallOption) (*v1.GetActionsForEntityResponse, error)
GetActionsForEntity mocks base method.
func (*MockReportAPIClient) GetReportReasons ¶
func (m *MockReportAPIClient) GetReportReasons(ctx context.Context, in *v1.GetReportReasonsRequest, opts ...grpc.CallOption) (*v1.GetReportReasonsResponse, error)
GetReportReasons mocks base method.
func (*MockReportAPIClient) GetReports ¶
func (m *MockReportAPIClient) GetReports(ctx context.Context, in *v1.GetReportsRequest, opts ...grpc.CallOption) (*v1.GetReportsResponse, error)
GetReports mocks base method.
func (*MockReportAPIClient) GetReportsByReporter ¶
func (m *MockReportAPIClient) GetReportsByReporter(ctx context.Context, in *v1.GetReportsByReporterRequest, opts ...grpc.CallOption) (*v1.GetReportsByReporterResponse, error)
GetReportsByReporter mocks base method.
func (*MockReportAPIClient) GetReportsCount ¶
func (m *MockReportAPIClient) GetReportsCount(ctx context.Context, in *v1.GetReportsCountRequest, opts ...grpc.CallOption) (*v1.GetReportsCountResponse, error)
GetReportsCount mocks base method.
func (*MockReportAPIClient) UpdateReportStatus ¶
func (m *MockReportAPIClient) UpdateReportStatus(ctx context.Context, in *v1.UpdateReportStatusRequest, opts ...grpc.CallOption) (*v1.Empty, error)
UpdateReportStatus mocks base method.
type MockReportAPIClientMockRecorder ¶
type MockReportAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockReportAPIClientMockRecorder is the mock recorder for MockReportAPIClient.
func (*MockReportAPIClientMockRecorder) CreateReport ¶
func (mr *MockReportAPIClientMockRecorder) CreateReport(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateReport indicates an expected call of CreateReport.
func (*MockReportAPIClientMockRecorder) CreateReportReason ¶
func (mr *MockReportAPIClientMockRecorder) CreateReportReason(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateReportReason indicates an expected call of CreateReportReason.
func (*MockReportAPIClientMockRecorder) GetActionReasons ¶
func (mr *MockReportAPIClientMockRecorder) GetActionReasons(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetActionReasons indicates an expected call of GetActionReasons.
func (*MockReportAPIClientMockRecorder) GetActionsByModerator ¶
func (mr *MockReportAPIClientMockRecorder) GetActionsByModerator(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetActionsByModerator indicates an expected call of GetActionsByModerator.
func (*MockReportAPIClientMockRecorder) GetActionsForEntity ¶
func (mr *MockReportAPIClientMockRecorder) GetActionsForEntity(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetActionsForEntity indicates an expected call of GetActionsForEntity.
func (*MockReportAPIClientMockRecorder) GetReportReasons ¶
func (mr *MockReportAPIClientMockRecorder) GetReportReasons(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetReportReasons indicates an expected call of GetReportReasons.
func (*MockReportAPIClientMockRecorder) GetReports ¶
func (mr *MockReportAPIClientMockRecorder) GetReports(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetReports indicates an expected call of GetReports.
func (*MockReportAPIClientMockRecorder) GetReportsByReporter ¶
func (mr *MockReportAPIClientMockRecorder) GetReportsByReporter(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetReportsByReporter indicates an expected call of GetReportsByReporter.
func (*MockReportAPIClientMockRecorder) GetReportsCount ¶
func (mr *MockReportAPIClientMockRecorder) GetReportsCount(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetReportsCount indicates an expected call of GetReportsCount.
func (*MockReportAPIClientMockRecorder) UpdateReportStatus ¶
func (mr *MockReportAPIClientMockRecorder) UpdateReportStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateReportStatus indicates an expected call of UpdateReportStatus.
type MockReportAPIServer ¶
type MockReportAPIServer struct {
// contains filtered or unexported fields
}
MockReportAPIServer is a mock of ReportAPIServer interface.
func NewMockReportAPIServer ¶
func NewMockReportAPIServer(ctrl *gomock.Controller) *MockReportAPIServer
NewMockReportAPIServer creates a new mock instance.
func (*MockReportAPIServer) CreateReport ¶
func (m *MockReportAPIServer) CreateReport(arg0 context.Context, arg1 *v1.CreateReportRequest) (*v1.Empty, error)
CreateReport mocks base method.
func (*MockReportAPIServer) CreateReportReason ¶
func (m *MockReportAPIServer) CreateReportReason(arg0 context.Context, arg1 *v1.CreateReportReasonRequest) (*v1.Empty, error)
CreateReportReason mocks base method.
func (*MockReportAPIServer) EXPECT ¶
func (m *MockReportAPIServer) EXPECT() *MockReportAPIServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReportAPIServer) GetActionReasons ¶
func (m *MockReportAPIServer) GetActionReasons(arg0 context.Context, arg1 *v1.GetActionReasonsRequest) (*v1.GetActionReasonsResponse, error)
GetActionReasons mocks base method.
func (*MockReportAPIServer) GetActionsByModerator ¶
func (m *MockReportAPIServer) GetActionsByModerator(arg0 context.Context, arg1 *v1.GetActionsByModeratorRequest) (*v1.GetActionsByModeratorResponse, error)
GetActionsByModerator mocks base method.
func (*MockReportAPIServer) GetActionsForEntity ¶
func (m *MockReportAPIServer) GetActionsForEntity(arg0 context.Context, arg1 *v1.GetActionsForEntityRequest) (*v1.GetActionsForEntityResponse, error)
GetActionsForEntity mocks base method.
func (*MockReportAPIServer) GetReportReasons ¶
func (m *MockReportAPIServer) GetReportReasons(arg0 context.Context, arg1 *v1.GetReportReasonsRequest) (*v1.GetReportReasonsResponse, error)
GetReportReasons mocks base method.
func (*MockReportAPIServer) GetReports ¶
func (m *MockReportAPIServer) GetReports(arg0 context.Context, arg1 *v1.GetReportsRequest) (*v1.GetReportsResponse, error)
GetReports mocks base method.
func (*MockReportAPIServer) GetReportsByReporter ¶
func (m *MockReportAPIServer) GetReportsByReporter(arg0 context.Context, arg1 *v1.GetReportsByReporterRequest) (*v1.GetReportsByReporterResponse, error)
GetReportsByReporter mocks base method.
func (*MockReportAPIServer) GetReportsCount ¶
func (m *MockReportAPIServer) GetReportsCount(arg0 context.Context, arg1 *v1.GetReportsCountRequest) (*v1.GetReportsCountResponse, error)
GetReportsCount mocks base method.
func (*MockReportAPIServer) UpdateReportStatus ¶
func (m *MockReportAPIServer) UpdateReportStatus(arg0 context.Context, arg1 *v1.UpdateReportStatusRequest) (*v1.Empty, error)
UpdateReportStatus mocks base method.
type MockReportAPIServerMockRecorder ¶
type MockReportAPIServerMockRecorder struct {
// contains filtered or unexported fields
}
MockReportAPIServerMockRecorder is the mock recorder for MockReportAPIServer.
func (*MockReportAPIServerMockRecorder) CreateReport ¶
func (mr *MockReportAPIServerMockRecorder) CreateReport(arg0, arg1 interface{}) *gomock.Call
CreateReport indicates an expected call of CreateReport.
func (*MockReportAPIServerMockRecorder) CreateReportReason ¶
func (mr *MockReportAPIServerMockRecorder) CreateReportReason(arg0, arg1 interface{}) *gomock.Call
CreateReportReason indicates an expected call of CreateReportReason.
func (*MockReportAPIServerMockRecorder) GetActionReasons ¶
func (mr *MockReportAPIServerMockRecorder) GetActionReasons(arg0, arg1 interface{}) *gomock.Call
GetActionReasons indicates an expected call of GetActionReasons.
func (*MockReportAPIServerMockRecorder) GetActionsByModerator ¶
func (mr *MockReportAPIServerMockRecorder) GetActionsByModerator(arg0, arg1 interface{}) *gomock.Call
GetActionsByModerator indicates an expected call of GetActionsByModerator.
func (*MockReportAPIServerMockRecorder) GetActionsForEntity ¶
func (mr *MockReportAPIServerMockRecorder) GetActionsForEntity(arg0, arg1 interface{}) *gomock.Call
GetActionsForEntity indicates an expected call of GetActionsForEntity.
func (*MockReportAPIServerMockRecorder) GetReportReasons ¶
func (mr *MockReportAPIServerMockRecorder) GetReportReasons(arg0, arg1 interface{}) *gomock.Call
GetReportReasons indicates an expected call of GetReportReasons.
func (*MockReportAPIServerMockRecorder) GetReports ¶
func (mr *MockReportAPIServerMockRecorder) GetReports(arg0, arg1 interface{}) *gomock.Call
GetReports indicates an expected call of GetReports.
func (*MockReportAPIServerMockRecorder) GetReportsByReporter ¶
func (mr *MockReportAPIServerMockRecorder) GetReportsByReporter(arg0, arg1 interface{}) *gomock.Call
GetReportsByReporter indicates an expected call of GetReportsByReporter.
func (*MockReportAPIServerMockRecorder) GetReportsCount ¶
func (mr *MockReportAPIServerMockRecorder) GetReportsCount(arg0, arg1 interface{}) *gomock.Call
GetReportsCount indicates an expected call of GetReportsCount.
func (*MockReportAPIServerMockRecorder) UpdateReportStatus ¶
func (mr *MockReportAPIServerMockRecorder) UpdateReportStatus(arg0, arg1 interface{}) *gomock.Call
UpdateReportStatus indicates an expected call of UpdateReportStatus.
type MockUnsafeReportAPIServer ¶
type MockUnsafeReportAPIServer struct {
// contains filtered or unexported fields
}
MockUnsafeReportAPIServer is a mock of UnsafeReportAPIServer interface.
func NewMockUnsafeReportAPIServer ¶
func NewMockUnsafeReportAPIServer(ctrl *gomock.Controller) *MockUnsafeReportAPIServer
NewMockUnsafeReportAPIServer creates a new mock instance.
func (*MockUnsafeReportAPIServer) EXPECT ¶
func (m *MockUnsafeReportAPIServer) EXPECT() *MockUnsafeReportAPIServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeReportAPIServerMockRecorder ¶
type MockUnsafeReportAPIServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeReportAPIServerMockRecorder is the mock recorder for MockUnsafeReportAPIServer.