Documentation ¶
Overview ¶
Package feed_mock is a generated GoMock package.
Index ¶
- type MockFeedAPIClient
- func (m *MockFeedAPIClient) DeleteCircle(ctx context.Context, in *v1.DeleteCircleRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockFeedAPIClient) DeletePosts(ctx context.Context, in *v1.DeletePostsRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockFeedAPIClient) EXPECT() *MockFeedAPIClientMockRecorder
- func (m *MockFeedAPIClient) GetCircleFeed(ctx context.Context, in *v1.GetFeedRequest, opts ...grpc.CallOption) (*v1.GetFeedResponse, error)
- func (m *MockFeedAPIClient) GetFeed(ctx context.Context, in *v1.GetFeedRequest, opts ...grpc.CallOption) (*v1.GetFeedResponse, error)
- func (m *MockFeedAPIClient) GetFeedList(ctx context.Context, in *v1.GetFeedListRequest, opts ...grpc.CallOption) (*v1.GetFeedListResponse, error)
- func (m *MockFeedAPIClient) GetGroups(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.GetGroupsResponse, error)
- func (m *MockFeedAPIClient) GetPopularFeed(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.GetFeedResponse, error)
- func (m *MockFeedAPIClient) GetUserFeed(ctx context.Context, in *v1.GetFeedRequest, opts ...grpc.CallOption) (*v1.GetFeedResponse, error)
- func (m *MockFeedAPIClient) UpdateScores(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.Empty, error)
- type MockFeedAPIClientMockRecorder
- func (mr *MockFeedAPIClientMockRecorder) DeleteCircle(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockFeedAPIClientMockRecorder) DeletePosts(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockFeedAPIClientMockRecorder) GetCircleFeed(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockFeedAPIClientMockRecorder) GetFeed(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockFeedAPIClientMockRecorder) GetFeedList(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockFeedAPIClientMockRecorder) GetGroups(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockFeedAPIClientMockRecorder) GetPopularFeed(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockFeedAPIClientMockRecorder) GetUserFeed(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockFeedAPIClientMockRecorder) UpdateScores(ctx, in any, opts ...any) *gomock.Call
- type MockFeedAPIServer
- func (m *MockFeedAPIServer) DeleteCircle(arg0 context.Context, arg1 *v1.DeleteCircleRequest) (*v1.Empty, error)
- func (m *MockFeedAPIServer) DeletePosts(arg0 context.Context, arg1 *v1.DeletePostsRequest) (*v1.Empty, error)
- func (m *MockFeedAPIServer) EXPECT() *MockFeedAPIServerMockRecorder
- func (m *MockFeedAPIServer) GetCircleFeed(arg0 context.Context, arg1 *v1.GetFeedRequest) (*v1.GetFeedResponse, error)
- func (m *MockFeedAPIServer) GetFeed(arg0 context.Context, arg1 *v1.GetFeedRequest) (*v1.GetFeedResponse, error)
- func (m *MockFeedAPIServer) GetFeedList(arg0 context.Context, arg1 *v1.GetFeedListRequest) (*v1.GetFeedListResponse, error)
- func (m *MockFeedAPIServer) GetGroups(arg0 context.Context, arg1 *v1.Empty) (*v1.GetGroupsResponse, error)
- func (m *MockFeedAPIServer) GetPopularFeed(arg0 context.Context, arg1 *v1.Empty) (*v1.GetFeedResponse, error)
- func (m *MockFeedAPIServer) GetUserFeed(arg0 context.Context, arg1 *v1.GetFeedRequest) (*v1.GetFeedResponse, error)
- func (m *MockFeedAPIServer) UpdateScores(arg0 context.Context, arg1 *v1.Empty) (*v1.Empty, error)
- type MockFeedAPIServerMockRecorder
- func (mr *MockFeedAPIServerMockRecorder) DeleteCircle(arg0, arg1 any) *gomock.Call
- func (mr *MockFeedAPIServerMockRecorder) DeletePosts(arg0, arg1 any) *gomock.Call
- func (mr *MockFeedAPIServerMockRecorder) GetCircleFeed(arg0, arg1 any) *gomock.Call
- func (mr *MockFeedAPIServerMockRecorder) GetFeed(arg0, arg1 any) *gomock.Call
- func (mr *MockFeedAPIServerMockRecorder) GetFeedList(arg0, arg1 any) *gomock.Call
- func (mr *MockFeedAPIServerMockRecorder) GetGroups(arg0, arg1 any) *gomock.Call
- func (mr *MockFeedAPIServerMockRecorder) GetPopularFeed(arg0, arg1 any) *gomock.Call
- func (mr *MockFeedAPIServerMockRecorder) GetUserFeed(arg0, arg1 any) *gomock.Call
- func (mr *MockFeedAPIServerMockRecorder) UpdateScores(arg0, arg1 any) *gomock.Call
- type MockUnsafeFeedAPIServer
- type MockUnsafeFeedAPIServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFeedAPIClient ¶
type MockFeedAPIClient struct {
// contains filtered or unexported fields
}
MockFeedAPIClient is a mock of FeedAPIClient interface.
func NewMockFeedAPIClient ¶
func NewMockFeedAPIClient(ctrl *gomock.Controller) *MockFeedAPIClient
NewMockFeedAPIClient creates a new mock instance.
func (*MockFeedAPIClient) DeleteCircle ¶
func (m *MockFeedAPIClient) DeleteCircle(ctx context.Context, in *v1.DeleteCircleRequest, opts ...grpc.CallOption) (*v1.Empty, error)
DeleteCircle mocks base method.
func (*MockFeedAPIClient) DeletePosts ¶
func (m *MockFeedAPIClient) DeletePosts(ctx context.Context, in *v1.DeletePostsRequest, opts ...grpc.CallOption) (*v1.Empty, error)
DeletePosts mocks base method.
func (*MockFeedAPIClient) EXPECT ¶
func (m *MockFeedAPIClient) EXPECT() *MockFeedAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFeedAPIClient) GetCircleFeed ¶
func (m *MockFeedAPIClient) GetCircleFeed(ctx context.Context, in *v1.GetFeedRequest, opts ...grpc.CallOption) (*v1.GetFeedResponse, error)
GetCircleFeed mocks base method.
func (*MockFeedAPIClient) GetFeed ¶
func (m *MockFeedAPIClient) GetFeed(ctx context.Context, in *v1.GetFeedRequest, opts ...grpc.CallOption) (*v1.GetFeedResponse, error)
GetFeed mocks base method.
func (*MockFeedAPIClient) GetFeedList ¶
func (m *MockFeedAPIClient) GetFeedList(ctx context.Context, in *v1.GetFeedListRequest, opts ...grpc.CallOption) (*v1.GetFeedListResponse, error)
GetFeedList mocks base method.
func (*MockFeedAPIClient) GetGroups ¶
func (m *MockFeedAPIClient) GetGroups(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.GetGroupsResponse, error)
GetGroups mocks base method.
func (*MockFeedAPIClient) GetPopularFeed ¶
func (m *MockFeedAPIClient) GetPopularFeed(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.GetFeedResponse, error)
GetPopularFeed mocks base method.
func (*MockFeedAPIClient) GetUserFeed ¶
func (m *MockFeedAPIClient) GetUserFeed(ctx context.Context, in *v1.GetFeedRequest, opts ...grpc.CallOption) (*v1.GetFeedResponse, error)
GetUserFeed mocks base method.
func (*MockFeedAPIClient) UpdateScores ¶
func (m *MockFeedAPIClient) UpdateScores(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.Empty, error)
UpdateScores mocks base method.
type MockFeedAPIClientMockRecorder ¶
type MockFeedAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockFeedAPIClientMockRecorder is the mock recorder for MockFeedAPIClient.
func (*MockFeedAPIClientMockRecorder) DeleteCircle ¶
func (mr *MockFeedAPIClientMockRecorder) DeleteCircle(ctx, in any, opts ...any) *gomock.Call
DeleteCircle indicates an expected call of DeleteCircle.
func (*MockFeedAPIClientMockRecorder) DeletePosts ¶
func (mr *MockFeedAPIClientMockRecorder) DeletePosts(ctx, in any, opts ...any) *gomock.Call
DeletePosts indicates an expected call of DeletePosts.
func (*MockFeedAPIClientMockRecorder) GetCircleFeed ¶
func (mr *MockFeedAPIClientMockRecorder) GetCircleFeed(ctx, in any, opts ...any) *gomock.Call
GetCircleFeed indicates an expected call of GetCircleFeed.
func (*MockFeedAPIClientMockRecorder) GetFeed ¶
func (mr *MockFeedAPIClientMockRecorder) GetFeed(ctx, in any, opts ...any) *gomock.Call
GetFeed indicates an expected call of GetFeed.
func (*MockFeedAPIClientMockRecorder) GetFeedList ¶
func (mr *MockFeedAPIClientMockRecorder) GetFeedList(ctx, in any, opts ...any) *gomock.Call
GetFeedList indicates an expected call of GetFeedList.
func (*MockFeedAPIClientMockRecorder) GetGroups ¶
func (mr *MockFeedAPIClientMockRecorder) GetGroups(ctx, in any, opts ...any) *gomock.Call
GetGroups indicates an expected call of GetGroups.
func (*MockFeedAPIClientMockRecorder) GetPopularFeed ¶
func (mr *MockFeedAPIClientMockRecorder) GetPopularFeed(ctx, in any, opts ...any) *gomock.Call
GetPopularFeed indicates an expected call of GetPopularFeed.
func (*MockFeedAPIClientMockRecorder) GetUserFeed ¶
func (mr *MockFeedAPIClientMockRecorder) GetUserFeed(ctx, in any, opts ...any) *gomock.Call
GetUserFeed indicates an expected call of GetUserFeed.
func (*MockFeedAPIClientMockRecorder) UpdateScores ¶
func (mr *MockFeedAPIClientMockRecorder) UpdateScores(ctx, in any, opts ...any) *gomock.Call
UpdateScores indicates an expected call of UpdateScores.
type MockFeedAPIServer ¶
type MockFeedAPIServer struct {
// contains filtered or unexported fields
}
MockFeedAPIServer is a mock of FeedAPIServer interface.
func NewMockFeedAPIServer ¶
func NewMockFeedAPIServer(ctrl *gomock.Controller) *MockFeedAPIServer
NewMockFeedAPIServer creates a new mock instance.
func (*MockFeedAPIServer) DeleteCircle ¶
func (m *MockFeedAPIServer) DeleteCircle(arg0 context.Context, arg1 *v1.DeleteCircleRequest) (*v1.Empty, error)
DeleteCircle mocks base method.
func (*MockFeedAPIServer) DeletePosts ¶
func (m *MockFeedAPIServer) DeletePosts(arg0 context.Context, arg1 *v1.DeletePostsRequest) (*v1.Empty, error)
DeletePosts mocks base method.
func (*MockFeedAPIServer) EXPECT ¶
func (m *MockFeedAPIServer) EXPECT() *MockFeedAPIServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFeedAPIServer) GetCircleFeed ¶
func (m *MockFeedAPIServer) GetCircleFeed(arg0 context.Context, arg1 *v1.GetFeedRequest) (*v1.GetFeedResponse, error)
GetCircleFeed mocks base method.
func (*MockFeedAPIServer) GetFeed ¶
func (m *MockFeedAPIServer) GetFeed(arg0 context.Context, arg1 *v1.GetFeedRequest) (*v1.GetFeedResponse, error)
GetFeed mocks base method.
func (*MockFeedAPIServer) GetFeedList ¶
func (m *MockFeedAPIServer) GetFeedList(arg0 context.Context, arg1 *v1.GetFeedListRequest) (*v1.GetFeedListResponse, error)
GetFeedList mocks base method.
func (*MockFeedAPIServer) GetGroups ¶
func (m *MockFeedAPIServer) GetGroups(arg0 context.Context, arg1 *v1.Empty) (*v1.GetGroupsResponse, error)
GetGroups mocks base method.
func (*MockFeedAPIServer) GetPopularFeed ¶
func (m *MockFeedAPIServer) GetPopularFeed(arg0 context.Context, arg1 *v1.Empty) (*v1.GetFeedResponse, error)
GetPopularFeed mocks base method.
func (*MockFeedAPIServer) GetUserFeed ¶
func (m *MockFeedAPIServer) GetUserFeed(arg0 context.Context, arg1 *v1.GetFeedRequest) (*v1.GetFeedResponse, error)
GetUserFeed mocks base method.
func (*MockFeedAPIServer) UpdateScores ¶
UpdateScores mocks base method.
type MockFeedAPIServerMockRecorder ¶
type MockFeedAPIServerMockRecorder struct {
// contains filtered or unexported fields
}
MockFeedAPIServerMockRecorder is the mock recorder for MockFeedAPIServer.
func (*MockFeedAPIServerMockRecorder) DeleteCircle ¶
func (mr *MockFeedAPIServerMockRecorder) DeleteCircle(arg0, arg1 any) *gomock.Call
DeleteCircle indicates an expected call of DeleteCircle.
func (*MockFeedAPIServerMockRecorder) DeletePosts ¶
func (mr *MockFeedAPIServerMockRecorder) DeletePosts(arg0, arg1 any) *gomock.Call
DeletePosts indicates an expected call of DeletePosts.
func (*MockFeedAPIServerMockRecorder) GetCircleFeed ¶
func (mr *MockFeedAPIServerMockRecorder) GetCircleFeed(arg0, arg1 any) *gomock.Call
GetCircleFeed indicates an expected call of GetCircleFeed.
func (*MockFeedAPIServerMockRecorder) GetFeed ¶
func (mr *MockFeedAPIServerMockRecorder) GetFeed(arg0, arg1 any) *gomock.Call
GetFeed indicates an expected call of GetFeed.
func (*MockFeedAPIServerMockRecorder) GetFeedList ¶
func (mr *MockFeedAPIServerMockRecorder) GetFeedList(arg0, arg1 any) *gomock.Call
GetFeedList indicates an expected call of GetFeedList.
func (*MockFeedAPIServerMockRecorder) GetGroups ¶
func (mr *MockFeedAPIServerMockRecorder) GetGroups(arg0, arg1 any) *gomock.Call
GetGroups indicates an expected call of GetGroups.
func (*MockFeedAPIServerMockRecorder) GetPopularFeed ¶
func (mr *MockFeedAPIServerMockRecorder) GetPopularFeed(arg0, arg1 any) *gomock.Call
GetPopularFeed indicates an expected call of GetPopularFeed.
func (*MockFeedAPIServerMockRecorder) GetUserFeed ¶
func (mr *MockFeedAPIServerMockRecorder) GetUserFeed(arg0, arg1 any) *gomock.Call
GetUserFeed indicates an expected call of GetUserFeed.
func (*MockFeedAPIServerMockRecorder) UpdateScores ¶
func (mr *MockFeedAPIServerMockRecorder) UpdateScores(arg0, arg1 any) *gomock.Call
UpdateScores indicates an expected call of UpdateScores.
type MockUnsafeFeedAPIServer ¶
type MockUnsafeFeedAPIServer struct {
// contains filtered or unexported fields
}
MockUnsafeFeedAPIServer is a mock of UnsafeFeedAPIServer interface.
func NewMockUnsafeFeedAPIServer ¶
func NewMockUnsafeFeedAPIServer(ctrl *gomock.Controller) *MockUnsafeFeedAPIServer
NewMockUnsafeFeedAPIServer creates a new mock instance.
func (*MockUnsafeFeedAPIServer) EXPECT ¶
func (m *MockUnsafeFeedAPIServer) EXPECT() *MockUnsafeFeedAPIServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeFeedAPIServerMockRecorder ¶
type MockUnsafeFeedAPIServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeFeedAPIServerMockRecorder is the mock recorder for MockUnsafeFeedAPIServer.