Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeLocketClient
- func (fake *FakeLocketClient) Fetch(arg1 context.Context, arg2 *models.FetchRequest, arg3 ...grpc.CallOption) (*models.FetchResponse, error)
- func (fake *FakeLocketClient) FetchAll(arg1 context.Context, arg2 *models.FetchAllRequest, arg3 ...grpc.CallOption) (*models.FetchAllResponse, error)
- func (fake *FakeLocketClient) FetchAllArgsForCall(i int) (context.Context, *models.FetchAllRequest, []grpc.CallOption)
- func (fake *FakeLocketClient) FetchAllCallCount() int
- func (fake *FakeLocketClient) FetchAllCalls(...)
- func (fake *FakeLocketClient) FetchAllReturns(result1 *models.FetchAllResponse, result2 error)
- func (fake *FakeLocketClient) FetchAllReturnsOnCall(i int, result1 *models.FetchAllResponse, result2 error)
- func (fake *FakeLocketClient) FetchArgsForCall(i int) (context.Context, *models.FetchRequest, []grpc.CallOption)
- func (fake *FakeLocketClient) FetchCallCount() int
- func (fake *FakeLocketClient) FetchCalls(...)
- func (fake *FakeLocketClient) FetchReturns(result1 *models.FetchResponse, result2 error)
- func (fake *FakeLocketClient) FetchReturnsOnCall(i int, result1 *models.FetchResponse, result2 error)
- func (fake *FakeLocketClient) Invocations() map[string][][]interface{}
- func (fake *FakeLocketClient) Lock(arg1 context.Context, arg2 *models.LockRequest, arg3 ...grpc.CallOption) (*models.LockResponse, error)
- func (fake *FakeLocketClient) LockArgsForCall(i int) (context.Context, *models.LockRequest, []grpc.CallOption)
- func (fake *FakeLocketClient) LockCallCount() int
- func (fake *FakeLocketClient) LockCalls(...)
- func (fake *FakeLocketClient) LockReturns(result1 *models.LockResponse, result2 error)
- func (fake *FakeLocketClient) LockReturnsOnCall(i int, result1 *models.LockResponse, result2 error)
- func (fake *FakeLocketClient) Release(arg1 context.Context, arg2 *models.ReleaseRequest, arg3 ...grpc.CallOption) (*models.ReleaseResponse, error)
- func (fake *FakeLocketClient) ReleaseArgsForCall(i int) (context.Context, *models.ReleaseRequest, []grpc.CallOption)
- func (fake *FakeLocketClient) ReleaseCallCount() int
- func (fake *FakeLocketClient) ReleaseCalls(...)
- func (fake *FakeLocketClient) ReleaseReturns(result1 *models.ReleaseResponse, result2 error)
- func (fake *FakeLocketClient) ReleaseReturnsOnCall(i int, result1 *models.ReleaseResponse, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeLocketClient ¶
type FakeLocketClient struct {
FetchStub func(context.Context, *models.FetchRequest, ...grpc.CallOption) (*models.FetchResponse, error)
FetchAllStub func(context.Context, *models.FetchAllRequest, ...grpc.CallOption) (*models.FetchAllResponse, error)
LockStub func(context.Context, *models.LockRequest, ...grpc.CallOption) (*models.LockResponse, error)
ReleaseStub func(context.Context, *models.ReleaseRequest, ...grpc.CallOption) (*models.ReleaseResponse, error)
// contains filtered or unexported fields
}
func (*FakeLocketClient) Fetch ¶
func (fake *FakeLocketClient) Fetch(arg1