Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeClock
- type FakeScheduler
- func (fake *FakeScheduler) Abort(guid string)
- func (fake *FakeScheduler) AbortArgsForCall(i int) string
- func (fake *FakeScheduler) AbortCallCount() int
- func (fake *FakeScheduler) Delete(guid string)
- func (fake *FakeScheduler) DeleteArgsForCall(i int) string
- func (fake *FakeScheduler) DeleteCallCount() int
- func (fake *FakeScheduler) Drain() []scheduler.ScheduledBuild
- func (fake *FakeScheduler) DrainCallCount() int
- func (fake *FakeScheduler) DrainReturns(result1 []scheduler.ScheduledBuild)
- func (fake *FakeScheduler) Hijack(guid string, process garden.ProcessSpec, io garden.ProcessIO) (garden.Process, error)
- func (fake *FakeScheduler) HijackArgsForCall(i int) (string, garden.ProcessSpec, garden.ProcessIO)
- func (fake *FakeScheduler) HijackCallCount() int
- func (fake *FakeScheduler) HijackReturns(result1 garden.Process, result2 error)
- func (fake *FakeScheduler) Restore(arg1 scheduler.ScheduledBuild)
- func (fake *FakeScheduler) RestoreArgsForCall(i int) scheduler.ScheduledBuild
- func (fake *FakeScheduler) RestoreCallCount() int
- func (fake *FakeScheduler) Start(arg1 turbine.Build)
- func (fake *FakeScheduler) StartArgsForCall(i int) turbine.Build
- func (fake *FakeScheduler) StartCallCount() int
- func (fake *FakeScheduler) Subscribe(guid string, from uint) (<-chan event.Event, chan<- struct{}, error)
- func (fake *FakeScheduler) SubscribeArgsForCall(i int) (string, uint)
- func (fake *FakeScheduler) SubscribeCallCount() int
- func (fake *FakeScheduler) SubscribeReturns(result1 <-chan event.Event, result2 chan<- struct{}, result3 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClock ¶
type FakeClock struct { CurrentTimeStub func() time.Time // contains filtered or unexported fields }
func (*FakeClock) CurrentTime ¶
func (*FakeClock) CurrentTimeCallCount ¶
func (*FakeClock) CurrentTimeReturns ¶
type FakeScheduler ¶
type FakeScheduler struct { StartStub func(turbine.Build) RestoreStub func(scheduler.ScheduledBuild) AbortStub func(guid string) HijackStub func(guid string, process garden.ProcessSpec, io garden.ProcessIO) (garden.Process, error) SubscribeStub func(guid string, from uint) (<-chan event.Event, chan<- struct{}, error) DeleteStub func(guid string) DrainStub func() []scheduler.ScheduledBuild // contains filtered or unexported fields }
func (*FakeScheduler) Abort ¶
func (fake *FakeScheduler) Abort(guid string)
func (*FakeScheduler) AbortArgsForCall ¶
func (fake *FakeScheduler) AbortArgsForCall(i int) string
func (*FakeScheduler) AbortCallCount ¶
func (fake *FakeScheduler) AbortCallCount() int
func (*FakeScheduler) Delete ¶
func (fake *FakeScheduler) Delete(guid string)
func (*FakeScheduler) DeleteArgsForCall ¶
func (fake *FakeScheduler) DeleteArgsForCall(i int) string
func (*FakeScheduler) DeleteCallCount ¶
func (fake *FakeScheduler) DeleteCallCount() int
func (*FakeScheduler) Drain ¶
func (fake *FakeScheduler) Drain() []scheduler.ScheduledBuild
func (*FakeScheduler) DrainCallCount ¶
func (fake *FakeScheduler) DrainCallCount() int
func (*FakeScheduler) DrainReturns ¶
func (fake *FakeScheduler) DrainReturns(result1 []scheduler.ScheduledBuild)
func (*FakeScheduler) Hijack ¶
func (fake *FakeScheduler) Hijack(guid string, process garden.ProcessSpec, io garden.ProcessIO) (garden.Process, error)
func (*FakeScheduler) HijackArgsForCall ¶
func (fake *FakeScheduler) HijackArgsForCall(i int) (string, garden.ProcessSpec, garden.ProcessIO)
func (*FakeScheduler) HijackCallCount ¶
func (fake *FakeScheduler) HijackCallCount() int
func (*FakeScheduler) HijackReturns ¶
func (fake *FakeScheduler) HijackReturns(result1 garden.Process, result2 error)
func (*FakeScheduler) Restore ¶
func (fake *FakeScheduler) Restore(arg1 scheduler.ScheduledBuild)
func (*FakeScheduler) RestoreArgsForCall ¶
func (fake *FakeScheduler) RestoreArgsForCall(i int) scheduler.ScheduledBuild
func (*FakeScheduler) RestoreCallCount ¶
func (fake *FakeScheduler) RestoreCallCount() int
func (*FakeScheduler) Start ¶
func (fake *FakeScheduler) Start(arg1 turbine.Build)
func (*FakeScheduler) StartArgsForCall ¶
func (fake *FakeScheduler) StartArgsForCall(i int) turbine.Build
func (*FakeScheduler) StartCallCount ¶
func (fake *FakeScheduler) StartCallCount() int
func (*FakeScheduler) SubscribeArgsForCall ¶
func (fake *FakeScheduler) SubscribeArgsForCall(i int) (string, uint)
func (*FakeScheduler) SubscribeCallCount ¶
func (fake *FakeScheduler) SubscribeCallCount() int
func (*FakeScheduler) SubscribeReturns ¶
func (fake *FakeScheduler) SubscribeReturns(result1 <-chan event.Event, result2 chan<- struct{}, result3 error)
Click to show internal directories.
Click to hide internal directories.