Documentation ¶
Overview ¶
Package automoderation_mock is a generated GoMock package.
Index ¶
- type MockAutomoderationAPIClient
- func (m *MockAutomoderationAPIClient) CreateCircleRule(ctx context.Context, in *v1.CreateCircleRuleRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockAutomoderationAPIClient) DeleteCircleRule(ctx context.Context, in *v1.DeleteCircleRuleRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockAutomoderationAPIClient) EXPECT() *MockAutomoderationAPIClientMockRecorder
- func (m *MockAutomoderationAPIClient) GetAvailableActions(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.GetAvailableActionsResponse, error)
- func (m *MockAutomoderationAPIClient) GetCircleSettings(ctx context.Context, in *v1.GetCircleSettingsRequest, opts ...grpc.CallOption) (*v1.GetCircleSettingsResponse, error)
- func (m *MockAutomoderationAPIClient) GetTagsFromContent(ctx context.Context, in *v1.GetTagsFromContentRequest, opts ...grpc.CallOption) (*v1.GetTagsFromContentResponse, error)
- func (m *MockAutomoderationAPIClient) UpdateCircleRule(ctx context.Context, in *v1.UpdateCircleRuleRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockAutomoderationAPIClient) UpdateCircleSettings(ctx context.Context, in *v1.UpdateCircleSettingsRequest, ...) (*v1.Empty, error)
- type MockAutomoderationAPIClientMockRecorder
- func (mr *MockAutomoderationAPIClientMockRecorder) CreateCircleRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAutomoderationAPIClientMockRecorder) DeleteCircleRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAutomoderationAPIClientMockRecorder) GetAvailableActions(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAutomoderationAPIClientMockRecorder) GetCircleSettings(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAutomoderationAPIClientMockRecorder) GetTagsFromContent(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAutomoderationAPIClientMockRecorder) UpdateCircleRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAutomoderationAPIClientMockRecorder) UpdateCircleSettings(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockAutomoderationAPIServer
- func (m *MockAutomoderationAPIServer) CreateCircleRule(arg0 context.Context, arg1 *v1.CreateCircleRuleRequest) (*v1.Empty, error)
- func (m *MockAutomoderationAPIServer) DeleteCircleRule(arg0 context.Context, arg1 *v1.DeleteCircleRuleRequest) (*v1.Empty, error)
- func (m *MockAutomoderationAPIServer) EXPECT() *MockAutomoderationAPIServerMockRecorder
- func (m *MockAutomoderationAPIServer) GetAvailableActions(arg0 context.Context, arg1 *v1.Empty) (*v1.GetAvailableActionsResponse, error)
- func (m *MockAutomoderationAPIServer) GetCircleSettings(arg0 context.Context, arg1 *v1.GetCircleSettingsRequest) (*v1.GetCircleSettingsResponse, error)
- func (m *MockAutomoderationAPIServer) GetTagsFromContent(arg0 context.Context, arg1 *v1.GetTagsFromContentRequest) (*v1.GetTagsFromContentResponse, error)
- func (m *MockAutomoderationAPIServer) UpdateCircleRule(arg0 context.Context, arg1 *v1.UpdateCircleRuleRequest) (*v1.Empty, error)
- func (m *MockAutomoderationAPIServer) UpdateCircleSettings(arg0 context.Context, arg1 *v1.UpdateCircleSettingsRequest) (*v1.Empty, error)
- type MockAutomoderationAPIServerMockRecorder
- func (mr *MockAutomoderationAPIServerMockRecorder) CreateCircleRule(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAutomoderationAPIServerMockRecorder) DeleteCircleRule(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAutomoderationAPIServerMockRecorder) GetAvailableActions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAutomoderationAPIServerMockRecorder) GetCircleSettings(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAutomoderationAPIServerMockRecorder) GetTagsFromContent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAutomoderationAPIServerMockRecorder) UpdateCircleRule(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAutomoderationAPIServerMockRecorder) UpdateCircleSettings(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeAutomoderationAPIServer
- type MockUnsafeAutomoderationAPIServerMockRecorder
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 ¶
func (m *MockAutomoderationAPIClient) CreateCircleRule(ctx context.Context, in *v1.CreateCircleRuleRequest, opts ...grpc.CallOption) (*v1.Empty, error)
CreateCircleRule mocks base method.
func (*MockAutomoderationAPIClient) DeleteCircleRule ¶
func (m *MockAutomoderationAPIClient) DeleteCircleRule(ctx context.Context, in *v1.DeleteCircleRuleRequest, opts ...grpc.CallOption) (*v1.Empty, error)
DeleteCircleRule mocks base method.
func (*MockAutomoderationAPIClient) EXPECT ¶
func (m *MockAutomoderationAPIClient) EXPECT() *MockAutomoderationAPIClientMockRecorder
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 ¶
func (m *MockAutomoderationAPIClient) GetCircleSettings(ctx context.Context, in *v1.GetCircleSettingsRequest, opts ...grpc.CallOption) (*v1.GetCircleSettingsResponse, error)
GetCircleSettings mocks base method.
func (*MockAutomoderationAPIClient) GetTagsFromContent ¶ added in v0.2.57
func (m *MockAutomoderationAPIClient) GetTagsFromContent(ctx context.Context, in *v1.GetTagsFromContentRequest, opts ...grpc.CallOption) (*v1.GetTagsFromContentResponse, error)
GetTagsFromContent mocks base method.
func (*MockAutomoderationAPIClient) UpdateCircleRule ¶
func (m *MockAutomoderationAPIClient) UpdateCircleRule(ctx context.Context, in *v1.UpdateCircleRuleRequest, opts ...grpc.CallOption) (*v1.Empty, error)
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 ¶
func (m *MockAutomoderationAPIServer) EXPECT() *MockAutomoderationAPIServerMockRecorder
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 ¶
func (m *MockAutomoderationAPIServer) GetCircleSettings(arg0 context.Context, arg1 *v1.GetCircleSettingsRequest) (*v1.GetCircleSettingsResponse, error)
GetCircleSettings mocks base method.
func (*MockAutomoderationAPIServer) GetTagsFromContent ¶ added in v0.2.57
func (m *MockAutomoderationAPIServer) GetTagsFromContent(arg0 context.Context, arg1 *v1.GetTagsFromContentRequest) (*v1.GetTagsFromContentResponse, error)
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 ¶
func (m *MockUnsafeAutomoderationAPIServer) EXPECT() *MockUnsafeAutomoderationAPIServerMockRecorder
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.