admin_mock

package
v0.2.62 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package admin_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAdminAPIClient

type MockAdminAPIClient struct {
	// contains filtered or unexported fields
}

MockAdminAPIClient is a mock of AdminAPIClient interface.

func NewMockAdminAPIClient

func NewMockAdminAPIClient(ctrl *gomock.Controller) *MockAdminAPIClient

NewMockAdminAPIClient creates a new mock instance.

func (*MockAdminAPIClient) AddCircle

func (m *MockAdminAPIClient) AddCircle(ctx context.Context, in *v1.Circle, opts ...grpc.CallOption) (*v1.ResultResponse, error)

AddCircle mocks base method.

func (*MockAdminAPIClient) AddUserToCircle

AddUserToCircle mocks base method.

func (*MockAdminAPIClient) DeleteCircle

DeleteCircle mocks base method.

func (*MockAdminAPIClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAdminAPIClient) GeneratePost

GeneratePost mocks base method.

func (*MockAdminAPIClient) ImportPostsAuthors

func (m *MockAdminAPIClient) ImportPostsAuthors(ctx context.Context, in *v1.UseEmpty, opts ...grpc.CallOption) (*v1.UseEmpty, error)

ImportPostsAuthors mocks base method.

func (*MockAdminAPIClient) JoinCircle

JoinCircle mocks base method.

func (*MockAdminAPIClient) LeaveCircle

LeaveCircle mocks base method.

func (*MockAdminAPIClient) LikePostByUser

LikePostByUser mocks base method.

func (*MockAdminAPIClient) ListCircles

func (m *MockAdminAPIClient) ListCircles(ctx context.Context, in *v1.UseEmpty, opts ...grpc.CallOption) (*v1.ListCirclesResponse, error)

ListCircles mocks base method.

func (*MockAdminAPIClient) ResetFeeds

func (m *MockAdminAPIClient) ResetFeeds(ctx context.Context, in *v1.UseEmpty, opts ...grpc.CallOption) (*v1.ResultResponse, error)

ResetFeeds mocks base method.

func (*MockAdminAPIClient) SetAuthorBoost

func (m *MockAdminAPIClient) SetAuthorBoost(ctx context.Context, in *v1.SetAuthorBoostRequest, opts ...grpc.CallOption) (*v1.UseEmpty, error)

SetAuthorBoost mocks base method.

func (*MockAdminAPIClient) SetCircleBoost

func (m *MockAdminAPIClient) SetCircleBoost(ctx context.Context, in *v1.SetCircleBoostRequest, opts ...grpc.CallOption) (*v1.UseEmpty, error)

SetCircleBoost mocks base method.

func (*MockAdminAPIClient) SetCircleDefault

func (m *MockAdminAPIClient) SetCircleDefault(ctx context.Context, in *v1.SetCircleDefaultRequest, opts ...grpc.CallOption) (*v1.UseEmpty, error)

SetCircleDefault mocks base method.

func (*MockAdminAPIClient) UpdatePost

UpdatePost mocks base method.

func (*MockAdminAPIClient) ViewPostByUser

ViewPostByUser mocks base method.

type MockAdminAPIClientMockRecorder

type MockAdminAPIClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockAdminAPIClientMockRecorder is the mock recorder for MockAdminAPIClient.

func (*MockAdminAPIClientMockRecorder) AddCircle

func (mr *MockAdminAPIClientMockRecorder) AddCircle(ctx, in interface{}, opts ...interface{}) *gomock.Call

AddCircle indicates an expected call of AddCircle.

func (*MockAdminAPIClientMockRecorder) AddUserToCircle

func (mr *MockAdminAPIClientMockRecorder) AddUserToCircle(ctx, in interface{}, opts ...interface{}) *gomock.Call

AddUserToCircle indicates an expected call of AddUserToCircle.

func (*MockAdminAPIClientMockRecorder) DeleteCircle

func (mr *MockAdminAPIClientMockRecorder) DeleteCircle(ctx, in interface{}, opts ...interface{}) *gomock.Call

DeleteCircle indicates an expected call of DeleteCircle.

func (*MockAdminAPIClientMockRecorder) GeneratePost

func (mr *MockAdminAPIClientMockRecorder) GeneratePost(ctx, in interface{}, opts ...interface{}) *gomock.Call

GeneratePost indicates an expected call of GeneratePost.

func (*MockAdminAPIClientMockRecorder) ImportPostsAuthors

func (mr *MockAdminAPIClientMockRecorder) ImportPostsAuthors(ctx, in interface{}, opts ...interface{}) *gomock.Call

ImportPostsAuthors indicates an expected call of ImportPostsAuthors.

func (*MockAdminAPIClientMockRecorder) JoinCircle

func (mr *MockAdminAPIClientMockRecorder) JoinCircle(ctx, in interface{}, opts ...interface{}) *gomock.Call

JoinCircle indicates an expected call of JoinCircle.

func (*MockAdminAPIClientMockRecorder) LeaveCircle

func (mr *MockAdminAPIClientMockRecorder) LeaveCircle(ctx, in interface{}, opts ...interface{}) *gomock.Call

LeaveCircle indicates an expected call of LeaveCircle.

func (*MockAdminAPIClientMockRecorder) LikePostByUser

func (mr *MockAdminAPIClientMockRecorder) LikePostByUser(ctx, in interface{}, opts ...interface{}) *gomock.Call

LikePostByUser indicates an expected call of LikePostByUser.

func (*MockAdminAPIClientMockRecorder) ListCircles

func (mr *MockAdminAPIClientMockRecorder) ListCircles(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListCircles indicates an expected call of ListCircles.

func (*MockAdminAPIClientMockRecorder) ResetFeeds

func (mr *MockAdminAPIClientMockRecorder) ResetFeeds(ctx, in interface{}, opts ...interface{}) *gomock.Call

ResetFeeds indicates an expected call of ResetFeeds.

func (*MockAdminAPIClientMockRecorder) SetAuthorBoost

func (mr *MockAdminAPIClientMockRecorder) SetAuthorBoost(ctx, in interface{}, opts ...interface{}) *gomock.Call

SetAuthorBoost indicates an expected call of SetAuthorBoost.

func (*MockAdminAPIClientMockRecorder) SetCircleBoost

func (mr *MockAdminAPIClientMockRecorder) SetCircleBoost(ctx, in interface{}, opts ...interface{}) *gomock.Call

SetCircleBoost indicates an expected call of SetCircleBoost.

func (*MockAdminAPIClientMockRecorder) SetCircleDefault

func (mr *MockAdminAPIClientMockRecorder) SetCircleDefault(ctx, in interface{}, opts ...interface{}) *gomock.Call

SetCircleDefault indicates an expected call of SetCircleDefault.

func (*MockAdminAPIClientMockRecorder) UpdatePost

func (mr *MockAdminAPIClientMockRecorder) UpdatePost(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdatePost indicates an expected call of UpdatePost.

func (*MockAdminAPIClientMockRecorder) ViewPostByUser

func (mr *MockAdminAPIClientMockRecorder) ViewPostByUser(ctx, in interface{}, opts ...interface{}) *gomock.Call

ViewPostByUser indicates an expected call of ViewPostByUser.

type MockAdminAPIServer

type MockAdminAPIServer struct {
	// contains filtered or unexported fields
}

MockAdminAPIServer is a mock of AdminAPIServer interface.

func NewMockAdminAPIServer

func NewMockAdminAPIServer(ctrl *gomock.Controller) *MockAdminAPIServer

NewMockAdminAPIServer creates a new mock instance.

func (*MockAdminAPIServer) AddCircle

func (m *MockAdminAPIServer) AddCircle(arg0 context.Context, arg1 *v1.Circle) (*v1.ResultResponse, error)

AddCircle mocks base method.

func (*MockAdminAPIServer) AddUserToCircle

func (m *MockAdminAPIServer) AddUserToCircle(arg0 context.Context, arg1 *v1.AddUserToCircleRequest) (*v1.ResultResponse, error)

AddUserToCircle mocks base method.

func (*MockAdminAPIServer) DeleteCircle

DeleteCircle mocks base method.

func (*MockAdminAPIServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAdminAPIServer) GeneratePost

GeneratePost mocks base method.

func (*MockAdminAPIServer) ImportPostsAuthors

func (m *MockAdminAPIServer) ImportPostsAuthors(arg0 context.Context, arg1 *v1.UseEmpty) (*v1.UseEmpty, error)

ImportPostsAuthors mocks base method.

func (*MockAdminAPIServer) JoinCircle

JoinCircle mocks base method.

func (*MockAdminAPIServer) LeaveCircle

LeaveCircle mocks base method.

func (*MockAdminAPIServer) LikePostByUser

func (m *MockAdminAPIServer) LikePostByUser(arg0 context.Context, arg1 *v1.LikePostByUserRequest) (*v1.ResultResponse, error)

LikePostByUser mocks base method.

func (*MockAdminAPIServer) ListCircles

func (m *MockAdminAPIServer) ListCircles(arg0 context.Context, arg1 *v1.UseEmpty) (*v1.ListCirclesResponse, error)

ListCircles mocks base method.

func (*MockAdminAPIServer) ResetFeeds

func (m *MockAdminAPIServer) ResetFeeds(arg0 context.Context, arg1 *v1.UseEmpty) (*v1.ResultResponse, error)

ResetFeeds mocks base method.

func (*MockAdminAPIServer) SetAuthorBoost

func (m *MockAdminAPIServer) SetAuthorBoost(arg0 context.Context, arg1 *v1.SetAuthorBoostRequest) (*v1.UseEmpty, error)

SetAuthorBoost mocks base method.

func (*MockAdminAPIServer) SetCircleBoost

func (m *MockAdminAPIServer) SetCircleBoost(arg0 context.Context, arg1 *v1.SetCircleBoostRequest) (*v1.UseEmpty, error)

SetCircleBoost mocks base method.

func (*MockAdminAPIServer) SetCircleDefault

func (m *MockAdminAPIServer) SetCircleDefault(arg0 context.Context, arg1 *v1.SetCircleDefaultRequest) (*v1.UseEmpty, error)

SetCircleDefault mocks base method.

func (*MockAdminAPIServer) UpdatePost

UpdatePost mocks base method.

func (*MockAdminAPIServer) ViewPostByUser

func (m *MockAdminAPIServer) ViewPostByUser(arg0 context.Context, arg1 *v1.ViewPostByUserRequest) (*v1.ResultResponse, error)

ViewPostByUser mocks base method.

type MockAdminAPIServerMockRecorder

type MockAdminAPIServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockAdminAPIServerMockRecorder is the mock recorder for MockAdminAPIServer.

func (*MockAdminAPIServerMockRecorder) AddCircle

func (mr *MockAdminAPIServerMockRecorder) AddCircle(arg0, arg1 interface{}) *gomock.Call

AddCircle indicates an expected call of AddCircle.

func (*MockAdminAPIServerMockRecorder) AddUserToCircle

func (mr *MockAdminAPIServerMockRecorder) AddUserToCircle(arg0, arg1 interface{}) *gomock.Call

AddUserToCircle indicates an expected call of AddUserToCircle.

func (*MockAdminAPIServerMockRecorder) DeleteCircle

func (mr *MockAdminAPIServerMockRecorder) DeleteCircle(arg0, arg1 interface{}) *gomock.Call

DeleteCircle indicates an expected call of DeleteCircle.

func (*MockAdminAPIServerMockRecorder) GeneratePost

func (mr *MockAdminAPIServerMockRecorder) GeneratePost(arg0, arg1 interface{}) *gomock.Call

GeneratePost indicates an expected call of GeneratePost.

func (*MockAdminAPIServerMockRecorder) ImportPostsAuthors

func (mr *MockAdminAPIServerMockRecorder) ImportPostsAuthors(arg0, arg1 interface{}) *gomock.Call

ImportPostsAuthors indicates an expected call of ImportPostsAuthors.

func (*MockAdminAPIServerMockRecorder) JoinCircle

func (mr *MockAdminAPIServerMockRecorder) JoinCircle(arg0, arg1 interface{}) *gomock.Call

JoinCircle indicates an expected call of JoinCircle.

func (*MockAdminAPIServerMockRecorder) LeaveCircle

func (mr *MockAdminAPIServerMockRecorder) LeaveCircle(arg0, arg1 interface{}) *gomock.Call

LeaveCircle indicates an expected call of LeaveCircle.

func (*MockAdminAPIServerMockRecorder) LikePostByUser

func (mr *MockAdminAPIServerMockRecorder) LikePostByUser(arg0, arg1 interface{}) *gomock.Call

LikePostByUser indicates an expected call of LikePostByUser.

func (*MockAdminAPIServerMockRecorder) ListCircles

func (mr *MockAdminAPIServerMockRecorder) ListCircles(arg0, arg1 interface{}) *gomock.Call

ListCircles indicates an expected call of ListCircles.

func (*MockAdminAPIServerMockRecorder) ResetFeeds

func (mr *MockAdminAPIServerMockRecorder) ResetFeeds(arg0, arg1 interface{}) *gomock.Call

ResetFeeds indicates an expected call of ResetFeeds.

func (*MockAdminAPIServerMockRecorder) SetAuthorBoost

func (mr *MockAdminAPIServerMockRecorder) SetAuthorBoost(arg0, arg1 interface{}) *gomock.Call

SetAuthorBoost indicates an expected call of SetAuthorBoost.

func (*MockAdminAPIServerMockRecorder) SetCircleBoost

func (mr *MockAdminAPIServerMockRecorder) SetCircleBoost(arg0, arg1 interface{}) *gomock.Call

SetCircleBoost indicates an expected call of SetCircleBoost.

func (*MockAdminAPIServerMockRecorder) SetCircleDefault

func (mr *MockAdminAPIServerMockRecorder) SetCircleDefault(arg0, arg1 interface{}) *gomock.Call

SetCircleDefault indicates an expected call of SetCircleDefault.

func (*MockAdminAPIServerMockRecorder) UpdatePost

func (mr *MockAdminAPIServerMockRecorder) UpdatePost(arg0, arg1 interface{}) *gomock.Call

UpdatePost indicates an expected call of UpdatePost.

func (*MockAdminAPIServerMockRecorder) ViewPostByUser

func (mr *MockAdminAPIServerMockRecorder) ViewPostByUser(arg0, arg1 interface{}) *gomock.Call

ViewPostByUser indicates an expected call of ViewPostByUser.

type MockUnsafeAdminAPIServer

type MockUnsafeAdminAPIServer struct {
	// contains filtered or unexported fields
}

MockUnsafeAdminAPIServer is a mock of UnsafeAdminAPIServer interface.

func NewMockUnsafeAdminAPIServer

func NewMockUnsafeAdminAPIServer(ctrl *gomock.Controller) *MockUnsafeAdminAPIServer

NewMockUnsafeAdminAPIServer creates a new mock instance.

func (*MockUnsafeAdminAPIServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockUnsafeAdminAPIServerMockRecorder

type MockUnsafeAdminAPIServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockUnsafeAdminAPIServerMockRecorder is the mock recorder for MockUnsafeAdminAPIServer.

Jump to

Keyboard shortcuts

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