Documentation ¶
Overview ¶
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Index ¶
- type MockAutoPiAPIService
- type MockAutoPiAPIServiceMockRecorder
- type MockDeviceAPIService
- func (m *MockDeviceAPIService) EXPECT() *MockDeviceAPIServiceMockRecorder
- func (m *MockDeviceAPIService) GetUserDevice(ctx context.Context, userDeviceID string) (*grpc.UserDevice, error)
- func (m *MockDeviceAPIService) GetUserDeviceByTokenID(ctx context.Context, tokenID int64) (*grpc.UserDevice, error)
- func (m *MockDeviceAPIService) ListUserDevicesForUser(ctx context.Context, userID string) (*grpc.ListUserDevicesForUserResponse, error)
- func (m *MockDeviceAPIService) UpdateStatus(ctx context.Context, userDeviceID, integrationID, status string) (*grpc.UserDevice, 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) GetUserDeviceByTokenID(ctx, tokenID interface{}) *gomock.Call
- func (mr *MockDeviceAPIServiceMockRecorder) ListUserDevicesForUser(ctx, userID interface{}) *gomock.Call
- func (mr *MockDeviceAPIServiceMockRecorder) UpdateStatus(ctx, userDeviceID, integrationID, status interface{}) *gomock.Call
- func (mr *MockDeviceAPIServiceMockRecorder) UserDeviceBelongsToUserID(ctx, userID, userDeviceID interface{}) *gomock.Call
- type MockDeviceDefinitionsAPIService
- func (m *MockDeviceDefinitionsAPIService) EXPECT() *MockDeviceDefinitionsAPIServiceMockRecorder
- func (m *MockDeviceDefinitionsAPIService) GetDeviceDefinitionByID(ctx context.Context, id string) (*grpc.GetDeviceDefinitionItemResponse, error)
- func (m *MockDeviceDefinitionsAPIService) GetDeviceDefinitionsByIDs(ctx context.Context, ids []string) ([]*grpc.GetDeviceDefinitionItemResponse, error)
- func (m *MockDeviceDefinitionsAPIService) GetIntegrations(ctx context.Context) ([]*grpc.Integration, error)
- type MockDeviceDefinitionsAPIServiceMockRecorder
- func (mr *MockDeviceDefinitionsAPIServiceMockRecorder) GetDeviceDefinitionByID(ctx, id interface{}) *gomock.Call
- func (mr *MockDeviceDefinitionsAPIServiceMockRecorder) GetDeviceDefinitionsByIDs(ctx, ids interface{}) *gomock.Call
- func (mr *MockDeviceDefinitionsAPIServiceMockRecorder) GetIntegrations(ctx interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAutoPiAPIService ¶ added in v0.4.0
type MockAutoPiAPIService struct {
// contains filtered or unexported fields
}
MockAutoPiAPIService is a mock of AutoPiAPIService interface.
func NewMockAutoPiAPIService ¶ added in v0.4.0
func NewMockAutoPiAPIService(ctrl *gomock.Controller) *MockAutoPiAPIService
NewMockAutoPiAPIService creates a new mock instance.
func (*MockAutoPiAPIService) EXPECT ¶ added in v0.4.0
func (m *MockAutoPiAPIService) EXPECT() *MockAutoPiAPIServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAutoPiAPIService) UpdateState ¶ added in v0.4.0
func (m *MockAutoPiAPIService) UpdateState(deviceID, state string) error
UpdateState mocks base method.
type MockAutoPiAPIServiceMockRecorder ¶ added in v0.4.0
type MockAutoPiAPIServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAutoPiAPIServiceMockRecorder is the mock recorder for MockAutoPiAPIService.
func (*MockAutoPiAPIServiceMockRecorder) UpdateState ¶ added in v0.4.0
func (mr *MockAutoPiAPIServiceMockRecorder) UpdateState(deviceID, state interface{}) *gomock.Call
UpdateState indicates an expected call of UpdateState.
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) (*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) UpdateStatus ¶ added in v0.4.0
func (m *MockDeviceAPIService) UpdateStatus(ctx context.Context, userDeviceID, integrationID, status string) (*grpc.UserDevice, error)
UpdateStatus 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) UpdateStatus ¶ added in v0.4.0
func (mr *MockDeviceAPIServiceMockRecorder) UpdateStatus(ctx, userDeviceID, integrationID, status interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
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
func (m *MockDeviceDefinitionsAPIService) EXPECT() *MockDeviceDefinitionsAPIServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeviceDefinitionsAPIService) GetDeviceDefinitionByID ¶ added in v0.4.1
func (m *MockDeviceDefinitionsAPIService) GetDeviceDefinitionByID(ctx context.Context, id string) (*grpc.GetDeviceDefinitionItemResponse, error)
GetDeviceDefinitionByID mocks base method.
func (*MockDeviceDefinitionsAPIService) GetDeviceDefinitionsByIDs ¶ added in v0.4.0
func (m *MockDeviceDefinitionsAPIService) GetDeviceDefinitionsByIDs(ctx context.Context, ids []string) ([]*grpc.GetDeviceDefinitionItemResponse, error)
GetDeviceDefinitionsByIDs mocks base method.
func (*MockDeviceDefinitionsAPIService) GetIntegrations ¶ added in v0.4.0
func (m *MockDeviceDefinitionsAPIService) GetIntegrations(ctx context.Context) ([]*grpc.Integration, error)
GetIntegrations 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) GetDeviceDefinitionByID ¶ added in v0.4.1
func (mr *MockDeviceDefinitionsAPIServiceMockRecorder) GetDeviceDefinitionByID(ctx, id interface{}) *gomock.Call
GetDeviceDefinitionByID indicates an expected call of GetDeviceDefinitionByID.
func (*MockDeviceDefinitionsAPIServiceMockRecorder) GetDeviceDefinitionsByIDs ¶ added in v0.4.0
func (mr *MockDeviceDefinitionsAPIServiceMockRecorder) GetDeviceDefinitionsByIDs(ctx, ids interface{}) *gomock.Call
GetDeviceDefinitionsByIDs indicates an expected call of GetDeviceDefinitionsByIDs.
func (*MockDeviceDefinitionsAPIServiceMockRecorder) GetIntegrations ¶ added in v0.4.0
func (mr *MockDeviceDefinitionsAPIServiceMockRecorder) GetIntegrations(ctx interface{}) *gomock.Call
GetIntegrations indicates an expected call of GetIntegrations.