mock_services

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_services is a generated GoMock package.

Index

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

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.

Jump to

Keyboard shortcuts

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