Documentation ¶
Overview ¶
Package mock_services is a generated GoMock package.
Index ¶
- type MockDeviceAPIService
- func (m *MockDeviceAPIService) EXPECT() *MockDeviceAPIServiceMockRecorder
- func (m *MockDeviceAPIService) GetUserDevice(ctx context.Context, userDeviceID string) (*devices.UserDevice, error)
- func (m *MockDeviceAPIService) ListUserDevicesForUser(ctx context.Context, userID string) (*devices.ListUserDevicesForUserResponse, error)
- func (m *MockDeviceAPIService) UserDeviceBelongsToUserID(ctx context.Context, userID, userDeviceID string) (bool, error)
- type MockDeviceAPIServiceMockRecorder
- func (mr *MockDeviceAPIServiceMockRecorder) GetUserDevice(ctx, userDeviceID interface{}) *gomock.Call
- func (mr *MockDeviceAPIServiceMockRecorder) ListUserDevicesForUser(ctx, userID interface{}) *gomock.Call
- func (mr *MockDeviceAPIServiceMockRecorder) UserDeviceBelongsToUserId(ctx, userID, userDeviceID interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDeviceAPIService ¶
type MockDeviceAPIService struct {
// contains filtered or unexported fields
}
MockDeviceAPIService is a mock of DeviceAPIService interface.
func NewMockDeviceAPIService ¶
func NewMockDeviceAPIService(ctrl *gomock.Controller) *MockDeviceAPIService
NewMockDeviceAPIService creates a new mock instance.
func (*MockDeviceAPIService) EXPECT ¶
func (m *MockDeviceAPIService) EXPECT() *MockDeviceAPIServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeviceAPIService) GetUserDevice ¶
func (m *MockDeviceAPIService) GetUserDevice(ctx context.Context, userDeviceID string) (*devices.UserDevice, error)
GetUserDevice mocks base method.
func (*MockDeviceAPIService) ListUserDevicesForUser ¶
func (m *MockDeviceAPIService) ListUserDevicesForUser(ctx context.Context, userID string) (*devices.ListUserDevicesForUserResponse, error)
ListUserDevicesForUser mocks base method.
func (*MockDeviceAPIService) UserDeviceBelongsToUserID ¶
func (m *MockDeviceAPIService) UserDeviceBelongsToUserID(ctx context.Context, userID, userDeviceID string) (bool, error)
UserDeviceBelongsToUserId mocks base method.
type MockDeviceAPIServiceMockRecorder ¶
type MockDeviceAPIServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceAPIServiceMockRecorder is the mock recorder for MockDeviceAPIService.
func (*MockDeviceAPIServiceMockRecorder) GetUserDevice ¶
func (mr *MockDeviceAPIServiceMockRecorder) GetUserDevice(ctx, userDeviceID interface{}) *gomock.Call
GetUserDevice indicates an expected call of GetUserDevice.
func (*MockDeviceAPIServiceMockRecorder) ListUserDevicesForUser ¶
func (mr *MockDeviceAPIServiceMockRecorder) ListUserDevicesForUser(ctx, userID interface{}) *gomock.Call
ListUserDevicesForUser indicates an expected call of ListUserDevicesForUser.
func (*MockDeviceAPIServiceMockRecorder) UserDeviceBelongsToUserId ¶
func (mr *MockDeviceAPIServiceMockRecorder) UserDeviceBelongsToUserId(ctx, userID, userDeviceID interface{}) *gomock.Call
UserDeviceBelongsToUserId indicates an expected call of UserDeviceBelongsToUserId.