Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClock
- func (fake *FakeClock) Invocations() map[string][][]interface{}
- func (fake *FakeClock) Now() time.Time
- func (fake *FakeClock) NowCallCount() int
- func (fake *FakeClock) NowCalls(stub func() time.Time)
- func (fake *FakeClock) NowReturns(result1 time.Time)
- func (fake *FakeClock) NowReturnsOnCall(i int, result1 time.Time)
- type FakeFlock
- func (fake *FakeFlock) Invocations() map[string][][]interface{}
- func (fake *FakeFlock) TryLockContext(arg1 context.Context, arg2 time.Duration) (bool, error)
- func (fake *FakeFlock) TryLockContextArgsForCall(i int) (context.Context, time.Duration)
- func (fake *FakeFlock) TryLockContextCallCount() int
- func (fake *FakeFlock) TryLockContextCalls(stub func(context.Context, time.Duration) (bool, error))
- func (fake *FakeFlock) TryLockContextReturns(result1 bool, result2 error)
- func (fake *FakeFlock) TryLockContextReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeFlock) TryRLockContext(arg1 context.Context, arg2 time.Duration) (bool, error)
- func (fake *FakeFlock) TryRLockContextArgsForCall(i int) (context.Context, time.Duration)
- func (fake *FakeFlock) TryRLockContextCallCount() int
- func (fake *FakeFlock) TryRLockContextCalls(stub func(context.Context, time.Duration) (bool, error))
- func (fake *FakeFlock) TryRLockContextReturns(result1 bool, result2 error)
- func (fake *FakeFlock) TryRLockContextReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeFlock) Unlock() error
- func (fake *FakeFlock) UnlockCallCount() int
- func (fake *FakeFlock) UnlockCalls(stub func() error)
- func (fake *FakeFlock) UnlockReturns(result1 error)
- func (fake *FakeFlock) UnlockReturnsOnCall(i int, result1 error)
- type FakeProvider
- func (fake *FakeProvider) Invocations() map[string][][]interface{}
- func (fake *FakeProvider) Retrieve(arg1 context.Context) (aws.Credentials, error)
- func (fake *FakeProvider) RetrieveArgsForCall(i int) context.Context
- func (fake *FakeProvider) RetrieveCallCount() int
- func (fake *FakeProvider) RetrieveCalls(stub func(context.Context) (aws.Credentials, error))
- func (fake *FakeProvider) RetrieveReturns(result1 aws.Credentials, result2 error)
- func (fake *FakeProvider) RetrieveReturnsOnCall(i int, result1 aws.Credentials, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClock ¶
func (*FakeClock) Invocations ¶
func (*FakeClock) NowCallCount ¶
func (*FakeClock) NowReturns ¶
type FakeFlock ¶ added in v0.90.0
type FakeFlock struct { TryLockContextStub func(context.Context, time.Duration) (bool, error) TryRLockContextStub func(context.Context, time.Duration) (bool, error) UnlockStub func() error // contains filtered or unexported fields }
func (*FakeFlock) Invocations ¶ added in v0.90.0
func (*FakeFlock) TryLockContext ¶ added in v0.90.0
func (*FakeFlock) TryLockContextArgsForCall ¶ added in v0.90.0
func (*FakeFlock) TryLockContextCallCount ¶ added in v0.90.0
func (*FakeFlock) TryLockContextCalls ¶ added in v0.90.0
func (*FakeFlock) TryLockContextReturns ¶ added in v0.90.0
func (*FakeFlock) TryLockContextReturnsOnCall ¶ added in v0.90.0
func (*FakeFlock) TryRLockContext ¶ added in v0.90.0
func (*FakeFlock) TryRLockContextArgsForCall ¶ added in v0.90.0
func (*FakeFlock) TryRLockContextCallCount ¶ added in v0.90.0
func (*FakeFlock) TryRLockContextCalls ¶ added in v0.90.0
func (*FakeFlock) TryRLockContextReturns ¶ added in v0.90.0
func (*FakeFlock) TryRLockContextReturnsOnCall ¶ added in v0.90.0
func (*FakeFlock) UnlockCallCount ¶ added in v0.90.0
func (*FakeFlock) UnlockCalls ¶ added in v0.90.0
func (*FakeFlock) UnlockReturns ¶ added in v0.90.0
func (*FakeFlock) UnlockReturnsOnCall ¶ added in v0.90.0
type FakeProvider ¶ added in v0.90.0
type FakeProvider struct { RetrieveStub func(context.Context) (aws.Credentials, error) // contains filtered or unexported fields }
func (*FakeProvider) Invocations ¶ added in v0.90.0
func (fake *FakeProvider) Invocations() map[string][][]interface{}
func (*FakeProvider) Retrieve ¶ added in v0.90.0
func (fake *FakeProvider) Retrieve(arg1 context.Context) (aws.Credentials, error)
func (*FakeProvider) RetrieveArgsForCall ¶ added in v0.90.0
func (fake *FakeProvider) RetrieveArgsForCall(i int) context.Context
func (*FakeProvider) RetrieveCallCount ¶ added in v0.90.0
func (fake *FakeProvider) RetrieveCallCount() int
func (*FakeProvider) RetrieveCalls ¶ added in v0.90.0
func (fake *FakeProvider) RetrieveCalls(stub func(context.Context) (aws.Credentials, error))
func (*FakeProvider) RetrieveReturns ¶ added in v0.90.0
func (fake *FakeProvider) RetrieveReturns(result1 aws.Credentials, result2 error)
func (*FakeProvider) RetrieveReturnsOnCall ¶ added in v0.90.0
func (fake *FakeProvider) RetrieveReturnsOnCall(i int, result1 aws.Credentials, result2 error)
Click to show internal directories.
Click to hide internal directories.