automoderation_mock

package
v0.2.120 Latest Latest
Warning

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

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

Documentation

Overview

Package automoderation_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAutomoderationAPIClient

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

MockAutomoderationAPIClient is a mock of AutomoderationAPIClient interface.

func NewMockAutomoderationAPIClient

func NewMockAutomoderationAPIClient(ctrl *gomock.Controller) *MockAutomoderationAPIClient

NewMockAutomoderationAPIClient creates a new mock instance.

func (*MockAutomoderationAPIClient) CreateCircleRule

CreateCircleRule mocks base method.

func (*MockAutomoderationAPIClient) DeleteCircleRule

DeleteCircleRule mocks base method.

func (*MockAutomoderationAPIClient) EXPECT

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

func (*MockAutomoderationAPIClient) GetAvailableActions

func (m *MockAutomoderationAPIClient) GetAvailableActions(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.GetAvailableActionsResponse, error)

GetAvailableActions mocks base method.

func (*MockAutomoderationAPIClient) GetCircleSettings

GetCircleSettings mocks base method.

func (*MockAutomoderationAPIClient) GetTagsFromContent added in v0.2.57

GetTagsFromContent mocks base method.

func (*MockAutomoderationAPIClient) UpdateCircleRule

UpdateCircleRule mocks base method.

func (*MockAutomoderationAPIClient) UpdateCircleSettings

func (m *MockAutomoderationAPIClient) UpdateCircleSettings(ctx context.Context, in *v1.UpdateCircleSettingsRequest, opts ...grpc.CallOption) (*v1.Empty, error)

UpdateCircleSettings mocks base method.

type MockAutomoderationAPIClientMockRecorder

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

MockAutomoderationAPIClientMockRecorder is the mock recorder for MockAutomoderationAPIClient.

func (*MockAutomoderationAPIClientMockRecorder) CreateCircleRule

