// Code generated by MockGen. DO NOT EDIT. // Source: /Users/talksik/Documents/code/llink/go/genproto/aero/main_grpc.pb.go // // Generated by this command: // // mockgen -source=/Users/talksik/Documents/code/llink/go/genproto/aero/main_grpc.pb.go -destination=/Users/talksik/Documents/code/llink/go/internal/waitlist/mocks/mock_aero.go -package=mocks // // Package mocks is a generated GoMock package. package mocks import ( context "context" reflect "reflect" pbaero "github.com/flowy-live/llink/genproto/aero" gomock "go.uber.org/mock/gomock" grpc "google.golang.org/grpc" ) // MockPrimaryClient is a mock of PrimaryClient interface. type MockPrimaryClient struct { ctrl *gomock.Controller recorder *MockPrimaryClientMockRecorder isgomock struct{} } // MockPrimaryClientMockRecorder is the mock recorder for MockPrimaryClient. type MockPrimaryClientMockRecorder struct { mock *MockPrimaryClient } // NewMockPrimaryClient creates a new mock instance. func NewMockPrimaryClient(ctrl *gomock.Controller) *MockPrimaryClient { mock := &MockPrimaryClient{ctrl: ctrl} mock.recorder = &MockPrimaryClientMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockPrimaryClient) EXPECT() *MockPrimaryClientMockRecorder { return m.recorder } // ShootEmail mocks base method. func (m *MockPrimaryClient) ShootEmail(ctx context.Context, in *pbaero.ShootEmailRequest, opts ...grpc.CallOption) (*pbaero.ShootEmailResponse, error) { m.ctrl.T.Helper() varargs := []any{ctx, in} for _, a := range opts { varargs = append(varargs, a) } ret := m.ctrl.Call(m, "ShootEmail", varargs...) ret0, _ := ret[0].(*pbaero.ShootEmailResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // ShootEmail indicates an expected call of ShootEmail. func (mr *MockPrimaryClientMockRecorder) ShootEmail(ctx, in any, opts ...any) *gomock.Call { mr.mock.ctrl.T.Helper() varargs := append([]any{ctx, in}, opts...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShootEmail", reflect.TypeOf((*MockPrimaryClient)(nil).ShootEmail), varargs...) } // MockPrimaryServer is a mock of PrimaryServer interface. type MockPrimaryServer struct { ctrl *gomock.Controller recorder *MockPrimaryServerMockRecorder isgomock struct{} } // MockPrimaryServerMockRecorder is the mock recorder for MockPrimaryServer. type MockPrimaryServerMockRecorder struct { mock *MockPrimaryServer } // NewMockPrimaryServer creates a new mock instance. func NewMockPrimaryServer(ctrl *gomock.Controller) *MockPrimaryServer { mock := &MockPrimaryServer{ctrl: ctrl} mock.recorder = &MockPrimaryServerMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockPrimaryServer) EXPECT() *MockPrimaryServerMockRecorder { return m.recorder } // ShootEmail mocks base method. func (m *MockPrimaryServer) ShootEmail(arg0 context.Context, arg1 *pbaero.ShootEmailRequest) (*pbaero.ShootEmailResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ShootEmail", arg0, arg1) ret0, _ := ret[0].(*pbaero.ShootEmailResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // ShootEmail indicates an expected call of ShootEmail. func (mr *MockPrimaryServerMockRecorder) ShootEmail(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShootEmail", reflect.TypeOf((*MockPrimaryServer)(nil).ShootEmail), arg0, arg1) } // mustEmbedUnimplementedPrimaryServer mocks base method. func (m *MockPrimaryServer) mustEmbedUnimplementedPrimaryServer() { m.ctrl.T.Helper() m.ctrl.Call(m, "mustEmbedUnimplementedPrimaryServer") } // mustEmbedUnimplementedPrimaryServer indicates an expected call of mustEmbedUnimplementedPrimaryServer. func (mr *MockPrimaryServerMockRecorder) mustEmbedUnimplementedPrimaryServer() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "mustEmbedUnimplementedPrimaryServer", reflect.TypeOf((*MockPrimaryServer)(nil).mustEmbedUnimplementedPrimaryServer)) } // MockUnsafePrimaryServer is a mock of UnsafePrimaryServer interface. type MockUnsafePrimaryServer struct { ctrl *gomock.Controller recorder *MockUnsafePrimaryServerMockRecorder isgomock struct{} } // MockUnsafePrimaryServerMockRecorder is the mock recorder for MockUnsafePrimaryServer. type MockUnsafePrimaryServerMockRecorder struct { mock *MockUnsafePrimaryServer } // NewMockUnsafePrimaryServer creates a new mock instance. func NewMockUnsafePrimaryServer(ctrl *gomock.Controller) *MockUnsafePrimaryServer { mock := &MockUnsafePrimaryServer{ctrl: ctrl} mock.recorder = &MockUnsafePrimaryServerMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockUnsafePrimaryServer) EXPECT() *MockUnsafePrimaryServerMockRecorder { return m.recorder } // mustEmbedUnimplementedPrimaryServer mocks base method. func (m *MockUnsafePrimaryServer) mustEmbedUnimplementedPrimaryServer() { m.ctrl.T.Helper() m.ctrl.Call(m, "mustEmbedUnimplementedPrimaryServer") } // mustEmbedUnimplementedPrimaryServer indicates an expected call of mustEmbedUnimplementedPrimaryServer. func (mr *MockUnsafePrimaryServerMockRecorder) mustEmbedUnimplementedPrimaryServer() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "mustEmbedUnimplementedPrimaryServer", reflect.TypeOf((*MockUnsafePrimaryServer)(nil).mustEmbedUnimplementedPrimaryServer)) }