Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeLockDB
- func (fake *FakeLockDB) Count(arg1 context.Context, arg2 lager.Logger, arg3 string) (int, error)
- func (fake *FakeLockDB) CountArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeLockDB) CountCallCount() int
- func (fake *FakeLockDB) CountCalls(stub func(context.Context, lager.Logger, string) (int, error))
- func (fake *FakeLockDB) CountReturns(result1 int, result2 error)
- func (fake *FakeLockDB) CountReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeLockDB) Fetch(arg1 context.Context, arg2 lager.Logger, arg3 string) (*db.Lock, error)
- func (fake *FakeLockDB) FetchAll(arg1 context.Context, arg2 lager.Logger, arg3 string) ([]*db.Lock, error)
- func (fake *FakeLockDB) FetchAllArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeLockDB) FetchAllCallCount() int
- func (fake *FakeLockDB) FetchAllCalls(stub func(context.Context, lager.Logger, string) ([]*db.Lock, error))
- func (fake *FakeLockDB) FetchAllReturns(result1 []*db.Lock, result2 error)
- func (fake *FakeLockDB) FetchAllReturnsOnCall(i int, result1 []*db.Lock, result2 error)
- func (fake *FakeLockDB) FetchAndRelease(arg1 context.Context, arg2 lager.Logger, arg3 *db.Lock) (bool, error)
- func (fake *FakeLockDB) FetchAndReleaseArgsForCall(i int) (context.Context, lager.Logger, *db.Lock)
- func (fake *FakeLockDB) FetchAndReleaseCallCount() int
- func (fake *FakeLockDB) FetchAndReleaseCalls(stub func(context.Context, lager.Logger, *db.Lock) (bool, error))
- func (fake *FakeLockDB) FetchAndReleaseReturns(result1 bool, result2 error)
- func (fake *FakeLockDB) FetchAndReleaseReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeLockDB) FetchArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeLockDB) FetchCallCount() int
- func (fake *FakeLockDB) FetchCalls(stub func(context.Context, lager.Logger, string) (*db.Lock, error))
- func (fake *FakeLockDB) FetchReturns(result1 *db.Lock, result2 error)
- func (fake *FakeLockDB) FetchReturnsOnCall(i int, result1 *db.Lock, result2 error)
- func (fake *FakeLockDB) Invocations() map[string][][]interface{}
- func (fake *FakeLockDB) Lock(arg1 context.Context, arg2 lager.Logger, arg3 *models.Resource, arg4 int64) (*db.Lock, error)
- func (fake *FakeLockDB) LockArgsForCall(i int) (context.Context, lager.Logger, *models.Resource, int64)
- func (fake *FakeLockDB) LockCallCount() int
- func (fake *FakeLockDB) LockCalls(...)
- func (fake *FakeLockDB) LockReturns(result1 *db.Lock, result2 error)
- func (fake *FakeLockDB) LockReturnsOnCall(i int, result1 *db.Lock, result2 error)
- func (fake *FakeLockDB) Release(arg1 context.Context, arg2 lager.Logger, arg3 *models.Resource) error
- func (fake *FakeLockDB) ReleaseArgsForCall(i int) (context.Context, lager.Logger, *models.Resource)
- func (fake *FakeLockDB) ReleaseCallCount() int
- func (fake *FakeLockDB) ReleaseCalls(stub func(context.Context, lager.Logger, *models.Resource) error)
- func (fake *FakeLockDB) ReleaseReturns(result1 error)
- func (fake *FakeLockDB) ReleaseReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeLockDB ¶
type FakeLockDB struct { CountStub func(context.Context, lager.Logger, string) (int, error) FetchStub func(context.Context, lager.Logger, string) (*db.Lock, error) FetchAllStub func(context.Context, lager.Logger, string) ([]*db.Lock, error) FetchAndReleaseStub func(context.Context, lager.Logger, *db.Lock) (bool, error) LockStub func(context.Context, lager.Logger, *models.Resource, int64) (*db.Lock, error) ReleaseStub func(context.Context, lager.Logger, *models.Resource) error // contains filtered or unexported fields }
func (*FakeLockDB) CountArgsForCall ¶
func (fake *FakeLockDB) CountArgsForCall(i int) (context.Context, lager.Logger, string)
func (*FakeLockDB) CountCallCount ¶
func (fake *FakeLockDB) CountCallCount() int
func (*FakeLockDB) CountCalls ¶
func (*FakeLockDB) CountReturns ¶
func (fake *FakeLockDB) CountReturns(result1 int, result2 error)
func (*FakeLockDB) CountReturnsOnCall ¶
func (fake *FakeLockDB) CountReturnsOnCall(i int, result1 int, result2 error)
func (*FakeLockDB) FetchAllArgsForCall ¶
func (fake *FakeLockDB) FetchAllArgsForCall(i int) (context.Context, lager.Logger, string)
func (*FakeLockDB) FetchAllCallCount ¶
func (fake *FakeLockDB) FetchAllCallCount() int
func (*FakeLockDB) FetchAllCalls ¶
func (*FakeLockDB) FetchAllReturns ¶
func (fake *FakeLockDB) FetchAllReturns(result1 []*db.Lock, result2 error)
func (*FakeLockDB) FetchAllReturnsOnCall ¶
func (fake *FakeLockDB) FetchAllReturnsOnCall(i int, result1 []*db.Lock, result2 error)
func (*FakeLockDB) FetchAndRelease ¶
func (*FakeLockDB) FetchAndReleaseArgsForCall ¶
func (*FakeLockDB) FetchAndReleaseCallCount ¶
func (fake *FakeLockDB) FetchAndReleaseCallCount() int
func (*FakeLockDB) FetchAndReleaseCalls ¶
func (*FakeLockDB) FetchAndReleaseReturns ¶
func (fake *FakeLockDB) FetchAndReleaseReturns(result1 bool, result2 error)
func (*FakeLockDB) FetchAndReleaseReturnsOnCall ¶
func (fake *FakeLockDB) FetchAndReleaseReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeLockDB) FetchArgsForCall ¶
func (fake *FakeLockDB) FetchArgsForCall(i int) (context.Context, lager.Logger, string)
func (*FakeLockDB) FetchCallCount ¶
func (fake *FakeLockDB) FetchCallCount() int
func (*FakeLockDB) FetchCalls ¶
func (*FakeLockDB) FetchReturns ¶
func (fake *FakeLockDB) FetchReturns(result1 *db.Lock, result2 error)
func (*FakeLockDB) FetchReturnsOnCall ¶
func (fake *FakeLockDB) FetchReturnsOnCall(i int, result1 *db.Lock, result2 error)
func (*FakeLockDB) Invocations ¶
func (fake *FakeLockDB) Invocations() map[string][][]interface{}
func (*FakeLockDB) LockArgsForCall ¶
func (*FakeLockDB) LockCallCount ¶
func (fake *FakeLockDB) LockCallCount() int
func (*FakeLockDB) LockReturns ¶
func (fake *FakeLockDB) LockReturns(result1 *db.Lock, result2 error)
func (*FakeLockDB) LockReturnsOnCall ¶
func (fake *FakeLockDB) LockReturnsOnCall(i int, result1 *db.Lock, result2 error)
func (*FakeLockDB) ReleaseArgsForCall ¶
func (*FakeLockDB) ReleaseCallCount ¶
func (fake *FakeLockDB) ReleaseCallCount() int
func (*FakeLockDB) ReleaseCalls ¶
func (*FakeLockDB) ReleaseReturns ¶
func (fake *FakeLockDB) ReleaseReturns(result1 error)
func (*FakeLockDB) ReleaseReturnsOnCall ¶
func (fake *FakeLockDB) ReleaseReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.