Documentation ¶
Overview ¶
Package classification_mock is a generated GoMock package.
Index ¶
- type MockClassificationServiceClient
- func (m *MockClassificationServiceClient) CheckForWordsInPost(ctx context.Context, in *v1.CheckForWordsInPostRequest, ...) (*v1.CheckForWordsInPostResponse, error)
- func (m *MockClassificationServiceClient) ContainsProblematicWords(ctx context.Context, in *v1.ContainsProblematicWordsRequest, ...) (*v1.ContainsProblematicWordsResponse, error)
- func (m *MockClassificationServiceClient) EXPECT() *MockClassificationServiceClientMockRecorder
- type MockClassificationServiceClientMockRecorder
- type MockClassificationServiceServer
- func (m *MockClassificationServiceServer) CheckForWordsInPost(arg0 context.Context, arg1 *v1.CheckForWordsInPostRequest) (*v1.CheckForWordsInPostResponse, error)
- func (m *MockClassificationServiceServer) ContainsProblematicWords(arg0 context.Context, arg1 *v1.ContainsProblematicWordsRequest) (*v1.ContainsProblematicWordsResponse, error)
- func (m *MockClassificationServiceServer) EXPECT() *MockClassificationServiceServerMockRecorder
- type MockClassificationServiceServerMockRecorder
- type MockUnsafeClassificationServiceServer
- type MockUnsafeClassificationServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClassificationServiceClient ¶
type MockClassificationServiceClient struct {
// contains filtered or unexported fields
}
MockClassificationServiceClient is a mock of ClassificationServiceClient interface.
func NewMockClassificationServiceClient ¶
func NewMockClassificationServiceClient(ctrl *gomock.Controller) *MockClassificationServiceClient
NewMockClassificationServiceClient creates a new mock instance.
func (*MockClassificationServiceClient) CheckForWordsInPost ¶
func (m *MockClassificationServiceClient) CheckForWordsInPost(ctx context.Context, in *v1.CheckForWordsInPostRequest, opts ...grpc.CallOption) (*v1.CheckForWordsInPostResponse, error)
CheckForWordsInPost mocks base method.
func (*MockClassificationServiceClient) ContainsProblematicWords ¶
func (m *MockClassificationServiceClient) ContainsProblematicWords(ctx context.Context, in *v1.ContainsProblematicWordsRequest, opts ...grpc.CallOption) (*v1.ContainsProblematicWordsResponse, error)
ContainsProblematicWords mocks base method.
func (*MockClassificationServiceClient) EXPECT ¶
func (m *MockClassificationServiceClient) EXPECT() *MockClassificationServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClassificationServiceClientMockRecorder ¶
type MockClassificationServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClassificationServiceClientMockRecorder is the mock recorder for MockClassificationServiceClient.
func (*MockClassificationServiceClientMockRecorder) CheckForWordsInPost ¶
func (mr *MockClassificationServiceClientMockRecorder) CheckForWordsInPost(ctx, in any, opts ...any) *gomock.Call
CheckForWordsInPost indicates an expected call of CheckForWordsInPost.
func (*MockClassificationServiceClientMockRecorder) ContainsProblematicWords ¶
func (mr *MockClassificationServiceClientMockRecorder) ContainsProblematicWords(ctx, in any, opts ...any) *gomock.Call
ContainsProblematicWords indicates an expected call of ContainsProblematicWords.
type MockClassificationServiceServer ¶
type MockClassificationServiceServer struct {
// contains filtered or unexported fields
}
MockClassificationServiceServer is a mock of ClassificationServiceServer interface.
func NewMockClassificationServiceServer ¶
func NewMockClassificationServiceServer(ctrl *gomock.Controller) *MockClassificationServiceServer
NewMockClassificationServiceServer creates a new mock instance.
func (*MockClassificationServiceServer) CheckForWordsInPost ¶
func (m *MockClassificationServiceServer) CheckForWordsInPost(arg0 context.Context, arg1 *v1.CheckForWordsInPostRequest) (*v1.CheckForWordsInPostResponse, error)
CheckForWordsInPost mocks base method.
func (*MockClassificationServiceServer) ContainsProblematicWords ¶
func (m *MockClassificationServiceServer) ContainsProblematicWords(arg0 context.Context, arg1 *v1.ContainsProblematicWordsRequest) (*v1.ContainsProblematicWordsResponse, error)
ContainsProblematicWords mocks base method.
func (*MockClassificationServiceServer) EXPECT ¶
func (m *MockClassificationServiceServer) EXPECT() *MockClassificationServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClassificationServiceServerMockRecorder ¶
type MockClassificationServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockClassificationServiceServerMockRecorder is the mock recorder for MockClassificationServiceServer.
func (*MockClassificationServiceServerMockRecorder) CheckForWordsInPost ¶
func (mr *MockClassificationServiceServerMockRecorder) CheckForWordsInPost(arg0, arg1 any) *gomock.Call
CheckForWordsInPost indicates an expected call of CheckForWordsInPost.
func (*MockClassificationServiceServerMockRecorder) ContainsProblematicWords ¶
func (mr *MockClassificationServiceServerMockRecorder) ContainsProblematicWords(arg0, arg1 any) *gomock.Call
ContainsProblematicWords indicates an expected call of ContainsProblematicWords.
type MockUnsafeClassificationServiceServer ¶
type MockUnsafeClassificationServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeClassificationServiceServer is a mock of UnsafeClassificationServiceServer interface.
func NewMockUnsafeClassificationServiceServer ¶
func NewMockUnsafeClassificationServiceServer(ctrl *gomock.Controller) *MockUnsafeClassificationServiceServer
NewMockUnsafeClassificationServiceServer creates a new mock instance.
func (*MockUnsafeClassificationServiceServer) EXPECT ¶
func (m *MockUnsafeClassificationServiceServer) EXPECT() *MockUnsafeClassificationServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeClassificationServiceServerMockRecorder ¶
type MockUnsafeClassificationServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeClassificationServiceServerMockRecorder is the mock recorder for MockUnsafeClassificationServiceServer.