Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeMasterLock
- func (fake *FakeMasterLock) Invocations() map[string][][]interface{}
- func (fake *FakeMasterLock) Lock(info *backend.MasterInfo) error
- func (fake *FakeMasterLock) LockArgsForCall(i int) *backend.MasterInfo
- func (fake *FakeMasterLock) LockCallCount() int
- func (fake *FakeMasterLock) LockReturns(result1 error)
- func (fake *FakeMasterLock) LockReturnsOnCall(i int, result1 error)
- func (fake *FakeMasterLock) Status() (*backend.MasterInfo, error)
- func (fake *FakeMasterLock) StatusCallCount() int
- func (fake *FakeMasterLock) StatusReturns(result1 *backend.MasterInfo, result2 error)
- func (fake *FakeMasterLock) StatusReturnsOnCall(i int, result1 *backend.MasterInfo, result2 error)
- func (fake *FakeMasterLock) UnLock(masterID string) error
- func (fake *FakeMasterLock) UnLockArgsForCall(i int) string
- func (fake *FakeMasterLock) UnLockCallCount() int
- func (fake *FakeMasterLock) UnLockReturns(result1 error)
- func (fake *FakeMasterLock) UnLockReturnsOnCall(i int, result1 error)
- func (fake *FakeMasterLock) WriteHeartbeat(info *backend.MasterInfo) error
- func (fake *FakeMasterLock) WriteHeartbeatArgsForCall(i int) *backend.MasterInfo
- func (fake *FakeMasterLock) WriteHeartbeatCallCount() int
- func (fake *FakeMasterLock) WriteHeartbeatReturns(result1 error)
- func (fake *FakeMasterLock) WriteHeartbeatReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMasterLock ¶
type FakeMasterLock struct { LockStub func(info *backend.MasterInfo) error UnLockStub func(masterID string) error WriteHeartbeatStub func(info *backend.MasterInfo) error StatusStub func() (*backend.MasterInfo, error) // contains filtered or unexported fields }
func (*FakeMasterLock) Invocations ¶
func (fake *FakeMasterLock) Invocations() map[string][][]interface{}
func (*FakeMasterLock) Lock ¶
func (fake *FakeMasterLock) Lock(info *backend.MasterInfo) error
func (*FakeMasterLock) LockArgsForCall ¶
func (fake *FakeMasterLock) LockArgsForCall(i int) *backend.MasterInfo
func (*FakeMasterLock) LockCallCount ¶
func (fake *FakeMasterLock) LockCallCount() int
func (*FakeMasterLock) LockReturns ¶
func (fake *FakeMasterLock) LockReturns(result1 error)
func (*FakeMasterLock) LockReturnsOnCall ¶
func (fake *FakeMasterLock) LockReturnsOnCall(i int, result1 error)
func (*FakeMasterLock) Status ¶
func (fake *FakeMasterLock) Status() (*backend.MasterInfo, error)
func (*FakeMasterLock) StatusCallCount ¶
func (fake *FakeMasterLock) StatusCallCount() int
func (*FakeMasterLock) StatusReturns ¶
func (fake *FakeMasterLock) StatusReturns(result1 *backend.MasterInfo, result2 error)
func (*FakeMasterLock) StatusReturnsOnCall ¶
func (fake *FakeMasterLock) StatusReturnsOnCall(i int, result1 *backend.MasterInfo, result2 error)
func (*FakeMasterLock) UnLock ¶
func (fake *FakeMasterLock) UnLock(masterID string) error
func (*FakeMasterLock) UnLockArgsForCall ¶
func (fake *FakeMasterLock) UnLockArgsForCall(i int) string
func (*FakeMasterLock) UnLockCallCount ¶
func (fake *FakeMasterLock) UnLockCallCount() int
func (*FakeMasterLock) UnLockReturns ¶
func (fake *FakeMasterLock) UnLockReturns(result1 error)
func (*FakeMasterLock) UnLockReturnsOnCall ¶
func (fake *FakeMasterLock) UnLockReturnsOnCall(i int, result1 error)
func (*FakeMasterLock) WriteHeartbeat ¶
func (fake *FakeMasterLock) WriteHeartbeat(info *backend.MasterInfo) error
func (*FakeMasterLock) WriteHeartbeatArgsForCall ¶
func (fake *FakeMasterLock) WriteHeartbeatArgsForCall(i int) *backend.MasterInfo
func (*FakeMasterLock) WriteHeartbeatCallCount ¶
func (fake *FakeMasterLock) WriteHeartbeatCallCount() int
func (*FakeMasterLock) WriteHeartbeatReturns ¶
func (fake *FakeMasterLock) WriteHeartbeatReturns(result1 error)
func (*FakeMasterLock) WriteHeartbeatReturnsOnCall ¶
func (fake *FakeMasterLock) WriteHeartbeatReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.