report_mock

package
v0.2.149 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package report_mock is a generated GoMock package.

Index

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

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

func (*MockReportAPIClient) GetActionReasons

GetActionReasons mocks base method.

func (*MockReportAPIClient) GetActionsByModerator

GetActionsByModerator mocks base method.

func (*MockReportAPIClient) GetActionsForEntity

GetActionsForEntity mocks base method.

func (*MockReportAPIClient) GetReportReasons

GetReportReasons mocks base method.

func (*MockReportAPIClient) GetReports

GetReports mocks base method.

func (*MockReportAPIClient) GetReportsByReporter

GetReportsByReporter mocks base method.

func (*MockReportAPIClient) GetReportsCount

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

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

func (*MockReportAPIServer) GetActionReasons

GetActionReasons mocks base method.

func (*MockReportAPIServer) GetActionsByModerator

GetActionsByModerator mocks base method.

func (*MockReportAPIServer) GetActionsForEntity

GetActionsForEntity mocks base method.

func (*MockReportAPIServer) GetReportReasons

GetReportReasons mocks base method.

func (*MockReportAPIServer) GetReports

GetReports mocks base method.

func (*MockReportAPIServer) GetReportsByReporter

GetReportsByReporter mocks base method.

func (*MockReportAPIServer) GetReportsCount

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

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.

Jump to

Keyboard shortcuts

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