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: 5 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 MockProfileClient

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

MockProfileClient is a mock of ProfileClient interface.

func NewMockProfileClient

func NewMockProfileClient(ctrl *gomock.Controller) *MockProfileClient

NewMockProfileClient creates a new mock instance.

func (*MockProfileClient) AppendSubByIDs

AppendSubByIDs mocks base method.

func (*MockProfileClient) CreateProfile

func (m *MockProfileClient) CreateProfile(ctx context.Context, in *grpc.ProfileIDRequest, opts ...grpc0.CallOption) (*grpc.ProfileData, error)

CreateProfile mocks base method.

func (*MockProfileClient) EXPECT

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

func (*MockProfileClient) EditProfile

EditProfile mocks base method.

func (*MockProfileClient) GetProfile

GetProfile mocks base method.

func (*MockProfileClient) SetProfileCity

func (m *MockProfileClient) SetProfileCity(ctx context.Context, in *grpc.SetCityRequest, opts ...grpc0.CallOption) (*grpc.ProfileData, error)

SetProfileCity mocks base method.

func (*MockProfileClient) SetProfilePhone

func (m *MockProfileClient) SetProfilePhone(ctx context.Context, in *grpc.SetPhoneRequest, opts ...grpc0.CallOption) (*grpc.ProfileData, error)

SetProfilePhone mocks base method.

type MockProfileClientMockRecorder

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

MockProfileClientMockRecorder is the mock recorder for MockProfileClient.

func (*MockProfileClientMockRecorder) AppendSubByIDs

func (mr *MockProfileClientMockRecorder) AppendSubByIDs(ctx, in interface{}, opts ...interface{}) *gomock.Call

AppendSubByIDs indicates an expected call of AppendSubByIDs.

func (*MockProfileClientMockRecorder) CreateProfile

func (mr *MockProfileClientMockRecorder) CreateProfile(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateProfile indicates an expected call of CreateProfile.

func (*MockProfileClientMockRecorder) EditProfile

func (mr *MockProfileClientMockRecorder) EditProfile(ctx, in interface{}, opts ...interface{}) *gomock.Call

EditProfile indicates an expected call of EditProfile.

func (*MockProfileClientMockRecorder) GetProfile

func (mr *MockProfileClientMockRecorder) GetProfile(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetProfile indicates an expected call of GetProfile.

func (*MockProfileClientMockRecorder) SetProfileCity

func (mr *MockProfileClientMockRecorder) SetProfileCity(ctx, in interface{}, opts ...interface{}) *gomock.Call

SetProfileCity indicates an expected call of SetProfileCity.

func (*MockProfileClientMockRecorder) SetProfilePhone

func (mr *MockProfileClientMockRecorder) SetProfilePhone(ctx, in interface{}, opts ...interface{}) *gomock.Call

SetProfilePhone indicates an expected call of SetProfilePhone.

type MockProfileServer

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

MockProfileServer is a mock of ProfileServer interface.

func NewMockProfileServer

func NewMockProfileServer(ctrl *gomock.Controller) *MockProfileServer

NewMockProfileServer creates a new mock instance.

func (*MockProfileServer) AppendSubByIDs

AppendSubByIDs mocks base method.

func (*MockProfileServer) CreateProfile

func (m *MockProfileServer) CreateProfile(arg0 context.Context, arg1 *grpc.ProfileIDRequest) (*grpc.ProfileData, error)

CreateProfile mocks base method.

func (*MockProfileServer) EXPECT

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

func (*MockProfileServer) EditProfile

EditProfile mocks base method.

func (*MockProfileServer) GetProfile

GetProfile mocks base method.

func (*MockProfileServer) SetProfileCity

func (m *MockProfileServer) SetProfileCity(arg0 context.Context, arg1 *grpc.SetCityRequest) (*grpc.ProfileData, error)

SetProfileCity mocks base method.

func (*MockProfileServer) SetProfilePhone

func (m *MockProfileServer) SetProfilePhone(arg0 context.Context, arg1 *grpc.SetPhoneRequest) (*grpc.ProfileData, error)

SetProfilePhone mocks base method.

type MockProfileServerMockRecorder

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

MockProfileServerMockRecorder is the mock recorder for MockProfileServer.

func (*MockProfileServerMockRecorder) AppendSubByIDs

func (mr *MockProfileServerMockRecorder) AppendSubByIDs(arg0, arg1 interface{}) *gomock.Call

AppendSubByIDs indicates an expected call of AppendSubByIDs.

func (*MockProfileServerMockRecorder) CreateProfile

func (mr *MockProfileServerMockRecorder) CreateProfile(arg0, arg1 interface{}) *gomock.Call

CreateProfile indicates an expected call of CreateProfile.

func (*MockProfileServerMockRecorder) EditProfile

func (mr *MockProfileServerMockRecorder) EditProfile(arg0, arg1 interface{}) *gomock.Call

EditProfile indicates an expected call of EditProfile.

func (*MockProfileServerMockRecorder) GetProfile

func (mr *MockProfileServerMockRecorder) GetProfile(arg0, arg1 interface{}) *gomock.Call

GetProfile indicates an expected call of GetProfile.

func (*MockProfileServerMockRecorder) SetProfileCity

func (mr *MockProfileServerMockRecorder) SetProfileCity(arg0, arg1 interface{}) *gomock.Call

SetProfileCity indicates an expected call of SetProfileCity.

func (*MockProfileServerMockRecorder) SetProfilePhone

func (mr *MockProfileServerMockRecorder) SetProfilePhone(arg0, arg1 interface{}) *gomock.Call

SetProfilePhone indicates an expected call of SetProfilePhone.

type MockUnsafeProfileServer

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

MockUnsafeProfileServer is a mock of UnsafeProfileServer interface.

func NewMockUnsafeProfileServer

func NewMockUnsafeProfileServer(ctrl *gomock.Controller) *MockUnsafeProfileServer

NewMockUnsafeProfileServer creates a new mock instance.

func (*MockUnsafeProfileServer) EXPECT

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

type MockUnsafeProfileServerMockRecorder

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

MockUnsafeProfileServerMockRecorder is the mock recorder for MockUnsafeProfileServer.

Jump to

Keyboard shortcuts

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