fakes

package
v0.0.0-...-afaf855 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

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 (fake *FakeClock) CurrentTime() time.Time

func (*FakeClock) CurrentTimeCallCount

func (fake *FakeClock) CurrentTimeCallCount() int

func (*FakeClock) CurrentTimeReturns

func (fake *FakeClock) CurrentTimeReturns(result1 time.Time)

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) Subscribe

func (fake *FakeScheduler) Subscribe(guid string, from uint) (<-chan event.Event, chan<- struct{}, error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL