Documentation ¶
Overview ¶
Package recommendation_mock is a generated GoMock package.
Index ¶
- type MockRecommendationServiceClient
- func (m *MockRecommendationServiceClient) EXPECT() *MockRecommendationServiceClientMockRecorder
- func (m *MockRecommendationServiceClient) GetCircleMeanScreenTime(ctx context.Context, in *v1.GetCircleMeanScreenTimeRequest, ...) (*v1.GetCircleMeanScreenTimeResponse, error)
- func (m *MockRecommendationServiceClient) GetCircleTotalScreenTime(ctx context.Context, in *v1.GetCircleTotalScreenTimeRequest, ...) (*v1.GetCircleTotalScreenTimeResponse, error)
- func (m *MockRecommendationServiceClient) GetSavedSearchResults(ctx context.Context, in *v1.GetSavedSearchResultsRequest, ...) (*v1.GetSavedSearchResultsResponse, error)
- func (m *MockRecommendationServiceClient) SavePostScreenTime(ctx context.Context, in *v1.SavePostScreenTimeRequest, opts ...grpc.CallOption) (*v1.SavePostScreenTimeResponse, error)
- func (m *MockRecommendationServiceClient) SaveSearchResult(ctx context.Context, in *v1.SaveSearchResultRequest, opts ...grpc.CallOption) (*v1.SaveSearchResultResponse, error)
- func (m *MockRecommendationServiceClient) UnsaveSearchResult(ctx context.Context, in *v1.UnsaveSearchResultRequest, opts ...grpc.CallOption) (*v1.UnsaveSearchResultResponse, error)
- type MockRecommendationServiceClientMockRecorder
- func (mr *MockRecommendationServiceClientMockRecorder) GetCircleMeanScreenTime(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecommendationServiceClientMockRecorder) GetCircleTotalScreenTime(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecommendationServiceClientMockRecorder) GetSavedSearchResults(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecommendationServiceClientMockRecorder) SavePostScreenTime(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecommendationServiceClientMockRecorder) SaveSearchResult(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecommendationServiceClientMockRecorder) UnsaveSearchResult(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockRecommendationServiceServer
- func (m *MockRecommendationServiceServer) EXPECT() *MockRecommendationServiceServerMockRecorder
- func (m *MockRecommendationServiceServer) GetCircleMeanScreenTime(arg0 context.Context, arg1 *v1.GetCircleMeanScreenTimeRequest) (*v1.GetCircleMeanScreenTimeResponse, error)
- func (m *MockRecommendationServiceServer) GetCircleTotalScreenTime(arg0 context.Context, arg1 *v1.GetCircleTotalScreenTimeRequest) (*v1.GetCircleTotalScreenTimeResponse, error)
- func (m *MockRecommendationServiceServer) GetSavedSearchResults(arg0 context.Context, arg1 *v1.GetSavedSearchResultsRequest) (*v1.GetSavedSearchResultsResponse, error)
- func (m *MockRecommendationServiceServer) SavePostScreenTime(arg0 context.Context, arg1 *v1.SavePostScreenTimeRequest) (*v1.SavePostScreenTimeResponse, error)
- func (m *MockRecommendationServiceServer) SaveSearchResult(arg0 context.Context, arg1 *v1.SaveSearchResultRequest) (*v1.SaveSearchResultResponse, error)
- func (m *MockRecommendationServiceServer) UnsaveSearchResult(arg0 context.Context, arg1 *v1.UnsaveSearchResultRequest) (*v1.UnsaveSearchResultResponse, error)
- type MockRecommendationServiceServerMockRecorder
- func (mr *MockRecommendationServiceServerMockRecorder) GetCircleMeanScreenTime(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecommendationServiceServerMockRecorder) GetCircleTotalScreenTime(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecommendationServiceServerMockRecorder) GetSavedSearchResults(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecommendationServiceServerMockRecorder) SavePostScreenTime(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecommendationServiceServerMockRecorder) SaveSearchResult(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecommendationServiceServerMockRecorder) UnsaveSearchResult(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeRecommendationServiceServer
- type MockUnsafeRecommendationServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRecommendationServiceClient ¶
type MockRecommendationServiceClient struct {
// contains filtered or unexported fields
}
MockRecommendationServiceClient is a mock of RecommendationServiceClient interface.
func NewMockRecommendationServiceClient ¶
func NewMockRecommendationServiceClient(ctrl *gomock.Controller) *MockRecommendationServiceClient
NewMockRecommendationServiceClient creates a new mock instance.
func (*MockRecommendationServiceClient) EXPECT ¶
func (m *MockRecommendationServiceClient) EXPECT() *MockRecommendationServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRecommendationServiceClient) GetCircleMeanScreenTime ¶ added in v0.2.77
func (m *MockRecommendationServiceClient) GetCircleMeanScreenTime(ctx context.Context, in *v1.GetCircleMeanScreenTimeRequest, opts ...grpc.CallOption) (*v1.GetCircleMeanScreenTimeResponse, error)
GetCircleMeanScreenTime mocks base method.
func (*MockRecommendationServiceClient) GetCircleTotalScreenTime ¶ added in v0.2.77
func (m *MockRecommendationServiceClient) GetCircleTotalScreenTime(ctx context.Context, in *v1.GetCircleTotalScreenTimeRequest, opts ...grpc.CallOption) (*v1.GetCircleTotalScreenTimeResponse, error)
GetCircleTotalScreenTime mocks base method.
func (*MockRecommendationServiceClient) GetSavedSearchResults ¶
func (m *MockRecommendationServiceClient) GetSavedSearchResults(ctx context.Context, in *v1.GetSavedSearchResultsRequest, opts ...grpc.CallOption) (*v1.GetSavedSearchResultsResponse, error)
GetSavedSearchResults mocks base method.
func (*MockRecommendationServiceClient) SavePostScreenTime ¶ added in v0.2.77
func (m *MockRecommendationServiceClient) SavePostScreenTime(ctx context.Context, in *v1.SavePostScreenTimeRequest, opts ...grpc.CallOption) (*v1.SavePostScreenTimeResponse, error)
SavePostScreenTime mocks base method.
func (*MockRecommendationServiceClient) SaveSearchResult ¶
func (m *MockRecommendationServiceClient) SaveSearchResult(ctx context.Context, in *v1.SaveSearchResultRequest, opts ...grpc.CallOption) (*v1.SaveSearchResultResponse, error)
SaveSearchResult mocks base method.
func (*MockRecommendationServiceClient) UnsaveSearchResult ¶
func (m *MockRecommendationServiceClient) UnsaveSearchResult(ctx context.Context, in *v1.UnsaveSearchResultRequest, opts ...grpc.CallOption) (*v1.UnsaveSearchResultResponse, error)
UnsaveSearchResult mocks base method.
type MockRecommendationServiceClientMockRecorder ¶
type MockRecommendationServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRecommendationServiceClientMockRecorder is the mock recorder for MockRecommendationServiceClient.
func (*MockRecommendationServiceClientMockRecorder) GetCircleMeanScreenTime ¶ added in v0.2.77
func (mr *MockRecommendationServiceClientMockRecorder) GetCircleMeanScreenTime(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetCircleMeanScreenTime indicates an expected call of GetCircleMeanScreenTime.
func (*MockRecommendationServiceClientMockRecorder) GetCircleTotalScreenTime ¶ added in v0.2.77
func (mr *MockRecommendationServiceClientMockRecorder) GetCircleTotalScreenTime(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetCircleTotalScreenTime indicates an expected call of GetCircleTotalScreenTime.
func (*MockRecommendationServiceClientMockRecorder) GetSavedSearchResults ¶
func (mr *MockRecommendationServiceClientMockRecorder) GetSavedSearchResults(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetSavedSearchResults indicates an expected call of GetSavedSearchResults.
func (*MockRecommendationServiceClientMockRecorder) SavePostScreenTime ¶ added in v0.2.77
func (mr *MockRecommendationServiceClientMockRecorder) SavePostScreenTime(ctx, in interface{}, opts ...interface{}) *gomock.Call
SavePostScreenTime indicates an expected call of SavePostScreenTime.
func (*MockRecommendationServiceClientMockRecorder) SaveSearchResult ¶
func (mr *MockRecommendationServiceClientMockRecorder) SaveSearchResult(ctx, in interface{}, opts ...interface{}) *gomock.Call
SaveSearchResult indicates an expected call of SaveSearchResult.
func (*MockRecommendationServiceClientMockRecorder) UnsaveSearchResult ¶
func (mr *MockRecommendationServiceClientMockRecorder) UnsaveSearchResult(ctx, in interface{}, opts ...interface{}) *gomock.Call
UnsaveSearchResult indicates an expected call of UnsaveSearchResult.
type MockRecommendationServiceServer ¶
type MockRecommendationServiceServer struct {
// contains filtered or unexported fields
}
MockRecommendationServiceServer is a mock of RecommendationServiceServer interface.
func NewMockRecommendationServiceServer ¶
func NewMockRecommendationServiceServer(ctrl *gomock.Controller) *MockRecommendationServiceServer
NewMockRecommendationServiceServer creates a new mock instance.
func (*MockRecommendationServiceServer) EXPECT ¶
func (m *MockRecommendationServiceServer) EXPECT() *MockRecommendationServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRecommendationServiceServer) GetCircleMeanScreenTime ¶ added in v0.2.77
func (m *MockRecommendationServiceServer) GetCircleMeanScreenTime(arg0 context.Context, arg1 *v1.GetCircleMeanScreenTimeRequest) (*v1.GetCircleMeanScreenTimeResponse, error)
GetCircleMeanScreenTime mocks base method.
func (*MockRecommendationServiceServer) GetCircleTotalScreenTime ¶ added in v0.2.77
func (m *MockRecommendationServiceServer) GetCircleTotalScreenTime(arg0 context.Context, arg1 *v1.GetCircleTotalScreenTimeRequest) (*v1.GetCircleTotalScreenTimeResponse, error)
GetCircleTotalScreenTime mocks base method.
func (*MockRecommendationServiceServer) GetSavedSearchResults ¶
func (m *MockRecommendationServiceServer) GetSavedSearchResults(arg0 context.Context, arg1 *v1.GetSavedSearchResultsRequest) (*v1.GetSavedSearchResultsResponse, error)
GetSavedSearchResults mocks base method.
func (*MockRecommendationServiceServer) SavePostScreenTime ¶ added in v0.2.77
func (m *MockRecommendationServiceServer) SavePostScreenTime(arg0 context.Context, arg1 *v1.SavePostScreenTimeRequest) (*v1.SavePostScreenTimeResponse, error)
SavePostScreenTime mocks base method.
func (*MockRecommendationServiceServer) SaveSearchResult ¶
func (m *MockRecommendationServiceServer) SaveSearchResult(arg0 context.Context, arg1 *v1.SaveSearchResultRequest) (*v1.SaveSearchResultResponse, error)
SaveSearchResult mocks base method.
func (*MockRecommendationServiceServer) UnsaveSearchResult ¶
func (m *MockRecommendationServiceServer) UnsaveSearchResult(arg0 context.Context, arg1 *v1.UnsaveSearchResultRequest) (*v1.UnsaveSearchResultResponse, error)
UnsaveSearchResult mocks base method.
type MockRecommendationServiceServerMockRecorder ¶
type MockRecommendationServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockRecommendationServiceServerMockRecorder is the mock recorder for MockRecommendationServiceServer.
func (*MockRecommendationServiceServerMockRecorder) GetCircleMeanScreenTime ¶ added in v0.2.77
func (mr *MockRecommendationServiceServerMockRecorder) GetCircleMeanScreenTime(arg0, arg1 interface{}) *gomock.Call
GetCircleMeanScreenTime indicates an expected call of GetCircleMeanScreenTime.
func (*MockRecommendationServiceServerMockRecorder) GetCircleTotalScreenTime ¶ added in v0.2.77
func (mr *MockRecommendationServiceServerMockRecorder) GetCircleTotalScreenTime(arg0, arg1 interface{}) *gomock.Call
GetCircleTotalScreenTime indicates an expected call of GetCircleTotalScreenTime.
func (*MockRecommendationServiceServerMockRecorder) GetSavedSearchResults ¶
func (mr *MockRecommendationServiceServerMockRecorder) GetSavedSearchResults(arg0, arg1 interface{}) *gomock.Call
GetSavedSearchResults indicates an expected call of GetSavedSearchResults.
func (*MockRecommendationServiceServerMockRecorder) SavePostScreenTime ¶ added in v0.2.77
func (mr *MockRecommendationServiceServerMockRecorder) SavePostScreenTime(arg0, arg1 interface{}) *gomock.Call
SavePostScreenTime indicates an expected call of SavePostScreenTime.
func (*MockRecommendationServiceServerMockRecorder) SaveSearchResult ¶
func (mr *MockRecommendationServiceServerMockRecorder) SaveSearchResult(arg0, arg1 interface{}) *gomock.Call
SaveSearchResult indicates an expected call of SaveSearchResult.
func (*MockRecommendationServiceServerMockRecorder) UnsaveSearchResult ¶
func (mr *MockRecommendationServiceServerMockRecorder) UnsaveSearchResult(arg0, arg1 interface{}) *gomock.Call
UnsaveSearchResult indicates an expected call of UnsaveSearchResult.
type MockUnsafeRecommendationServiceServer ¶
type MockUnsafeRecommendationServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeRecommendationServiceServer is a mock of UnsafeRecommendationServiceServer interface.
func NewMockUnsafeRecommendationServiceServer ¶
func NewMockUnsafeRecommendationServiceServer(ctrl *gomock.Controller) *MockUnsafeRecommendationServiceServer
NewMockUnsafeRecommendationServiceServer creates a new mock instance.
func (*MockUnsafeRecommendationServiceServer) EXPECT ¶
func (m *MockUnsafeRecommendationServiceServer) EXPECT() *MockUnsafeRecommendationServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeRecommendationServiceServerMockRecorder ¶
type MockUnsafeRecommendationServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeRecommendationServiceServerMockRecorder is the mock recorder for MockUnsafeRecommendationServiceServer.