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) After(arg1 time.Duration) <-chan time.Time
- func (fake *FakeClock) AfterArgsForCall(i int) time.Duration
- func (fake *FakeClock) AfterCallCount() int
- func (fake *FakeClock) AfterCalls(stub func(time.Duration) <-chan time.Time)
- func (fake *FakeClock) AfterReturns(result1 <-chan time.Time)
- func (fake *FakeClock) AfterReturnsOnCall(i int, result1 <-chan time.Time)
- func (fake *FakeClock) Invocations() map[string][][]interface{}
- func (fake *FakeClock) NewTicker(arg1 time.Duration) clock.Ticker
- func (fake *FakeClock) NewTickerArgsForCall(i int) time.Duration
- func (fake *FakeClock) NewTickerCallCount() int
- func (fake *FakeClock) NewTickerCalls(stub func(time.Duration) clock.Ticker)
- func (fake *FakeClock) NewTickerReturns(result1 clock.Ticker)
- func (fake *FakeClock) NewTickerReturnsOnCall(i int, result1 clock.Ticker)
- func (fake *FakeClock) NewTimer(arg1 time.Duration) clock.Timer
- func (fake *FakeClock) NewTimerArgsForCall(i int) time.Duration
- func (fake *FakeClock) NewTimerCallCount() int
- func (fake *FakeClock) NewTimerCalls(stub func(time.Duration) clock.Timer)
- func (fake *FakeClock) NewTimerReturns(result1 clock.Timer)
- func (fake *FakeClock) NewTimerReturnsOnCall(i int, result1 clock.Timer)
- 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)
- func (fake *FakeClock) Since(arg1 time.Time) time.Duration
- func (fake *FakeClock) SinceArgsForCall(i int) time.Time
- func (fake *FakeClock) SinceCallCount() int
- func (fake *FakeClock) SinceCalls(stub func(time.Time) time.Duration)
- func (fake *FakeClock) SinceReturns(result1 time.Duration)
- func (fake *FakeClock) SinceReturnsOnCall(i int, result1 time.Duration)
- func (fake *FakeClock) Sleep(arg1 time.Duration)
- func (fake *FakeClock) SleepArgsForCall(i int) time.Duration
- func (fake *FakeClock) SleepCallCount() int
- func (fake *FakeClock) SleepCalls(stub func(time.Duration))
- type FakeNodeStatter
- func (fake *FakeNodeStatter) Invocations() map[string][][]interface{}
- func (fake *FakeNodeStatter) Summary(arg1 string) (diskusage.NodeDiskUsage, error)
- func (fake *FakeNodeStatter) SummaryArgsForCall(i int) string
- func (fake *FakeNodeStatter) SummaryCallCount() int
- func (fake *FakeNodeStatter) SummaryCalls(stub func(string) (diskusage.NodeDiskUsage, error))
- func (fake *FakeNodeStatter) SummaryReturns(result1 diskusage.NodeDiskUsage, result2 error)
- func (fake *FakeNodeStatter) SummaryReturnsOnCall(i int, result1 diskusage.NodeDiskUsage, result2 error)
- type FakePodGetter
- func (fake *FakePodGetter) Get(arg1 string) (*v1.Pod, error)
- func (fake *FakePodGetter) GetArgsForCall(i int) string
- func (fake *FakePodGetter) GetCallCount() int
- func (fake *FakePodGetter) GetCalls(stub func(string) (*v1.Pod, error))
- func (fake *FakePodGetter) GetReturns(result1 *v1.Pod, result2 error)
- func (fake *FakePodGetter) GetReturnsOnCall(i int, result1 *v1.Pod, result2 error)
- func (fake *FakePodGetter) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClock ¶
type FakeClock struct { AfterStub func(time.Duration) <-chan time.Time NewTickerStub func(time.Duration) clock.Ticker NewTimerStub func(time.Duration) clock.Timer NowStub func() time.Time SinceStub func(time.Time) time.Duration SleepStub func(time.Duration) // contains filtered or unexported fields }
func (*FakeClock) AfterCallCount ¶
func (*FakeClock) AfterCalls ¶
func (*FakeClock) AfterReturns ¶
func (*FakeClock) AfterReturnsOnCall ¶
func (*FakeClock) Invocations ¶
func (*FakeClock) NewTickerArgsForCall ¶
func (*FakeClock) NewTickerCallCount ¶
func (*FakeClock) NewTickerCalls ¶
func (*FakeClock) NewTickerReturns ¶
func (*FakeClock) NewTickerReturnsOnCall ¶
func (*FakeClock) NewTimerArgsForCall ¶
func (*FakeClock) NewTimerCallCount ¶
func (*FakeClock) NewTimerCalls ¶
func (*FakeClock) NewTimerReturns ¶
func (*FakeClock) NewTimerReturnsOnCall ¶
func (*FakeClock) NowCallCount ¶
func (*FakeClock) NowReturns ¶
func (*FakeClock) NowReturnsOnCall ¶
func (*FakeClock) SinceCallCount ¶
func (*FakeClock) SinceCalls ¶
func (*FakeClock) SinceReturns ¶
func (*FakeClock) SinceReturnsOnCall ¶
func (*FakeClock) SleepCallCount ¶
func (*FakeClock) SleepCalls ¶
type FakeNodeStatter ¶
type FakeNodeStatter struct { SummaryStub func(string) (diskusage.NodeDiskUsage, error) // contains filtered or unexported fields }
func (*FakeNodeStatter) Invocations ¶
func (fake *FakeNodeStatter) Invocations() map[string][][]interface{}
func (*FakeNodeStatter) Summary ¶
func (fake *FakeNodeStatter) Summary(arg1 string) (diskusage.NodeDiskUsage, error)
func (*FakeNodeStatter) SummaryArgsForCall ¶
func (fake *FakeNodeStatter) SummaryArgsForCall(i int) string
func (*FakeNodeStatter) SummaryCallCount ¶
func (fake *FakeNodeStatter) SummaryCallCount() int
func (*FakeNodeStatter) SummaryCalls ¶
func (fake *FakeNodeStatter) SummaryCalls(stub func(string) (diskusage.NodeDiskUsage, error))
func (*FakeNodeStatter) SummaryReturns ¶
func (fake *FakeNodeStatter) SummaryReturns(result1 diskusage.NodeDiskUsage, result2 error)
func (*FakeNodeStatter) SummaryReturnsOnCall ¶
func (fake *FakeNodeStatter) SummaryReturnsOnCall(i int, result1 diskusage.NodeDiskUsage, result2 error)
type FakePodGetter ¶
type FakePodGetter struct { GetStub func(string) (*v1.Pod, error) // contains filtered or unexported fields }
func (*FakePodGetter) GetArgsForCall ¶
func (fake *FakePodGetter) GetArgsForCall(i int) string
func (*FakePodGetter) GetCallCount ¶
func (fake *FakePodGetter) GetCallCount() int
func (*FakePodGetter) GetCalls ¶
func (fake *FakePodGetter) GetCalls(stub func(string) (*v1.Pod, error))
func (*FakePodGetter) GetReturns ¶
func (fake *FakePodGetter) GetReturns(result1 *v1.Pod, result2 error)
func (*FakePodGetter) GetReturnsOnCall ¶
func (fake *FakePodGetter) GetReturnsOnCall(i int, result1 *v1.Pod, result2 error)
func (*FakePodGetter) Invocations ¶
func (fake *FakePodGetter) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.