Documentation
¶
Overview ¶
Package test is a generated GoMock package.
Index ¶
- func GetConfig() config.Config
- type MockDeviceServiceClient
- func (m *MockDeviceServiceClient) Activate(arg0 context.Context, arg1 *api.ActivateDeviceRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockDeviceServiceClient) Create(arg0 context.Context, arg1 *api.CreateDeviceRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockDeviceServiceClient) CreateKeys(arg0 context.Context, arg1 *api.CreateDeviceKeysRequest, ...) (*emptypb.Empty, error)
- func (m *MockDeviceServiceClient) Deactivate(arg0 context.Context, arg1 *api.DeactivateDeviceRequest, ...) (*emptypb.Empty, error)
- func (m *MockDeviceServiceClient) Delete(arg0 context.Context, arg1 *api.DeleteDeviceRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockDeviceServiceClient) DeleteKeys(arg0 context.Context, arg1 *api.DeleteDeviceKeysRequest, ...) (*emptypb.Empty, error)
- func (m *MockDeviceServiceClient) EXPECT() *MockDeviceServiceClientMockRecorder
- func (m *MockDeviceServiceClient) Enqueue(arg0 context.Context, arg1 *api.EnqueueDeviceQueueItemRequest, ...) (*api.EnqueueDeviceQueueItemResponse, error)
- func (m *MockDeviceServiceClient) FlushDevNonces(arg0 context.Context, arg1 *api.FlushDevNoncesRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockDeviceServiceClient) FlushQueue(arg0 context.Context, arg1 *api.FlushDeviceQueueRequest, ...) (*emptypb.Empty, error)
- func (m *MockDeviceServiceClient) Get(arg0 context.Context, arg1 *api.GetDeviceRequest, arg2 ...grpc.CallOption) (*api.GetDeviceResponse, error)
- func (m *MockDeviceServiceClient) GetActivation(arg0 context.Context, arg1 *api.GetDeviceActivationRequest, ...) (*api.GetDeviceActivationResponse, error)
- func (m *MockDeviceServiceClient) GetKeys(arg0 context.Context, arg1 *api.GetDeviceKeysRequest, arg2 ...grpc.CallOption) (*api.GetDeviceKeysResponse, error)
- func (m *MockDeviceServiceClient) GetLinkMetrics(arg0 context.Context, arg1 *api.GetDeviceLinkMetricsRequest, ...) (*api.GetDeviceLinkMetricsResponse, error)
- func (m *MockDeviceServiceClient) GetMetrics(arg0 context.Context, arg1 *api.GetDeviceMetricsRequest, ...) (*api.GetDeviceMetricsResponse, error)
- func (m *MockDeviceServiceClient) GetQueue(arg0 context.Context, arg1 *api.GetDeviceQueueItemsRequest, ...) (*api.GetDeviceQueueItemsResponse, error)
- func (m *MockDeviceServiceClient) GetRandomDevAddr(arg0 context.Context, arg1 *api.GetRandomDevAddrRequest, ...) (*api.GetRandomDevAddrResponse, error)
- func (m *MockDeviceServiceClient) List(arg0 context.Context, arg1 *api.ListDevicesRequest, arg2 ...grpc.CallOption) (*api.ListDevicesResponse, error)
- func (m *MockDeviceServiceClient) Update(arg0 context.Context, arg1 *api.UpdateDeviceRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockDeviceServiceClient) UpdateKeys(arg0 context.Context, arg1 *api.UpdateDeviceKeysRequest, ...) (*emptypb.Empty, error)
- type MockDeviceServiceClientMockRecorder
- func (mr *MockDeviceServiceClientMockRecorder) Activate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) CreateKeys(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) Deactivate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) DeleteKeys(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) Enqueue(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) FlushDevNonces(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) FlushQueue(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) GetActivation(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) GetKeys(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) GetLinkMetrics(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) GetMetrics(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) GetQueue(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) GetRandomDevAddr(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) UpdateKeys(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockDeviceServiceClient ¶
type MockDeviceServiceClient struct {
// contains filtered or unexported fields
}
MockDeviceServiceClient is a mock of DeviceServiceClient interface
func NewMockDeviceServiceClient ¶
func NewMockDeviceServiceClient(ctrl *gomock.Controller) *MockDeviceServiceClient
NewMockDeviceServiceClient creates a new mock instance
func (*MockDeviceServiceClient) Activate ¶
func (m *MockDeviceServiceClient) Activate(arg0 context.Context, arg1 *api.ActivateDeviceRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
Activate mocks base method
func (*MockDeviceServiceClient) Create ¶
func (m *MockDeviceServiceClient) Create(arg0 context.Context, arg1 *api.CreateDeviceRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
Create mocks base method
func (*MockDeviceServiceClient) CreateKeys ¶
func (m *MockDeviceServiceClient) CreateKeys(arg0 context.Context, arg1 *api.CreateDeviceKeysRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
CreateKeys mocks base method
func (*MockDeviceServiceClient) Deactivate ¶
func (m *MockDeviceServiceClient) Deactivate(arg0 context.Context, arg1 *api.DeactivateDeviceRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
Deactivate mocks base method
func (*MockDeviceServiceClient) Delete ¶
func (m *MockDeviceServiceClient) Delete(arg0 context.Context, arg1 *api.DeleteDeviceRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
Delete mocks base method
func (*MockDeviceServiceClient) DeleteKeys ¶
func (m *MockDeviceServiceClient) DeleteKeys(arg0 context.Context, arg1 *api.DeleteDeviceKeysRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
DeleteKeys mocks base method
func (*MockDeviceServiceClient) EXPECT ¶
func (m *MockDeviceServiceClient) EXPECT() *MockDeviceServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDeviceServiceClient) Enqueue ¶
func (m *MockDeviceServiceClient) Enqueue(arg0 context.Context, arg1 *api.EnqueueDeviceQueueItemRequest, arg2 ...grpc.CallOption) (*api.EnqueueDeviceQueueItemResponse, error)
Enqueue mocks base method
func (*MockDeviceServiceClient) FlushDevNonces ¶
func (m *MockDeviceServiceClient) FlushDevNonces(arg0 context.Context, arg1 *api.FlushDevNoncesRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
FlushDevNonces mocks base method
func (*MockDeviceServiceClient) FlushQueue ¶
func (m *MockDeviceServiceClient) FlushQueue(arg0 context.Context, arg1 *api.FlushDeviceQueueRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
FlushQueue mocks base method
func (*MockDeviceServiceClient) Get ¶
func (m *MockDeviceServiceClient) Get(arg0 context.Context, arg1 *api.GetDeviceRequest, arg2 ...grpc.CallOption) (*api.GetDeviceResponse, error)
Get mocks base method
func (*MockDeviceServiceClient) GetActivation ¶
func (m *MockDeviceServiceClient) GetActivation(arg0 context.Context, arg1 *api.GetDeviceActivationRequest, arg2 ...grpc.CallOption) (*api.GetDeviceActivationResponse, error)
GetActivation mocks base method
func (*MockDeviceServiceClient) GetKeys ¶
func (m *MockDeviceServiceClient) GetKeys(arg0 context.Context, arg1 *api.GetDeviceKeysRequest, arg2 ...grpc.CallOption) (*api.GetDeviceKeysResponse, error)
GetKeys mocks base method
func (*MockDeviceServiceClient) GetLinkMetrics ¶
func (m *MockDeviceServiceClient) GetLinkMetrics(arg0 context.Context, arg1 *api.GetDeviceLinkMetricsRequest, arg2 ...grpc.CallOption) (*api.GetDeviceLinkMetricsResponse, error)
GetLinkMetrics mocks base method
func (*MockDeviceServiceClient) GetMetrics ¶
func (m *MockDeviceServiceClient) GetMetrics(arg0 context.Context, arg1 *api.GetDeviceMetricsRequest, arg2 ...grpc.CallOption) (*api.GetDeviceMetricsResponse, error)
GetMetrics mocks base method
func (*MockDeviceServiceClient) GetQueue ¶
func (m *MockDeviceServiceClient) GetQueue(arg0 context.Context, arg1 *api.GetDeviceQueueItemsRequest, arg2 ...grpc.CallOption) (*api.GetDeviceQueueItemsResponse, error)
GetQueue mocks base method
func (*MockDeviceServiceClient) GetRandomDevAddr ¶
func (m *MockDeviceServiceClient) GetRandomDevAddr(arg0 context.Context, arg1 *api.GetRandomDevAddrRequest, arg2 ...grpc.CallOption) (*api.GetRandomDevAddrResponse, error)
GetRandomDevAddr mocks base method
func (*MockDeviceServiceClient) List ¶
func (m *MockDeviceServiceClient) List(arg0 context.Context, arg1 *api.ListDevicesRequest, arg2 ...grpc.CallOption) (*api.ListDevicesResponse, error)
List mocks base method
func (*MockDeviceServiceClient) Update ¶
func (m *MockDeviceServiceClient) Update(arg0 context.Context, arg1 *api.UpdateDeviceRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
Update mocks base method
func (*MockDeviceServiceClient) UpdateKeys ¶
func (m *MockDeviceServiceClient) UpdateKeys(arg0 context.Context, arg1 *api.UpdateDeviceKeysRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
UpdateKeys mocks base method
type MockDeviceServiceClientMockRecorder ¶
type MockDeviceServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceServiceClientMockRecorder is the mock recorder for MockDeviceServiceClient
func (*MockDeviceServiceClientMockRecorder) Activate ¶
func (mr *MockDeviceServiceClientMockRecorder) Activate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Activate indicates an expected call of Activate
func (*MockDeviceServiceClientMockRecorder) Create ¶
func (mr *MockDeviceServiceClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockDeviceServiceClientMockRecorder) CreateKeys ¶
func (mr *MockDeviceServiceClientMockRecorder) CreateKeys(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateKeys indicates an expected call of CreateKeys
func (*MockDeviceServiceClientMockRecorder) Deactivate ¶
func (mr *MockDeviceServiceClientMockRecorder) Deactivate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Deactivate indicates an expected call of Deactivate
func (*MockDeviceServiceClientMockRecorder) Delete ¶
func (mr *MockDeviceServiceClientMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockDeviceServiceClientMockRecorder) DeleteKeys ¶
func (mr *MockDeviceServiceClientMockRecorder) DeleteKeys(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteKeys indicates an expected call of DeleteKeys
func (*MockDeviceServiceClientMockRecorder) Enqueue ¶
func (mr *MockDeviceServiceClientMockRecorder) Enqueue(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Enqueue indicates an expected call of Enqueue
func (*MockDeviceServiceClientMockRecorder) FlushDevNonces ¶
func (mr *MockDeviceServiceClientMockRecorder) FlushDevNonces(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
FlushDevNonces indicates an expected call of FlushDevNonces
func (*MockDeviceServiceClientMockRecorder) FlushQueue ¶
func (mr *MockDeviceServiceClientMockRecorder) FlushQueue(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
FlushQueue indicates an expected call of FlushQueue
func (*MockDeviceServiceClientMockRecorder) Get ¶
func (mr *MockDeviceServiceClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockDeviceServiceClientMockRecorder) GetActivation ¶
func (mr *MockDeviceServiceClientMockRecorder) GetActivation(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetActivation indicates an expected call of GetActivation
func (*MockDeviceServiceClientMockRecorder) GetKeys ¶
func (mr *MockDeviceServiceClientMockRecorder) GetKeys(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetKeys indicates an expected call of GetKeys
func (*MockDeviceServiceClientMockRecorder) GetLinkMetrics ¶
func (mr *MockDeviceServiceClientMockRecorder) GetLinkMetrics(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetLinkMetrics indicates an expected call of GetLinkMetrics
func (*MockDeviceServiceClientMockRecorder) GetMetrics ¶
func (mr *MockDeviceServiceClientMockRecorder) GetMetrics(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetMetrics indicates an expected call of GetMetrics
func (*MockDeviceServiceClientMockRecorder) GetQueue ¶
func (mr *MockDeviceServiceClientMockRecorder) GetQueue(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetQueue indicates an expected call of GetQueue
func (*MockDeviceServiceClientMockRecorder) GetRandomDevAddr ¶
func (mr *MockDeviceServiceClientMockRecorder) GetRandomDevAddr(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetRandomDevAddr indicates an expected call of GetRandomDevAddr
func (*MockDeviceServiceClientMockRecorder) List ¶
func (mr *MockDeviceServiceClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
List indicates an expected call of List
func (*MockDeviceServiceClientMockRecorder) Update ¶
func (mr *MockDeviceServiceClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockDeviceServiceClientMockRecorder) UpdateKeys ¶
func (mr *MockDeviceServiceClientMockRecorder) UpdateKeys(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateKeys indicates an expected call of UpdateKeys