feed_mock

package
v0.3.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package feed_mock is a generated GoMock package.

Index

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

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

GetFeed mocks base method.

func (*MockFeedAPIClient) GetFeedList

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

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

GetFeed mocks base method.

func (*MockFeedAPIServer) GetFeedList

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

func (m *MockFeedAPIServer) UpdateScores(arg0 context.Context, arg1 *v1.Empty) (*v1.Empty, error)

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL