mock_grpc

package
v0.0.0-...-095c751 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_grpc is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthClient

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

MockAuthClient is a mock of AuthClient interface.

func NewMockAuthClient

func NewMockAuthClient(ctrl *gomock.Controller) *MockAuthClient

NewMockAuthClient creates a new mock instance.

func (*MockAuthClient) EXPECT

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

func (*MockAuthClient) EditEmail

func (m *MockAuthClient) EditEmail(ctx context.Context, in *grpc.EditEmailRequest, opts ...grpc0.CallOption) (*grpc.User, error)

EditEmail mocks base method.

func (*MockAuthClient) GetCurrentUser

func (m *MockAuthClient) GetCurrentUser(ctx context.Context, in *grpc.SessionData, opts ...grpc0.CallOption) (*grpc.AuthUser, error)

GetCurrentUser mocks base method.

func (*MockAuthClient) Login

Login mocks base method.

func (*MockAuthClient) Logout

func (m *MockAuthClient) Logout(ctx context.Context, in *grpc.SessionData, opts ...grpc0.CallOption) (*emptypb.Empty, error)

Logout mocks base method.

func (*MockAuthClient) Signup

Signup mocks base method.

type MockAuthClientMockRecorder

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

MockAuthClientMockRecorder is the mock recorder for MockAuthClient.

func (*MockAuthClientMockRecorder) EditEmail

func (mr *MockAuthClientMockRecorder) EditEmail(ctx, in interface{}, opts ...interface{}) *gomock.Call

EditEmail indicates an expected call of EditEmail.

func (*MockAuthClientMockRecorder) GetCurrentUser

func (mr *MockAuthClientMockRecorder) GetCurrentUser(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetCurrentUser indicates an expected call of GetCurrentUser.

func (*MockAuthClientMockRecorder) Login

func (mr *MockAuthClientMockRecorder) Login(ctx, in interface{}, opts ...interface{}) *gomock.Call

Login indicates an expected call of Login.

func (*MockAuthClientMockRecorder) Logout

func (mr *MockAuthClientMockRecorder) Logout(ctx, in interface{}, opts ...interface{}) *gomock.Call

Logout indicates an expected call of Logout.

func (*MockAuthClientMockRecorder) Signup

func (mr *MockAuthClientMockRecorder) Signup(ctx, in interface{}, opts ...interface{}) *gomock.Call

Signup indicates an expected call of Signup.

type MockAuthServer

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

MockAuthServer is a mock of AuthServer interface.

func NewMockAuthServer

func NewMockAuthServer(ctrl *gomock.Controller) *MockAuthServer

NewMockAuthServer creates a new mock instance.

func (*MockAuthServer) EXPECT

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

func (*MockAuthServer) EditEmail

func (m *MockAuthServer) EditEmail(arg0 context.Context, arg1 *grpc.EditEmailRequest) (*grpc.User, error)

EditEmail mocks base method.

func (*MockAuthServer) GetCurrentUser

func (m *MockAuthServer) GetCurrentUser(arg0 context.Context, arg1 *grpc.SessionData) (*grpc.AuthUser, error)

GetCurrentUser mocks base method.

func (*MockAuthServer) Login

Login mocks base method.

func (*MockAuthServer) Logout

func (m *MockAuthServer) Logout(arg0 context.Context, arg1 *grpc.SessionData) (*emptypb.Empty, error)

Logout mocks base method.

func (*MockAuthServer) Signup

func (m *MockAuthServer) Signup(arg0 context.Context, arg1 *grpc.NewUserData) (*grpc.LoggedUser, error)

Signup mocks base method.

type MockAuthServerMockRecorder

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

MockAuthServerMockRecorder is the mock recorder for MockAuthServer.

func (*MockAuthServerMockRecorder) EditEmail

func (mr *MockAuthServerMockRecorder) EditEmail(arg0, arg1 interface{}) *gomock.Call

EditEmail indicates an expected call of EditEmail.

func (*MockAuthServerMockRecorder) GetCurrentUser

func (mr *MockAuthServerMockRecorder) GetCurrentUser(arg0, arg1 interface{}) *gomock.Call

GetCurrentUser indicates an expected call of GetCurrentUser.

func (*MockAuthServerMockRecorder) Login

func (mr *MockAuthServerMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call

Login indicates an expected call of Login.

func (*MockAuthServerMockRecorder) Logout

func (mr *MockAuthServerMockRecorder) Logout(arg0, arg1 interface{}) *gomock.Call

Logout indicates an expected call of Logout.

func (*MockAuthServerMockRecorder) Signup

func (mr *MockAuthServerMockRecorder) Signup(arg0, arg1 interface{}) *gomock.Call

Signup indicates an expected call of Signup.

type MockUnsafeAuthServer

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

MockUnsafeAuthServer is a mock of UnsafeAuthServer interface.

func NewMockUnsafeAuthServer

func NewMockUnsafeAuthServer(ctrl *gomock.Controller) *MockUnsafeAuthServer

NewMockUnsafeAuthServer creates a new mock instance.

func (*MockUnsafeAuthServer) EXPECT

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

type MockUnsafeAuthServerMockRecorder

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

MockUnsafeAuthServerMockRecorder is the mock recorder for MockUnsafeAuthServer.

Jump to

Keyboard shortcuts

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