mock_services

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_services is a generated GoMock package.

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) (*grpc.UserDevice, error)

GetUserDevice mocks base method.

func (*MockDeviceAPIService) GetUserDeviceByTokenID added in v0.2.3

func (m *MockDeviceAPIService) GetUserDeviceByTokenID(ctx context.Context, tokenID int64) (*grpc.UserDevice, error)

GetUserDeviceByTokenID mocks base method.

func (*MockDeviceAPIService) ListUserDevicesForUser

func (m *MockDeviceAPIService) ListUserDevicesForUser(ctx context.Context, userID string) (*grpc.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) GetUserDeviceByTokenID added in v0.2.3

func (mr *MockDeviceAPIServiceMockRecorder) GetUserDeviceByTokenID(ctx, tokenID interface{}) *gomock.Call

GetUserDeviceByTokenID indicates an expected call of GetUserDeviceByTokenID.

func (*MockDeviceAPIServiceMockRecorder) ListUserDevicesForUser

func (mr *MockDeviceAPIServiceMockRecorder) ListUserDevicesForUser(ctx, userID interface{}) *gomock.Call

ListUserDevicesForUser indicates an expected call of ListUserDevicesForUser.

func (*MockDeviceAPIServiceMockRecorder) UserDeviceBelongsToUserID added in v0.2.3

func (mr *MockDeviceAPIServiceMockRecorder) UserDeviceBelongsToUserID(ctx, userID, userDeviceID interface{}) *gomock.Call

UserDeviceBelongsToUserID indicates an expected call of UserDeviceBelongsToUserID.

type MockDeviceDefinitionsAPIService added in v0.2.3

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

MockDeviceDefinitionsAPIService is a mock of DeviceDefinitionsAPIService interface.

func NewMockDeviceDefinitionsAPIService added in v0.2.3

func NewMockDeviceDefinitionsAPIService(ctrl *gomock.Controller) *MockDeviceDefinitionsAPIService

NewMockDeviceDefinitionsAPIService creates a new mock instance.

func (*MockDeviceDefinitionsAPIService) EXPECT added in v0.2.3

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

func (*MockDeviceDefinitionsAPIService) GetDeviceDefinition added in v0.2.3

GetDeviceDefinition mocks base method.

type MockDeviceDefinitionsAPIServiceMockRecorder added in v0.2.3

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

MockDeviceDefinitionsAPIServiceMockRecorder is the mock recorder for MockDeviceDefinitionsAPIService.

func (*MockDeviceDefinitionsAPIServiceMockRecorder) GetDeviceDefinition added in v0.2.3

func (mr *MockDeviceDefinitionsAPIServiceMockRecorder) GetDeviceDefinition(ctx, id interface{}) *gomock.Call

GetDeviceDefinition indicates an expected call of GetDeviceDefinition.

Jump to

Keyboard shortcuts

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