maxinflightfakes

package
v0.0.0-...-484f906 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2016 License: Apache-2.0 Imports: 5 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 FakeUpdater

type FakeUpdater struct {
	UpdateMaxInFlightReachedStub func(logger lager.Logger, jobConfig atc.JobConfig, buildID int) (bool, error)
	// contains filtered or unexported fields
}

func (*FakeUpdater) Invocations

func (fake *FakeUpdater) Invocations() map[string][][]interface{}

func (*FakeUpdater) UpdateMaxInFlightReached

func (fake *FakeUpdater) UpdateMaxInFlightReached(logger lager.Logger, jobConfig atc.JobConfig, buildID int) (bool, error)

func (*FakeUpdater) UpdateMaxInFlightReachedArgsForCall

func (fake *FakeUpdater) UpdateMaxInFlightReachedArgsForCall(i int) (lager.Logger, atc.JobConfig, int)

func (*FakeUpdater) UpdateMaxInFlightReachedCallCount

func (fake *FakeUpdater) UpdateMaxInFlightReachedCallCount() int

func (*FakeUpdater) UpdateMaxInFlightReachedReturns

func (fake *FakeUpdater) UpdateMaxInFlightReachedReturns(result1 bool, result2 error)

type FakeUpdaterDB

type FakeUpdaterDB struct {
	GetRunningBuildsBySerialGroupStub func(jobName string, serialGroups []string) ([]db.Build, error)

	GetNextPendingBuildBySerialGroupStub func(jobName string, serialGroups []string) (db.Build, bool, error)

	SetMaxInFlightReachedStub func(jobName string, reached bool) error
	// contains filtered or unexported fields
}

func (*FakeUpdaterDB) GetNextPendingBuildBySerialGroup

func (fake *FakeUpdaterDB) GetNextPendingBuildBySerialGroup(jobName string, serialGroups []string) (db.Build, bool, error)

func (*FakeUpdaterDB) GetNextPendingBuildBySerialGroupArgsForCall

func (fake *FakeUpdaterDB) GetNextPendingBuildBySerialGroupArgsForCall(i int) (string, []string)

func (*FakeUpdaterDB) GetNextPendingBuildBySerialGroupCallCount

func (fake *FakeUpdaterDB) GetNextPendingBuildBySerialGroupCallCount() int

func (*FakeUpdaterDB) GetNextPendingBuildBySerialGroupReturns

func (fake *FakeUpdaterDB) GetNextPendingBuildBySerialGroupReturns(result1 db.Build, result2 bool, result3 error)

func (*FakeUpdaterDB) GetRunningBuildsBySerialGroup

func (fake *FakeUpdaterDB) GetRunningBuildsBySerialGroup(jobName string, serialGroups []string) ([]db.Build, error)

func (*FakeUpdaterDB) GetRunningBuildsBySerialGroupArgsForCall

func (fake *FakeUpdaterDB) GetRunningBuildsBySerialGroupArgsForCall(i int) (string, []string)

func (*FakeUpdaterDB) GetRunningBuildsBySerialGroupCallCount

func (fake *FakeUpdaterDB) GetRunningBuildsBySerialGroupCallCount() int

func (*FakeUpdaterDB) GetRunningBuildsBySerialGroupReturns

func (fake *FakeUpdaterDB) GetRunningBuildsBySerialGroupReturns(result1 []db.Build, result2 error)

func (*FakeUpdaterDB) Invocations

func (fake *FakeUpdaterDB) Invocations() map[string][][]interface{}

func (*FakeUpdaterDB) SetMaxInFlightReached

func (fake *FakeUpdaterDB) SetMaxInFlightReached(jobName string, reached bool) error

func (*FakeUpdaterDB) SetMaxInFlightReachedArgsForCall

func (fake *FakeUpdaterDB) SetMaxInFlightReachedArgsForCall(i int) (string, bool)

func (*FakeUpdaterDB) SetMaxInFlightReachedCallCount

func (fake *FakeUpdaterDB) SetMaxInFlightReachedCallCount() int

func (*FakeUpdaterDB) SetMaxInFlightReachedReturns

func (fake *FakeUpdaterDB) SetMaxInFlightReachedReturns(result1 error)

Jump to

Keyboard shortcuts

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