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) SyncCircle(ctx context.Context, in *v1.SyncCircleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockRecommendationServiceClient) SyncCircleMember(ctx context.Context, in *v1.SyncCircleMemberRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockRecommendationServiceClient) SyncUser(ctx context.Context, in *v1.SyncUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockRecommendationServiceClient) SyncUserFollow(ctx context.Context, in *v1.SyncUserFollowRequest, opts ...grpc.CallOption) (*emptypb.Empty, 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) SyncCircle(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecommendationServiceClientMockRecorder) SyncCircleMember(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecommendationServiceClientMockRecorder) SyncUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecommendationServiceClientMockRecorder) SyncUserFollow(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) SyncCircle(arg0 context.Context, arg1 *v1.SyncCircleRequest) (*emptypb.Empty, error)
- func (m *MockRecommendationServiceServer) SyncCircleMember(arg0 context.Context, arg1 *v1.SyncCircleMemberRequest) (*emptypb.Empty, error)
- func (m *MockRecommendationServiceServer) SyncUser(arg0 context.Context, arg1 *v1.SyncUserRequest) (*emptypb.Empty, error)
- func (m *MockRecommendationServiceServer) SyncUserFollow(arg0 context.Context, arg1 *v1.SyncUserFollowRequest) (*emptypb.Empty, 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) SyncCircle(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecommendationServiceServerMockRecorder) SyncCircleMember(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecommendationServiceServerMockRecorder) SyncUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecommendationServiceServerMockRecorder) SyncUserFollow(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) SyncCircle ¶ added in v0.2.80
func (m *MockRecommendationServiceClient) SyncCircle(ctx context.Context, in *v1.SyncCircleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
SyncCircle mocks base method.
func (*MockRecommendationServiceClient) SyncCircleMember ¶ added in v0.2.80
func (m *MockRecommendationServiceClient) SyncCircleMember(ctx context.Context, in *v1.SyncCircleMemberRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
SyncCircleMember mocks base method.
func (*MockRecommendationServiceClient) SyncUser ¶ added in v0.2.80
func (m *MockRecommendationServiceClient) SyncUser(ctx context.Context, in *v1.SyncUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
SyncUser mocks base method.
func (*MockRecommendationServiceClient) SyncUserFollow ¶ added in v0.2.80
func (m *MockRecommendationServiceClient) SyncUserFollow(ctx context.Context, in *v1.SyncUserFollowRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
SyncUserFollow 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) SyncCircle ¶ added in v0.2.80
func (mr *MockRecommendationServiceClientMockRecorder) SyncCircle(ctx, in interface{}, opts ...interface{}) *gomock.Call
SyncCircle indicates an expected call of SyncCircle.
func (*MockRecommendationServiceClientMockRecorder) SyncCircleMember ¶ added in v0.2.80
func (mr *MockRecommendationServiceClientMockRecorder) SyncCircleMember(ctx, in interface{}, opts ...interface{}) *gomock.Call
SyncCircleMember indicates an expected call of SyncCircleMember.
func (*MockRecommendationServiceClientMockRecorder) SyncUser ¶ added in v0.2.80
func (mr *MockRecommendationServiceClientMockRecorder) SyncUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
SyncUser indicates an expected call of SyncUser.
func (*MockRecommendationServiceClientMockRecorder) SyncUserFollow ¶ added in v0.2.80
func (mr *MockRecommendationServiceClientMockRecorder) SyncUserFollow(ctx, in interface{}, opts ...interface{}) *gomock.Call
SyncUserFollow indicates an expected call of SyncUserFollow.
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) SyncCircle ¶ added in v0.2.80
func (m *MockRecommendationServiceServer) SyncCircle(arg0 context.Context, arg1 *v1.SyncCircleRequest) (*emptypb.Empty, error)
SyncCircle mocks base method.
func (*MockRecommendationServiceServer) SyncCircleMember ¶ added in v0.2.80
func (m *MockRecommendationServiceServer) SyncCircleMember(arg0 context.Context, arg1 *v1.SyncCircleMemberRequest) (*emptypb.Empty, error)
SyncCircleMember mocks base method.
func (*MockRecommendationServiceServer) SyncUser ¶ added in v0.2.80
func (m *MockRecommendationServiceServer) SyncUser(arg0 context.Context, arg1 *v1.SyncUserRequest) (*emptypb.Empty, error)
SyncUser mocks base method.
func (*MockRecommendationServiceServer) SyncUserFollow ¶ added in v0.2.80
func (m *MockRecommendationServiceServer) SyncUserFollow(arg0 context.Context, arg1 *v1.SyncUserFollowRequest) (*emptypb.Empty, error)
SyncUserFollow 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) SyncCircle ¶ added in v0.2.80
func (mr *MockRecommendationServiceServerMockRecorder) SyncCircle(arg0, arg1 interface{}) *gomock.Call
SyncCircle indicates an expected call of SyncCircle.
func (*MockRecommendationServiceServerMockRecorder) SyncCircleMember ¶ added in v0.2.80
func (mr *MockRecommendationServiceServerMockRecorder) SyncCircleMember(arg0, arg1 interface{}) *gomock.Call
SyncCircleMember indicates an expected call of SyncCircleMember.
func (*MockRecommendationServiceServerMockRecorder) SyncUser ¶ added in v0.2.80
func (mr *MockRecommendationServiceServerMockRecorder) SyncUser(arg0, arg1 interface{}) *gomock.Call
SyncUser indicates an expected call of SyncUser.
func (*MockRecommendationServiceServerMockRecorder) SyncUserFollow ¶ added in v0.2.80
func (mr *MockRecommendationServiceServerMockRecorder) SyncUserFollow(arg0, arg1 interface{}) *gomock.Call
SyncUserFollow indicates an expected call of SyncUserFollow.
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.