func (mr *MockAutomoderationAPIClientMockRecorder) CreateCircleRule(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateCircleRule indicates an expected call of CreateCircleRule.

func (*MockAutomoderationAPIClientMockRecorder) DeleteCircleRule

func (mr *MockAutomoderationAPIClientMockRecorder) DeleteCircleRule(ctx, in interface{}, opts ...interface{}) *gomock.Call

DeleteCircleRule indicates an expected call of DeleteCircleRule.

func (*MockAutomoderationAPIClientMockRecorder) GetAvailableActions

func (mr *MockAutomoderationAPIClientMockRecorder) GetAvailableActions(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetAvailableActions indicates an expected call of GetAvailableActions.

func (*MockAutomoderationAPIClientMockRecorder) GetCircleSettings

func (mr *MockAutomoderationAPIClientMockRecorder) GetCircleSettings(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetCircleSettings indicates an expected call of GetCircleSettings.

func (*MockAutomoderationAPIClientMockRecorder) GetTagsFromContent added in v0.2.57

func (mr *MockAutomoderationAPIClientMockRecorder) GetTagsFromContent(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetTagsFromContent indicates an expected call of GetTagsFromContent.

func (*MockAutomoderationAPIClientMockRecorder) UpdateCircleRule

func (mr *MockAutomoderationAPIClientMockRecorder) UpdateCircleRule(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateCircleRule indicates an expected call of UpdateCircleRule.

func (*MockAutomoderationAPIClientMockRecorder) UpdateCircleSettings

func (mr *MockAutomoderationAPIClientMockRecorder) UpdateCircleSettings(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateCircleSettings indicates an expected call of UpdateCircleSettings.

type MockAutomoderationAPIServer

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

MockAutomoderationAPIServer is a mock of AutomoderationAPIServer interface.

func NewMockAutomoderationAPIServer

func NewMockAutomoderationAPIServer(ctrl *gomock.Controller) *MockAutomoderationAPIServer

NewMockAutomoderationAPIServer creates a new mock instance.

func (*MockAutomoderationAPIServer) CreateCircleRule

func (m *MockAutomoderationAPIServer) CreateCircleRule(arg0 context.Context, arg1 *v1.CreateCircleRuleRequest) (*v1.Empty, error)

CreateCircleRule mocks base method.

func (*MockAutomoderationAPIServer) DeleteCircleRule

func (m *MockAutomoderationAPIServer) DeleteCircleRule(arg0 context.Context, arg1 *v1.DeleteCircleRuleRequest) (*v1.Empty, error)

DeleteCircleRule mocks base method.

func (*MockAutomoderationAPIServer) EXPECT

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

func (*MockAutomoderationAPIServer) GetAvailableActions

func (m *MockAutomoderationAPIServer) GetAvailableActions(arg0 context.Context, arg1 *v1.Empty) (*v1.GetAvailableActionsResponse, error)

GetAvailableActions mocks base method.

func (*MockAutomoderationAPIServer) GetCircleSettings

GetCircleSettings mocks base method.

func (*MockAutomoderationAPIServer) GetTagsFromContent added in v0.2.57

GetTagsFromContent mocks base method.

func (*MockAutomoderationAPIServer) UpdateCircleRule

func (m *MockAutomoderationAPIServer) UpdateCircleRule(arg0 context.Context, arg1 *v1.UpdateCircleRuleRequest) (*v1.Empty, error)

UpdateCircleRule mocks base method.

func (*MockAutomoderationAPIServer) UpdateCircleSettings

func (m *MockAutomoderationAPIServer) UpdateCircleSettings(arg0 context.Context, arg1 *v1.UpdateCircleSettingsRequest) (*v1.Empty, error)

UpdateCircleSettings mocks base method.

type MockAutomoderationAPIServerMockRecorder

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

MockAutomoderationAPIServerMockRecorder is the mock recorder for MockAutomoderationAPIServer.

func (*MockAutomoderationAPIServerMockRecorder) CreateCircleRule

func (mr *MockAutomoderationAPIServerMockRecorder) CreateCircleRule(arg0, arg1 interface{}) *gomock.Call

CreateCircleRule indicates an expected call of CreateCircleRule.

func (*MockAutomoderationAPIServerMockRecorder) DeleteCircleRule

func (mr *MockAutomoderationAPIServerMockRecorder) DeleteCircleRule(arg0, arg1 interface{}) *gomock.Call

DeleteCircleRule indicates an expected call of DeleteCircleRule.

func (*MockAutomoderationAPIServerMockRecorder) GetAvailableActions

func (mr *MockAutomoderationAPIServerMockRecorder) GetAvailableActions(arg0, arg1 interface{}) *gomock.Call

GetAvailableActions indicates an expected call of GetAvailableActions.

func (*MockAutomoderationAPIServerMockRecorder) GetCircleSettings

func (mr *MockAutomoderationAPIServerMockRecorder) GetCircleSettings(arg0, arg1 interface{}) *gomock.Call

GetCircleSettings indicates an expected call of GetCircleSettings.

func (*MockAutomoderationAPIServerMockRecorder) GetTagsFromContent added in v0.2.57

func (mr *MockAutomoderationAPIServerMockRecorder) GetTagsFromContent(arg0, arg1 interface{}) *gomock.Call

GetTagsFromContent indicates an expected call of GetTagsFromContent.

func (*MockAutomoderationAPIServerMockRecorder) UpdateCircleRule

func (mr *MockAutomoderationAPIServerMockRecorder) UpdateCircleRule(arg0, arg1 interface{}) *gomock.Call

UpdateCircleRule indicates an expected call of UpdateCircleRule.

func (*MockAutomoderationAPIServerMockRecorder) UpdateCircleSettings

func (mr *MockAutomoderationAPIServerMockRecorder) UpdateCircleSettings(arg0, arg1 interface{}) *gomock.Call

UpdateCircleSettings indicates an expected call of UpdateCircleSettings.

type MockUnsafeAutomoderationAPIServer

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

MockUnsafeAutomoderationAPIServer is a mock of UnsafeAutomoderationAPIServer interface.

func NewMockUnsafeAutomoderationAPIServer

func NewMockUnsafeAutomoderationAPIServer(ctrl *gomock.Controller) *MockUnsafeAutomoderationAPIServer

NewMockUnsafeAutomoderationAPIServer creates a new mock instance.

func (*MockUnsafeAutomoderationAPIServer) EXPECT

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

type MockUnsafeAutomoderationAPIServerMockRecorder

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

MockUnsafeAutomoderationAPIServerMockRecorder is the mock recorder for MockUnsafeAutomoderationAPIServer.

Jump to

Keyboard shortcuts

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