dbfakes

package
v4.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBuild

type FakeBuild struct {
	IDStub func() int

	NameStub func() string

	JobIDStub func() int

	JobNameStub func() string

	PipelineIDStub func() int

	PipelineNameStub func() string

	TeamIDStub func() int

	TeamNameStub func() string

	EngineStub func() string

	EngineMetadataStub func() string

	PublicPlanStub func() *json.RawMessage

	StatusStub func() db.BuildStatus

	StartTimeStub func() time.Time

	EndTimeStub func() time.Time

	ReapTimeStub func() time.Time

	TrackerStub func() string

	IsManuallyTriggeredStub func() bool

	IsScheduledStub func() bool

	IsRunningStub func() bool

	ReloadStub func() (bool, error)

	AcquireTrackingLockStub func(logger lager.Logger, interval time.Duration) (lock.Lock, bool, error)

	TrackedByStub func(peerURL string) error

	InterceptibleStub func() (bool, error)

	PreparationStub func() (db.BuildPreparation, bool, error)

	StartStub func(string, string, atc.Plan) (bool, error)

	FinishWithErrorStub func(cause error) error

	FinishStub func(db.BuildStatus) error

	SetInterceptibleStub func(bool) error

	EventsStub func(uint) (db.EventSource, error)

	SaveEventStub func(event atc.Event) error

	SaveInputStub func(input db.BuildInput) error

	SaveOutputStub func(vr db.VersionedResource) error

	UseInputsStub func(inputs []db.BuildInput) error

	ResourcesStub func() ([]db.BuildInput, []db.BuildOutput, error)

	GetVersionedResourcesStub func() (db.SavedVersionedResources, error)

	SaveImageResourceVersionStub func(db.UsedResourceCache) error

	PipelineStub func() (db.Pipeline, bool, error)

	DeleteStub func() (bool, error)

	MarkAsAbortedStub func() error

	AbortNotifierStub func() (db.Notifier, error)

	ScheduleStub func() (bool, error)

	IsDrainedStub func() bool

	SetDrainedStub func(bool) error
	// contains filtered or unexported fields
}

func (*FakeBuild) AbortNotifier

func (fake *FakeBuild) AbortNotifier() (db.Notifier, error)

func (*FakeBuild) AbortNotifierCallCount

func (fake *FakeBuild) AbortNotifierCallCount() int

func (*FakeBuild) AbortNotifierReturns

func (fake *FakeBuild) AbortNotifierReturns(result1 db.Notifier, result2 error)

func (*FakeBuild) AbortNotifierReturnsOnCall

func (fake *FakeBuild) AbortNotifierReturnsOnCall(i int, result1 db.Notifier, result2 error)

func (*FakeBuild) AcquireTrackingLock

func (fake *FakeBuild) AcquireTrackingLock(logger lager.Logger, interval time.Duration) (lock.Lock, bool, error)

func (*FakeBuild) AcquireTrackingLockArgsForCall

func (fake *FakeBuild) AcquireTrackingLockArgsForCall(i int) (lager.Logger, time.Duration)

func (*FakeBuild) AcquireTrackingLockCallCount

func (fake *FakeBuild) AcquireTrackingLockCallCount() int

func (*FakeBuild) AcquireTrackingLockReturns

func (fake *FakeBuild) AcquireTrackingLockReturns(result1 lock.Lock, result2 bool, result3 error)

func (*FakeBuild) AcquireTrackingLockReturnsOnCall

func (fake *FakeBuild) AcquireTrackingLockReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)

func (*FakeBuild) Delete

func (fake *FakeBuild) Delete() (bool, error)

func (*FakeBuild) DeleteCallCount

func (fake *FakeBuild) DeleteCallCount() int

func (*FakeBuild) DeleteReturns

func (fake *FakeBuild) DeleteReturns(result1 bool, result2 error)

func (*FakeBuild) DeleteReturnsOnCall

func (fake *FakeBuild) DeleteReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeBuild) EndTime

func (fake *FakeBuild) EndTime() time.Time

func (*FakeBuild) EndTimeCallCount

func (fake *FakeBuild) EndTimeCallCount() int

func (*FakeBuild) EndTimeReturns

func (fake *FakeBuild) EndTimeReturns(result1 time.Time)

func (*FakeBuild) EndTimeReturnsOnCall

func (fake *FakeBuild) EndTimeReturnsOnCall(i int, result1 time.Time)

func (*FakeBuild) Engine

func (fake *FakeBuild) Engine() string

func (*FakeBuild) EngineCallCount

func (fake *FakeBuild) EngineCallCount() int

func (*FakeBuild) EngineMetadata

func (fake *FakeBuild) EngineMetadata() string

func (*FakeBuild) EngineMetadataCallCount

func (fake *FakeBuild) EngineMetadataCallCount() int

func (*FakeBuild) EngineMetadataReturns

func (fake *FakeBuild) EngineMetadataReturns(result1 string)

func (*FakeBuild) EngineMetadataReturnsOnCall

func (fake *FakeBuild) EngineMetadataReturnsOnCall(i int, result1 string)

func (*FakeBuild) EngineReturns

func (fake *FakeBuild) EngineReturns(result1 string)

func (*FakeBuild) EngineReturnsOnCall

func (fake *FakeBuild) EngineReturnsOnCall(i int, result1 string)

func (*FakeBuild) Events

func (fake *FakeBuild) Events(arg1 uint) (db.EventSource, error)

func (*FakeBuild) EventsArgsForCall

func (fake *FakeBuild) EventsArgsForCall(i int) uint

func (*FakeBuild) EventsCallCount

func (fake *FakeBuild) EventsCallCount() int

func (*FakeBuild) EventsReturns

func (fake *FakeBuild) EventsReturns(result1 db.EventSource, result2 error)

func (*FakeBuild) EventsReturnsOnCall

func (fake *FakeBuild) EventsReturnsOnCall(i int, result1 db.EventSource, result2 error)

func (*FakeBuild) Finish

func (fake *FakeBuild) Finish(arg1 db.BuildStatus) error

func (*FakeBuild) FinishArgsForCall

func (fake *FakeBuild) FinishArgsForCall(i int) db.BuildStatus

func (*FakeBuild) FinishCallCount

func (fake *FakeBuild) FinishCallCount() int

func (*FakeBuild) FinishReturns

func (fake *FakeBuild) FinishReturns(result1 error)

func (*FakeBuild) FinishReturnsOnCall

func (fake *FakeBuild) FinishReturnsOnCall(i int, result1 error)

func (*FakeBuild) FinishWithError

func (fake *FakeBuild) FinishWithError(cause error) error

func (*FakeBuild) FinishWithErrorArgsForCall

func (fake *FakeBuild) FinishWithErrorArgsForCall(i int) error

func (*FakeBuild) FinishWithErrorCallCount

func (fake *FakeBuild) FinishWithErrorCallCount() int

func (*FakeBuild) FinishWithErrorReturns

func (fake *FakeBuild) FinishWithErrorReturns(result1 error)

func (*FakeBuild) FinishWithErrorReturnsOnCall

func (fake *FakeBuild) FinishWithErrorReturnsOnCall(i int, result1 error)

func (*FakeBuild) GetVersionedResources

func (fake *FakeBuild) GetVersionedResources() (db.SavedVersionedResources, error)

func (*FakeBuild) GetVersionedResourcesCallCount

func (fake *FakeBuild) GetVersionedResourcesCallCount() int

func (*FakeBuild) GetVersionedResourcesReturns

func (fake *FakeBuild) GetVersionedResourcesReturns(result1 db.SavedVersionedResources, result2 error)

func (*FakeBuild) GetVersionedResourcesReturnsOnCall

func (fake *FakeBuild) GetVersionedResourcesReturnsOnCall(i int, result1 db.SavedVersionedResources, result2 error)

func (*FakeBuild) ID

func (fake *FakeBuild) ID() int

func (*FakeBuild) IDCallCount

func (fake *FakeBuild) IDCallCount() int

func (*FakeBuild) IDReturns

func (fake *FakeBuild) IDReturns(result1 int)

func (*FakeBuild) IDReturnsOnCall

func (fake *FakeBuild) IDReturnsOnCall(i int, result1 int)

func (*FakeBuild) Interceptible

func (fake *FakeBuild) Interceptible() (bool, error)

func (*FakeBuild) InterceptibleCallCount

func (fake *FakeBuild) InterceptibleCallCount() int

func (*FakeBuild) InterceptibleReturns

func (fake *FakeBuild) InterceptibleReturns(result1 bool, result2 error)

func (*FakeBuild) InterceptibleReturnsOnCall

func (fake *FakeBuild) InterceptibleReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeBuild) Invocations

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

func (*FakeBuild) IsDrained

func (fake *FakeBuild) IsDrained() bool

func (*FakeBuild) IsDrainedCallCount

func (fake *FakeBuild) IsDrainedCallCount() int

func (*FakeBuild) IsDrainedReturns

func (fake *FakeBuild) IsDrainedReturns(result1 bool)

func (*FakeBuild) IsDrainedReturnsOnCall

func (fake *FakeBuild) IsDrainedReturnsOnCall(i int, result1 bool)

func (*FakeBuild) IsManuallyTriggered

func (fake *FakeBuild) IsManuallyTriggered() bool

func (*FakeBuild) IsManuallyTriggeredCallCount

func (fake *FakeBuild) IsManuallyTriggeredCallCount() int

func (*FakeBuild) IsManuallyTriggeredReturns

func (fake *FakeBuild) IsManuallyTriggeredReturns(result1 bool)

func (*FakeBuild) IsManuallyTriggeredReturnsOnCall

func (fake *FakeBuild) IsManuallyTriggeredReturnsOnCall(i int, result1 bool)

func (*FakeBuild) IsRunning

func (fake *FakeBuild) IsRunning() bool

func (*FakeBuild) IsRunningCallCount

func (fake *FakeBuild) IsRunningCallCount() int

func (*FakeBuild) IsRunningReturns

func (fake *FakeBuild) IsRunningReturns(result1 bool)

func (*FakeBuild) IsRunningReturnsOnCall

func (fake *FakeBuild) IsRunningReturnsOnCall(i int, result1 bool)

func (*FakeBuild) IsScheduled

func (fake *FakeBuild) IsScheduled() bool

func (*FakeBuild) IsScheduledCallCount

func (fake *FakeBuild) IsScheduledCallCount() int

func (*FakeBuild) IsScheduledReturns

func (fake *FakeBuild) IsScheduledReturns(result1 bool)

func (*FakeBuild) IsScheduledReturnsOnCall

func (fake *FakeBuild) IsScheduledReturnsOnCall(i int, result1 bool)

func (*FakeBuild) JobID

func (fake *FakeBuild) JobID() int

func (*FakeBuild) JobIDCallCount

func (fake *FakeBuild) JobIDCallCount() int

func (*FakeBuild) JobIDReturns

func (fake *FakeBuild) JobIDReturns(result1 int)

func (*FakeBuild) JobIDReturnsOnCall

func (fake *FakeBuild) JobIDReturnsOnCall(i int, result1 int)

func (*FakeBuild) JobName

func (fake *FakeBuild) JobName() string

func (*FakeBuild) JobNameCallCount

func (fake *FakeBuild) JobNameCallCount() int

func (*FakeBuild) JobNameReturns

func (fake *FakeBuild) JobNameReturns(result1 string)

func (*FakeBuild) JobNameReturnsOnCall

func (fake *FakeBuild) JobNameReturnsOnCall(i int, result1 string)

func (*FakeBuild) MarkAsAborted

func (fake *FakeBuild) MarkAsAborted() error

func (*FakeBuild) MarkAsAbortedCallCount

func (fake *FakeBuild) MarkAsAbortedCallCount() int

func (*FakeBuild) MarkAsAbortedReturns

func (fake *FakeBuild) MarkAsAbortedReturns(result1 error)

func (*FakeBuild) MarkAsAbortedReturnsOnCall

func (fake *FakeBuild) MarkAsAbortedReturnsOnCall(i int, result1 error)

func (*FakeBuild) Name

func (fake *FakeBuild) Name() string

func (*FakeBuild) NameCallCount

func (fake *FakeBuild) NameCallCount() int

func (*FakeBuild) NameReturns

func (fake *FakeBuild) NameReturns(result1 string)

func (*FakeBuild) NameReturnsOnCall

func (fake *FakeBuild) NameReturnsOnCall(i int, result1 string)

func (*FakeBuild) Pipeline

func (fake *FakeBuild) Pipeline() (db.Pipeline, bool, error)

func (*FakeBuild) PipelineCallCount

func (fake *FakeBuild) PipelineCallCount() int

func (*FakeBuild) PipelineID

func (fake *FakeBuild) PipelineID() int

func (*FakeBuild) PipelineIDCallCount

func (fake *FakeBuild) PipelineIDCallCount() int

func (*FakeBuild) PipelineIDReturns

func (fake *FakeBuild) PipelineIDReturns(result1 int)

func (*FakeBuild) PipelineIDReturnsOnCall

func (fake *FakeBuild) PipelineIDReturnsOnCall(i int, result1 int)

func (*FakeBuild) PipelineName

func (fake *FakeBuild) PipelineName() string

func (*FakeBuild) PipelineNameCallCount

func (fake *FakeBuild) PipelineNameCallCount() int

func (*FakeBuild) PipelineNameReturns

func (fake *FakeBuild) PipelineNameReturns(result1 string)

func (*FakeBuild) PipelineNameReturnsOnCall

func (fake *FakeBuild) PipelineNameReturnsOnCall(i int, result1 string)

func (*FakeBuild) PipelineReturns

func (fake *FakeBuild) PipelineReturns(result1 db.Pipeline, result2 bool, result3 error)

func (*FakeBuild) PipelineReturnsOnCall

func (fake *FakeBuild) PipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)

func (*FakeBuild) Preparation

func (fake *FakeBuild) Preparation() (db.BuildPreparation, bool, error)

func (*FakeBuild) PreparationCallCount

func (fake *FakeBuild) PreparationCallCount() int

func (*FakeBuild) PreparationReturns

func (fake *FakeBuild) PreparationReturns(result1 db.BuildPreparation, result2 bool, result3 error)

func (*FakeBuild) PreparationReturnsOnCall

func (fake *FakeBuild) PreparationReturnsOnCall(i int, result1 db.BuildPreparation, result2 bool, result3 error)

func (*FakeBuild) PublicPlan

func (fake *FakeBuild) PublicPlan() *json.RawMessage

func (*FakeBuild) PublicPlanCallCount

func (fake *FakeBuild) PublicPlanCallCount() int

func (*FakeBuild) PublicPlanReturns

func (fake *FakeBuild) PublicPlanReturns(result1 *json.RawMessage)

func (*FakeBuild) PublicPlanReturnsOnCall

func (fake *FakeBuild) PublicPlanReturnsOnCall(i int, result1 *json.RawMessage)

func (*FakeBuild) ReapTime

func (fake *FakeBuild) ReapTime() time.Time

func (*FakeBuild) ReapTimeCallCount

func (fake *FakeBuild) ReapTimeCallCount() int

func (*FakeBuild) ReapTimeReturns

func (fake *FakeBuild) ReapTimeReturns(result1 time.Time)

func (*FakeBuild) ReapTimeReturnsOnCall

func (fake *FakeBuild) ReapTimeReturnsOnCall(i int, result1 time.Time)

func (*FakeBuild) Reload

func (fake *FakeBuild) Reload() (bool, error)

func (*FakeBuild) ReloadCallCount

func (fake *FakeBuild) ReloadCallCount() int

func (*FakeBuild) ReloadReturns

func (fake *FakeBuild) ReloadReturns(result1 bool, result2 error)

func (*FakeBuild) ReloadReturnsOnCall

func (fake *FakeBuild) ReloadReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeBuild) Resources

func (fake *FakeBuild) Resources() ([]db.BuildInput, []db.BuildOutput, error)

func (*FakeBuild) ResourcesCallCount

func (fake *FakeBuild) ResourcesCallCount() int

func (*FakeBuild) ResourcesReturns

func (fake *FakeBuild) ResourcesReturns(result1 []db.BuildInput, result2 []db.BuildOutput, result3 error)

func (*FakeBuild) ResourcesReturnsOnCall

func (fake *FakeBuild) ResourcesReturnsOnCall(i int, result1 []db.BuildInput, result2 []db.BuildOutput, result3 error)

func (*FakeBuild) SaveEvent

func (fake *FakeBuild) SaveEvent(event atc.Event) error

func (*FakeBuild) SaveEventArgsForCall

func (fake *FakeBuild) SaveEventArgsForCall(i int) atc.Event

func (*FakeBuild) SaveEventCallCount

func (fake *FakeBuild) SaveEventCallCount() int

func (*FakeBuild) SaveEventReturns

func (fake *FakeBuild) SaveEventReturns(result1 error)

func (*FakeBuild) SaveEventReturnsOnCall

func (fake *FakeBuild) SaveEventReturnsOnCall(i int, result1 error)

func (*FakeBuild) SaveImageResourceVersion

func (fake *FakeBuild) SaveImageResourceVersion(arg1 db.UsedResourceCache) error

func (*FakeBuild) SaveImageResourceVersionArgsForCall

func (fake *FakeBuild) SaveImageResourceVersionArgsForCall(i int) db.UsedResourceCache

func (*FakeBuild) SaveImageResourceVersionCallCount

func (fake *FakeBuild) SaveImageResourceVersionCallCount() int

func (*FakeBuild) SaveImageResourceVersionReturns

func (fake *FakeBuild) SaveImageResourceVersionReturns(result1 error)

func (*FakeBuild) SaveImageResourceVersionReturnsOnCall

func (fake *FakeBuild) SaveImageResourceVersionReturnsOnCall(i int, result1 error)

func (*FakeBuild) SaveInput

func (fake *FakeBuild) SaveInput(input db.BuildInput) error

func (*FakeBuild) SaveInputArgsForCall

func (fake *FakeBuild) SaveInputArgsForCall(i int) db.BuildInput

func (*FakeBuild) SaveInputCallCount

func (fake *FakeBuild) SaveInputCallCount() int

func (*FakeBuild) SaveInputReturns

func (fake *FakeBuild) SaveInputReturns(result1 error)

func (*FakeBuild) SaveInputReturnsOnCall

func (fake *FakeBuild) SaveInputReturnsOnCall(i int, result1 error)

func (*FakeBuild) SaveOutput

func (fake *FakeBuild) SaveOutput(vr db.VersionedResource) error

func (*FakeBuild) SaveOutputArgsForCall

func (fake *FakeBuild) SaveOutputArgsForCall(i int) db.VersionedResource

func (*FakeBuild) SaveOutputCallCount

func (fake *FakeBuild) SaveOutputCallCount() int

func (*FakeBuild) SaveOutputReturns

func (fake *FakeBuild) SaveOutputReturns(result1 error)

func (*FakeBuild) SaveOutputReturnsOnCall

func (fake *FakeBuild) SaveOutputReturnsOnCall(i int, result1 error)

func (*FakeBuild) Schedule

func (fake *FakeBuild) Schedule() (bool, error)

func (*FakeBuild) ScheduleCallCount

func (fake *FakeBuild) ScheduleCallCount() int

func (*FakeBuild) ScheduleReturns

func (fake *FakeBuild) ScheduleReturns(result1 bool, result2 error)

func (*FakeBuild) ScheduleReturnsOnCall

func (fake *FakeBuild) ScheduleReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeBuild) SetDrained

func (fake *FakeBuild) SetDrained(arg1 bool) error

func (*FakeBuild) SetDrainedArgsForCall

func (fake *FakeBuild) SetDrainedArgsForCall(i int) bool

func (*FakeBuild) SetDrainedCallCount

func (fake *FakeBuild) SetDrainedCallCount() int

func (*FakeBuild) SetDrainedReturns

func (fake *FakeBuild) SetDrainedReturns(result1 error)

func (*FakeBuild) SetDrainedReturnsOnCall

func (fake *FakeBuild) SetDrainedReturnsOnCall(i int, result1 error)

func (*FakeBuild) SetInterceptible

func (fake *FakeBuild) SetInterceptible(arg1 bool) error

func (*FakeBuild) SetInterceptibleArgsForCall

func (fake *FakeBuild) SetInterceptibleArgsForCall(i int) bool

func (*FakeBuild) SetInterceptibleCallCount

func (fake *FakeBuild) SetInterceptibleCallCount() int

func (*FakeBuild) SetInterceptibleReturns

func (fake *FakeBuild) SetInterceptibleReturns(result1 error)

func (*FakeBuild) SetInterceptibleReturnsOnCall

func (fake *FakeBuild) SetInterceptibleReturnsOnCall(i int, result1 error)

func (*FakeBuild) Start

func (fake *FakeBuild) Start(arg1 string, arg2 string, arg3 atc.Plan) (bool, error)

func (*FakeBuild) StartArgsForCall

func (fake *FakeBuild) StartArgsForCall(i int) (string, string, atc.Plan)

func (*FakeBuild) StartCallCount

func (fake *FakeBuild) StartCallCount() int

func (*FakeBuild) StartReturns

func (fake *FakeBuild) StartReturns(result1 bool, result2 error)

func (*FakeBuild) StartReturnsOnCall

func (fake *FakeBuild) StartReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeBuild) StartTime

func (fake *FakeBuild) StartTime() time.Time

func (*FakeBuild) StartTimeCallCount

func (fake *FakeBuild) StartTimeCallCount() int

func (*FakeBuild) StartTimeReturns

func (fake *FakeBuild) StartTimeReturns(result1 time.Time)

func (*FakeBuild) StartTimeReturnsOnCall

func (fake *FakeBuild) StartTimeReturnsOnCall(i int, result1 time.Time)

func (*FakeBuild) Status

func (fake *FakeBuild) Status() db.BuildStatus

func (*FakeBuild) StatusCallCount

func (fake *FakeBuild) StatusCallCount() int

func (*FakeBuild) StatusReturns

func (fake *FakeBuild) StatusReturns(result1 db.BuildStatus)

func (*FakeBuild) StatusReturnsOnCall

func (fake *FakeBuild) StatusReturnsOnCall(i int, result1 db.BuildStatus)

func (*FakeBuild) TeamID

func (fake *FakeBuild) TeamID() int

func (*FakeBuild) TeamIDCallCount

func (fake *FakeBuild) TeamIDCallCount() int

func (*FakeBuild) TeamIDReturns

func (fake *FakeBuild) TeamIDReturns(result1 int)

func (*FakeBuild) TeamIDReturnsOnCall

func (fake *FakeBuild) TeamIDReturnsOnCall(i int, result1 int)

func (*FakeBuild) TeamName

func (fake *FakeBuild) TeamName() string

func (*FakeBuild) TeamNameCallCount

func (fake *FakeBuild) TeamNameCallCount() int

func (*FakeBuild) TeamNameReturns

func (fake *FakeBuild) TeamNameReturns(result1 string)

func (*FakeBuild) TeamNameReturnsOnCall

func (fake *FakeBuild) TeamNameReturnsOnCall(i int, result1 string)

func (*FakeBuild) TrackedBy

func (fake *FakeBuild) TrackedBy(peerURL string) error

func (*FakeBuild) TrackedByArgsForCall

func (fake *FakeBuild) TrackedByArgsForCall(i int) string

func (*FakeBuild) TrackedByCallCount

func (fake *FakeBuild) TrackedByCallCount() int

func (*FakeBuild) TrackedByReturns

func (fake *FakeBuild) TrackedByReturns(result1 error)

func (*FakeBuild) TrackedByReturnsOnCall

func (fake *FakeBuild) TrackedByReturnsOnCall(i int, result1 error)

func (*FakeBuild) Tracker

func (fake *FakeBuild) Tracker() string

func (*FakeBuild) TrackerCallCount

func (fake *FakeBuild) TrackerCallCount() int

func (*FakeBuild) TrackerReturns

func (fake *FakeBuild) TrackerReturns(result1 string)

func (*FakeBuild) TrackerReturnsOnCall

func (fake *FakeBuild) TrackerReturnsOnCall(i int, result1 string)

func (*FakeBuild) UseInputs

func (fake *FakeBuild) UseInputs(inputs []db.BuildInput) error

func (*FakeBuild) UseInputsArgsForCall

func (fake *FakeBuild) UseInputsArgsForCall(i int) []db.BuildInput

func (*FakeBuild) UseInputsCallCount

func (fake *FakeBuild) UseInputsCallCount() int

func (*FakeBuild) UseInputsReturns

func (fake *FakeBuild) UseInputsReturns(result1 error)

func (*FakeBuild) UseInputsReturnsOnCall

func (fake *FakeBuild) UseInputsReturnsOnCall(i int, result1 error)

type FakeBuildFactory

type FakeBuildFactory struct {
	BuildStub func(int) (db.Build, bool, error)

	VisibleBuildsStub func([]string, db.Page) ([]db.Build, db.Pagination, error)

	PublicBuildsStub func(db.Page) ([]db.Build, db.Pagination, error)

	GetAllStartedBuildsStub func() ([]db.Build, error)

	GetDrainableBuildsStub func() ([]db.Build, error)

	MarkNonInterceptibleBuildsStub func() error
	// contains filtered or unexported fields
}

func (*FakeBuildFactory) Build

func (fake *FakeBuildFactory) Build(arg1 int) (db.Build, bool, error)

func (*FakeBuildFactory) BuildArgsForCall

func (fake *FakeBuildFactory) BuildArgsForCall(i int) int

func (*FakeBuildFactory) BuildCallCount

func (fake *FakeBuildFactory) BuildCallCount() int

func (*FakeBuildFactory) BuildReturns

func (fake *FakeBuildFactory) BuildReturns(result1 db.Build, result2 bool, result3 error)

func (*FakeBuildFactory) BuildReturnsOnCall

func (fake *FakeBuildFactory) BuildReturnsOnCall(i int, result1 db.Build, result2 bool, result3 error)

func (*FakeBuildFactory) GetAllStartedBuilds

func (fake *FakeBuildFactory) GetAllStartedBuilds() ([]db.Build, error)

func (*FakeBuildFactory) GetAllStartedBuildsCallCount

func (fake *FakeBuildFactory) GetAllStartedBuildsCallCount() int

func (*FakeBuildFactory) GetAllStartedBuildsReturns

func (fake *FakeBuildFactory) GetAllStartedBuildsReturns(result1 []db.Build, result2 error)

func (*FakeBuildFactory) GetAllStartedBuildsReturnsOnCall

func (fake *FakeBuildFactory) GetAllStartedBuildsReturnsOnCall(i int, result1 []db.Build, result2 error)

func (*FakeBuildFactory) GetDrainableBuilds

func (fake *FakeBuildFactory) GetDrainableBuilds() ([]db.Build, error)

func (*FakeBuildFactory) GetDrainableBuildsCallCount

func (fake *FakeBuildFactory) GetDrainableBuildsCallCount() int

func (*FakeBuildFactory) GetDrainableBuildsReturns

func (fake *FakeBuildFactory) GetDrainableBuildsReturns(result1 []db.Build, result2 error)

func (*FakeBuildFactory) GetDrainableBuildsReturnsOnCall

func (fake *FakeBuildFactory) GetDrainableBuildsReturnsOnCall(i int, result1 []db.Build, result2 error)

func (*FakeBuildFactory) Invocations

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

func (*FakeBuildFactory) MarkNonInterceptibleBuilds

func (fake *FakeBuildFactory) MarkNonInterceptibleBuilds() error

func (*FakeBuildFactory) MarkNonInterceptibleBuildsCallCount

func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsCallCount() int

func (*FakeBuildFactory) MarkNonInterceptibleBuildsReturns

func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsReturns(result1 error)

func (*FakeBuildFactory) MarkNonInterceptibleBuildsReturnsOnCall

func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsReturnsOnCall(i int, result1 error)

func (*FakeBuildFactory) PublicBuilds

func (fake *FakeBuildFactory) PublicBuilds(arg1 db.Page) ([]db.Build, db.Pagination, error)

func (*FakeBuildFactory) PublicBuildsArgsForCall

func (fake *FakeBuildFactory) PublicBuildsArgsForCall(i int) db.Page

func (*FakeBuildFactory) PublicBuildsCallCount

func (fake *FakeBuildFactory) PublicBuildsCallCount() int

func (*FakeBuildFactory) PublicBuildsReturns

func (fake *FakeBuildFactory) PublicBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)

func (*FakeBuildFactory) PublicBuildsReturnsOnCall

func (fake *FakeBuildFactory) PublicBuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)

func (*FakeBuildFactory) VisibleBuilds

func (fake *FakeBuildFactory) VisibleBuilds(arg1 []string, arg2 db.Page) ([]db.Build, db.Pagination, error)

func (*FakeBuildFactory) VisibleBuildsArgsForCall

func (fake *FakeBuildFactory) VisibleBuildsArgsForCall(i int) ([]string, db.Page)

func (*FakeBuildFactory) VisibleBuildsCallCount

func (fake *FakeBuildFactory) VisibleBuildsCallCount() int

func (*FakeBuildFactory) VisibleBuildsReturns

func (fake *FakeBuildFactory) VisibleBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)

func (*FakeBuildFactory) VisibleBuildsReturnsOnCall

func (fake *FakeBuildFactory) VisibleBuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)

type FakeConn

type FakeConn struct {
	BusStub func() db.NotificationsBus

	EncryptionStrategyStub func() encryption.Strategy

	PingStub func() error

	DriverStub func() driver.Driver

	BeginStub func() (db.Tx, error)

	ExecStub func(query string, args ...interface{}) (sql.Result, error)

	PrepareStub func(query string) (*sql.Stmt, error)

	QueryStub func(query string, args ...interface{}) (*sql.Rows, error)

	QueryRowStub func(query string, args ...interface{}) squirrel.RowScanner

	SetMaxIdleConnsStub func(n int)

	SetMaxOpenConnsStub func(n int)

	StatsStub func() sql.DBStats

	CloseStub func() error

	NameStub func() string
	// contains filtered or unexported fields
}

func (*FakeConn) Begin

func (fake *FakeConn) Begin() (db.Tx, error)

func (*FakeConn) BeginCallCount

func (fake *FakeConn) BeginCallCount() int

func (*FakeConn) BeginReturns

func (fake *FakeConn) BeginReturns(result1 db.Tx, result2 error)

func (*FakeConn) BeginReturnsOnCall

func (fake *FakeConn) BeginReturnsOnCall(i int, result1 db.Tx, result2 error)

func (*FakeConn) Bus

func (fake *FakeConn) Bus() db.NotificationsBus

func (*FakeConn) BusCallCount

func (fake *FakeConn) BusCallCount() int

func (*FakeConn) BusReturns

func (fake *FakeConn) BusReturns(result1 db.NotificationsBus)

func (*FakeConn) BusReturnsOnCall

func (fake *FakeConn) BusReturnsOnCall(i int, result1 db.NotificationsBus)

func (*FakeConn) Close

func (fake *FakeConn) Close() error

func (*FakeConn) CloseCallCount

func (fake *FakeConn) CloseCallCount() int

func (*FakeConn) CloseReturns

func (fake *FakeConn) CloseReturns(result1 error)

func (*FakeConn) CloseReturnsOnCall

func (fake *FakeConn) CloseReturnsOnCall(i int, result1 error)

func (*FakeConn) Driver

func (fake *FakeConn) Driver() driver.Driver

func (*FakeConn) DriverCallCount

func (fake *FakeConn) DriverCallCount() int

func (*FakeConn) DriverReturns

func (fake *FakeConn) DriverReturns(result1 driver.Driver)

func (*FakeConn) DriverReturnsOnCall

func (fake *FakeConn) DriverReturnsOnCall(i int, result1 driver.Driver)

func (*FakeConn) EncryptionStrategy

func (fake *FakeConn) EncryptionStrategy() encryption.Strategy

func (*FakeConn) EncryptionStrategyCallCount

func (fake *FakeConn) EncryptionStrategyCallCount() int

func (*FakeConn) EncryptionStrategyReturns

func (fake *FakeConn) EncryptionStrategyReturns(result1 encryption.Strategy)

func (*FakeConn) EncryptionStrategyReturnsOnCall

func (fake *FakeConn) EncryptionStrategyReturnsOnCall(i int, result1 encryption.Strategy)

func (*FakeConn) Exec

func (fake *FakeConn) Exec(query string, args ...interface{}) (sql.Result, error)

func (*FakeConn) ExecArgsForCall

func (fake *FakeConn) ExecArgsForCall(i int) (string, []interface{})

func (*FakeConn) ExecCallCount

func (fake *FakeConn) ExecCallCount() int

func (*FakeConn) ExecReturns

func (fake *FakeConn) ExecReturns(result1 sql.Result, result2 error)

func (*FakeConn) ExecReturnsOnCall

func (fake *FakeConn) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)

func (*FakeConn) Invocations

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

func (*FakeConn) Name

func (fake *FakeConn) Name() string

func (*FakeConn) NameCallCount

func (fake *FakeConn) NameCallCount() int

func (*FakeConn) NameReturns

func (fake *FakeConn) NameReturns(result1 string)

func (*FakeConn) NameReturnsOnCall

func (fake *FakeConn) NameReturnsOnCall(i int, result1 string)

func (*FakeConn) Ping

func (fake *FakeConn) Ping() error

func (*FakeConn) PingCallCount

func (fake *FakeConn) PingCallCount() int

func (*FakeConn) PingReturns

func (fake *FakeConn) PingReturns(result1 error)

func (*FakeConn) PingReturnsOnCall

func (fake *FakeConn) PingReturnsOnCall(i int, result1 error)

func (*FakeConn) Prepare

func (fake *FakeConn) Prepare(query string) (*sql.Stmt, error)

func (*FakeConn) PrepareArgsForCall

func (fake *FakeConn) PrepareArgsForCall(i int) string

func (*FakeConn) PrepareCallCount

func (fake *FakeConn) PrepareCallCount() int

func (*FakeConn) PrepareReturns

func (fake *FakeConn) PrepareReturns(result1 *sql.Stmt, result2 error)

func (*FakeConn) PrepareReturnsOnCall

func (fake *FakeConn) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)

func (*FakeConn) Query

func (fake *FakeConn) Query(query string, args ...interface{}) (*sql.Rows, error)

func (*FakeConn) QueryArgsForCall

func (fake *FakeConn) QueryArgsForCall(i int) (string, []interface{})

func (*FakeConn) QueryCallCount

func (fake *FakeConn) QueryCallCount() int

func (*FakeConn) QueryReturns

func (fake *FakeConn) QueryReturns(result1 *sql.Rows, result2 error)

func (*FakeConn) QueryReturnsOnCall

func (fake *FakeConn) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)

func (*FakeConn) QueryRow

func (fake *FakeConn) QueryRow(query string, args ...interface{}) squirrel.RowScanner

func (*FakeConn) QueryRowArgsForCall

func (fake *FakeConn) QueryRowArgsForCall(i int) (string, []interface{})

func (*FakeConn) QueryRowCallCount

func (fake *FakeConn) QueryRowCallCount() int

func (*FakeConn) QueryRowReturns

func (fake *FakeConn) QueryRowReturns(result1 squirrel.RowScanner)

func (*FakeConn) QueryRowReturnsOnCall

func (fake *FakeConn) QueryRowReturnsOnCall(i int, result1 squirrel.RowScanner)

func (*FakeConn) SetMaxIdleConns

func (fake *FakeConn) SetMaxIdleConns(n int)

func (*FakeConn) SetMaxIdleConnsArgsForCall

func (fake *FakeConn) SetMaxIdleConnsArgsForCall(i int) int

func (*FakeConn) SetMaxIdleConnsCallCount

func (fake *FakeConn) SetMaxIdleConnsCallCount() int

func (*FakeConn) SetMaxOpenConns

func (fake *FakeConn) SetMaxOpenConns(n int)

func (*FakeConn) SetMaxOpenConnsArgsForCall

func (fake *FakeConn) SetMaxOpenConnsArgsForCall(i int) int

func (*FakeConn) SetMaxOpenConnsCallCount

func (fake *FakeConn) SetMaxOpenConnsCallCount() int

func (*FakeConn) Stats

func (fake *FakeConn) Stats() sql.DBStats

func (*FakeConn) StatsCallCount

func (fake *FakeConn) StatsCallCount() int

func (*FakeConn) StatsReturns

func (fake *FakeConn) StatsReturns(result1 sql.DBStats)

func (*FakeConn) StatsReturnsOnCall

func (fake *FakeConn) StatsReturnsOnCall(i int, result1 sql.DBStats)

type FakeContainer

type FakeContainer struct {
	IDStub func() int

	StateStub func() string

	HandleStub func() string

	WorkerNameStub func() string

	MetadataStub func() db.ContainerMetadata
	// contains filtered or unexported fields
}

func (*FakeContainer) Handle

func (fake *FakeContainer) Handle() string

func (*FakeContainer) HandleCallCount

func (fake *FakeContainer) HandleCallCount() int

func (*FakeContainer) HandleReturns

func (fake *FakeContainer) HandleReturns(result1 string)

func (*FakeContainer) HandleReturnsOnCall

func (fake *FakeContainer) HandleReturnsOnCall(i int, result1 string)

func (*FakeContainer) ID

func (fake *FakeContainer) ID() int

func (*FakeContainer) IDCallCount

func (fake *FakeContainer) IDCallCount() int

func (*FakeContainer) IDReturns

func (fake *FakeContainer) IDReturns(result1 int)

func (*FakeContainer) IDReturnsOnCall

func (fake *FakeContainer) IDReturnsOnCall(i int, result1 int)

func (*FakeContainer) Invocations

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

func (*FakeContainer) Metadata

func (fake *FakeContainer) Metadata() db.ContainerMetadata

func (*FakeContainer) MetadataCallCount

func (fake *FakeContainer) MetadataCallCount() int

func (*FakeContainer) MetadataReturns

func (fake *FakeContainer) MetadataReturns(result1 db.ContainerMetadata)

func (*FakeContainer) MetadataReturnsOnCall

func (fake *FakeContainer) MetadataReturnsOnCall(i int, result1 db.ContainerMetadata)

func (*FakeContainer) State

func (fake *FakeContainer) State() string

func (*FakeContainer) StateCallCount

func (fake *FakeContainer) StateCallCount() int

func (*FakeContainer) StateReturns

func (fake *FakeContainer) StateReturns(result1 string)

func (*FakeContainer) StateReturnsOnCall

func (fake *FakeContainer) StateReturnsOnCall(i int, result1 string)

func (*FakeContainer) WorkerName

func (fake *FakeContainer) WorkerName() string

func (*FakeContainer) WorkerNameCallCount

func (fake *FakeContainer) WorkerNameCallCount() int

func (*FakeContainer) WorkerNameReturns

func (fake *FakeContainer) WorkerNameReturns(result1 string)

func (*FakeContainer) WorkerNameReturnsOnCall

func (fake *FakeContainer) WorkerNameReturnsOnCall(i int, result1 string)

type FakeContainerOwner

type FakeContainerOwner struct {
	FindStub func(conn db.Conn) (sq.Eq, bool, error)

	CreateStub func(tx db.Tx, workerName string) (map[string]interface{}, error)
	// contains filtered or unexported fields
}

func (*FakeContainerOwner) Create

func (fake *FakeContainerOwner) Create(tx db.Tx, workerName string) (map[string]interface{}, error)

func (*FakeContainerOwner) CreateArgsForCall

func (fake *FakeContainerOwner) CreateArgsForCall(i int) (db.Tx, string)

func (*FakeContainerOwner) CreateCallCount

func (fake *FakeContainerOwner) CreateCallCount() int

func (*FakeContainerOwner) CreateReturns

func (fake *FakeContainerOwner) CreateReturns(result1 map[string]interface{}, result2 error)

func (*FakeContainerOwner) CreateReturnsOnCall

func (fake *FakeContainerOwner) CreateReturnsOnCall(i int, result1 map[string]interface{}, result2 error)

func (*FakeContainerOwner) Find

func (fake *FakeContainerOwner) Find(conn db.Conn) (sq.Eq, bool, error)

func (*FakeContainerOwner) FindArgsForCall

func (fake *FakeContainerOwner) FindArgsForCall(i int) db.Conn

func (*FakeContainerOwner) FindCallCount

func (fake *FakeContainerOwner) FindCallCount() int

func (*FakeContainerOwner) FindReturns

func (fake *FakeContainerOwner) FindReturns(result1 sq.Eq, result2 bool, result3 error)

func (*FakeContainerOwner) FindReturnsOnCall

func (fake *FakeContainerOwner) FindReturnsOnCall(i int, result1 sq.Eq, result2 bool, result3 error)

func (*FakeContainerOwner) Invocations

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

type FakeContainerRepository

type FakeContainerRepository struct {
	FindOrphanedContainersStub func() ([]db.CreatingContainer, []db.CreatedContainer, []db.DestroyingContainer, error)

	DestroyFailedContainersStub func() (int, error)

	FindDestroyingContainersStub func(workerName string) ([]string, error)

	RemoveDestroyingContainersStub func(workerName string, currentHandles []string) (int, error)
	// contains filtered or unexported fields
}

func (*FakeContainerRepository) DestroyFailedContainers

func (fake *FakeContainerRepository) DestroyFailedContainers() (int, error)

func (*FakeContainerRepository) DestroyFailedContainersCallCount

func (fake *FakeContainerRepository) DestroyFailedContainersCallCount() int

func (*FakeContainerRepository) DestroyFailedContainersReturns

func (fake *FakeContainerRepository) DestroyFailedContainersReturns(result1 int, result2 error)

func (*FakeContainerRepository) DestroyFailedContainersReturnsOnCall

func (fake *FakeContainerRepository) DestroyFailedContainersReturnsOnCall(i int, result1 int, result2 error)

func (*FakeContainerRepository) FindDestroyingContainers

func (fake *FakeContainerRepository) FindDestroyingContainers(workerName string) ([]string, error)

func (*FakeContainerRepository) FindDestroyingContainersArgsForCall

func (fake *FakeContainerRepository) FindDestroyingContainersArgsForCall(i int) string

func (*FakeContainerRepository) FindDestroyingContainersCallCount

func (fake *FakeContainerRepository) FindDestroyingContainersCallCount() int

func (*FakeContainerRepository) FindDestroyingContainersReturns

func (fake *FakeContainerRepository) FindDestroyingContainersReturns(result1 []string, result2 error)

func (*FakeContainerRepository) FindDestroyingContainersReturnsOnCall

func (fake *FakeContainerRepository) FindDestroyingContainersReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeContainerRepository) FindOrphanedContainers

func (fake *FakeContainerRepository) FindOrphanedContainers() ([]db.CreatingContainer, []db.CreatedContainer, []db.DestroyingContainer, error)

func (*FakeContainerRepository) FindOrphanedContainersCallCount

func (fake *FakeContainerRepository) FindOrphanedContainersCallCount() int

func (*FakeContainerRepository) FindOrphanedContainersReturns

func (fake *FakeContainerRepository) FindOrphanedContainersReturns(result1 []db.CreatingContainer, result2 []db.CreatedContainer, result3 []db.DestroyingContainer, result4 error)

func (*FakeContainerRepository) FindOrphanedContainersReturnsOnCall

func (fake *FakeContainerRepository) FindOrphanedContainersReturnsOnCall(i int, result1 []db.CreatingContainer, result2 []db.CreatedContainer, result3 []db.DestroyingContainer, result4 error)

func (*FakeContainerRepository) Invocations

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

func (*FakeContainerRepository) RemoveDestroyingContainers

func (fake *FakeContainerRepository) RemoveDestroyingContainers(workerName string, currentHandles []string) (int, error)

func (*FakeContainerRepository) RemoveDestroyingContainersArgsForCall

func (fake *FakeContainerRepository) RemoveDestroyingContainersArgsForCall(i int) (string, []string)

func (*FakeContainerRepository) RemoveDestroyingContainersCallCount

func (fake *FakeContainerRepository) RemoveDestroyingContainersCallCount() int

func (*FakeContainerRepository) RemoveDestroyingContainersReturns

func (fake *FakeContainerRepository) RemoveDestroyingContainersReturns(result1 int, result2 error)

func (*FakeContainerRepository) RemoveDestroyingContainersReturnsOnCall

func (fake *FakeContainerRepository) RemoveDestroyingContainersReturnsOnCall(i int, result1 int, result2 error)

type FakeCreatedContainer

type FakeCreatedContainer struct {
	IDStub func() int

	StateStub func() string

	HandleStub func() string

	WorkerNameStub func() string

	MetadataStub func() db.ContainerMetadata

	DiscontinueStub func() (db.DestroyingContainer, error)

	DestroyingStub func() (db.DestroyingContainer, error)

	IsHijackedStub func() bool

	MarkAsHijackedStub func() error
	// contains filtered or unexported fields
}

func (*FakeCreatedContainer) Destroying

func (fake *FakeCreatedContainer) Destroying() (db.DestroyingContainer, error)

func (*FakeCreatedContainer) DestroyingCallCount

func (fake *FakeCreatedContainer) DestroyingCallCount() int

func (*FakeCreatedContainer) DestroyingReturns

func (fake *FakeCreatedContainer) DestroyingReturns(result1 db.DestroyingContainer, result2 error)

func (*FakeCreatedContainer) DestroyingReturnsOnCall

func (fake *FakeCreatedContainer) DestroyingReturnsOnCall(i int, result1 db.DestroyingContainer, result2 error)

func (*FakeCreatedContainer) Discontinue

func (fake *FakeCreatedContainer) Discontinue() (db.DestroyingContainer, error)

func (*FakeCreatedContainer) DiscontinueCallCount

func (fake *FakeCreatedContainer) DiscontinueCallCount() int

func (*FakeCreatedContainer) DiscontinueReturns

func (fake *FakeCreatedContainer) DiscontinueReturns(result1 db.DestroyingContainer, result2 error)

func (*FakeCreatedContainer) DiscontinueReturnsOnCall

func (fake *FakeCreatedContainer) DiscontinueReturnsOnCall(i int, result1 db.DestroyingContainer, result2 error)

func (*FakeCreatedContainer) Handle

func (fake *FakeCreatedContainer) Handle() string

func (*FakeCreatedContainer) HandleCallCount

func (fake *FakeCreatedContainer) HandleCallCount() int

func (*FakeCreatedContainer) HandleReturns

func (fake *FakeCreatedContainer) HandleReturns(result1 string)

func (*FakeCreatedContainer) HandleReturnsOnCall

func (fake *FakeCreatedContainer) HandleReturnsOnCall(i int, result1 string)

func (*FakeCreatedContainer) ID

func (fake *FakeCreatedContainer) ID() int

func (*FakeCreatedContainer) IDCallCount

func (fake *FakeCreatedContainer) IDCallCount() int

func (*FakeCreatedContainer) IDReturns

func (fake *FakeCreatedContainer) IDReturns(result1 int)

func (*FakeCreatedContainer) IDReturnsOnCall

func (fake *FakeCreatedContainer) IDReturnsOnCall(i int, result1 int)

func (*FakeCreatedContainer) Invocations

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

func (*FakeCreatedContainer) IsHijacked

func (fake *FakeCreatedContainer) IsHijacked() bool

func (*FakeCreatedContainer) IsHijackedCallCount

func (fake *FakeCreatedContainer) IsHijackedCallCount() int

func (*FakeCreatedContainer) IsHijackedReturns

func (fake *FakeCreatedContainer) IsHijackedReturns(result1 bool)

func (*FakeCreatedContainer) IsHijackedReturnsOnCall

func (fake *FakeCreatedContainer) IsHijackedReturnsOnCall(i int, result1 bool)

func (*FakeCreatedContainer) MarkAsHijacked

func (fake *FakeCreatedContainer) MarkAsHijacked() error

func (*FakeCreatedContainer) MarkAsHijackedCallCount

func (fake *FakeCreatedContainer) MarkAsHijackedCallCount() int

func (*FakeCreatedContainer) MarkAsHijackedReturns

func (fake *FakeCreatedContainer) MarkAsHijackedReturns(result1 error)

func (*FakeCreatedContainer) MarkAsHijackedReturnsOnCall

func (fake *FakeCreatedContainer) MarkAsHijackedReturnsOnCall(i int, result1 error)

func (*FakeCreatedContainer) Metadata

func (fake *FakeCreatedContainer) Metadata() db.ContainerMetadata

func (*FakeCreatedContainer) MetadataCallCount

func (fake *FakeCreatedContainer) MetadataCallCount() int

func (*FakeCreatedContainer) MetadataReturns

func (fake *FakeCreatedContainer) MetadataReturns(result1 db.ContainerMetadata)

func (*FakeCreatedContainer) MetadataReturnsOnCall

func (fake *FakeCreatedContainer) MetadataReturnsOnCall(i int, result1 db.ContainerMetadata)

func (*FakeCreatedContainer) State

func (fake *FakeCreatedContainer) State() string

func (*FakeCreatedContainer) StateCallCount

func (fake *FakeCreatedContainer) StateCallCount() int

func (*FakeCreatedContainer) StateReturns

func (fake *FakeCreatedContainer) StateReturns(result1 string)

func (*FakeCreatedContainer) StateReturnsOnCall

func (fake *FakeCreatedContainer) StateReturnsOnCall(i int, result1 string)

func (*FakeCreatedContainer) WorkerName

func (fake *FakeCreatedContainer) WorkerName() string

func (*FakeCreatedContainer) WorkerNameCallCount

func (fake *FakeCreatedContainer) WorkerNameCallCount() int

func (*FakeCreatedContainer) WorkerNameReturns

func (fake *FakeCreatedContainer) WorkerNameReturns(result1 string)

func (*FakeCreatedContainer) WorkerNameReturnsOnCall

func (fake *FakeCreatedContainer) WorkerNameReturnsOnCall(i int, result1 string)

type FakeCreatedVolume

type FakeCreatedVolume struct {
	HandleStub func() string

	PathStub func() string

	TypeStub func() db.VolumeType

	TeamIDStub func() int

	CreateChildForContainerStub func(db.CreatingContainer, string) (db.CreatingVolume, error)

	DestroyingStub func() (db.DestroyingVolume, error)

	WorkerNameStub func() string

	InitializeResourceCacheStub func(db.UsedResourceCache) error

	InitializeTaskCacheStub func(int, string, string) error

	ContainerHandleStub func() string

	ParentHandleStub func() string

	ResourceTypeStub func() (*db.VolumeResourceType, error)

	BaseResourceTypeStub func() (*db.UsedWorkerBaseResourceType, error)

	TaskIdentifierStub func() (string, string, string, error)
	// contains filtered or unexported fields
}

func (*FakeCreatedVolume) BaseResourceType

func (fake *FakeCreatedVolume) BaseResourceType() (*db.UsedWorkerBaseResourceType, error)

func (*FakeCreatedVolume) BaseResourceTypeCallCount

func (fake *FakeCreatedVolume) BaseResourceTypeCallCount() int

func (*FakeCreatedVolume) BaseResourceTypeReturns

func (fake *FakeCreatedVolume) BaseResourceTypeReturns(result1 *db.UsedWorkerBaseResourceType, result2 error)

func (*FakeCreatedVolume) BaseResourceTypeReturnsOnCall

func (fake *FakeCreatedVolume) BaseResourceTypeReturnsOnCall(i int, result1 *db.UsedWorkerBaseResourceType, result2 error)

func (*FakeCreatedVolume) ContainerHandle

func (fake *FakeCreatedVolume) ContainerHandle() string

func (*FakeCreatedVolume) ContainerHandleCallCount

func (fake *FakeCreatedVolume) ContainerHandleCallCount() int

func (*FakeCreatedVolume) ContainerHandleReturns

func (fake *FakeCreatedVolume) ContainerHandleReturns(result1 string)

func (*FakeCreatedVolume) ContainerHandleReturnsOnCall

func (fake *FakeCreatedVolume) ContainerHandleReturnsOnCall(i int, result1 string)

func (*FakeCreatedVolume) CreateChildForContainer

func (fake *FakeCreatedVolume) CreateChildForContainer(arg1 db.CreatingContainer, arg2 string) (db.CreatingVolume, error)

func (*FakeCreatedVolume) CreateChildForContainerArgsForCall

func (fake *FakeCreatedVolume) CreateChildForContainerArgsForCall(i int) (db.CreatingContainer, string)

func (*FakeCreatedVolume) CreateChildForContainerCallCount

func (fake *FakeCreatedVolume) CreateChildForContainerCallCount() int

func (*FakeCreatedVolume) CreateChildForContainerReturns

func (fake *FakeCreatedVolume) CreateChildForContainerReturns(result1 db.CreatingVolume, result2 error)

func (*FakeCreatedVolume) CreateChildForContainerReturnsOnCall

func (fake *FakeCreatedVolume) CreateChildForContainerReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)

func (*FakeCreatedVolume) Destroying

func (fake *FakeCreatedVolume) Destroying() (db.DestroyingVolume, error)

func (*FakeCreatedVolume) DestroyingCallCount

func (fake *FakeCreatedVolume) DestroyingCallCount() int

func (*FakeCreatedVolume) DestroyingReturns

func (fake *FakeCreatedVolume) DestroyingReturns(result1 db.DestroyingVolume, result2 error)

func (*FakeCreatedVolume) DestroyingReturnsOnCall

func (fake *FakeCreatedVolume) DestroyingReturnsOnCall(i int, result1 db.DestroyingVolume, result2 error)

func (*FakeCreatedVolume) Handle

func (fake *FakeCreatedVolume) Handle() string

func (*FakeCreatedVolume) HandleCallCount

func (fake *FakeCreatedVolume) HandleCallCount() int

func (*FakeCreatedVolume) HandleReturns

func (fake *FakeCreatedVolume) HandleReturns(result1 string)

func (*FakeCreatedVolume) HandleReturnsOnCall

func (fake *FakeCreatedVolume) HandleReturnsOnCall(i int, result1 string)

func (*FakeCreatedVolume) InitializeResourceCache

func (fake *FakeCreatedVolume) InitializeResourceCache(arg1 db.UsedResourceCache) error

func (*FakeCreatedVolume) InitializeResourceCacheArgsForCall

func (fake *FakeCreatedVolume) InitializeResourceCacheArgsForCall(i int) db.UsedResourceCache

func (*FakeCreatedVolume) InitializeResourceCacheCallCount

func (fake *FakeCreatedVolume) InitializeResourceCacheCallCount() int

func (*FakeCreatedVolume) InitializeResourceCacheReturns

func (fake *FakeCreatedVolume) InitializeResourceCacheReturns(result1 error)

func (*FakeCreatedVolume) InitializeResourceCacheReturnsOnCall

func (fake *FakeCreatedVolume) InitializeResourceCacheReturnsOnCall(i int, result1 error)

func (*FakeCreatedVolume) InitializeTaskCache

func (fake *FakeCreatedVolume) InitializeTaskCache(arg1 int, arg2 string, arg3 string) error

func (*FakeCreatedVolume) InitializeTaskCacheArgsForCall

func (fake *FakeCreatedVolume) InitializeTaskCacheArgsForCall(i int) (int, string, string)

func (*FakeCreatedVolume) InitializeTaskCacheCallCount

func (fake *FakeCreatedVolume) InitializeTaskCacheCallCount() int

func (*FakeCreatedVolume) InitializeTaskCacheReturns

func (fake *FakeCreatedVolume) InitializeTaskCacheReturns(result1 error)

func (*FakeCreatedVolume) InitializeTaskCacheReturnsOnCall

func (fake *FakeCreatedVolume) InitializeTaskCacheReturnsOnCall(i int, result1 error)

func (*FakeCreatedVolume) Invocations

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

func (*FakeCreatedVolume) ParentHandle

func (fake *FakeCreatedVolume) ParentHandle() string

func (*FakeCreatedVolume) ParentHandleCallCount

func (fake *FakeCreatedVolume) ParentHandleCallCount() int

func (*FakeCreatedVolume) ParentHandleReturns

func (fake *FakeCreatedVolume) ParentHandleReturns(result1 string)

func (*FakeCreatedVolume) ParentHandleReturnsOnCall

func (fake *FakeCreatedVolume) ParentHandleReturnsOnCall(i int, result1 string)

func (*FakeCreatedVolume) Path

func (fake *FakeCreatedVolume) Path() string

func (*FakeCreatedVolume) PathCallCount

func (fake *FakeCreatedVolume) PathCallCount() int

func (*FakeCreatedVolume) PathReturns

func (fake *FakeCreatedVolume) PathReturns(result1 string)

func (*FakeCreatedVolume) PathReturnsOnCall

func (fake *FakeCreatedVolume) PathReturnsOnCall(i int, result1 string)

func (*FakeCreatedVolume) ResourceType

func (fake *FakeCreatedVolume) ResourceType() (*db.VolumeResourceType, error)

func (*FakeCreatedVolume) ResourceTypeCallCount

func (fake *FakeCreatedVolume) ResourceTypeCallCount() int

func (*FakeCreatedVolume) ResourceTypeReturns

func (fake *FakeCreatedVolume) ResourceTypeReturns(result1 *db.VolumeResourceType, result2 error)

func (*FakeCreatedVolume) ResourceTypeReturnsOnCall

func (fake *FakeCreatedVolume) ResourceTypeReturnsOnCall(i int, result1 *db.VolumeResourceType, result2 error)

func (*FakeCreatedVolume) TaskIdentifier

func (fake *FakeCreatedVolume) TaskIdentifier() (string, string, string, error)

func (*FakeCreatedVolume) TaskIdentifierCallCount

func (fake *FakeCreatedVolume) TaskIdentifierCallCount() int

func (*FakeCreatedVolume) TaskIdentifierReturns

func (fake *FakeCreatedVolume) TaskIdentifierReturns(result1 string, result2 string, result3 string, result4 error)

func (*FakeCreatedVolume) TaskIdentifierReturnsOnCall

func (fake *FakeCreatedVolume) TaskIdentifierReturnsOnCall(i int, result1 string, result2 string, result3 string, result4 error)

func (*FakeCreatedVolume) TeamID

func (fake *FakeCreatedVolume) TeamID() int

func (*FakeCreatedVolume) TeamIDCallCount

func (fake *FakeCreatedVolume) TeamIDCallCount() int

func (*FakeCreatedVolume) TeamIDReturns

func (fake *FakeCreatedVolume) TeamIDReturns(result1 int)

func (*FakeCreatedVolume) TeamIDReturnsOnCall

func (fake *FakeCreatedVolume) TeamIDReturnsOnCall(i int, result1 int)

func (*FakeCreatedVolume) Type

func (fake *FakeCreatedVolume) Type() db.VolumeType

func (*FakeCreatedVolume) TypeCallCount

func (fake *FakeCreatedVolume) TypeCallCount() int

func (*FakeCreatedVolume) TypeReturns

func (fake *FakeCreatedVolume) TypeReturns(result1 db.VolumeType)

func (*FakeCreatedVolume) TypeReturnsOnCall

func (fake *FakeCreatedVolume) TypeReturnsOnCall(i int, result1 db.VolumeType)

func (*FakeCreatedVolume) WorkerName

func (fake *FakeCreatedVolume) WorkerName() string

func (*FakeCreatedVolume) WorkerNameCallCount

func (fake *FakeCreatedVolume) WorkerNameCallCount() int

func (*FakeCreatedVolume) WorkerNameReturns

func (fake *FakeCreatedVolume) WorkerNameReturns(result1 string)

func (*FakeCreatedVolume) WorkerNameReturnsOnCall

func (fake *FakeCreatedVolume) WorkerNameReturnsOnCall(i int, result1 string)

type FakeCreatingContainer

type FakeCreatingContainer struct {
	IDStub func() int

	StateStub func() string

	HandleStub func() string

	WorkerNameStub func() string

	MetadataStub func() db.ContainerMetadata

	CreatedStub func() (db.CreatedContainer, error)

	FailedStub func() (db.FailedContainer, error)
	// contains filtered or unexported fields
}

func (*FakeCreatingContainer) Created

func (fake *FakeCreatingContainer) Created() (db.CreatedContainer, error)

func (*FakeCreatingContainer) CreatedCallCount

func (fake *FakeCreatingContainer) CreatedCallCount() int

func (*FakeCreatingContainer) CreatedReturns

func (fake *FakeCreatingContainer) CreatedReturns(result1 db.CreatedContainer, result2 error)

func (*FakeCreatingContainer) CreatedReturnsOnCall

func (fake *FakeCreatingContainer) CreatedReturnsOnCall(i int, result1 db.CreatedContainer, result2 error)

func (*FakeCreatingContainer) Failed

func (fake *FakeCreatingContainer) Failed() (db.FailedContainer, error)

func (*FakeCreatingContainer) FailedCallCount

func (fake *FakeCreatingContainer) FailedCallCount() int

func (*FakeCreatingContainer) FailedReturns

func (fake *FakeCreatingContainer) FailedReturns(result1 db.FailedContainer, result2 error)

func (*FakeCreatingContainer) FailedReturnsOnCall

func (fake *FakeCreatingContainer) FailedReturnsOnCall(i int, result1 db.FailedContainer, result2 error)

func (*FakeCreatingContainer) Handle

func (fake *FakeCreatingContainer) Handle() string

func (*FakeCreatingContainer) HandleCallCount

func (fake *FakeCreatingContainer) HandleCallCount() int

func (*FakeCreatingContainer) HandleReturns

func (fake *FakeCreatingContainer) HandleReturns(result1 string)

func (*FakeCreatingContainer) HandleReturnsOnCall

func (fake *FakeCreatingContainer) HandleReturnsOnCall(i int, result1 string)

func (*FakeCreatingContainer) ID

func (fake *FakeCreatingContainer) ID() int

func (*FakeCreatingContainer) IDCallCount

func (fake *FakeCreatingContainer) IDCallCount() int

func (*FakeCreatingContainer) IDReturns

func (fake *FakeCreatingContainer) IDReturns(result1 int)

func (*FakeCreatingContainer) IDReturnsOnCall

func (fake *FakeCreatingContainer) IDReturnsOnCall(i int, result1 int)

func (*FakeCreatingContainer) Invocations

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

func (*FakeCreatingContainer) Metadata

func (fake *FakeCreatingContainer) Metadata() db.ContainerMetadata

func (*FakeCreatingContainer) MetadataCallCount

func (fake *FakeCreatingContainer) MetadataCallCount() int

func (*FakeCreatingContainer) MetadataReturns

func (fake *FakeCreatingContainer) MetadataReturns(result1 db.ContainerMetadata)

func (*FakeCreatingContainer) MetadataReturnsOnCall

func (fake *FakeCreatingContainer) MetadataReturnsOnCall(i int, result1 db.ContainerMetadata)

func (*FakeCreatingContainer) State

func (fake *FakeCreatingContainer) State() string

func (*FakeCreatingContainer) StateCallCount

func (fake *FakeCreatingContainer) StateCallCount() int

func (*FakeCreatingContainer) StateReturns

func (fake *FakeCreatingContainer) StateReturns(result1 string)

func (*FakeCreatingContainer) StateReturnsOnCall

func (fake *FakeCreatingContainer) StateReturnsOnCall(i int, result1 string)

func (*FakeCreatingContainer) WorkerName

func (fake *FakeCreatingContainer) WorkerName() string

func (*FakeCreatingContainer) WorkerNameCallCount

func (fake *FakeCreatingContainer) WorkerNameCallCount() int

func (*FakeCreatingContainer) WorkerNameReturns

func (fake *FakeCreatingContainer) WorkerNameReturns(result1 string)

func (*FakeCreatingContainer) WorkerNameReturnsOnCall

func (fake *FakeCreatingContainer) WorkerNameReturnsOnCall(i int, result1 string)

type FakeCreatingVolume

type FakeCreatingVolume struct {
	HandleStub func() string

	IDStub func() int

	CreatedStub func() (db.CreatedVolume, error)

	FailedStub func() (db.FailedVolume, error)
	// contains filtered or unexported fields
}

func (*FakeCreatingVolume) Created

func (fake *FakeCreatingVolume) Created() (db.CreatedVolume, error)

func (*FakeCreatingVolume) CreatedCallCount

func (fake *FakeCreatingVolume) CreatedCallCount() int

func (*FakeCreatingVolume) CreatedReturns

func (fake *FakeCreatingVolume) CreatedReturns(result1 db.CreatedVolume, result2 error)

func (*FakeCreatingVolume) CreatedReturnsOnCall

func (fake *FakeCreatingVolume) CreatedReturnsOnCall(i int, result1 db.CreatedVolume, result2 error)

func (*FakeCreatingVolume) Failed

func (fake *FakeCreatingVolume) Failed() (db.FailedVolume, error)

func (*FakeCreatingVolume) FailedCallCount

func (fake *FakeCreatingVolume) FailedCallCount() int

func (*FakeCreatingVolume) FailedReturns

func (fake *FakeCreatingVolume) FailedReturns(result1 db.FailedVolume, result2 error)

func (*FakeCreatingVolume) FailedReturnsOnCall

func (fake *FakeCreatingVolume) FailedReturnsOnCall(i int, result1 db.FailedVolume, result2 error)

func (*FakeCreatingVolume) Handle

func (fake *FakeCreatingVolume) Handle() string

func (*FakeCreatingVolume) HandleCallCount

func (fake *FakeCreatingVolume) HandleCallCount() int

func (*FakeCreatingVolume) HandleReturns

func (fake *FakeCreatingVolume) HandleReturns(result1 string)

func (*FakeCreatingVolume) HandleReturnsOnCall

func (fake *FakeCreatingVolume) HandleReturnsOnCall(i int, result1 string)

func (*FakeCreatingVolume) ID

func (fake *FakeCreatingVolume) ID() int

func (*FakeCreatingVolume) IDCallCount

func (fake *FakeCreatingVolume) IDCallCount() int

func (*FakeCreatingVolume) IDReturns

func (fake *FakeCreatingVolume) IDReturns(result1 int)

func (*FakeCreatingVolume) IDReturnsOnCall

func (fake *FakeCreatingVolume) IDReturnsOnCall(i int, result1 int)

func (*FakeCreatingVolume) Invocations

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

type FakeDestroyingContainer

type FakeDestroyingContainer struct {
	IDStub func() int

	StateStub func() string

	HandleStub func() string

	WorkerNameStub func() string

	MetadataStub func() db.ContainerMetadata

	DestroyStub func() (bool, error)

	IsDiscontinuedStub func() bool
	// contains filtered or unexported fields
}

func (*FakeDestroyingContainer) Destroy

func (fake *FakeDestroyingContainer) Destroy() (bool, error)

func (*FakeDestroyingContainer) DestroyCallCount

func (fake *FakeDestroyingContainer) DestroyCallCount() int

func (*FakeDestroyingContainer) DestroyReturns

func (fake *FakeDestroyingContainer) DestroyReturns(result1 bool, result2 error)

func (*FakeDestroyingContainer) DestroyReturnsOnCall

func (fake *FakeDestroyingContainer) DestroyReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeDestroyingContainer) Handle

func (fake *FakeDestroyingContainer) Handle() string

func (*FakeDestroyingContainer) HandleCallCount

func (fake *FakeDestroyingContainer) HandleCallCount() int

func (*FakeDestroyingContainer) HandleReturns

func (fake *FakeDestroyingContainer) HandleReturns(result1 string)

func (*FakeDestroyingContainer) HandleReturnsOnCall

func (fake *FakeDestroyingContainer) HandleReturnsOnCall(i int, result1 string)

func (*FakeDestroyingContainer) ID

func (fake *FakeDestroyingContainer) ID() int

func (*FakeDestroyingContainer) IDCallCount

func (fake *FakeDestroyingContainer) IDCallCount() int

func (*FakeDestroyingContainer) IDReturns

func (fake *FakeDestroyingContainer) IDReturns(result1 int)

func (*FakeDestroyingContainer) IDReturnsOnCall

func (fake *FakeDestroyingContainer) IDReturnsOnCall(i int, result1 int)

func (*FakeDestroyingContainer) Invocations

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

func (*FakeDestroyingContainer) IsDiscontinued

func (fake *FakeDestroyingContainer) IsDiscontinued() bool

func (*FakeDestroyingContainer) IsDiscontinuedCallCount

func (fake *FakeDestroyingContainer) IsDiscontinuedCallCount() int

func (*FakeDestroyingContainer) IsDiscontinuedReturns

func (fake *FakeDestroyingContainer) IsDiscontinuedReturns(result1 bool)

func (*FakeDestroyingContainer) IsDiscontinuedReturnsOnCall

func (fake *FakeDestroyingContainer) IsDiscontinuedReturnsOnCall(i int, result1 bool)

func (*FakeDestroyingContainer) Metadata

func (fake *FakeDestroyingContainer) Metadata() db.ContainerMetadata

func (*FakeDestroyingContainer) MetadataCallCount

func (fake *FakeDestroyingContainer) MetadataCallCount() int

func (*FakeDestroyingContainer) MetadataReturns

func (fake *FakeDestroyingContainer) MetadataReturns(result1 db.ContainerMetadata)

func (*FakeDestroyingContainer) MetadataReturnsOnCall

func (fake *FakeDestroyingContainer) MetadataReturnsOnCall(i int, result1 db.ContainerMetadata)

func (*FakeDestroyingContainer) State

func (fake *FakeDestroyingContainer) State() string

func (*FakeDestroyingContainer) StateCallCount

func (fake *FakeDestroyingContainer) StateCallCount() int

func (*FakeDestroyingContainer) StateReturns

func (fake *FakeDestroyingContainer) StateReturns(result1 string)

func (*FakeDestroyingContainer) StateReturnsOnCall

func (fake *FakeDestroyingContainer) StateReturnsOnCall(i int, result1 string)

func (*FakeDestroyingContainer) WorkerName

func (fake *FakeDestroyingContainer) WorkerName() string

func (*FakeDestroyingContainer) WorkerNameCallCount

func (fake *FakeDestroyingContainer) WorkerNameCallCount() int

func (*FakeDestroyingContainer) WorkerNameReturns

func (fake *FakeDestroyingContainer) WorkerNameReturns(result1 string)

func (*FakeDestroyingContainer) WorkerNameReturnsOnCall

func (fake *FakeDestroyingContainer) WorkerNameReturnsOnCall(i int, result1 string)

type FakeDestroyingVolume

type FakeDestroyingVolume struct {
	HandleStub func() string

	DestroyStub func() (bool, error)

	WorkerNameStub func() string
	// contains filtered or unexported fields
}

func (*FakeDestroyingVolume) Destroy

func (fake *FakeDestroyingVolume) Destroy() (bool, error)

func (*FakeDestroyingVolume) DestroyCallCount

func (fake *FakeDestroyingVolume) DestroyCallCount() int

func (*FakeDestroyingVolume) DestroyReturns

func (fake *FakeDestroyingVolume) DestroyReturns(result1 bool, result2 error)

func (*FakeDestroyingVolume) DestroyReturnsOnCall

func (fake *FakeDestroyingVolume) DestroyReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeDestroyingVolume) Handle

func (fake *FakeDestroyingVolume) Handle() string

func (*FakeDestroyingVolume) HandleCallCount

func (fake *FakeDestroyingVolume) HandleCallCount() int

func (*FakeDestroyingVolume) HandleReturns

func (fake *FakeDestroyingVolume) HandleReturns(result1 string)

func (*FakeDestroyingVolume) HandleReturnsOnCall

func (fake *FakeDestroyingVolume) HandleReturnsOnCall(i int, result1 string)

func (*FakeDestroyingVolume) Invocations

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

func (*FakeDestroyingVolume) WorkerName

func (fake *FakeDestroyingVolume) WorkerName() string

func (*FakeDestroyingVolume) WorkerNameCallCount

func (fake *FakeDestroyingVolume) WorkerNameCallCount() int

func (*FakeDestroyingVolume) WorkerNameReturns

func (fake *FakeDestroyingVolume) WorkerNameReturns(result1 string)

func (*FakeDestroyingVolume) WorkerNameReturnsOnCall

func (fake *FakeDestroyingVolume) WorkerNameReturnsOnCall(i int, result1 string)

type FakeEventSource

type FakeEventSource struct {
	NextStub func() (event.Envelope, error)

	CloseStub func() error
	// contains filtered or unexported fields
}

func (*FakeEventSource) Close

func (fake *FakeEventSource) Close() error

func (*FakeEventSource) CloseCallCount

func (fake *FakeEventSource) CloseCallCount() int

func (*FakeEventSource) CloseReturns

func (fake *FakeEventSource) CloseReturns(result1 error)

func (*FakeEventSource) CloseReturnsOnCall

func (fake *FakeEventSource) CloseReturnsOnCall(i int, result1 error)

func (*FakeEventSource) Invocations

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

func (*FakeEventSource) Next

func (fake *FakeEventSource) Next() (event.Envelope, error)

func (*FakeEventSource) NextCallCount

func (fake *FakeEventSource) NextCallCount() int

func (*FakeEventSource) NextReturns

func (fake *FakeEventSource) NextReturns(result1 event.Envelope, result2 error)

func (*FakeEventSource) NextReturnsOnCall

func (fake *FakeEventSource) NextReturnsOnCall(i int, result1 event.Envelope, result2 error)

type FakeFailedContainer

type FakeFailedContainer struct {
	IDStub func() int

	StateStub func() string

	HandleStub func() string

	WorkerNameStub func() string

	MetadataStub func() db.ContainerMetadata

	DestroyStub func() (bool, error)
	// contains filtered or unexported fields
}

func (*FakeFailedContainer) Destroy

func (fake *FakeFailedContainer) Destroy() (bool, error)

func (*FakeFailedContainer) DestroyCallCount

func (fake *FakeFailedContainer) DestroyCallCount() int

func (*FakeFailedContainer) DestroyReturns

func (fake *FakeFailedContainer) DestroyReturns(result1 bool, result2 error)

func (*FakeFailedContainer) DestroyReturnsOnCall

func (fake *FakeFailedContainer) DestroyReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeFailedContainer) Handle

func (fake *FakeFailedContainer) Handle() string

func (*FakeFailedContainer) HandleCallCount

func (fake *FakeFailedContainer) HandleCallCount() int

func (*FakeFailedContainer) HandleReturns

func (fake *FakeFailedContainer) HandleReturns(result1 string)

func (*FakeFailedContainer) HandleReturnsOnCall

func (fake *FakeFailedContainer) HandleReturnsOnCall(i int, result1 string)

func (*FakeFailedContainer) ID

func (fake *FakeFailedContainer) ID() int

func (*FakeFailedContainer) IDCallCount

func (fake *FakeFailedContainer) IDCallCount() int

func (*FakeFailedContainer) IDReturns

func (fake *FakeFailedContainer) IDReturns(result1 int)

func (*FakeFailedContainer) IDReturnsOnCall

func (fake *FakeFailedContainer) IDReturnsOnCall(i int, result1 int)

func (*FakeFailedContainer) Invocations

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

func (*FakeFailedContainer) Metadata

func (fake *FakeFailedContainer) Metadata() db.ContainerMetadata

func (*FakeFailedContainer) MetadataCallCount

func (fake *FakeFailedContainer) MetadataCallCount() int

func (*FakeFailedContainer) MetadataReturns

func (fake *FakeFailedContainer) MetadataReturns(result1 db.ContainerMetadata)

func (*FakeFailedContainer) MetadataReturnsOnCall

func (fake *FakeFailedContainer) MetadataReturnsOnCall(i int, result1 db.ContainerMetadata)

func (*FakeFailedContainer) State

func (fake *FakeFailedContainer) State() string

func (*FakeFailedContainer) StateCallCount

func (fake *FakeFailedContainer) StateCallCount() int

func (*FakeFailedContainer) StateReturns

func (fake *FakeFailedContainer) StateReturns(result1 string)

func (*FakeFailedContainer) StateReturnsOnCall

func (fake *FakeFailedContainer) StateReturnsOnCall(i int, result1 string)

func (*FakeFailedContainer) WorkerName

func (fake *FakeFailedContainer) WorkerName() string

func (*FakeFailedContainer) WorkerNameCallCount

func (fake *FakeFailedContainer) WorkerNameCallCount() int

func (*FakeFailedContainer) WorkerNameReturns

func (fake *FakeFailedContainer) WorkerNameReturns(result1 string)

func (*FakeFailedContainer) WorkerNameReturnsOnCall

func (fake *FakeFailedContainer) WorkerNameReturnsOnCall(i int, result1 string)

type FakeJob

type FakeJob struct {
	IDStub func() int

	NameStub func() string

	PausedStub func() bool

	FirstLoggedBuildIDStub func() int

	PipelineIDStub func() int

	PipelineNameStub func() string

	TeamIDStub func() int

	TeamNameStub func() string

	ConfigStub func() atc.JobConfig

	TagsStub func() []string

	ReloadStub func() (bool, error)

	PauseStub func() error

	UnpauseStub func() error

	CreateBuildStub func() (db.Build, error)

	BuildsStub func(page db.Page) ([]db.Build, db.Pagination, error)

	BuildStub func(name string) (db.Build, bool, error)

	FinishedAndNextBuildStub func() (db.Build, db.Build, error)

	UpdateFirstLoggedBuildIDStub func(newFirstLoggedBuildID int) error

	EnsurePendingBuildExistsStub func() error

	GetPendingBuildsStub func() ([]db.Build, error)

	GetIndependentBuildInputsStub func() ([]db.BuildInput, error)

	GetNextBuildInputsStub func() ([]db.BuildInput, bool, error)

	SaveNextInputMappingStub func(inputMapping algorithm.InputMapping) error

	SaveIndependentInputMappingStub func(inputMapping algorithm.InputMapping) error

	DeleteNextInputMappingStub func() error

	SetMaxInFlightReachedStub func(bool) error

	GetRunningBuildsBySerialGroupStub func(serialGroups []string) ([]db.Build, error)

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

	ClearTaskCacheStub func(string, string) (int64, error)
	// contains filtered or unexported fields
}

func (*FakeJob) Build

func (fake *FakeJob) Build(name string) (db.Build, bool, error)

func (*FakeJob) BuildArgsForCall

func (fake *FakeJob) BuildArgsForCall(i int) string

func (*FakeJob) BuildCallCount

func (fake *FakeJob) BuildCallCount() int

func (*FakeJob) BuildReturns

func (fake *FakeJob) BuildReturns(result1 db.Build, result2 bool, result3 error)

func (*FakeJob) BuildReturnsOnCall

func (fake *FakeJob) BuildReturnsOnCall(i int, result1 db.Build, result2 bool, result3 error)

func (*FakeJob) Builds

func (fake *FakeJob) Builds(page db.Page) ([]db.Build, db.Pagination, error)

func (*FakeJob) BuildsArgsForCall

func (fake *FakeJob) BuildsArgsForCall(i int) db.Page

func (*FakeJob) BuildsCallCount

func (fake *FakeJob) BuildsCallCount() int

func (*FakeJob) BuildsReturns

func (fake *FakeJob) BuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)

func (*FakeJob) BuildsReturnsOnCall

func (fake *FakeJob) BuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)

func (*FakeJob) ClearTaskCache

func (fake *FakeJob) ClearTaskCache(arg1 string, arg2 string) (int64, error)

func (*FakeJob) ClearTaskCacheArgsForCall

func (fake *FakeJob) ClearTaskCacheArgsForCall(i int) (string, string)

func (*FakeJob) ClearTaskCacheCallCount

func (fake *FakeJob) ClearTaskCacheCallCount() int

func (*FakeJob) ClearTaskCacheReturns

func (fake *FakeJob) ClearTaskCacheReturns(result1 int64, result2 error)

func (*FakeJob) ClearTaskCacheReturnsOnCall

func (fake *FakeJob) ClearTaskCacheReturnsOnCall(i int, result1 int64, result2 error)

func (*FakeJob) Config

func (fake *FakeJob) Config() atc.JobConfig

func (*FakeJob) ConfigCallCount

func (fake *FakeJob) ConfigCallCount() int

func (*FakeJob) ConfigReturns

func (fake *FakeJob) ConfigReturns(result1 atc.JobConfig)

func (*FakeJob) ConfigReturnsOnCall

func (fake *FakeJob) ConfigReturnsOnCall(i int, result1 atc.JobConfig)

func (*FakeJob) CreateBuild

func (fake *FakeJob) CreateBuild() (db.Build, error)

func (*FakeJob) CreateBuildCallCount

func (fake *FakeJob) CreateBuildCallCount() int

func (*FakeJob) CreateBuildReturns

func (fake *FakeJob) CreateBuildReturns(result1 db.Build, result2 error)

func (*FakeJob) CreateBuildReturnsOnCall

func (fake *FakeJob) CreateBuildReturnsOnCall(i int, result1 db.Build, result2 error)

func (*FakeJob) DeleteNextInputMapping

func (fake *FakeJob) DeleteNextInputMapping() error

func (*FakeJob) DeleteNextInputMappingCallCount

func (fake *FakeJob) DeleteNextInputMappingCallCount() int

func (*FakeJob) DeleteNextInputMappingReturns

func (fake *FakeJob) DeleteNextInputMappingReturns(result1 error)

func (*FakeJob) DeleteNextInputMappingReturnsOnCall

func (fake *FakeJob) DeleteNextInputMappingReturnsOnCall(i int, result1 error)

func (*FakeJob) EnsurePendingBuildExists

func (fake *FakeJob) EnsurePendingBuildExists() error

func (*FakeJob) EnsurePendingBuildExistsCallCount

func (fake *FakeJob) EnsurePendingBuildExistsCallCount() int

func (*FakeJob) EnsurePendingBuildExistsReturns

func (fake *FakeJob) EnsurePendingBuildExistsReturns(result1 error)

func (*FakeJob) EnsurePendingBuildExistsReturnsOnCall

func (fake *FakeJob) EnsurePendingBuildExistsReturnsOnCall(i int, result1 error)

func (*FakeJob) FinishedAndNextBuild

func (fake *FakeJob) FinishedAndNextBuild() (db.Build, db.Build, error)

func (*FakeJob) FinishedAndNextBuildCallCount

func (fake *FakeJob) FinishedAndNextBuildCallCount() int

func (*FakeJob) FinishedAndNextBuildReturns

func (fake *FakeJob) FinishedAndNextBuildReturns(result1 db.Build, result2 db.Build, result3 error)

func (*FakeJob) FinishedAndNextBuildReturnsOnCall

func (fake *FakeJob) FinishedAndNextBuildReturnsOnCall(i int, result1 db.Build, result2 db.Build, result3 error)

func (*FakeJob) FirstLoggedBuildID

func (fake *FakeJob) FirstLoggedBuildID() int

func (*FakeJob) FirstLoggedBuildIDCallCount

func (fake *FakeJob) FirstLoggedBuildIDCallCount() int

func (*FakeJob) FirstLoggedBuildIDReturns

func (fake *FakeJob) FirstLoggedBuildIDReturns(result1 int)

func (*FakeJob) FirstLoggedBuildIDReturnsOnCall

func (fake *FakeJob) FirstLoggedBuildIDReturnsOnCall(i int, result1 int)

func (*FakeJob) GetIndependentBuildInputs

func (fake *FakeJob) GetIndependentBuildInputs() ([]db.BuildInput, error)

func (*FakeJob) GetIndependentBuildInputsCallCount

func (fake *FakeJob) GetIndependentBuildInputsCallCount() int

func (*FakeJob) GetIndependentBuildInputsReturns

func (fake *FakeJob) GetIndependentBuildInputsReturns(result1 []db.BuildInput, result2 error)

func (*FakeJob) GetIndependentBuildInputsReturnsOnCall

func (fake *FakeJob) GetIndependentBuildInputsReturnsOnCall(i int, result1 []db.BuildInput, result2 error)

func (*FakeJob) GetNextBuildInputs

func (fake *FakeJob) GetNextBuildInputs() ([]db.BuildInput, bool, error)

func (*FakeJob) GetNextBuildInputsCallCount

func (fake *FakeJob) GetNextBuildInputsCallCount() int

func (*FakeJob) GetNextBuildInputsReturns

func (fake *FakeJob) GetNextBuildInputsReturns(result1 []db.BuildInput, result2 bool, result3 error)

func (*FakeJob) GetNextBuildInputsReturnsOnCall

func (fake *FakeJob) GetNextBuildInputsReturnsOnCall(i int, result1 []db.BuildInput, result2 bool, result3 error)

func (*FakeJob) GetNextPendingBuildBySerialGroup

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

func (*FakeJob) GetNextPendingBuildBySerialGroupArgsForCall

func (fake *FakeJob) GetNextPendingBuildBySerialGroupArgsForCall(i int) []string

func (*FakeJob) GetNextPendingBuildBySerialGroupCallCount

func (fake *FakeJob) GetNextPendingBuildBySerialGroupCallCount() int

func (*FakeJob) GetNextPendingBuildBySerialGroupReturns

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

func (*FakeJob) GetNextPendingBuildBySerialGroupReturnsOnCall

func (fake *FakeJob) GetNextPendingBuildBySerialGroupReturnsOnCall(i int, result1 db.Build, result2 bool, result3 error)

func (*FakeJob) GetPendingBuilds

func (fake *FakeJob) GetPendingBuilds() ([]db.Build, error)

func (*FakeJob) GetPendingBuildsCallCount

func (fake *FakeJob) GetPendingBuildsCallCount() int

func (*FakeJob) GetPendingBuildsReturns

func (fake *FakeJob) GetPendingBuildsReturns(result1 []db.Build, result2 error)

func (*FakeJob) GetPendingBuildsReturnsOnCall

func (fake *FakeJob) GetPendingBuildsReturnsOnCall(i int, result1 []db.Build, result2 error)

func (*FakeJob) GetRunningBuildsBySerialGroup

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

func (*FakeJob) GetRunningBuildsBySerialGroupArgsForCall

func (fake *FakeJob) GetRunningBuildsBySerialGroupArgsForCall(i int) []string

func (*FakeJob) GetRunningBuildsBySerialGroupCallCount

func (fake *FakeJob) GetRunningBuildsBySerialGroupCallCount() int

func (*FakeJob) GetRunningBuildsBySerialGroupReturns

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

func (*FakeJob) GetRunningBuildsBySerialGroupReturnsOnCall

func (fake *FakeJob) GetRunningBuildsBySerialGroupReturnsOnCall(i int, result1 []db.Build, result2 error)

func (*FakeJob) ID

func (fake *FakeJob) ID() int

func (*FakeJob) IDCallCount

func (fake *FakeJob) IDCallCount() int

func (*FakeJob) IDReturns

func (fake *FakeJob) IDReturns(result1 int)

func (*FakeJob) IDReturnsOnCall

func (fake *FakeJob) IDReturnsOnCall(i int, result1 int)

func (*FakeJob) Invocations

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

func (*FakeJob) Name

func (fake *FakeJob) Name() string

func (*FakeJob) NameCallCount

func (fake *FakeJob) NameCallCount() int

func (*FakeJob) NameReturns

func (fake *FakeJob) NameReturns(result1 string)

func (*FakeJob) NameReturnsOnCall

func (fake *FakeJob) NameReturnsOnCall(i int, result1 string)

func (*FakeJob) Pause

func (fake *FakeJob) Pause() error

func (*FakeJob) PauseCallCount

func (fake *FakeJob) PauseCallCount() int

func (*FakeJob) PauseReturns

func (fake *FakeJob) PauseReturns(result1 error)

func (*FakeJob) PauseReturnsOnCall

func (fake *FakeJob) PauseReturnsOnCall(i int, result1 error)

func (*FakeJob) Paused

func (fake *FakeJob) Paused() bool

func (*FakeJob) PausedCallCount

func (fake *FakeJob) PausedCallCount() int

func (*FakeJob) PausedReturns

func (fake *FakeJob) PausedReturns(result1 bool)

func (*FakeJob) PausedReturnsOnCall

func (fake *FakeJob) PausedReturnsOnCall(i int, result1 bool)

func (*FakeJob) PipelineID

func (fake *FakeJob) PipelineID() int

func (*FakeJob) PipelineIDCallCount

func (fake *FakeJob) PipelineIDCallCount() int

func (*FakeJob) PipelineIDReturns

func (fake *FakeJob) PipelineIDReturns(result1 int)

func (*FakeJob) PipelineIDReturnsOnCall

func (fake *FakeJob) PipelineIDReturnsOnCall(i int, result1 int)

func (*FakeJob) PipelineName

func (fake *FakeJob) PipelineName() string

func (*FakeJob) PipelineNameCallCount

func (fake *FakeJob) PipelineNameCallCount() int

func (*FakeJob) PipelineNameReturns

func (fake *FakeJob) PipelineNameReturns(result1 string)

func (*FakeJob) PipelineNameReturnsOnCall

func (fake *FakeJob) PipelineNameReturnsOnCall(i int, result1 string)

func (*FakeJob) Reload

func (fake *FakeJob) Reload() (bool, error)

func (*FakeJob) ReloadCallCount

func (fake *FakeJob) ReloadCallCount() int

func (*FakeJob) ReloadReturns

func (fake *FakeJob) ReloadReturns(result1 bool, result2 error)

func (*FakeJob) ReloadReturnsOnCall

func (fake *FakeJob) ReloadReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeJob) SaveIndependentInputMapping

func (fake *FakeJob) SaveIndependentInputMapping(inputMapping algorithm.InputMapping) error

func (*FakeJob) SaveIndependentInputMappingArgsForCall

func (fake *FakeJob) SaveIndependentInputMappingArgsForCall(i int) algorithm.InputMapping

func (*FakeJob) SaveIndependentInputMappingCallCount

func (fake *FakeJob) SaveIndependentInputMappingCallCount() int

func (*FakeJob) SaveIndependentInputMappingReturns

func (fake *FakeJob) SaveIndependentInputMappingReturns(result1 error)

func (*FakeJob) SaveIndependentInputMappingReturnsOnCall

func (fake *FakeJob) SaveIndependentInputMappingReturnsOnCall(i int, result1 error)

func (*FakeJob) SaveNextInputMapping

func (fake *FakeJob) SaveNextInputMapping(inputMapping algorithm.InputMapping) error

func (*FakeJob) SaveNextInputMappingArgsForCall

func (fake *FakeJob) SaveNextInputMappingArgsForCall(i int) algorithm.InputMapping

func (*FakeJob) SaveNextInputMappingCallCount

func (fake *FakeJob) SaveNextInputMappingCallCount() int

func (*FakeJob) SaveNextInputMappingReturns

func (fake *FakeJob) SaveNextInputMappingReturns(result1 error)

func (*FakeJob) SaveNextInputMappingReturnsOnCall

func (fake *FakeJob) SaveNextInputMappingReturnsOnCall(i int, result1 error)

func (*FakeJob) SetMaxInFlightReached

func (fake *FakeJob) SetMaxInFlightReached(arg1 bool) error

func (*FakeJob) SetMaxInFlightReachedArgsForCall

func (fake *FakeJob) SetMaxInFlightReachedArgsForCall(i int) bool

func (*FakeJob) SetMaxInFlightReachedCallCount

func (fake *FakeJob) SetMaxInFlightReachedCallCount() int

func (*FakeJob) SetMaxInFlightReachedReturns

func (fake *FakeJob) SetMaxInFlightReachedReturns(result1 error)

func (*FakeJob) SetMaxInFlightReachedReturnsOnCall

func (fake *FakeJob) SetMaxInFlightReachedReturnsOnCall(i int, result1 error)

func (*FakeJob) Tags

func (fake *FakeJob) Tags() []string

func (*FakeJob) TagsCallCount

func (fake *FakeJob) TagsCallCount() int

func (*FakeJob) TagsReturns

func (fake *FakeJob) TagsReturns(result1 []string)

func (*FakeJob) TagsReturnsOnCall

func (fake *FakeJob) TagsReturnsOnCall(i int, result1 []string)

func (*FakeJob) TeamID

func (fake *FakeJob) TeamID() int

func (*FakeJob) TeamIDCallCount

func (fake *FakeJob) TeamIDCallCount() int

func (*FakeJob) TeamIDReturns

func (fake *FakeJob) TeamIDReturns(result1 int)

func (*FakeJob) TeamIDReturnsOnCall

func (fake *FakeJob) TeamIDReturnsOnCall(i int, result1 int)

func (*FakeJob) TeamName

func (fake *FakeJob) TeamName() string

func (*FakeJob) TeamNameCallCount

func (fake *FakeJob) TeamNameCallCount() int

func (*FakeJob) TeamNameReturns

func (fake *FakeJob) TeamNameReturns(result1 string)

func (*FakeJob) TeamNameReturnsOnCall

func (fake *FakeJob) TeamNameReturnsOnCall(i int, result1 string)

func (*FakeJob) Unpause

func (fake *FakeJob) Unpause() error

func (*FakeJob) UnpauseCallCount

func (fake *FakeJob) UnpauseCallCount() int

func (*FakeJob) UnpauseReturns

func (fake *FakeJob) UnpauseReturns(result1 error)

func (*FakeJob) UnpauseReturnsOnCall

func (fake *FakeJob) UnpauseReturnsOnCall(i int, result1 error)

func (*FakeJob) UpdateFirstLoggedBuildID

func (fake *FakeJob) UpdateFirstLoggedBuildID(newFirstLoggedBuildID int) error

func (*FakeJob) UpdateFirstLoggedBuildIDArgsForCall

func (fake *FakeJob) UpdateFirstLoggedBuildIDArgsForCall(i int) int

func (*FakeJob) UpdateFirstLoggedBuildIDCallCount

func (fake *FakeJob) UpdateFirstLoggedBuildIDCallCount() int

func (*FakeJob) UpdateFirstLoggedBuildIDReturns

func (fake *FakeJob) UpdateFirstLoggedBuildIDReturns(result1 error)

func (*FakeJob) UpdateFirstLoggedBuildIDReturnsOnCall

func (fake *FakeJob) UpdateFirstLoggedBuildIDReturnsOnCall(i int, result1 error)

type FakeJobFactory

type FakeJobFactory struct {
	VisibleJobsStub func([]string) (db.Dashboard, error)
	// contains filtered or unexported fields
}

func (*FakeJobFactory) Invocations

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

func (*FakeJobFactory) VisibleJobs

func (fake *FakeJobFactory) VisibleJobs(arg1 []string) (db.Dashboard, error)

func (*FakeJobFactory) VisibleJobsArgsForCall

func (fake *FakeJobFactory) VisibleJobsArgsForCall(i int) []string

func (*FakeJobFactory) VisibleJobsCallCount

func (fake *FakeJobFactory) VisibleJobsCallCount() int

func (*FakeJobFactory) VisibleJobsReturns

func (fake *FakeJobFactory) VisibleJobsReturns(result1 db.Dashboard, result2 error)

func (*FakeJobFactory) VisibleJobsReturnsOnCall

func (fake *FakeJobFactory) VisibleJobsReturnsOnCall(i int, result1 db.Dashboard, result2 error)

type FakeNotifier

type FakeNotifier struct {
	NotifyStub func() <-chan struct{}

	CloseStub func() error
	// contains filtered or unexported fields
}

func (*FakeNotifier) Close

func (fake *FakeNotifier) Close() error

func (*FakeNotifier) CloseCallCount

func (fake *FakeNotifier) CloseCallCount() int

func (*FakeNotifier) CloseReturns

func (fake *FakeNotifier) CloseReturns(result1 error)

func (*FakeNotifier) CloseReturnsOnCall

func (fake *FakeNotifier) CloseReturnsOnCall(i int, result1 error)

func (*FakeNotifier) Invocations

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

func (*FakeNotifier) Notify

func (fake *FakeNotifier) Notify() <-chan struct{}

func (*FakeNotifier) NotifyCallCount

func (fake *FakeNotifier) NotifyCallCount() int

func (*FakeNotifier) NotifyReturns

func (fake *FakeNotifier) NotifyReturns(result1 <-chan struct{})

func (*FakeNotifier) NotifyReturnsOnCall

func (fake *FakeNotifier) NotifyReturnsOnCall(i int, result1 <-chan struct{})

type FakePipeline

type FakePipeline struct {
	IDStub func() int

	NameStub func() string

	TeamIDStub func() int

	TeamNameStub func() string

	GroupsStub func() atc.GroupConfigs

	ConfigVersionStub func() db.ConfigVersion

	PublicStub func() bool

	PausedStub func() bool

	ScopedNameStub func(string) string

	CheckPausedStub func() (bool, error)

	ReloadStub func() (bool, error)

	CausalityStub func(versionedResourceID int) ([]db.Cause, error)

	SetResourceCheckErrorStub func(db.Resource, error) error

	SaveResourceVersionsStub func(atc.ResourceConfig, []atc.Version) error

	GetResourceVersionsStub func(resourceName string, page db.Page) ([]db.SavedVersionedResource, db.Pagination, bool, error)

	GetAllPendingBuildsStub func() (map[string][]db.Build, error)

	GetLatestVersionedResourceStub func(resourceName string) (db.SavedVersionedResource, bool, error)

	GetVersionedResourceByVersionStub func(atcVersion atc.Version, resourceName string) (db.SavedVersionedResource, bool, error)

	VersionedResourceStub func(versionedResourceID int) (db.SavedVersionedResource, bool, error)

	DisableVersionedResourceStub func(versionedResourceID int) error

	EnableVersionedResourceStub func(versionedResourceID int) error

	GetBuildsWithVersionAsInputStub func(versionedResourceID int) ([]db.Build, error)

	GetBuildsWithVersionAsOutputStub func(versionedResourceID int) ([]db.Build, error)

	BuildsStub func(page db.Page) ([]db.Build, db.Pagination, error)

	DeleteBuildEventsByBuildIDsStub func(buildIDs []int) error

	AcquireSchedulingLockStub func(lager.Logger, time.Duration) (lock.Lock, bool, error)

	AcquireResourceCheckingLockWithIntervalCheckStub func(logger lager.Logger, resourceName string, resourceConfig db.ResourceConfig, interval time.Duration, immediate bool) (lock.Lock, bool, error)

	AcquireResourceTypeCheckingLockWithIntervalCheckStub func(logger lager.Logger, resourceTypeName string, resourceConfig db.ResourceConfig, interval time.Duration, immediate bool) (lock.Lock, bool, error)

	LoadVersionsDBStub func() (*algorithm.VersionsDB, error)

	ResourceStub func(name string) (db.Resource, bool, error)

	ResourcesStub func() (db.Resources, error)

	ResourceTypesStub func() (db.ResourceTypes, error)

	ResourceTypeStub func(name string) (db.ResourceType, bool, error)

	JobStub func(name string) (db.Job, bool, error)

	JobsStub func() (db.Jobs, error)

	DashboardStub func() (db.Dashboard, error)

	ExposeStub func() error

	HideStub func() error

	PauseStub func() error

	UnpauseStub func() error

	DestroyStub func() error

	RenameStub func(string) error

	CreateOneOffBuildStub func() (db.Build, error)
	// contains filtered or unexported fields
}

func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheck

func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheck(logger lager.Logger, resourceName string, resourceConfig db.ResourceConfig, interval time.Duration, immediate bool) (lock.Lock, bool, error)

func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheckArgsForCall

func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheckArgsForCall(i int) (lager.Logger, string, db.ResourceConfig, time.Duration, bool)

func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheckCallCount

func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheckCallCount() int

func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheckReturns

func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheckReturns(result1 lock.Lock, result2 bool, result3 error)

func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheckReturnsOnCall

func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheckReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)

func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheck

func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheck(logger lager.Logger, resourceTypeName string, resourceConfig db.ResourceConfig, interval time.Duration, immediate bool) (lock.Lock, bool, error)

func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckArgsForCall

func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckArgsForCall(i int) (lager.Logger, string, db.ResourceConfig, time.Duration, bool)

func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckCallCount

func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckCallCount() int

func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckReturns

func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckReturns(result1 lock.Lock, result2 bool, result3 error)

func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckReturnsOnCall

func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)

func (*FakePipeline) AcquireSchedulingLock

func (fake *FakePipeline) AcquireSchedulingLock(arg1 lager.Logger, arg2 time.Duration) (lock.Lock, bool, error)

func (*FakePipeline) AcquireSchedulingLockArgsForCall

func (fake *FakePipeline) AcquireSchedulingLockArgsForCall(i int) (lager.Logger, time.Duration)

func (*FakePipeline) AcquireSchedulingLockCallCount

func (fake *FakePipeline) AcquireSchedulingLockCallCount() int

func (*FakePipeline) AcquireSchedulingLockReturns

func (fake *FakePipeline) AcquireSchedulingLockReturns(result1 lock.Lock, result2 bool, result3 error)

func (*FakePipeline) AcquireSchedulingLockReturnsOnCall

func (fake *FakePipeline) AcquireSchedulingLockReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)

func (*FakePipeline) Builds

func (fake *FakePipeline) Builds(page db.Page) ([]db.Build, db.Pagination, error)

func (*FakePipeline) BuildsArgsForCall

func (fake *FakePipeline) BuildsArgsForCall(i int) db.Page

func (*FakePipeline) BuildsCallCount

func (fake *FakePipeline) BuildsCallCount() int

func (*FakePipeline) BuildsReturns

func (fake *FakePipeline) BuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)

func (*FakePipeline) BuildsReturnsOnCall

func (fake *FakePipeline) BuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)

func (*FakePipeline) Causality

func (fake *FakePipeline) Causality(versionedResourceID int) ([]db.Cause, error)

func (*FakePipeline) CausalityArgsForCall

func (fake *FakePipeline) CausalityArgsForCall(i int) int

func (*FakePipeline) CausalityCallCount

func (fake *FakePipeline) CausalityCallCount() int

func (*FakePipeline) CausalityReturns

func (fake *FakePipeline) CausalityReturns(result1 []db.Cause, result2 error)

func (*FakePipeline) CausalityReturnsOnCall

func (fake *FakePipeline) CausalityReturnsOnCall(i int, result1 []db.Cause, result2 error)

func (*FakePipeline) CheckPaused

func (fake *FakePipeline) CheckPaused() (bool, error)

func (*FakePipeline) CheckPausedCallCount

func (fake *FakePipeline) CheckPausedCallCount() int

func (*FakePipeline) CheckPausedReturns

func (fake *FakePipeline) CheckPausedReturns(result1 bool, result2 error)

func (*FakePipeline) CheckPausedReturnsOnCall

func (fake *FakePipeline) CheckPausedReturnsOnCall(i int, result1 bool, result2 error)

func (*FakePipeline) ConfigVersion

func (fake *FakePipeline) ConfigVersion() db.ConfigVersion

func (*FakePipeline) ConfigVersionCallCount

func (fake *FakePipeline) ConfigVersionCallCount() int

func (*FakePipeline) ConfigVersionReturns

func (fake *FakePipeline) ConfigVersionReturns(result1 db.ConfigVersion)

func (*FakePipeline) ConfigVersionReturnsOnCall

func (fake *FakePipeline) ConfigVersionReturnsOnCall(i int, result1 db.ConfigVersion)

func (*FakePipeline) CreateOneOffBuild

func (fake *FakePipeline) CreateOneOffBuild() (db.Build, error)

func (*FakePipeline) CreateOneOffBuildCallCount

func (fake *FakePipeline) CreateOneOffBuildCallCount() int

func (*FakePipeline) CreateOneOffBuildReturns

func (fake *FakePipeline) CreateOneOffBuildReturns(result1 db.Build, result2 error)

func (*FakePipeline) CreateOneOffBuildReturnsOnCall

func (fake *FakePipeline) CreateOneOffBuildReturnsOnCall(i int, result1 db.Build, result2 error)

func (*FakePipeline) Dashboard

func (fake *FakePipeline) Dashboard() (db.Dashboard, error)

func (*FakePipeline) DashboardCallCount

func (fake *FakePipeline) DashboardCallCount() int

func (*FakePipeline) DashboardReturns

func (fake *FakePipeline) DashboardReturns(result1 db.Dashboard, result2 error)

func (*FakePipeline) DashboardReturnsOnCall

func (fake *FakePipeline) DashboardReturnsOnCall(i int, result1 db.Dashboard, result2 error)

func (*FakePipeline) DeleteBuildEventsByBuildIDs

func (fake *FakePipeline) DeleteBuildEventsByBuildIDs(buildIDs []int) error

func (*FakePipeline) DeleteBuildEventsByBuildIDsArgsForCall

func (fake *FakePipeline) DeleteBuildEventsByBuildIDsArgsForCall(i int) []int

func (*FakePipeline) DeleteBuildEventsByBuildIDsCallCount

func (fake *FakePipeline) DeleteBuildEventsByBuildIDsCallCount() int

func (*FakePipeline) DeleteBuildEventsByBuildIDsReturns

func (fake *FakePipeline) DeleteBuildEventsByBuildIDsReturns(result1 error)

func (*FakePipeline) DeleteBuildEventsByBuildIDsReturnsOnCall

func (fake *FakePipeline) DeleteBuildEventsByBuildIDsReturnsOnCall(i int, result1 error)

func (*FakePipeline) Destroy

func (fake *FakePipeline) Destroy() error

func (*FakePipeline) DestroyCallCount

func (fake *FakePipeline) DestroyCallCount() int

func (*FakePipeline) DestroyReturns

func (fake *FakePipeline) DestroyReturns(result1 error)

func (*FakePipeline) DestroyReturnsOnCall

func (fake *FakePipeline) DestroyReturnsOnCall(i int, result1 error)

func (*FakePipeline) DisableVersionedResource

func (fake *FakePipeline) DisableVersionedResource(versionedResourceID int) error

func (*FakePipeline) DisableVersionedResourceArgsForCall

func (fake *FakePipeline) DisableVersionedResourceArgsForCall(i int) int

func (*FakePipeline) DisableVersionedResourceCallCount

func (fake *FakePipeline) DisableVersionedResourceCallCount() int

func (*FakePipeline) DisableVersionedResourceReturns

func (fake *FakePipeline) DisableVersionedResourceReturns(result1 error)

func (*FakePipeline) DisableVersionedResourceReturnsOnCall

func (fake *FakePipeline) DisableVersionedResourceReturnsOnCall(i int, result1 error)

func (*FakePipeline) EnableVersionedResource

func (fake *FakePipeline) EnableVersionedResource(versionedResourceID int) error

func (*FakePipeline) EnableVersionedResourceArgsForCall

func (fake *FakePipeline) EnableVersionedResourceArgsForCall(i int) int

func (*FakePipeline) EnableVersionedResourceCallCount

func (fake *FakePipeline) EnableVersionedResourceCallCount() int

func (*FakePipeline) EnableVersionedResourceReturns

func (fake *FakePipeline) EnableVersionedResourceReturns(result1 error)

func (*FakePipeline) EnableVersionedResourceReturnsOnCall

func (fake *FakePipeline) EnableVersionedResourceReturnsOnCall(i int, result1 error)

func (*FakePipeline) Expose

func (fake *FakePipeline) Expose() error

func (*FakePipeline) ExposeCallCount

func (fake *FakePipeline) ExposeCallCount() int

func (*FakePipeline) ExposeReturns

func (fake *FakePipeline) ExposeReturns(result1 error)

func (*FakePipeline) ExposeReturnsOnCall

func (fake *FakePipeline) ExposeReturnsOnCall(i int, result1 error)

func (*FakePipeline) GetAllPendingBuilds

func (fake *FakePipeline) GetAllPendingBuilds() (map[string][]db.Build, error)

func (*FakePipeline) GetAllPendingBuildsCallCount

func (fake *FakePipeline) GetAllPendingBuildsCallCount() int

func (*FakePipeline) GetAllPendingBuildsReturns

func (fake *FakePipeline) GetAllPendingBuildsReturns(result1 map[string][]db.Build, result2 error)

func (*FakePipeline) GetAllPendingBuildsReturnsOnCall

func (fake *FakePipeline) GetAllPendingBuildsReturnsOnCall(i int, result1 map[string][]db.Build, result2 error)

func (*FakePipeline) GetBuildsWithVersionAsInput

func (fake *FakePipeline) GetBuildsWithVersionAsInput(versionedResourceID int) ([]db.Build, error)

func (*FakePipeline) GetBuildsWithVersionAsInputArgsForCall

func (fake *FakePipeline) GetBuildsWithVersionAsInputArgsForCall(i int) int

func (*FakePipeline) GetBuildsWithVersionAsInputCallCount

func (fake *FakePipeline) GetBuildsWithVersionAsInputCallCount() int

func (*FakePipeline) GetBuildsWithVersionAsInputReturns

func (fake *FakePipeline) GetBuildsWithVersionAsInputReturns(result1 []db.Build, result2 error)

func (*FakePipeline) GetBuildsWithVersionAsInputReturnsOnCall

func (fake *FakePipeline) GetBuildsWithVersionAsInputReturnsOnCall(i int, result1 []db.Build, result2 error)

func (*FakePipeline) GetBuildsWithVersionAsOutput

func (fake *FakePipeline) GetBuildsWithVersionAsOutput(versionedResourceID int) ([]db.Build, error)

func (*FakePipeline) GetBuildsWithVersionAsOutputArgsForCall

func (fake *FakePipeline) GetBuildsWithVersionAsOutputArgsForCall(i int) int

func (*FakePipeline) GetBuildsWithVersionAsOutputCallCount

func (fake *FakePipeline) GetBuildsWithVersionAsOutputCallCount() int

func (*FakePipeline) GetBuildsWithVersionAsOutputReturns

func (fake *FakePipeline) GetBuildsWithVersionAsOutputReturns(result1 []db.Build, result2 error)

func (*FakePipeline) GetBuildsWithVersionAsOutputReturnsOnCall

func (fake *FakePipeline) GetBuildsWithVersionAsOutputReturnsOnCall(i int, result1 []db.Build, result2 error)

func (*FakePipeline) GetLatestVersionedResource

func (fake *FakePipeline) GetLatestVersionedResource(resourceName string) (db.SavedVersionedResource, bool, error)

func (*FakePipeline) GetLatestVersionedResourceArgsForCall

func (fake *FakePipeline) GetLatestVersionedResourceArgsForCall(i int) string

func (*FakePipeline) GetLatestVersionedResourceCallCount

func (fake *FakePipeline) GetLatestVersionedResourceCallCount() int

func (*FakePipeline) GetLatestVersionedResourceReturns

func (fake *FakePipeline) GetLatestVersionedResourceReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)

func (*FakePipeline) GetLatestVersionedResourceReturnsOnCall

func (fake *FakePipeline) GetLatestVersionedResourceReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 bool, result3 error)

func (*FakePipeline) GetResourceVersions

func (fake *FakePipeline) GetResourceVersions(resourceName string, page db.Page) ([]db.SavedVersionedResource, db.Pagination, bool, error)

func (*FakePipeline) GetResourceVersionsArgsForCall

func (fake *FakePipeline) GetResourceVersionsArgsForCall(i int) (string, db.Page)

func (*FakePipeline) GetResourceVersionsCallCount

func (fake *FakePipeline) GetResourceVersionsCallCount() int

func (*FakePipeline) GetResourceVersionsReturns

func (fake *FakePipeline) GetResourceVersionsReturns(result1 []db.SavedVersionedResource, result2 db.Pagination, result3 bool, result4 error)

func (*FakePipeline) GetResourceVersionsReturnsOnCall

func (fake *FakePipeline) GetResourceVersionsReturnsOnCall(i int, result1 []db.SavedVersionedResource, result2 db.Pagination, result3 bool, result4 error)

func (*FakePipeline) GetVersionedResourceByVersion

func (fake *FakePipeline) GetVersionedResourceByVersion(atcVersion atc.Version, resourceName string) (db.SavedVersionedResource, bool, error)

func (*FakePipeline) GetVersionedResourceByVersionArgsForCall

func (fake *FakePipeline) GetVersionedResourceByVersionArgsForCall(i int) (atc.Version, string)

func (*FakePipeline) GetVersionedResourceByVersionCallCount

func (fake *FakePipeline) GetVersionedResourceByVersionCallCount() int

func (*FakePipeline) GetVersionedResourceByVersionReturns

func (fake *FakePipeline) GetVersionedResourceByVersionReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)

func (*FakePipeline) GetVersionedResourceByVersionReturnsOnCall

func (fake *FakePipeline) GetVersionedResourceByVersionReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 bool, result3 error)

func (*FakePipeline) Groups

func (fake *FakePipeline) Groups() atc.GroupConfigs

func (*FakePipeline) GroupsCallCount

func (fake *FakePipeline) GroupsCallCount() int

func (*FakePipeline) GroupsReturns

func (fake *FakePipeline) GroupsReturns(result1 atc.GroupConfigs)

func (*FakePipeline) GroupsReturnsOnCall

func (fake *FakePipeline) GroupsReturnsOnCall(i int, result1 atc.GroupConfigs)

func (*FakePipeline) Hide

func (fake *FakePipeline) Hide() error

func (*FakePipeline) HideCallCount

func (fake *FakePipeline) HideCallCount() int

func (*FakePipeline) HideReturns

func (fake *FakePipeline) HideReturns(result1 error)

func (*FakePipeline) HideReturnsOnCall

func (fake *FakePipeline) HideReturnsOnCall(i int, result1 error)

func (*FakePipeline) ID

func (fake *FakePipeline) ID() int

func (*FakePipeline) IDCallCount

func (fake *FakePipeline) IDCallCount() int

func (*FakePipeline) IDReturns

func (fake *FakePipeline) IDReturns(result1 int)

func (*FakePipeline) IDReturnsOnCall

func (fake *FakePipeline) IDReturnsOnCall(i int, result1 int)

func (*FakePipeline) Invocations

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

func (*FakePipeline) Job

func (fake *FakePipeline) Job(name string) (db.Job, bool, error)

func (*FakePipeline) JobArgsForCall

func (fake *FakePipeline) JobArgsForCall(i int) string

func (*FakePipeline) JobCallCount

func (fake *FakePipeline) JobCallCount() int

func (*FakePipeline) JobReturns

func (fake *FakePipeline) JobReturns(result1 db.Job, result2 bool, result3 error)

func (*FakePipeline) JobReturnsOnCall

func (fake *FakePipeline) JobReturnsOnCall(i int, result1 db.Job, result2 bool, result3 error)

func (*FakePipeline) Jobs

func (fake *FakePipeline) Jobs() (db.Jobs, error)

func (*FakePipeline) JobsCallCount

func (fake *FakePipeline) JobsCallCount() int

func (*FakePipeline) JobsReturns

func (fake *FakePipeline) JobsReturns(result1 db.Jobs, result2 error)

func (*FakePipeline) JobsReturnsOnCall

func (fake *FakePipeline) JobsReturnsOnCall(i int, result1 db.Jobs, result2 error)

func (*FakePipeline) LoadVersionsDB

func (fake *FakePipeline) LoadVersionsDB() (*algorithm.VersionsDB, error)

func (*FakePipeline) LoadVersionsDBCallCount

func (fake *FakePipeline) LoadVersionsDBCallCount() int

func (*FakePipeline) LoadVersionsDBReturns

func (fake *FakePipeline) LoadVersionsDBReturns(result1 *algorithm.VersionsDB, result2 error)

func (*FakePipeline) LoadVersionsDBReturnsOnCall

func (fake *FakePipeline) LoadVersionsDBReturnsOnCall(i int, result1 *algorithm.VersionsDB, result2 error)

func (*FakePipeline) Name

func (fake *FakePipeline) Name() string

func (*FakePipeline) NameCallCount

func (fake *FakePipeline) NameCallCount() int

func (*FakePipeline) NameReturns

func (fake *FakePipeline) NameReturns(result1 string)

func (*FakePipeline) NameReturnsOnCall

func (fake *FakePipeline) NameReturnsOnCall(i int, result1 string)

func (*FakePipeline) Pause

func (fake *FakePipeline) Pause() error

func (*FakePipeline) PauseCallCount

func (fake *FakePipeline) PauseCallCount() int

func (*FakePipeline) PauseReturns

func (fake *FakePipeline) PauseReturns(result1 error)

func (*FakePipeline) PauseReturnsOnCall

func (fake *FakePipeline) PauseReturnsOnCall(i int, result1 error)

func (*FakePipeline) Paused

func (fake *FakePipeline) Paused() bool

func (*FakePipeline) PausedCallCount

func (fake *FakePipeline) PausedCallCount() int

func (*FakePipeline) PausedReturns

func (fake *FakePipeline) PausedReturns(result1 bool)

func (*FakePipeline) PausedReturnsOnCall

func (fake *FakePipeline) PausedReturnsOnCall(i int, result1 bool)

func (*FakePipeline) Public

func (fake *FakePipeline) Public() bool

func (*FakePipeline) PublicCallCount

func (fake *FakePipeline) PublicCallCount() int

func (*FakePipeline) PublicReturns

func (fake *FakePipeline) PublicReturns(result1 bool)

func (*FakePipeline) PublicReturnsOnCall

func (fake *FakePipeline) PublicReturnsOnCall(i int, result1 bool)

func (*FakePipeline) Reload

func (fake *FakePipeline) Reload() (bool, error)

func (*FakePipeline) ReloadCallCount

func (fake *FakePipeline) ReloadCallCount() int

func (*FakePipeline) ReloadReturns

func (fake *FakePipeline) ReloadReturns(result1 bool, result2 error)

func (*FakePipeline) ReloadReturnsOnCall

func (fake *FakePipeline) ReloadReturnsOnCall(i int, result1 bool, result2 error)

func (*FakePipeline) Rename

func (fake *FakePipeline) Rename(arg1 string) error

func (*FakePipeline) RenameArgsForCall

func (fake *FakePipeline) RenameArgsForCall(i int) string

func (*FakePipeline) RenameCallCount

func (fake *FakePipeline) RenameCallCount() int

func (*FakePipeline) RenameReturns

func (fake *FakePipeline) RenameReturns(result1 error)

func (*FakePipeline) RenameReturnsOnCall

func (fake *FakePipeline) RenameReturnsOnCall(i int, result1 error)

func (*FakePipeline) Resource

func (fake *FakePipeline) Resource(name string) (db.Resource, bool, error)

func (*FakePipeline) ResourceArgsForCall

func (fake *FakePipeline) ResourceArgsForCall(i int) string

func (*FakePipeline) ResourceCallCount

func (fake *FakePipeline) ResourceCallCount() int

func (*FakePipeline) ResourceReturns

func (fake *FakePipeline) ResourceReturns(result1 db.Resource, result2 bool, result3 error)

func (*FakePipeline) ResourceReturnsOnCall

func (fake *FakePipeline) ResourceReturnsOnCall(i int, result1 db.Resource, result2 bool, result3 error)

func (*FakePipeline) ResourceType

func (fake *FakePipeline) ResourceType(name string) (db.ResourceType, bool, error)

func (*FakePipeline) ResourceTypeArgsForCall

func (fake *FakePipeline) ResourceTypeArgsForCall(i int) string

func (*FakePipeline) ResourceTypeCallCount

func (fake *FakePipeline) ResourceTypeCallCount() int

func (*FakePipeline) ResourceTypeReturns

func (fake *FakePipeline) ResourceTypeReturns(result1 db.ResourceType, result2 bool, result3 error)

func (*FakePipeline) ResourceTypeReturnsOnCall

func (fake *FakePipeline) ResourceTypeReturnsOnCall(i int, result1 db.ResourceType, result2 bool, result3 error)

func (*FakePipeline) ResourceTypes

func (fake *FakePipeline) ResourceTypes() (db.ResourceTypes, error)

func (*FakePipeline) ResourceTypesCallCount

func (fake *FakePipeline) ResourceTypesCallCount() int

func (*FakePipeline) ResourceTypesReturns

func (fake *FakePipeline) ResourceTypesReturns(result1 db.ResourceTypes, result2 error)

func (*FakePipeline) ResourceTypesReturnsOnCall

func (fake *FakePipeline) ResourceTypesReturnsOnCall(i int, result1 db.ResourceTypes, result2 error)

func (*FakePipeline) Resources

func (fake *FakePipeline) Resources() (db.Resources, error)

func (*FakePipeline) ResourcesCallCount

func (fake *FakePipeline) ResourcesCallCount() int

func (*FakePipeline) ResourcesReturns

func (fake *FakePipeline) ResourcesReturns(result1 db.Resources, result2 error)

func (*FakePipeline) ResourcesReturnsOnCall

func (fake *FakePipeline) ResourcesReturnsOnCall(i int, result1 db.Resources, result2 error)

func (*FakePipeline) SaveResourceVersions

func (fake *FakePipeline) SaveResourceVersions(arg1 atc.ResourceConfig, arg2 []atc.Version) error

func (*FakePipeline) SaveResourceVersionsArgsForCall

func (fake *FakePipeline) SaveResourceVersionsArgsForCall(i int) (atc.ResourceConfig, []atc.Version)

func (*FakePipeline) SaveResourceVersionsCallCount

func (fake *FakePipeline) SaveResourceVersionsCallCount() int

func (*FakePipeline) SaveResourceVersionsReturns

func (fake *FakePipeline) SaveResourceVersionsReturns(result1 error)

func (*FakePipeline) SaveResourceVersionsReturnsOnCall

func (fake *FakePipeline) SaveResourceVersionsReturnsOnCall(i int, result1 error)

func (*FakePipeline) ScopedName

func (fake *FakePipeline) ScopedName(arg1 string) string

func (*FakePipeline) ScopedNameArgsForCall

func (fake *FakePipeline) ScopedNameArgsForCall(i int) string

func (*FakePipeline) ScopedNameCallCount

func (fake *FakePipeline) ScopedNameCallCount() int

func (*FakePipeline) ScopedNameReturns

func (fake *FakePipeline) ScopedNameReturns(result1 string)

func (*FakePipeline) ScopedNameReturnsOnCall

func (fake *FakePipeline) ScopedNameReturnsOnCall(i int, result1 string)

func (*FakePipeline) SetResourceCheckError

func (fake *FakePipeline) SetResourceCheckError(arg1 db.Resource, arg2 error) error

func (*FakePipeline) SetResourceCheckErrorArgsForCall

func (fake *FakePipeline) SetResourceCheckErrorArgsForCall(i int) (db.Resource, error)

func (*FakePipeline) SetResourceCheckErrorCallCount

func (fake *FakePipeline) SetResourceCheckErrorCallCount() int

func (*FakePipeline) SetResourceCheckErrorReturns

func (fake *FakePipeline) SetResourceCheckErrorReturns(result1 error)

func (*FakePipeline) SetResourceCheckErrorReturnsOnCall

func (fake *FakePipeline) SetResourceCheckErrorReturnsOnCall(i int, result1 error)

func (*FakePipeline) TeamID

func (fake *FakePipeline) TeamID() int

func (*FakePipeline) TeamIDCallCount

func (fake *FakePipeline) TeamIDCallCount() int

func (*FakePipeline) TeamIDReturns

func (fake *FakePipeline) TeamIDReturns(result1 int)

func (*FakePipeline) TeamIDReturnsOnCall

func (fake *FakePipeline) TeamIDReturnsOnCall(i int, result1 int)

func (*FakePipeline) TeamName

func (fake *FakePipeline) TeamName() string

func (*FakePipeline) TeamNameCallCount

func (fake *FakePipeline) TeamNameCallCount() int

func (*FakePipeline) TeamNameReturns

func (fake *FakePipeline) TeamNameReturns(result1 string)

func (*FakePipeline) TeamNameReturnsOnCall

func (fake *FakePipeline) TeamNameReturnsOnCall(i int, result1 string)

func (*FakePipeline) Unpause

func (fake *FakePipeline) Unpause() error

func (*FakePipeline) UnpauseCallCount

func (fake *FakePipeline) UnpauseCallCount() int

func (*FakePipeline) UnpauseReturns

func (fake *FakePipeline) UnpauseReturns(result1 error)

func (*FakePipeline) UnpauseReturnsOnCall

func (fake *FakePipeline) UnpauseReturnsOnCall(i int, result1 error)

func (*FakePipeline) VersionedResource

func (fake *FakePipeline) VersionedResource(versionedResourceID int) (db.SavedVersionedResource, bool, error)

func (*FakePipeline) VersionedResourceArgsForCall

func (fake *FakePipeline) VersionedResourceArgsForCall(i int) int

func (*FakePipeline) VersionedResourceCallCount

func (fake *FakePipeline) VersionedResourceCallCount() int

func (*FakePipeline) VersionedResourceReturns

func (fake *FakePipeline) VersionedResourceReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)

func (*FakePipeline) VersionedResourceReturnsOnCall

func (fake *FakePipeline) VersionedResourceReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 bool, result3 error)

type FakePipelineFactory

type FakePipelineFactory struct {
	VisiblePipelinesStub func([]string) ([]db.Pipeline, error)

	AllPipelinesStub func() ([]db.Pipeline, error)
	// contains filtered or unexported fields
}

func (*FakePipelineFactory) AllPipelines

func (fake *FakePipelineFactory) AllPipelines() ([]db.Pipeline, error)

func (*FakePipelineFactory) AllPipelinesCallCount

func (fake *FakePipelineFactory) AllPipelinesCallCount() int

func (*FakePipelineFactory) AllPipelinesReturns

func (fake *FakePipelineFactory) AllPipelinesReturns(result1 []db.Pipeline, result2 error)

func (*FakePipelineFactory) AllPipelinesReturnsOnCall

func (fake *FakePipelineFactory) AllPipelinesReturnsOnCall(i int, result1 []db.Pipeline, result2 error)

func (*FakePipelineFactory) Invocations

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

func (*FakePipelineFactory) VisiblePipelines

func (fake *FakePipelineFactory) VisiblePipelines(arg1 []string) ([]db.Pipeline, error)

func (*FakePipelineFactory) VisiblePipelinesArgsForCall

func (fake *FakePipelineFactory) VisiblePipelinesArgsForCall(i int) []string

func (*FakePipelineFactory) VisiblePipelinesCallCount

func (fake *FakePipelineFactory) VisiblePipelinesCallCount() int

func (*FakePipelineFactory) VisiblePipelinesReturns

func (fake *FakePipelineFactory) VisiblePipelinesReturns(result1 []db.Pipeline, result2 error)

func (*FakePipelineFactory) VisiblePipelinesReturnsOnCall

func (fake *FakePipelineFactory) VisiblePipelinesReturnsOnCall(i int, result1 []db.Pipeline, result2 error)

type FakeResource

type FakeResource struct {
	IDStub func() int

	NameStub func() string

	PipelineNameStub func() string

	TeamNameStub func() string

	TypeStub func() string

	SourceStub func() atc.Source

	CheckEveryStub func() string

	CheckTimeoutStub func() string

	LastCheckedStub func() time.Time

	TagsStub func() atc.Tags

	CheckErrorStub func() error

	PausedStub func() bool

	WebhookTokenStub func() string

	PinnedVersionStub func() atc.Version

	FailingToCheckStub func() bool

	SetResourceConfigStub func(int) error

	PauseStub func() error

	UnpauseStub func() error

	ReloadStub func() (bool, error)
	// contains filtered or unexported fields
}

func (*FakeResource) CheckError

func (fake *FakeResource) CheckError() error

func (*FakeResource) CheckErrorCallCount

func (fake *FakeResource) CheckErrorCallCount() int

func (*FakeResource) CheckErrorReturns

func (fake *FakeResource) CheckErrorReturns(result1 error)

func (*FakeResource) CheckErrorReturnsOnCall

func (fake *FakeResource) CheckErrorReturnsOnCall(i int, result1 error)

func (*FakeResource) CheckEvery

func (fake *FakeResource) CheckEvery() string

func (*FakeResource) CheckEveryCallCount

func (fake *FakeResource) CheckEveryCallCount() int

func (*FakeResource) CheckEveryReturns

func (fake *FakeResource) CheckEveryReturns(result1 string)

func (*FakeResource) CheckEveryReturnsOnCall

func (fake *FakeResource) CheckEveryReturnsOnCall(i int, result1 string)

func (*FakeResource) CheckTimeout

func (fake *FakeResource) CheckTimeout() string

func (*FakeResource) CheckTimeoutCallCount

func (fake *FakeResource) CheckTimeoutCallCount() int

func (*FakeResource) CheckTimeoutReturns

func (fake *FakeResource) CheckTimeoutReturns(result1 string)

func (*FakeResource) CheckTimeoutReturnsOnCall

func (fake *FakeResource) CheckTimeoutReturnsOnCall(i int, result1 string)

func (*FakeResource) FailingToCheck

func (fake *FakeResource) FailingToCheck() bool

func (*FakeResource) FailingToCheckCallCount

func (fake *FakeResource) FailingToCheckCallCount() int

func (*FakeResource) FailingToCheckReturns

func (fake *FakeResource) FailingToCheckReturns(result1 bool)

func (*FakeResource) FailingToCheckReturnsOnCall

func (fake *FakeResource) FailingToCheckReturnsOnCall(i int, result1 bool)

func (*FakeResource) ID

func (fake *FakeResource) ID() int

func (*FakeResource) IDCallCount

func (fake *FakeResource) IDCallCount() int

func (*FakeResource) IDReturns

func (fake *FakeResource) IDReturns(result1 int)

func (*FakeResource) IDReturnsOnCall

func (fake *FakeResource) IDReturnsOnCall(i int, result1 int)

func (*FakeResource) Invocations

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

func (*FakeResource) LastChecked

func (fake *FakeResource) LastChecked() time.Time

func (*FakeResource) LastCheckedCallCount

func (fake *FakeResource) LastCheckedCallCount() int

func (*FakeResource) LastCheckedReturns

func (fake *FakeResource) LastCheckedReturns(result1 time.Time)

func (*FakeResource) LastCheckedReturnsOnCall

func (fake *FakeResource) LastCheckedReturnsOnCall(i int, result1 time.Time)

func (*FakeResource) Name

func (fake *FakeResource) Name() string

func (*FakeResource) NameCallCount

func (fake *FakeResource) NameCallCount() int

func (*FakeResource) NameReturns

func (fake *FakeResource) NameReturns(result1 string)

func (*FakeResource) NameReturnsOnCall

func (fake *FakeResource) NameReturnsOnCall(i int, result1 string)

func (*FakeResource) Pause

func (fake *FakeResource) Pause() error

func (*FakeResource) PauseCallCount

func (fake *FakeResource) PauseCallCount() int

func (*FakeResource) PauseReturns

func (fake *FakeResource) PauseReturns(result1 error)

func (*FakeResource) PauseReturnsOnCall

func (fake *FakeResource) PauseReturnsOnCall(i int, result1 error)

func (*FakeResource) Paused

func (fake *FakeResource) Paused() bool

func (*FakeResource) PausedCallCount

func (fake *FakeResource) PausedCallCount() int

func (*FakeResource) PausedReturns

func (fake *FakeResource) PausedReturns(result1 bool)

func (*FakeResource) PausedReturnsOnCall

func (fake *FakeResource) PausedReturnsOnCall(i int, result1 bool)

func (*FakeResource) PinnedVersion

func (fake *FakeResource) PinnedVersion() atc.Version

func (*FakeResource) PinnedVersionCallCount

func (fake *FakeResource) PinnedVersionCallCount() int

func (*FakeResource) PinnedVersionReturns

func (fake *FakeResource) PinnedVersionReturns(result1 atc.Version)

func (*FakeResource) PinnedVersionReturnsOnCall

func (fake *FakeResource) PinnedVersionReturnsOnCall(i int, result1 atc.Version)

func (*FakeResource) PipelineName

func (fake *FakeResource) PipelineName() string

func (*FakeResource) PipelineNameCallCount

func (fake *FakeResource) PipelineNameCallCount() int

func (*FakeResource) PipelineNameReturns

func (fake *FakeResource) PipelineNameReturns(result1 string)

func (*FakeResource) PipelineNameReturnsOnCall

func (fake *FakeResource) PipelineNameReturnsOnCall(i int, result1 string)

func (*FakeResource) Reload

func (fake *FakeResource) Reload() (bool, error)

func (*FakeResource) ReloadCallCount

func (fake *FakeResource) ReloadCallCount() int

func (*FakeResource) ReloadReturns

func (fake *FakeResource) ReloadReturns(result1 bool, result2 error)

func (*FakeResource) ReloadReturnsOnCall

func (fake *FakeResource) ReloadReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeResource) SetResourceConfig

func (fake *FakeResource) SetResourceConfig(arg1 int) error

func (*FakeResource) SetResourceConfigArgsForCall

func (fake *FakeResource) SetResourceConfigArgsForCall(i int) int

func (*FakeResource) SetResourceConfigCallCount

func (fake *FakeResource) SetResourceConfigCallCount() int

func (*FakeResource) SetResourceConfigReturns

func (fake *FakeResource) SetResourceConfigReturns(result1 error)

func (*FakeResource) SetResourceConfigReturnsOnCall

func (fake *FakeResource) SetResourceConfigReturnsOnCall(i int, result1 error)

func (*FakeResource) Source

func (fake *FakeResource) Source() atc.Source

func (*FakeResource) SourceCallCount

func (fake *FakeResource) SourceCallCount() int

func (*FakeResource) SourceReturns

func (fake *FakeResource) SourceReturns(result1 atc.Source)

func (*FakeResource) SourceReturnsOnCall

func (fake *FakeResource) SourceReturnsOnCall(i int, result1 atc.Source)

func (*FakeResource) Tags

func (fake *FakeResource) Tags() atc.Tags

func (*FakeResource) TagsCallCount

func (fake *FakeResource) TagsCallCount() int

func (*FakeResource) TagsReturns

func (fake *FakeResource) TagsReturns(result1 atc.Tags)

func (*FakeResource) TagsReturnsOnCall

func (fake *FakeResource) TagsReturnsOnCall(i int, result1 atc.Tags)

func (*FakeResource) TeamName

func (fake *FakeResource) TeamName() string

func (*FakeResource) TeamNameCallCount

func (fake *FakeResource) TeamNameCallCount() int

func (*FakeResource) TeamNameReturns

func (fake *FakeResource) TeamNameReturns(result1 string)

func (*FakeResource) TeamNameReturnsOnCall

func (fake *FakeResource) TeamNameReturnsOnCall(i int, result1 string)

func (*FakeResource) Type

func (fake *FakeResource) Type() string

func (*FakeResource) TypeCallCount

func (fake *FakeResource) TypeCallCount() int

func (*FakeResource) TypeReturns

func (fake *FakeResource) TypeReturns(result1 string)

func (*FakeResource) TypeReturnsOnCall

func (fake *FakeResource) TypeReturnsOnCall(i int, result1 string)

func (*FakeResource) Unpause

func (fake *FakeResource) Unpause() error

func (*FakeResource) UnpauseCallCount

func (fake *FakeResource) UnpauseCallCount() int

func (*FakeResource) UnpauseReturns

func (fake *FakeResource) UnpauseReturns(result1 error)

func (*FakeResource) UnpauseReturnsOnCall

func (fake *FakeResource) UnpauseReturnsOnCall(i int, result1 error)

func (*FakeResource) WebhookToken

func (fake *FakeResource) WebhookToken() string

func (*FakeResource) WebhookTokenCallCount

func (fake *FakeResource) WebhookTokenCallCount() int

func (*FakeResource) WebhookTokenReturns

func (fake *FakeResource) WebhookTokenReturns(result1 string)

func (*FakeResource) WebhookTokenReturnsOnCall

func (fake *FakeResource) WebhookTokenReturnsOnCall(i int, result1 string)

type FakeResourceCacheFactory

type FakeResourceCacheFactory struct {
	FindOrCreateResourceCacheStub func(logger lager.Logger, resourceCacheUser db.ResourceCacheUser, resourceTypeName string, version atc.Version, source atc.Source, params atc.Params, resourceTypes creds.VersionedResourceTypes) (db.UsedResourceCache, error)

	UpdateResourceCacheMetadataStub func(db.UsedResourceCache, []atc.MetadataField) error

	ResourceCacheMetadataStub func(db.UsedResourceCache) (db.ResourceMetadataFields, error)
	// contains filtered or unexported fields
}

func (*FakeResourceCacheFactory) FindOrCreateResourceCache

func (fake *FakeResourceCacheFactory) FindOrCreateResourceCache(logger lager.Logger, resourceCacheUser db.ResourceCacheUser, resourceTypeName string, version atc.Version, source atc.Source, params atc.Params, resourceTypes creds.VersionedResourceTypes) (db.UsedResourceCache, error)

func (*FakeResourceCacheFactory) FindOrCreateResourceCacheArgsForCall

func (*FakeResourceCacheFactory) FindOrCreateResourceCacheCallCount

func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheCallCount() int

func (*FakeResourceCacheFactory) FindOrCreateResourceCacheReturns

func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturns(result1 db.UsedResourceCache, result2 error)

func (*FakeResourceCacheFactory) FindOrCreateResourceCacheReturnsOnCall

func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturnsOnCall(i int, result1 db.UsedResourceCache, result2 error)

func (*FakeResourceCacheFactory) Invocations

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

func (*FakeResourceCacheFactory) ResourceCacheMetadata

func (fake *FakeResourceCacheFactory) ResourceCacheMetadata(arg1 db.UsedResourceCache) (db.ResourceMetadataFields, error)

func (*FakeResourceCacheFactory) ResourceCacheMetadataArgsForCall

func (fake *FakeResourceCacheFactory) ResourceCacheMetadataArgsForCall(i int) db.UsedResourceCache

func (*FakeResourceCacheFactory) ResourceCacheMetadataCallCount

func (fake *FakeResourceCacheFactory) ResourceCacheMetadataCallCount() int

func (*FakeResourceCacheFactory) ResourceCacheMetadataReturns

func (fake *FakeResourceCacheFactory) ResourceCacheMetadataReturns(result1 db.ResourceMetadataFields, result2 error)

func (*FakeResourceCacheFactory) ResourceCacheMetadataReturnsOnCall

func (fake *FakeResourceCacheFactory) ResourceCacheMetadataReturnsOnCall(i int, result1 db.ResourceMetadataFields, result2 error)

func (*FakeResourceCacheFactory) UpdateResourceCacheMetadata

func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadata(arg1 db.UsedResourceCache, arg2 []atc.MetadataField) error

func (*FakeResourceCacheFactory) UpdateResourceCacheMetadataArgsForCall

func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataArgsForCall(i int) (db.UsedResourceCache, []atc.MetadataField)

func (*FakeResourceCacheFactory) UpdateResourceCacheMetadataCallCount

func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataCallCount() int

func (*FakeResourceCacheFactory) UpdateResourceCacheMetadataReturns

func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataReturns(result1 error)

func (*FakeResourceCacheFactory) UpdateResourceCacheMetadataReturnsOnCall

func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataReturnsOnCall(i int, result1 error)

type FakeResourceCacheLifecycle

type FakeResourceCacheLifecycle struct {
	CleanUsesForFinishedBuildsStub func(lager.Logger) error

	CleanBuildImageResourceCachesStub func(lager.Logger) error

	CleanUpInvalidCachesStub func(lager.Logger) error
	// contains filtered or unexported fields
}

func (*FakeResourceCacheLifecycle) CleanBuildImageResourceCaches

func (fake *FakeResourceCacheLifecycle) CleanBuildImageResourceCaches(arg1 lager.Logger) error

func (*FakeResourceCacheLifecycle) CleanBuildImageResourceCachesArgsForCall

func (fake *FakeResourceCacheLifecycle) CleanBuildImageResourceCachesArgsForCall(i int) lager.Logger

func (*FakeResourceCacheLifecycle) CleanBuildImageResourceCachesCallCount

func (fake *FakeResourceCacheLifecycle) CleanBuildImageResourceCachesCallCount() int

func (*FakeResourceCacheLifecycle) CleanBuildImageResourceCachesReturns

func (fake *FakeResourceCacheLifecycle) CleanBuildImageResourceCachesReturns(result1 error)

func (*FakeResourceCacheLifecycle) CleanBuildImageResourceCachesReturnsOnCall

func (fake *FakeResourceCacheLifecycle) CleanBuildImageResourceCachesReturnsOnCall(i int, result1 error)

func (*FakeResourceCacheLifecycle) CleanUpInvalidCaches

func (fake *FakeResourceCacheLifecycle) CleanUpInvalidCaches(arg1 lager.Logger) error

func (*FakeResourceCacheLifecycle) CleanUpInvalidCachesArgsForCall

func (fake *FakeResourceCacheLifecycle) CleanUpInvalidCachesArgsForCall(i int) lager.Logger

func (*FakeResourceCacheLifecycle) CleanUpInvalidCachesCallCount

func (fake *FakeResourceCacheLifecycle) CleanUpInvalidCachesCallCount() int

func (*FakeResourceCacheLifecycle) CleanUpInvalidCachesReturns

func (fake *FakeResourceCacheLifecycle) CleanUpInvalidCachesReturns(result1 error)

func (*FakeResourceCacheLifecycle) CleanUpInvalidCachesReturnsOnCall

func (fake *FakeResourceCacheLifecycle) CleanUpInvalidCachesReturnsOnCall(i int, result1 error)

func (*FakeResourceCacheLifecycle) CleanUsesForFinishedBuilds

func (fake *FakeResourceCacheLifecycle) CleanUsesForFinishedBuilds(arg1 lager.Logger) error

func (*FakeResourceCacheLifecycle) CleanUsesForFinishedBuildsArgsForCall

func (fake *FakeResourceCacheLifecycle) CleanUsesForFinishedBuildsArgsForCall(i int) lager.Logger

func (*FakeResourceCacheLifecycle) CleanUsesForFinishedBuildsCallCount

func (fake *FakeResourceCacheLifecycle) CleanUsesForFinishedBuildsCallCount() int

func (*FakeResourceCacheLifecycle) CleanUsesForFinishedBuildsReturns

func (fake *FakeResourceCacheLifecycle) CleanUsesForFinishedBuildsReturns(result1 error)

func (*FakeResourceCacheLifecycle) CleanUsesForFinishedBuildsReturnsOnCall

func (fake *FakeResourceCacheLifecycle) CleanUsesForFinishedBuildsReturnsOnCall(i int, result1 error)

func (*FakeResourceCacheLifecycle) Invocations

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

type FakeResourceConfig

type FakeResourceConfig struct {
	IDStub func() int

	CreatedByResourceCacheStub func() db.UsedResourceCache

	CreatedByBaseResourceTypeStub func() *db.UsedBaseResourceType

	OriginBaseResourceTypeStub func() *db.UsedBaseResourceType

	AcquireResourceConfigCheckingLockWithIntervalCheckStub func(logger lager.Logger, interval time.Duration, immediate bool) (lock.Lock, bool, error)
	// contains filtered or unexported fields
}

func (*FakeResourceConfig) AcquireResourceConfigCheckingLockWithIntervalCheck

func (fake *FakeResourceConfig) AcquireResourceConfigCheckingLockWithIntervalCheck(logger lager.Logger, interval time.Duration, immediate bool) (lock.Lock, bool, error)

func (*FakeResourceConfig) AcquireResourceConfigCheckingLockWithIntervalCheckArgsForCall

func (fake *FakeResourceConfig) AcquireResourceConfigCheckingLockWithIntervalCheckArgsForCall(i int) (lager.Logger, time.Duration, bool)

func (*FakeResourceConfig) AcquireResourceConfigCheckingLockWithIntervalCheckCallCount

func (fake *FakeResourceConfig) AcquireResourceConfigCheckingLockWithIntervalCheckCallCount() int

func (*FakeResourceConfig) AcquireResourceConfigCheckingLockWithIntervalCheckReturns

func (fake *FakeResourceConfig) AcquireResourceConfigCheckingLockWithIntervalCheckReturns(result1 lock.Lock, result2 bool, result3 error)

func (*FakeResourceConfig) AcquireResourceConfigCheckingLockWithIntervalCheckReturnsOnCall

func (fake *FakeResourceConfig) AcquireResourceConfigCheckingLockWithIntervalCheckReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)

func (*FakeResourceConfig) CreatedByBaseResourceType

func (fake *FakeResourceConfig) CreatedByBaseResourceType() *db.UsedBaseResourceType

func (*FakeResourceConfig) CreatedByBaseResourceTypeCallCount

func (fake *FakeResourceConfig) CreatedByBaseResourceTypeCallCount() int

func (*FakeResourceConfig) CreatedByBaseResourceTypeReturns

func (fake *FakeResourceConfig) CreatedByBaseResourceTypeReturns(result1 *db.UsedBaseResourceType)

func (*FakeResourceConfig) CreatedByBaseResourceTypeReturnsOnCall

func (fake *FakeResourceConfig) CreatedByBaseResourceTypeReturnsOnCall(i int, result1 *db.UsedBaseResourceType)

func (*FakeResourceConfig) CreatedByResourceCache

func (fake *FakeResourceConfig) CreatedByResourceCache() db.UsedResourceCache

func (*FakeResourceConfig) CreatedByResourceCacheCallCount

func (fake *FakeResourceConfig) CreatedByResourceCacheCallCount() int

func (*FakeResourceConfig) CreatedByResourceCacheReturns

func (fake *FakeResourceConfig) CreatedByResourceCacheReturns(result1 db.UsedResourceCache)

func (*FakeResourceConfig) CreatedByResourceCacheReturnsOnCall

func (fake *FakeResourceConfig) CreatedByResourceCacheReturnsOnCall(i int, result1 db.UsedResourceCache)

func (*FakeResourceConfig) ID

func (fake *FakeResourceConfig) ID() int

func (*FakeResourceConfig) IDCallCount

func (fake *FakeResourceConfig) IDCallCount() int

func (*FakeResourceConfig) IDReturns

func (fake *FakeResourceConfig) IDReturns(result1 int)

func (*FakeResourceConfig) IDReturnsOnCall

func (fake *FakeResourceConfig) IDReturnsOnCall(i int, result1 int)

func (*FakeResourceConfig) Invocations

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

func (*FakeResourceConfig) OriginBaseResourceType

func (fake *FakeResourceConfig) OriginBaseResourceType() *db.UsedBaseResourceType

func (*FakeResourceConfig) OriginBaseResourceTypeCallCount

func (fake *FakeResourceConfig) OriginBaseResourceTypeCallCount() int

func (*FakeResourceConfig) OriginBaseResourceTypeReturns

func (fake *FakeResourceConfig) OriginBaseResourceTypeReturns(result1 *db.UsedBaseResourceType)

func (*FakeResourceConfig) OriginBaseResourceTypeReturnsOnCall

func (fake *FakeResourceConfig) OriginBaseResourceTypeReturnsOnCall(i int, result1 *db.UsedBaseResourceType)

type FakeResourceConfigCheckSession

type FakeResourceConfigCheckSession struct {
	IDStub func() int

	ResourceConfigStub func() db.ResourceConfig
	// contains filtered or unexported fields
}

func (*FakeResourceConfigCheckSession) ID

func (*FakeResourceConfigCheckSession) IDCallCount

func (fake *FakeResourceConfigCheckSession) IDCallCount() int

func (*FakeResourceConfigCheckSession) IDReturns

func (fake *FakeResourceConfigCheckSession) IDReturns(result1 int)

func (*FakeResourceConfigCheckSession) IDReturnsOnCall

func (fake *FakeResourceConfigCheckSession) IDReturnsOnCall(i int, result1 int)

func (*FakeResourceConfigCheckSession) Invocations

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

func (*FakeResourceConfigCheckSession) ResourceConfig

func (fake *FakeResourceConfigCheckSession) ResourceConfig() db.ResourceConfig

func (*FakeResourceConfigCheckSession) ResourceConfigCallCount

func (fake *FakeResourceConfigCheckSession) ResourceConfigCallCount() int

func (*FakeResourceConfigCheckSession) ResourceConfigReturns

func (fake *FakeResourceConfigCheckSession) ResourceConfigReturns(result1 db.ResourceConfig)

func (*FakeResourceConfigCheckSession) ResourceConfigReturnsOnCall

func (fake *FakeResourceConfigCheckSession) ResourceConfigReturnsOnCall(i int, result1 db.ResourceConfig)

type FakeResourceConfigCheckSessionFactory

type FakeResourceConfigCheckSessionFactory struct {
	FindOrCreateResourceConfigCheckSessionStub func(logger lager.Logger, resourceType string, source atc.Source, resourceTypes creds.VersionedResourceTypes, expiries db.ContainerOwnerExpiries) (db.ResourceConfigCheckSession, error)
	// contains filtered or unexported fields
}

func (*FakeResourceConfigCheckSessionFactory) FindOrCreateResourceConfigCheckSession

func (fake *FakeResourceConfigCheckSessionFactory) FindOrCreateResourceConfigCheckSession(logger lager.Logger, resourceType string, source atc.Source, resourceTypes creds.VersionedResourceTypes, expiries db.ContainerOwnerExpiries) (db.ResourceConfigCheckSession, error)

func (*FakeResourceConfigCheckSessionFactory) FindOrCreateResourceConfigCheckSessionArgsForCall

func (fake *FakeResourceConfigCheckSessionFactory) FindOrCreateResourceConfigCheckSessionArgsForCall(i int) (lager.Logger, string, atc.Source, creds.VersionedResourceTypes, db.ContainerOwnerExpiries)

func (*FakeResourceConfigCheckSessionFactory) FindOrCreateResourceConfigCheckSessionCallCount

func (fake *FakeResourceConfigCheckSessionFactory) FindOrCreateResourceConfigCheckSessionCallCount() int

func (*FakeResourceConfigCheckSessionFactory) FindOrCreateResourceConfigCheckSessionReturns

func (fake *FakeResourceConfigCheckSessionFactory) FindOrCreateResourceConfigCheckSessionReturns(result1 db.ResourceConfigCheckSession, result2 error)

func (*FakeResourceConfigCheckSessionFactory) FindOrCreateResourceConfigCheckSessionReturnsOnCall

func (fake *FakeResourceConfigCheckSessionFactory) FindOrCreateResourceConfigCheckSessionReturnsOnCall(i int, result1 db.ResourceConfigCheckSession, result2 error)

func (*FakeResourceConfigCheckSessionFactory) Invocations

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

type FakeResourceConfigCheckSessionLifecycle

type FakeResourceConfigCheckSessionLifecycle struct {
	CleanInactiveResourceConfigCheckSessionsStub func() error

	CleanExpiredResourceConfigCheckSessionsStub func() error
	// contains filtered or unexported fields
}

func (*FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessions

func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessions() error

func (*FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsCallCount

func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsCallCount() int

func (*FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsReturns

func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsReturns(result1 error)

func (*FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsReturnsOnCall

func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsReturnsOnCall(i int, result1 error)

func (*FakeResourceConfigCheckSessionLifecycle) CleanInactiveResourceConfigCheckSessions

func (fake *FakeResourceConfigCheckSessionLifecycle) CleanInactiveResourceConfigCheckSessions() error

func (*FakeResourceConfigCheckSessionLifecycle) CleanInactiveResourceConfigCheckSessionsCallCount

func (fake *FakeResourceConfigCheckSessionLifecycle) CleanInactiveResourceConfigCheckSessionsCallCount() int

func (*FakeResourceConfigCheckSessionLifecycle) CleanInactiveResourceConfigCheckSessionsReturns

func (fake *FakeResourceConfigCheckSessionLifecycle) CleanInactiveResourceConfigCheckSessionsReturns(result1 error)

func (*FakeResourceConfigCheckSessionLifecycle) CleanInactiveResourceConfigCheckSessionsReturnsOnCall

func (fake *FakeResourceConfigCheckSessionLifecycle) CleanInactiveResourceConfigCheckSessionsReturnsOnCall(i int, result1 error)

func (*FakeResourceConfigCheckSessionLifecycle) Invocations

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

type FakeResourceConfigFactory

type FakeResourceConfigFactory struct {
	FindResourceConfigStub func(logger lager.Logger, resourceType string, source atc.Source, resourceTypes creds.VersionedResourceTypes) (db.ResourceConfig, bool, error)

	FindOrCreateResourceConfigStub func(logger lager.Logger, resourceType string, source atc.Source, resourceTypes creds.VersionedResourceTypes) (db.ResourceConfig, error)

	CleanUnreferencedConfigsStub func() error
	// contains filtered or unexported fields
}

func (*FakeResourceConfigFactory) CleanUnreferencedConfigs

func (fake *FakeResourceConfigFactory) CleanUnreferencedConfigs() error

func (*FakeResourceConfigFactory) CleanUnreferencedConfigsCallCount

func (fake *FakeResourceConfigFactory) CleanUnreferencedConfigsCallCount() int

func (*FakeResourceConfigFactory) CleanUnreferencedConfigsReturns

func (fake *FakeResourceConfigFactory) CleanUnreferencedConfigsReturns(result1 error)

func (*FakeResourceConfigFactory) CleanUnreferencedConfigsReturnsOnCall

func (fake *FakeResourceConfigFactory) CleanUnreferencedConfigsReturnsOnCall(i int, result1 error)

func (*FakeResourceConfigFactory) FindOrCreateResourceConfig

func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfig(logger lager.Logger, resourceType string, source atc.Source, resourceTypes creds.VersionedResourceTypes) (db.ResourceConfig, error)

func (*FakeResourceConfigFactory) FindOrCreateResourceConfigArgsForCall

func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigArgsForCall(i int) (lager.Logger, string, atc.Source, creds.VersionedResourceTypes)

func (*FakeResourceConfigFactory) FindOrCreateResourceConfigCallCount

func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigCallCount() int

func (*FakeResourceConfigFactory) FindOrCreateResourceConfigReturns

func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturns(result1 db.ResourceConfig, result2 error)

func (*FakeResourceConfigFactory) FindOrCreateResourceConfigReturnsOnCall

func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturnsOnCall(i int, result1 db.ResourceConfig, result2 error)

func (*FakeResourceConfigFactory) FindResourceConfig

func (fake *FakeResourceConfigFactory) FindResourceConfig(logger lager.Logger, resourceType string, source atc.Source, resourceTypes creds.VersionedResourceTypes) (db.ResourceConfig, bool, error)

func (*FakeResourceConfigFactory) FindResourceConfigArgsForCall

func (fake *FakeResourceConfigFactory) FindResourceConfigArgsForCall(i int) (lager.Logger, string, atc.Source, creds.VersionedResourceTypes)

func (*FakeResourceConfigFactory) FindResourceConfigCallCount

func (fake *FakeResourceConfigFactory) FindResourceConfigCallCount() int

func (*FakeResourceConfigFactory) FindResourceConfigReturns

func (fake *FakeResourceConfigFactory) FindResourceConfigReturns(result1 db.ResourceConfig, result2 bool, result3 error)

func (*FakeResourceConfigFactory) FindResourceConfigReturnsOnCall

func (fake *FakeResourceConfigFactory) FindResourceConfigReturnsOnCall(i int, result1 db.ResourceConfig, result2 bool, result3 error)

func (*FakeResourceConfigFactory) Invocations

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

type FakeResourceFactory

type FakeResourceFactory struct {
	VisibleResourcesStub func([]string) ([]db.Resource, error)
	// contains filtered or unexported fields
}

func (*FakeResourceFactory) Invocations

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

func (*FakeResourceFactory) VisibleResources

func (fake *FakeResourceFactory) VisibleResources(arg1 []string) ([]db.Resource, error)

func (*FakeResourceFactory) VisibleResourcesArgsForCall

func (fake *FakeResourceFactory) VisibleResourcesArgsForCall(i int) []string

func (*FakeResourceFactory) VisibleResourcesCallCount

func (fake *FakeResourceFactory) VisibleResourcesCallCount() int

func (*FakeResourceFactory) VisibleResourcesReturns

func (fake *FakeResourceFactory) VisibleResourcesReturns(result1 []db.Resource, result2 error)

func (*FakeResourceFactory) VisibleResourcesReturnsOnCall

func (fake *FakeResourceFactory) VisibleResourcesReturnsOnCall(i int, result1 []db.Resource, result2 error)

type FakeResourceType

type FakeResourceType struct {
	IDStub func() int

	NameStub func() string

	TypeStub func() string

	PrivilegedStub func() bool

	SourceStub func() atc.Source

	ParamsStub func() atc.Params

	TagsStub func() atc.Tags

	CheckEveryStub func() string

	SetResourceConfigStub func(int) error

	VersionStub func() atc.Version

	SaveVersionStub func(atc.Version) error

	ReloadStub func() (bool, error)
	// contains filtered or unexported fields
}

func (*FakeResourceType) CheckEvery

func (fake *FakeResourceType) CheckEvery() string

func (*FakeResourceType) CheckEveryCallCount

func (fake *FakeResourceType) CheckEveryCallCount() int

func (*FakeResourceType) CheckEveryReturns

func (fake *FakeResourceType) CheckEveryReturns(result1 string)

func (*FakeResourceType) CheckEveryReturnsOnCall

func (fake *FakeResourceType) CheckEveryReturnsOnCall(i int, result1 string)

func (*FakeResourceType) ID

func (fake *FakeResourceType) ID() int

func (*FakeResourceType) IDCallCount

func (fake *FakeResourceType) IDCallCount() int

func (*FakeResourceType) IDReturns

func (fake *FakeResourceType) IDReturns(result1 int)

func (*FakeResourceType) IDReturnsOnCall

func (fake *FakeResourceType) IDReturnsOnCall(i int, result1 int)

func (*FakeResourceType) Invocations

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

func (*FakeResourceType) Name

func (fake *FakeResourceType) Name() string

func (*FakeResourceType) NameCallCount

func (fake *FakeResourceType) NameCallCount() int

func (*FakeResourceType) NameReturns

func (fake *FakeResourceType) NameReturns(result1 string)

func (*FakeResourceType) NameReturnsOnCall

func (fake *FakeResourceType) NameReturnsOnCall(i int, result1 string)

func (*FakeResourceType) Params

func (fake *FakeResourceType) Params() atc.Params

func (*FakeResourceType) ParamsCallCount

func (fake *FakeResourceType) ParamsCallCount() int

func (*FakeResourceType) ParamsReturns

func (fake *FakeResourceType) ParamsReturns(result1 atc.Params)

func (*FakeResourceType) ParamsReturnsOnCall

func (fake *FakeResourceType) ParamsReturnsOnCall(i int, result1 atc.Params)

func (*FakeResourceType) Privileged

func (fake *FakeResourceType) Privileged() bool

func (*FakeResourceType) PrivilegedCallCount

func (fake *FakeResourceType) PrivilegedCallCount() int

func (*FakeResourceType) PrivilegedReturns

func (fake *FakeResourceType) PrivilegedReturns(result1 bool)

func (*FakeResourceType) PrivilegedReturnsOnCall

func (fake *FakeResourceType) PrivilegedReturnsOnCall(i int, result1 bool)

func (*FakeResourceType) Reload

func (fake *FakeResourceType) Reload() (bool, error)

func (*FakeResourceType) ReloadCallCount

func (fake *FakeResourceType) ReloadCallCount() int

func (*FakeResourceType) ReloadReturns

func (fake *FakeResourceType) ReloadReturns(result1 bool, result2 error)

func (*FakeResourceType) ReloadReturnsOnCall

func (fake *FakeResourceType) ReloadReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeResourceType) SaveVersion

func (fake *FakeResourceType) SaveVersion(arg1 atc.Version) error

func (*FakeResourceType) SaveVersionArgsForCall

func (fake *FakeResourceType) SaveVersionArgsForCall(i int) atc.Version

func (*FakeResourceType) SaveVersionCallCount

func (fake *FakeResourceType) SaveVersionCallCount() int

func (*FakeResourceType) SaveVersionReturns

func (fake *FakeResourceType) SaveVersionReturns(result1 error)

func (*FakeResourceType) SaveVersionReturnsOnCall

func (fake *FakeResourceType) SaveVersionReturnsOnCall(i int, result1 error)

func (*FakeResourceType) SetResourceConfig

func (fake *FakeResourceType) SetResourceConfig(arg1 int) error

func (*FakeResourceType) SetResourceConfigArgsForCall

func (fake *FakeResourceType) SetResourceConfigArgsForCall(i int) int

func (*FakeResourceType) SetResourceConfigCallCount

func (fake *FakeResourceType) SetResourceConfigCallCount() int

func (*FakeResourceType) SetResourceConfigReturns

func (fake *FakeResourceType) SetResourceConfigReturns(result1 error)

func (*FakeResourceType) SetResourceConfigReturnsOnCall

func (fake *FakeResourceType) SetResourceConfigReturnsOnCall(i int, result1 error)

func (*FakeResourceType) Source

func (fake *FakeResourceType) Source() atc.Source

func (*FakeResourceType) SourceCallCount

func (fake *FakeResourceType) SourceCallCount() int

func (*FakeResourceType) SourceReturns

func (fake *FakeResourceType) SourceReturns(result1 atc.Source)

func (*FakeResourceType) SourceReturnsOnCall

func (fake *FakeResourceType) SourceReturnsOnCall(i int, result1 atc.Source)

func (*FakeResourceType) Tags

func (fake *FakeResourceType) Tags() atc.Tags

func (*FakeResourceType) TagsCallCount

func (fake *FakeResourceType) TagsCallCount() int

func (*FakeResourceType) TagsReturns

func (fake *FakeResourceType) TagsReturns(result1 atc.Tags)

func (*FakeResourceType) TagsReturnsOnCall

func (fake *FakeResourceType) TagsReturnsOnCall(i int, result1 atc.Tags)

func (*FakeResourceType) Type

func (fake *FakeResourceType) Type() string

func (*FakeResourceType) TypeCallCount

func (fake *FakeResourceType) TypeCallCount() int

func (*FakeResourceType) TypeReturns

func (fake *FakeResourceType) TypeReturns(result1 string)

func (*FakeResourceType) TypeReturnsOnCall

func (fake *FakeResourceType) TypeReturnsOnCall(i int, result1 string)

func (*FakeResourceType) Version

func (fake *FakeResourceType) Version() atc.Version

func (*FakeResourceType) VersionCallCount

func (fake *FakeResourceType) VersionCallCount() int

func (*FakeResourceType) VersionReturns

func (fake *FakeResourceType) VersionReturns(result1 atc.Version)

func (*FakeResourceType) VersionReturnsOnCall

func (fake *FakeResourceType) VersionReturnsOnCall(i int, result1 atc.Version)

type FakeTeam

type FakeTeam struct {
	IDStub func() int

	NameStub func() string

	AdminStub func() bool

	AuthStub func() map[string][]string

	DeleteStub func() error

	RenameStub func(string) error

	SavePipelineStub func(pipelineName string, config atc.Config, from db.ConfigVersion, pausedState db.PipelinePausedState) (db.Pipeline, bool, error)

	PipelineStub func(pipelineName string) (db.Pipeline, bool, error)

	PipelinesStub func() ([]db.Pipeline, error)

	PublicPipelinesStub func() ([]db.Pipeline, error)

	VisiblePipelinesStub func() ([]db.Pipeline, error)

	OrderPipelinesStub func([]string) error

	CreateOneOffBuildStub func() (db.Build, error)

	PrivateAndPublicBuildsStub func(db.Page) ([]db.Build, db.Pagination, error)

	BuildsStub func(page db.Page) ([]db.Build, db.Pagination, error)

	SaveWorkerStub func(atcWorker atc.Worker, ttl time.Duration) (db.Worker, error)

	WorkersStub func() ([]db.Worker, error)

	FindContainerByHandleStub func(string) (db.Container, bool, error)

	FindContainersByMetadataStub func(db.ContainerMetadata) ([]db.Container, error)

	FindCheckContainersStub func(lager.Logger, string, string, creds.VariablesFactory) ([]db.Container, error)

	FindCreatedContainerByHandleStub func(string) (db.CreatedContainer, bool, error)

	FindWorkerForContainerStub func(handle string) (db.Worker, bool, error)

	FindWorkerForContainerByOwnerStub func(db.ContainerOwner) (db.Worker, bool, error)

	FindContainerOnWorkerStub func(workerName string, owner db.ContainerOwner) (db.CreatingContainer, db.CreatedContainer, error)

	CreateContainerStub func(workerName string, owner db.ContainerOwner, meta db.ContainerMetadata) (db.CreatingContainer, error)

	UpdateProviderAuthStub func(auth map[string][]string) error
	// contains filtered or unexported fields
}

func (*FakeTeam) Admin

func (fake *FakeTeam) Admin() bool

func (*FakeTeam) AdminCallCount

func (fake *FakeTeam) AdminCallCount() int

func (*FakeTeam) AdminReturns

func (fake *FakeTeam) AdminReturns(result1 bool)

func (*FakeTeam) AdminReturnsOnCall

func (fake *FakeTeam) AdminReturnsOnCall(i int, result1 bool)

func (*FakeTeam) Auth

func (fake *FakeTeam) Auth() map[string][]string

func (*FakeTeam) AuthCallCount

func (fake *FakeTeam) AuthCallCount() int

func (*FakeTeam) AuthReturns

func (fake *FakeTeam) AuthReturns(result1 map[string][]string)

func (*FakeTeam) AuthReturnsOnCall

func (fake *FakeTeam) AuthReturnsOnCall(i int, result1 map[string][]string)

func (*FakeTeam) Builds

func (fake *FakeTeam) Builds(page db.Page) ([]db.Build, db.Pagination, error)

func (*FakeTeam) BuildsArgsForCall

func (fake *FakeTeam) BuildsArgsForCall(i int) db.Page

func (*FakeTeam) BuildsCallCount

func (fake *FakeTeam) BuildsCallCount() int

func (*FakeTeam) BuildsReturns

func (fake *FakeTeam) BuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)

func (*FakeTeam) BuildsReturnsOnCall

func (fake *FakeTeam) BuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)

func (*FakeTeam) CreateContainer

func (fake *FakeTeam) CreateContainer(workerName string, owner db.ContainerOwner, meta db.ContainerMetadata) (db.CreatingContainer, error)

func (*FakeTeam) CreateContainerArgsForCall

func (fake *FakeTeam) CreateContainerArgsForCall(i int) (string, db.ContainerOwner, db.ContainerMetadata)

func (*FakeTeam) CreateContainerCallCount

func (fake *FakeTeam) CreateContainerCallCount() int

func (*FakeTeam) CreateContainerReturns

func (fake *FakeTeam) CreateContainerReturns(result1 db.CreatingContainer, result2 error)

func (*FakeTeam) CreateContainerReturnsOnCall

func (fake *FakeTeam) CreateContainerReturnsOnCall(i int, result1 db.CreatingContainer, result2 error)

func (*FakeTeam) CreateOneOffBuild

func (fake *FakeTeam) CreateOneOffBuild() (db.Build, error)

func (*FakeTeam) CreateOneOffBuildCallCount

func (fake *FakeTeam) CreateOneOffBuildCallCount() int

func (*FakeTeam) CreateOneOffBuildReturns

func (fake *FakeTeam) CreateOneOffBuildReturns(result1 db.Build, result2 error)

func (*FakeTeam) CreateOneOffBuildReturnsOnCall

func (fake *FakeTeam) CreateOneOffBuildReturnsOnCall(i int, result1 db.Build, result2 error)

func (*FakeTeam) Delete

func (fake *FakeTeam) Delete() error

func (*FakeTeam) DeleteCallCount

func (fake *FakeTeam) DeleteCallCount() int

func (*FakeTeam) DeleteReturns

func (fake *FakeTeam) DeleteReturns(result1 error)

func (*FakeTeam) DeleteReturnsOnCall

func (fake *FakeTeam) DeleteReturnsOnCall(i int, result1 error)

func (*FakeTeam) FindCheckContainers

func (fake *FakeTeam) FindCheckContainers(arg1 lager.Logger, arg2 string, arg3 string, arg4 creds.VariablesFactory) ([]db.Container, error)

func (*FakeTeam) FindCheckContainersArgsForCall

func (fake *FakeTeam) FindCheckContainersArgsForCall(i int) (lager.Logger, string, string, creds.VariablesFactory)

func (*FakeTeam) FindCheckContainersCallCount

func (fake *FakeTeam) FindCheckContainersCallCount() int

func (*FakeTeam) FindCheckContainersReturns

func (fake *FakeTeam) FindCheckContainersReturns(result1 []db.Container, result2 error)

func (*FakeTeam) FindCheckContainersReturnsOnCall

func (fake *FakeTeam) FindCheckContainersReturnsOnCall(i int, result1 []db.Container, result2 error)

func (*FakeTeam) FindContainerByHandle

func (fake *FakeTeam) FindContainerByHandle(arg1 string) (db.Container, bool, error)

func (*FakeTeam) FindContainerByHandleArgsForCall

func (fake *FakeTeam) FindContainerByHandleArgsForCall(i int) string

func (*FakeTeam) FindContainerByHandleCallCount

func (fake *FakeTeam) FindContainerByHandleCallCount() int

func (*FakeTeam) FindContainerByHandleReturns

func (fake *FakeTeam) FindContainerByHandleReturns(result1 db.Container, result2 bool, result3 error)

func (*FakeTeam) FindContainerByHandleReturnsOnCall

func (fake *FakeTeam) FindContainerByHandleReturnsOnCall(i int, result1 db.Container, result2 bool, result3 error)

func (*FakeTeam) FindContainerOnWorker

func (fake *FakeTeam) FindContainerOnWorker(workerName string, owner db.ContainerOwner) (db.CreatingContainer, db.CreatedContainer, error)

func (*FakeTeam) FindContainerOnWorkerArgsForCall

func (fake *FakeTeam) FindContainerOnWorkerArgsForCall(i int) (string, db.ContainerOwner)

func (*FakeTeam) FindContainerOnWorkerCallCount

func (fake *FakeTeam) FindContainerOnWorkerCallCount() int

func (*FakeTeam) FindContainerOnWorkerReturns

func (fake *FakeTeam) FindContainerOnWorkerReturns(result1 db.CreatingContainer, result2 db.CreatedContainer, result3 error)

func (*FakeTeam) FindContainerOnWorkerReturnsOnCall

func (fake *FakeTeam) FindContainerOnWorkerReturnsOnCall(i int, result1 db.CreatingContainer, result2 db.CreatedContainer, result3 error)

func (*FakeTeam) FindContainersByMetadata

func (fake *FakeTeam) FindContainersByMetadata(arg1 db.ContainerMetadata) ([]db.Container, error)

func (*FakeTeam) FindContainersByMetadataArgsForCall

func (fake *FakeTeam) FindContainersByMetadataArgsForCall(i int) db.ContainerMetadata

func (*FakeTeam) FindContainersByMetadataCallCount

func (fake *FakeTeam) FindContainersByMetadataCallCount() int

func (*FakeTeam) FindContainersByMetadataReturns

func (fake *FakeTeam) FindContainersByMetadataReturns(result1 []db.Container, result2 error)

func (*FakeTeam) FindContainersByMetadataReturnsOnCall

func (fake *FakeTeam) FindContainersByMetadataReturnsOnCall(i int, result1 []db.Container, result2 error)

func (*FakeTeam) FindCreatedContainerByHandle

func (fake *FakeTeam) FindCreatedContainerByHandle(arg1 string) (db.CreatedContainer, bool, error)

func (*FakeTeam) FindCreatedContainerByHandleArgsForCall

func (fake *FakeTeam) FindCreatedContainerByHandleArgsForCall(i int) string

func (*FakeTeam) FindCreatedContainerByHandleCallCount

func (fake *FakeTeam) FindCreatedContainerByHandleCallCount() int

func (*FakeTeam) FindCreatedContainerByHandleReturns

func (fake *FakeTeam) FindCreatedContainerByHandleReturns(result1 db.CreatedContainer, result2 bool, result3 error)

func (*FakeTeam) FindCreatedContainerByHandleReturnsOnCall

func (fake *FakeTeam) FindCreatedContainerByHandleReturnsOnCall(i int, result1 db.CreatedContainer, result2 bool, result3 error)

func (*FakeTeam) FindWorkerForContainer

func (fake *FakeTeam) FindWorkerForContainer(handle string) (db.Worker, bool, error)

func (*FakeTeam) FindWorkerForContainerArgsForCall

func (fake *FakeTeam) FindWorkerForContainerArgsForCall(i int) string

func (*FakeTeam) FindWorkerForContainerByOwner

func (fake *FakeTeam) FindWorkerForContainerByOwner(arg1 db.ContainerOwner) (db.Worker, bool, error)

func (*FakeTeam) FindWorkerForContainerByOwnerArgsForCall

func (fake *FakeTeam) FindWorkerForContainerByOwnerArgsForCall(i int) db.ContainerOwner

func (*FakeTeam) FindWorkerForContainerByOwnerCallCount

func (fake *FakeTeam) FindWorkerForContainerByOwnerCallCount() int

func (*FakeTeam) FindWorkerForContainerByOwnerReturns

func (fake *FakeTeam) FindWorkerForContainerByOwnerReturns(result1 db.Worker, result2 bool, result3 error)

func (*FakeTeam) FindWorkerForContainerByOwnerReturnsOnCall

func (fake *FakeTeam) FindWorkerForContainerByOwnerReturnsOnCall(i int, result1 db.Worker, result2 bool, result3 error)

func (*FakeTeam) FindWorkerForContainerCallCount

func (fake *FakeTeam) FindWorkerForContainerCallCount() int

func (*FakeTeam) FindWorkerForContainerReturns

func (fake *FakeTeam) FindWorkerForContainerReturns(result1 db.Worker, result2 bool, result3 error)

func (*FakeTeam) FindWorkerForContainerReturnsOnCall

func (fake *FakeTeam) FindWorkerForContainerReturnsOnCall(i int, result1 db.Worker, result2 bool, result3 error)

func (*FakeTeam) ID

func (fake *FakeTeam) ID() int

func (*FakeTeam) IDCallCount

func (fake *FakeTeam) IDCallCount() int

func (*FakeTeam) IDReturns

func (fake *FakeTeam) IDReturns(result1 int)

func (*FakeTeam) IDReturnsOnCall

func (fake *FakeTeam) IDReturnsOnCall(i int, result1 int)

func (*FakeTeam) Invocations

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

func (*FakeTeam) Name

func (fake *FakeTeam) Name() string

func (*FakeTeam) NameCallCount

func (fake *FakeTeam) NameCallCount() int

func (*FakeTeam) NameReturns

func (fake *FakeTeam) NameReturns(result1 string)

func (*FakeTeam) NameReturnsOnCall

func (fake *FakeTeam) NameReturnsOnCall(i int, result1 string)

func (*FakeTeam) OrderPipelines

func (fake *FakeTeam) OrderPipelines(arg1 []string) error

func (*FakeTeam) OrderPipelinesArgsForCall

func (fake *FakeTeam) OrderPipelinesArgsForCall(i int) []string

func (*FakeTeam) OrderPipelinesCallCount

func (fake *FakeTeam) OrderPipelinesCallCount() int

func (*FakeTeam) OrderPipelinesReturns

func (fake *FakeTeam) OrderPipelinesReturns(result1 error)

func (*FakeTeam) OrderPipelinesReturnsOnCall

func (fake *FakeTeam) OrderPipelinesReturnsOnCall(i int, result1 error)

func (*FakeTeam) Pipeline

func (fake *FakeTeam) Pipeline(pipelineName string) (db.Pipeline, bool, error)

func (*FakeTeam) PipelineArgsForCall

func (fake *FakeTeam) PipelineArgsForCall(i int) string

func (*FakeTeam) PipelineCallCount

func (fake *FakeTeam) PipelineCallCount() int

func (*FakeTeam) PipelineReturns

func (fake *FakeTeam) PipelineReturns(result1 db.Pipeline, result2 bool, result3 error)

func (*FakeTeam) PipelineReturnsOnCall

func (fake *FakeTeam) PipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)

func (*FakeTeam) Pipelines

func (fake *FakeTeam) Pipelines() ([]db.Pipeline, error)

func (*FakeTeam) PipelinesCallCount

func (fake *FakeTeam) PipelinesCallCount() int

func (*FakeTeam) PipelinesReturns

func (fake *FakeTeam) PipelinesReturns(result1 []db.Pipeline, result2 error)

func (*FakeTeam) PipelinesReturnsOnCall

func (fake *FakeTeam) PipelinesReturnsOnCall(i int, result1 []db.Pipeline, result2 error)

func (*FakeTeam) PrivateAndPublicBuilds

func (fake *FakeTeam) PrivateAndPublicBuilds(arg1 db.Page) ([]db.Build, db.Pagination, error)

func (*FakeTeam) PrivateAndPublicBuildsArgsForCall

func (fake *FakeTeam) PrivateAndPublicBuildsArgsForCall(i int) db.Page

func (*FakeTeam) PrivateAndPublicBuildsCallCount

func (fake *FakeTeam) PrivateAndPublicBuildsCallCount() int

func (*FakeTeam) PrivateAndPublicBuildsReturns

func (fake *FakeTeam) PrivateAndPublicBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)

func (*FakeTeam) PrivateAndPublicBuildsReturnsOnCall

func (fake *FakeTeam) PrivateAndPublicBuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)

func (*FakeTeam) PublicPipelines

func (fake *FakeTeam) PublicPipelines() ([]db.Pipeline, error)

func (*FakeTeam) PublicPipelinesCallCount

func (fake *FakeTeam) PublicPipelinesCallCount() int

func (*FakeTeam) PublicPipelinesReturns

func (fake *FakeTeam) PublicPipelinesReturns(result1 []db.Pipeline, result2 error)

func (*FakeTeam) PublicPipelinesReturnsOnCall

func (fake *FakeTeam) PublicPipelinesReturnsOnCall(i int, result1 []db.Pipeline, result2 error)

func (*FakeTeam) Rename

func (fake *FakeTeam) Rename(arg1 string) error

func (*FakeTeam) RenameArgsForCall

func (fake *FakeTeam) RenameArgsForCall(i int) string

func (*FakeTeam) RenameCallCount

func (fake *FakeTeam) RenameCallCount() int

func (*FakeTeam) RenameReturns

func (fake *FakeTeam) RenameReturns(result1 error)

func (*FakeTeam) RenameReturnsOnCall

func (fake *FakeTeam) RenameReturnsOnCall(i int, result1 error)

func (*FakeTeam) SavePipeline

func (fake *FakeTeam) SavePipeline(pipelineName string, config atc.Config, from db.ConfigVersion, pausedState db.PipelinePausedState) (db.Pipeline, bool, error)

func (*FakeTeam) SavePipelineArgsForCall

func (fake *FakeTeam) SavePipelineArgsForCall(i int) (string, atc.Config, db.ConfigVersion, db.PipelinePausedState)

func (*FakeTeam) SavePipelineCallCount

func (fake *FakeTeam) SavePipelineCallCount() int

func (*FakeTeam) SavePipelineReturns

func (fake *FakeTeam) SavePipelineReturns(result1 db.Pipeline, result2 bool, result3 error)

func (*FakeTeam) SavePipelineReturnsOnCall

func (fake *FakeTeam) SavePipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)

func (*FakeTeam) SaveWorker

func (fake *FakeTeam) SaveWorker(atcWorker atc.Worker, ttl time.Duration) (db.Worker, error)

func (*FakeTeam) SaveWorkerArgsForCall

func (fake *FakeTeam) SaveWorkerArgsForCall(i int) (atc.Worker, time.Duration)

func (*FakeTeam) SaveWorkerCallCount

func (fake *FakeTeam) SaveWorkerCallCount() int

func (*FakeTeam) SaveWorkerReturns

func (fake *FakeTeam) SaveWorkerReturns(result1 db.Worker, result2 error)

func (*FakeTeam) SaveWorkerReturnsOnCall

func (fake *FakeTeam) SaveWorkerReturnsOnCall(i int, result1 db.Worker, result2 error)

func (*FakeTeam) UpdateProviderAuth

func (fake *FakeTeam) UpdateProviderAuth(auth map[string][]string) error

func (*FakeTeam) UpdateProviderAuthArgsForCall

func (fake *FakeTeam) UpdateProviderAuthArgsForCall(i int) map[string][]string

func (*FakeTeam) UpdateProviderAuthCallCount

func (fake *FakeTeam) UpdateProviderAuthCallCount() int

func (*FakeTeam) UpdateProviderAuthReturns

func (fake *FakeTeam) UpdateProviderAuthReturns(result1 error)

func (*FakeTeam) UpdateProviderAuthReturnsOnCall

func (fake *FakeTeam) UpdateProviderAuthReturnsOnCall(i int, result1 error)

func (*FakeTeam) VisiblePipelines

func (fake *FakeTeam) VisiblePipelines() ([]db.Pipeline, error)

func (*FakeTeam) VisiblePipelinesCallCount

func (fake *FakeTeam) VisiblePipelinesCallCount() int

func (*FakeTeam) VisiblePipelinesReturns

func (fake *FakeTeam) VisiblePipelinesReturns(result1 []db.Pipeline, result2 error)

func (*FakeTeam) VisiblePipelinesReturnsOnCall

func (fake *FakeTeam) VisiblePipelinesReturnsOnCall(i int, result1 []db.Pipeline, result2 error)

func (*FakeTeam) Workers

func (fake *FakeTeam) Workers() ([]db.Worker, error)

func (*FakeTeam) WorkersCallCount

func (fake *FakeTeam) WorkersCallCount() int

func (*FakeTeam) WorkersReturns

func (fake *FakeTeam) WorkersReturns(result1 []db.Worker, result2 error)

func (*FakeTeam) WorkersReturnsOnCall

func (fake *FakeTeam) WorkersReturnsOnCall(i int, result1 []db.Worker, result2 error)

type FakeTeamFactory

type FakeTeamFactory struct {
	CreateTeamStub func(atc.Team) (db.Team, error)

	FindTeamStub func(string) (db.Team, bool, error)

	GetTeamsStub func() ([]db.Team, error)

	GetByIDStub func(teamID int) db.Team

	CreateDefaultTeamIfNotExistsStub func() (db.Team, error)
	// contains filtered or unexported fields
}

func (*FakeTeamFactory) CreateDefaultTeamIfNotExists

func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExists() (db.Team, error)

func (*FakeTeamFactory) CreateDefaultTeamIfNotExistsCallCount

func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExistsCallCount() int

func (*FakeTeamFactory) CreateDefaultTeamIfNotExistsReturns

func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExistsReturns(result1 db.Team, result2 error)

func (*FakeTeamFactory) CreateDefaultTeamIfNotExistsReturnsOnCall

func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExistsReturnsOnCall(i int, result1 db.Team, result2 error)

func (*FakeTeamFactory) CreateTeam

func (fake *FakeTeamFactory) CreateTeam(arg1 atc.Team) (db.Team, error)

func (*FakeTeamFactory) CreateTeamArgsForCall

func (fake *FakeTeamFactory) CreateTeamArgsForCall(i int) atc.Team

func (*FakeTeamFactory) CreateTeamCallCount

func (fake *FakeTeamFactory) CreateTeamCallCount() int

func (*FakeTeamFactory) CreateTeamReturns

func (fake *FakeTeamFactory) CreateTeamReturns(result1 db.Team, result2 error)

func (*FakeTeamFactory) CreateTeamReturnsOnCall

func (fake *FakeTeamFactory) CreateTeamReturnsOnCall(i int, result1 db.Team, result2 error)

func (*FakeTeamFactory) FindTeam

func (fake *FakeTeamFactory) FindTeam(arg1 string) (db.Team, bool, error)

func (*FakeTeamFactory) FindTeamArgsForCall

func (fake *FakeTeamFactory) FindTeamArgsForCall(i int) string

func (*FakeTeamFactory) FindTeamCallCount

func (fake *FakeTeamFactory) FindTeamCallCount() int

func (*FakeTeamFactory) FindTeamReturns

func (fake *FakeTeamFactory) FindTeamReturns(result1 db.Team, result2 bool, result3 error)

func (*FakeTeamFactory) FindTeamReturnsOnCall

func (fake *FakeTeamFactory) FindTeamReturnsOnCall(i int, result1 db.Team, result2 bool, result3 error)

func (*FakeTeamFactory) GetByID

func (fake *FakeTeamFactory) GetByID(teamID int) db.Team

func (*FakeTeamFactory) GetByIDArgsForCall

func (fake *FakeTeamFactory) GetByIDArgsForCall(i int) int

func (*FakeTeamFactory) GetByIDCallCount

func (fake *FakeTeamFactory) GetByIDCallCount() int

func (*FakeTeamFactory) GetByIDReturns

func (fake *FakeTeamFactory) GetByIDReturns(result1 db.Team)

func (*FakeTeamFactory) GetByIDReturnsOnCall

func (fake *FakeTeamFactory) GetByIDReturnsOnCall(i int, result1 db.Team)

func (*FakeTeamFactory) GetTeams

func (fake *FakeTeamFactory) GetTeams() ([]db.Team, error)

func (*FakeTeamFactory) GetTeamsCallCount

func (fake *FakeTeamFactory) GetTeamsCallCount() int

func (*FakeTeamFactory) GetTeamsReturns

func (fake *FakeTeamFactory) GetTeamsReturns(result1 []db.Team, result2 error)

func (*FakeTeamFactory) GetTeamsReturnsOnCall

func (fake *FakeTeamFactory) GetTeamsReturnsOnCall(i int, result1 []db.Team, result2 error)

func (*FakeTeamFactory) Invocations

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

type FakeTx

type FakeTx struct {
	CommitStub func() error

	ExecStub func(query string, args ...interface{}) (sql.Result, error)

	PrepareStub func(query string) (*sql.Stmt, error)

	QueryStub func(query string, args ...interface{}) (*sql.Rows, error)

	QueryRowStub func(query string, args ...interface{}) squirrel.RowScanner

	RollbackStub func() error

	StmtStub func(stmt *sql.Stmt) *sql.Stmt
	// contains filtered or unexported fields
}

func (*FakeTx) Commit

func (fake *FakeTx) Commit() error

func (*FakeTx) CommitCallCount

func (fake *FakeTx) CommitCallCount() int

func (*FakeTx) CommitReturns

func (fake *FakeTx) CommitReturns(result1 error)

func (*FakeTx) CommitReturnsOnCall

func (fake *FakeTx) CommitReturnsOnCall(i int, result1 error)

func (*FakeTx) Exec

func (fake *FakeTx) Exec(query string, args ...interface{}) (sql.Result, error)

func (*FakeTx) ExecArgsForCall

func (fake *FakeTx) ExecArgsForCall(i int) (string, []interface{})

func (*FakeTx) ExecCallCount

func (fake *FakeTx) ExecCallCount() int

func (*FakeTx) ExecReturns

func (fake *FakeTx) ExecReturns(result1 sql.Result, result2 error)

func (*FakeTx) ExecReturnsOnCall

func (fake *FakeTx) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)

func (*FakeTx) Invocations

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

func (*FakeTx) Prepare

func (fake *FakeTx) Prepare(query string) (*sql.Stmt, error)

func (*FakeTx) PrepareArgsForCall

func (fake *FakeTx) PrepareArgsForCall(i int) string

func (*FakeTx) PrepareCallCount

func (fake *FakeTx) PrepareCallCount() int

func (*FakeTx) PrepareReturns

func (fake *FakeTx) PrepareReturns(result1 *sql.Stmt, result2 error)

func (*FakeTx) PrepareReturnsOnCall

func (fake *FakeTx) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)

func (*FakeTx) Query

func (fake *FakeTx) Query(query string, args ...interface{}) (*sql.Rows, error)

func (*FakeTx) QueryArgsForCall

func (fake *FakeTx) QueryArgsForCall(i int) (string, []interface{})

func (*FakeTx) QueryCallCount

func (fake *FakeTx) QueryCallCount() int

func (*FakeTx) QueryReturns

func (fake *FakeTx) QueryReturns(result1 *sql.Rows, result2 error)

func (*FakeTx) QueryReturnsOnCall

func (fake *FakeTx) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)

func (*FakeTx) QueryRow

func (fake *FakeTx) QueryRow(query string, args ...interface{}) squirrel.RowScanner

func (*FakeTx) QueryRowArgsForCall

func (fake *FakeTx) QueryRowArgsForCall(i int) (string, []interface{})

func (*FakeTx) QueryRowCallCount

func (fake *FakeTx) QueryRowCallCount() int

func (*FakeTx) QueryRowReturns

func (fake *FakeTx) QueryRowReturns(result1 squirrel.RowScanner)

func (*FakeTx) QueryRowReturnsOnCall

func (fake *FakeTx) QueryRowReturnsOnCall(i int, result1 squirrel.RowScanner)

func (*FakeTx) Rollback

func (fake *FakeTx) Rollback() error

func (*FakeTx) RollbackCallCount

func (fake *FakeTx) RollbackCallCount() int

func (*FakeTx) RollbackReturns

func (fake *FakeTx) RollbackReturns(result1 error)

func (*FakeTx) RollbackReturnsOnCall

func (fake *FakeTx) RollbackReturnsOnCall(i int, result1 error)

func (*FakeTx) Stmt

func (fake *FakeTx) Stmt(stmt *sql.Stmt) *sql.Stmt

func (*FakeTx) StmtArgsForCall

func (fake *FakeTx) StmtArgsForCall(i int) *sql.Stmt

func (*FakeTx) StmtCallCount

func (fake *FakeTx) StmtCallCount() int

func (*FakeTx) StmtReturns

func (fake *FakeTx) StmtReturns(result1 *sql.Stmt)

func (*FakeTx) StmtReturnsOnCall

func (fake *FakeTx) StmtReturnsOnCall(i int, result1 *sql.Stmt)

type FakeUsedResourceCache

type FakeUsedResourceCache struct {
	IDStub func() int

	ResourceConfigStub func() db.ResourceConfig

	VersionStub func() atc.Version

	DestroyStub func(db.Tx) (bool, error)

	BaseResourceTypeStub func() *db.UsedBaseResourceType
	// contains filtered or unexported fields
}

func (*FakeUsedResourceCache) BaseResourceType

func (fake *FakeUsedResourceCache) BaseResourceType() *db.UsedBaseResourceType

func (*FakeUsedResourceCache) BaseResourceTypeCallCount

func (fake *FakeUsedResourceCache) BaseResourceTypeCallCount() int

func (*FakeUsedResourceCache) BaseResourceTypeReturns

func (fake *FakeUsedResourceCache) BaseResourceTypeReturns(result1 *db.UsedBaseResourceType)

func (*FakeUsedResourceCache) BaseResourceTypeReturnsOnCall

func (fake *FakeUsedResourceCache) BaseResourceTypeReturnsOnCall(i int, result1 *db.UsedBaseResourceType)

func (*FakeUsedResourceCache) Destroy

func (fake *FakeUsedResourceCache) Destroy(arg1 db.Tx) (bool, error)

func (*FakeUsedResourceCache) DestroyArgsForCall

func (fake *FakeUsedResourceCache) DestroyArgsForCall(i int) db.Tx

func (*FakeUsedResourceCache) DestroyCallCount

func (fake *FakeUsedResourceCache) DestroyCallCount() int

func (*FakeUsedResourceCache) DestroyReturns

func (fake *FakeUsedResourceCache) DestroyReturns(result1 bool, result2 error)

func (*FakeUsedResourceCache) DestroyReturnsOnCall

func (fake *FakeUsedResourceCache) DestroyReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeUsedResourceCache) ID

func (fake *FakeUsedResourceCache) ID() int

func (*FakeUsedResourceCache) IDCallCount

func (fake *FakeUsedResourceCache) IDCallCount() int

func (*FakeUsedResourceCache) IDReturns

func (fake *FakeUsedResourceCache) IDReturns(result1 int)

func (*FakeUsedResourceCache) IDReturnsOnCall

func (fake *FakeUsedResourceCache) IDReturnsOnCall(i int, result1 int)

func (*FakeUsedResourceCache) Invocations

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

func (*FakeUsedResourceCache) ResourceConfig

func (fake *FakeUsedResourceCache) ResourceConfig() db.ResourceConfig

func (*FakeUsedResourceCache) ResourceConfigCallCount

func (fake *FakeUsedResourceCache) ResourceConfigCallCount() int

func (*FakeUsedResourceCache) ResourceConfigReturns

func (fake *FakeUsedResourceCache) ResourceConfigReturns(result1 db.ResourceConfig)

func (*FakeUsedResourceCache) ResourceConfigReturnsOnCall

func (fake *FakeUsedResourceCache) ResourceConfigReturnsOnCall(i int, result1 db.ResourceConfig)

func (*FakeUsedResourceCache) Version

func (fake *FakeUsedResourceCache) Version() atc.Version

func (*FakeUsedResourceCache) VersionCallCount

func (fake *FakeUsedResourceCache) VersionCallCount() int

func (*FakeUsedResourceCache) VersionReturns

func (fake *FakeUsedResourceCache) VersionReturns(result1 atc.Version)

func (*FakeUsedResourceCache) VersionReturnsOnCall

func (fake *FakeUsedResourceCache) VersionReturnsOnCall(i int, result1 atc.Version)

type FakeVolumeRepository

type FakeVolumeRepository struct {
	GetTeamVolumesStub func(teamID int) ([]db.CreatedVolume, error)

	CreateContainerVolumeStub func(int, string, db.CreatingContainer, string) (db.CreatingVolume, error)

	FindContainerVolumeStub func(int, string, db.CreatingContainer, string) (db.CreatingVolume, db.CreatedVolume, error)

	FindBaseResourceTypeVolumeStub func(int, *db.UsedWorkerBaseResourceType) (db.CreatingVolume, db.CreatedVolume, error)

	CreateBaseResourceTypeVolumeStub func(int, *db.UsedWorkerBaseResourceType) (db.CreatingVolume, error)

	FindResourceCacheVolumeStub func(string, db.UsedResourceCache) (db.CreatedVolume, bool, error)

	FindTaskCacheVolumeStub func(teamID int, uwtc *db.UsedWorkerTaskCache) (db.CreatingVolume, db.CreatedVolume, error)

	CreateTaskCacheVolumeStub func(teamID int, uwtc *db.UsedWorkerTaskCache) (db.CreatingVolume, error)

	FindResourceCertsVolumeStub func(workerName string, uwrc *db.UsedWorkerResourceCerts) (db.CreatingVolume, db.CreatedVolume, error)

	CreateResourceCertsVolumeStub func(workerName string, uwrc *db.UsedWorkerResourceCerts) (db.CreatingVolume, error)

	FindVolumesForContainerStub func(db.CreatedContainer) ([]db.CreatedVolume, error)

	GetOrphanedVolumesStub func() ([]db.CreatedVolume, error)

	DestroyFailedVolumesStub func() (int, error)

	GetDestroyingVolumesStub func(workerName string) ([]string, error)

	FindCreatedVolumeStub func(handle string) (db.CreatedVolume, bool, error)

	RemoveDestroyingVolumesStub func(workerName string, handles []string) (int, error)
	// contains filtered or unexported fields
}

func (*FakeVolumeRepository) CreateBaseResourceTypeVolume

func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolume(arg1 int, arg2 *db.UsedWorkerBaseResourceType) (db.CreatingVolume, error)

func (*FakeVolumeRepository) CreateBaseResourceTypeVolumeArgsForCall

func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolumeArgsForCall(i int) (int, *db.UsedWorkerBaseResourceType)

func (*FakeVolumeRepository) CreateBaseResourceTypeVolumeCallCount

func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolumeCallCount() int

func (*FakeVolumeRepository) CreateBaseResourceTypeVolumeReturns

func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolumeReturns(result1 db.CreatingVolume, result2 error)

func (*FakeVolumeRepository) CreateBaseResourceTypeVolumeReturnsOnCall

func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)

func (*FakeVolumeRepository) CreateContainerVolume

func (fake *FakeVolumeRepository) CreateContainerVolume(arg1 int, arg2 string, arg3 db.CreatingContainer, arg4 string) (db.CreatingVolume, error)

func (*FakeVolumeRepository) CreateContainerVolumeArgsForCall

func (fake *FakeVolumeRepository) CreateContainerVolumeArgsForCall(i int) (int, string, db.CreatingContainer, string)

func (*FakeVolumeRepository) CreateContainerVolumeCallCount

func (fake *FakeVolumeRepository) CreateContainerVolumeCallCount() int

func (*FakeVolumeRepository) CreateContainerVolumeReturns

func (fake *FakeVolumeRepository) CreateContainerVolumeReturns(result1 db.CreatingVolume, result2 error)

func (*FakeVolumeRepository) CreateContainerVolumeReturnsOnCall

func (fake *FakeVolumeRepository) CreateContainerVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)

func (*FakeVolumeRepository) CreateResourceCertsVolume

func (fake *FakeVolumeRepository) CreateResourceCertsVolume(workerName string, uwrc *db.UsedWorkerResourceCerts) (db.CreatingVolume, error)

func (*FakeVolumeRepository) CreateResourceCertsVolumeArgsForCall

func (fake *FakeVolumeRepository) CreateResourceCertsVolumeArgsForCall(i int) (string, *db.UsedWorkerResourceCerts)

func (*FakeVolumeRepository) CreateResourceCertsVolumeCallCount

func (fake *FakeVolumeRepository) CreateResourceCertsVolumeCallCount() int

func (*FakeVolumeRepository) CreateResourceCertsVolumeReturns

func (fake *FakeVolumeRepository) CreateResourceCertsVolumeReturns(result1 db.CreatingVolume, result2 error)

func (*FakeVolumeRepository) CreateResourceCertsVolumeReturnsOnCall

func (fake *FakeVolumeRepository) CreateResourceCertsVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)

func (*FakeVolumeRepository) CreateTaskCacheVolume

func (fake *FakeVolumeRepository) CreateTaskCacheVolume(teamID int, uwtc *db.UsedWorkerTaskCache) (db.CreatingVolume, error)

func (*FakeVolumeRepository) CreateTaskCacheVolumeArgsForCall

func (fake *FakeVolumeRepository) CreateTaskCacheVolumeArgsForCall(i int) (int, *db.UsedWorkerTaskCache)

func (*FakeVolumeRepository) CreateTaskCacheVolumeCallCount

func (fake *FakeVolumeRepository) CreateTaskCacheVolumeCallCount() int

func (*FakeVolumeRepository) CreateTaskCacheVolumeReturns

func (fake *FakeVolumeRepository) CreateTaskCacheVolumeReturns(result1 db.CreatingVolume, result2 error)

func (*FakeVolumeRepository) CreateTaskCacheVolumeReturnsOnCall

func (fake *FakeVolumeRepository) CreateTaskCacheVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)

func (*FakeVolumeRepository) DestroyFailedVolumes

func (fake *FakeVolumeRepository) DestroyFailedVolumes() (int, error)

func (*FakeVolumeRepository) DestroyFailedVolumesCallCount

func (fake *FakeVolumeRepository) DestroyFailedVolumesCallCount() int

func (*FakeVolumeRepository) DestroyFailedVolumesReturns

func (fake *FakeVolumeRepository) DestroyFailedVolumesReturns(result1 int, result2 error)

func (*FakeVolumeRepository) DestroyFailedVolumesReturnsOnCall

func (fake *FakeVolumeRepository) DestroyFailedVolumesReturnsOnCall(i int, result1 int, result2 error)

func (*FakeVolumeRepository) FindBaseResourceTypeVolume

func (fake *FakeVolumeRepository) FindBaseResourceTypeVolume(arg1 int, arg2 *db.UsedWorkerBaseResourceType) (db.CreatingVolume, db.CreatedVolume, error)

func (*FakeVolumeRepository) FindBaseResourceTypeVolumeArgsForCall

func (fake *FakeVolumeRepository) FindBaseResourceTypeVolumeArgsForCall(i int) (int, *db.UsedWorkerBaseResourceType)

func (*FakeVolumeRepository) FindBaseResourceTypeVolumeCallCount

func (fake *FakeVolumeRepository) FindBaseResourceTypeVolumeCallCount() int

func (*FakeVolumeRepository) FindBaseResourceTypeVolumeReturns

func (fake *FakeVolumeRepository) FindBaseResourceTypeVolumeReturns(result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)

func (*FakeVolumeRepository) FindBaseResourceTypeVolumeReturnsOnCall

func (fake *FakeVolumeRepository) FindBaseResourceTypeVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)

func (*FakeVolumeRepository) FindContainerVolume

func (fake *FakeVolumeRepository) FindContainerVolume(arg1 int, arg2 string, arg3 db.CreatingContainer, arg4 string) (db.CreatingVolume, db.CreatedVolume, error)

func (*FakeVolumeRepository) FindContainerVolumeArgsForCall

func (fake *FakeVolumeRepository) FindContainerVolumeArgsForCall(i int) (int, string, db.CreatingContainer, string)

func (*FakeVolumeRepository) FindContainerVolumeCallCount

func (fake *FakeVolumeRepository) FindContainerVolumeCallCount() int

func (*FakeVolumeRepository) FindContainerVolumeReturns

func (fake *FakeVolumeRepository) FindContainerVolumeReturns(result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)

func (*FakeVolumeRepository) FindContainerVolumeReturnsOnCall

func (fake *FakeVolumeRepository) FindContainerVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)

func (*FakeVolumeRepository) FindCreatedVolume

func (fake *FakeVolumeRepository) FindCreatedVolume(handle string) (db.CreatedVolume, bool, error)

func (*FakeVolumeRepository) FindCreatedVolumeArgsForCall

func (fake *FakeVolumeRepository) FindCreatedVolumeArgsForCall(i int) string

func (*FakeVolumeRepository) FindCreatedVolumeCallCount

func (fake *FakeVolumeRepository) FindCreatedVolumeCallCount() int

func (*FakeVolumeRepository) FindCreatedVolumeReturns

func (fake *FakeVolumeRepository) FindCreatedVolumeReturns(result1 db.CreatedVolume, result2 bool, result3 error)

func (*FakeVolumeRepository) FindCreatedVolumeReturnsOnCall

func (fake *FakeVolumeRepository) FindCreatedVolumeReturnsOnCall(i int, result1 db.CreatedVolume, result2 bool, result3 error)

func (*FakeVolumeRepository) FindResourceCacheVolume

func (fake *FakeVolumeRepository) FindResourceCacheVolume(arg1 string, arg2 db.UsedResourceCache) (db.CreatedVolume, bool, error)

func (*FakeVolumeRepository) FindResourceCacheVolumeArgsForCall

func (fake *FakeVolumeRepository) FindResourceCacheVolumeArgsForCall(i int) (string, db.UsedResourceCache)

func (*FakeVolumeRepository) FindResourceCacheVolumeCallCount

func (fake *FakeVolumeRepository) FindResourceCacheVolumeCallCount() int

func (*FakeVolumeRepository) FindResourceCacheVolumeReturns

func (fake *FakeVolumeRepository) FindResourceCacheVolumeReturns(result1 db.CreatedVolume, result2 bool, result3 error)

func (*FakeVolumeRepository) FindResourceCacheVolumeReturnsOnCall

func (fake *FakeVolumeRepository) FindResourceCacheVolumeReturnsOnCall(i int, result1 db.CreatedVolume, result2 bool, result3 error)

func (*FakeVolumeRepository) FindResourceCertsVolume

func (fake *FakeVolumeRepository) FindResourceCertsVolume(workerName string, uwrc *db.UsedWorkerResourceCerts) (db.CreatingVolume, db.CreatedVolume, error)

func (*FakeVolumeRepository) FindResourceCertsVolumeArgsForCall

func (fake *FakeVolumeRepository) FindResourceCertsVolumeArgsForCall(i int) (string, *db.UsedWorkerResourceCerts)

func (*FakeVolumeRepository) FindResourceCertsVolumeCallCount

func (fake *FakeVolumeRepository) FindResourceCertsVolumeCallCount() int

func (*FakeVolumeRepository) FindResourceCertsVolumeReturns

func (fake *FakeVolumeRepository) FindResourceCertsVolumeReturns(result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)

func (*FakeVolumeRepository) FindResourceCertsVolumeReturnsOnCall

func (fake *FakeVolumeRepository) FindResourceCertsVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)

func (*FakeVolumeRepository) FindTaskCacheVolume

func (fake *FakeVolumeRepository) FindTaskCacheVolume(teamID int, uwtc *db.UsedWorkerTaskCache) (db.CreatingVolume, db.CreatedVolume, error)

func (*FakeVolumeRepository) FindTaskCacheVolumeArgsForCall

func (fake *FakeVolumeRepository) FindTaskCacheVolumeArgsForCall(i int) (int, *db.UsedWorkerTaskCache)

func (*FakeVolumeRepository) FindTaskCacheVolumeCallCount

func (fake *FakeVolumeRepository) FindTaskCacheVolumeCallCount() int

func (*FakeVolumeRepository) FindTaskCacheVolumeReturns

func (fake *FakeVolumeRepository) FindTaskCacheVolumeReturns(result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)

func (*FakeVolumeRepository) FindTaskCacheVolumeReturnsOnCall

func (fake *FakeVolumeRepository) FindTaskCacheVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)

func (*FakeVolumeRepository) FindVolumesForContainer

func (fake *FakeVolumeRepository) FindVolumesForContainer(arg1 db.CreatedContainer) ([]db.CreatedVolume, error)

func (*FakeVolumeRepository) FindVolumesForContainerArgsForCall

func (fake *FakeVolumeRepository) FindVolumesForContainerArgsForCall(i int) db.CreatedContainer

func (*FakeVolumeRepository) FindVolumesForContainerCallCount

func (fake *FakeVolumeRepository) FindVolumesForContainerCallCount() int

func (*FakeVolumeRepository) FindVolumesForContainerReturns

func (fake *FakeVolumeRepository) FindVolumesForContainerReturns(result1 []db.CreatedVolume, result2 error)

func (*FakeVolumeRepository) FindVolumesForContainerReturnsOnCall

func (fake *FakeVolumeRepository) FindVolumesForContainerReturnsOnCall(i int, result1 []db.CreatedVolume, result2 error)

func (*FakeVolumeRepository) GetDestroyingVolumes

func (fake *FakeVolumeRepository) GetDestroyingVolumes(workerName string) ([]string, error)

func (*FakeVolumeRepository) GetDestroyingVolumesArgsForCall

func (fake *FakeVolumeRepository) GetDestroyingVolumesArgsForCall(i int) string

func (*FakeVolumeRepository) GetDestroyingVolumesCallCount

func (fake *FakeVolumeRepository) GetDestroyingVolumesCallCount() int

func (*FakeVolumeRepository) GetDestroyingVolumesReturns

func (fake *FakeVolumeRepository) GetDestroyingVolumesReturns(result1 []string, result2 error)

func (*FakeVolumeRepository) GetDestroyingVolumesReturnsOnCall

func (fake *FakeVolumeRepository) GetDestroyingVolumesReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeVolumeRepository) GetOrphanedVolumes

func (fake *FakeVolumeRepository) GetOrphanedVolumes() ([]db.CreatedVolume, error)

func (*FakeVolumeRepository) GetOrphanedVolumesCallCount

func (fake *FakeVolumeRepository) GetOrphanedVolumesCallCount() int

func (*FakeVolumeRepository) GetOrphanedVolumesReturns

func (fake *FakeVolumeRepository) GetOrphanedVolumesReturns(result1 []db.CreatedVolume, result2 error)

func (*FakeVolumeRepository) GetOrphanedVolumesReturnsOnCall

func (fake *FakeVolumeRepository) GetOrphanedVolumesReturnsOnCall(i int, result1 []db.CreatedVolume, result2 error)

func (*FakeVolumeRepository) GetTeamVolumes

func (fake *FakeVolumeRepository) GetTeamVolumes(teamID int) ([]db.CreatedVolume, error)

func (*FakeVolumeRepository) GetTeamVolumesArgsForCall

func (fake *FakeVolumeRepository) GetTeamVolumesArgsForCall(i int) int

func (*FakeVolumeRepository) GetTeamVolumesCallCount

func (fake *FakeVolumeRepository) GetTeamVolumesCallCount() int

func (*FakeVolumeRepository) GetTeamVolumesReturns

func (fake *FakeVolumeRepository) GetTeamVolumesReturns(result1 []db.CreatedVolume, result2 error)

func (*FakeVolumeRepository) GetTeamVolumesReturnsOnCall

func (fake *FakeVolumeRepository) GetTeamVolumesReturnsOnCall(i int, result1 []db.CreatedVolume, result2 error)

func (*FakeVolumeRepository) Invocations

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

func (*FakeVolumeRepository) RemoveDestroyingVolumes

func (fake *FakeVolumeRepository) RemoveDestroyingVolumes(workerName string, handles []string) (int, error)

func (*FakeVolumeRepository) RemoveDestroyingVolumesArgsForCall

func (fake *FakeVolumeRepository) RemoveDestroyingVolumesArgsForCall(i int) (string, []string)

func (*FakeVolumeRepository) RemoveDestroyingVolumesCallCount

func (fake *FakeVolumeRepository) RemoveDestroyingVolumesCallCount() int

func (*FakeVolumeRepository) RemoveDestroyingVolumesReturns

func (fake *FakeVolumeRepository) RemoveDestroyingVolumesReturns(result1 int, result2 error)

func (*FakeVolumeRepository) RemoveDestroyingVolumesReturnsOnCall

func (fake *FakeVolumeRepository) RemoveDestroyingVolumesReturnsOnCall(i int, result1 int, result2 error)

type FakeWorker

type FakeWorker struct {
	NameStub func() string

	VersionStub func() *string

	StateStub func() db.WorkerState

	GardenAddrStub func() *string

	BaggageclaimURLStub func() *string

	CertsPathStub func() *string

	ResourceCertsStub func() (*db.UsedWorkerResourceCerts, bool, error)

	HTTPProxyURLStub func() string

	HTTPSProxyURLStub func() string

	NoProxyStub func() string

	ActiveContainersStub func() int

	ResourceTypesStub func() []atc.WorkerResourceType

	PlatformStub func() string

	TagsStub func() []string

	TeamIDStub func() int

	TeamNameStub func() string

	StartTimeStub func() int64

	ExpiresAtStub func() time.Time

	EphemeralStub func() bool

	ReloadStub func() (bool, error)

	LandStub func() error

	RetireStub func() error

	PruneStub func() error

	DeleteStub func() error
	// contains filtered or unexported fields
}

func (*FakeWorker) ActiveContainers

func (fake *FakeWorker) ActiveContainers() int

func (*FakeWorker) ActiveContainersCallCount

func (fake *FakeWorker) ActiveContainersCallCount() int

func (*FakeWorker) ActiveContainersReturns

func (fake *FakeWorker) ActiveContainersReturns(result1 int)

func (*FakeWorker) ActiveContainersReturnsOnCall

func (fake *FakeWorker) ActiveContainersReturnsOnCall(i int, result1 int)

func (*FakeWorker) BaggageclaimURL

func (fake *FakeWorker) BaggageclaimURL() *string

func (*FakeWorker) BaggageclaimURLCallCount

func (fake *FakeWorker) BaggageclaimURLCallCount() int

func (*FakeWorker) BaggageclaimURLReturns

func (fake *FakeWorker) BaggageclaimURLReturns(result1 *string)

func (*FakeWorker) BaggageclaimURLReturnsOnCall

func (fake *FakeWorker) BaggageclaimURLReturnsOnCall(i int, result1 *string)

func (*FakeWorker) CertsPath

func (fake *FakeWorker) CertsPath() *string

func (*FakeWorker) CertsPathCallCount

func (fake *FakeWorker) CertsPathCallCount() int

func (*FakeWorker) CertsPathReturns

func (fake *FakeWorker) CertsPathReturns(result1 *string)

func (*FakeWorker) CertsPathReturnsOnCall

func (fake *FakeWorker) CertsPathReturnsOnCall(i int, result1 *string)

func (*FakeWorker) Delete

func (fake *FakeWorker) Delete() error

func (*FakeWorker) DeleteCallCount

func (fake *FakeWorker) DeleteCallCount() int

func (*FakeWorker) DeleteReturns

func (fake *FakeWorker) DeleteReturns(result1 error)

func (*FakeWorker) DeleteReturnsOnCall

func (fake *FakeWorker) DeleteReturnsOnCall(i int, result1 error)

func (*FakeWorker) Ephemeral

func (fake *FakeWorker) Ephemeral() bool

func (*FakeWorker) EphemeralCallCount

func (fake *FakeWorker) EphemeralCallCount() int

func (*FakeWorker) EphemeralReturns

func (fake *FakeWorker) EphemeralReturns(result1 bool)

func (*FakeWorker) EphemeralReturnsOnCall

func (fake *FakeWorker) EphemeralReturnsOnCall(i int, result1 bool)

func (*FakeWorker) ExpiresAt

func (fake *FakeWorker) ExpiresAt() time.Time

func (*FakeWorker) ExpiresAtCallCount

func (fake *FakeWorker) ExpiresAtCallCount() int

func (*FakeWorker) ExpiresAtReturns

func (fake *FakeWorker) ExpiresAtReturns(result1 time.Time)

func (*FakeWorker) ExpiresAtReturnsOnCall

func (fake *FakeWorker) ExpiresAtReturnsOnCall(i int, result1 time.Time)

func (*FakeWorker) GardenAddr

func (fake *FakeWorker) GardenAddr() *string

func (*FakeWorker) GardenAddrCallCount

func (fake *FakeWorker) GardenAddrCallCount() int

func (*FakeWorker) GardenAddrReturns

func (fake *FakeWorker) GardenAddrReturns(result1 *string)

func (*FakeWorker) GardenAddrReturnsOnCall

func (fake *FakeWorker) GardenAddrReturnsOnCall(i int, result1 *string)

func (*FakeWorker) HTTPProxyURL

func (fake *FakeWorker) HTTPProxyURL() string

func (*FakeWorker) HTTPProxyURLCallCount

func (fake *FakeWorker) HTTPProxyURLCallCount() int

func (*FakeWorker) HTTPProxyURLReturns

func (fake *FakeWorker) HTTPProxyURLReturns(result1 string)

func (*FakeWorker) HTTPProxyURLReturnsOnCall

func (fake *FakeWorker) HTTPProxyURLReturnsOnCall(i int, result1 string)

func (*FakeWorker) HTTPSProxyURL

func (fake *FakeWorker) HTTPSProxyURL() string

func (*FakeWorker) HTTPSProxyURLCallCount

func (fake *FakeWorker) HTTPSProxyURLCallCount() int

func (*FakeWorker) HTTPSProxyURLReturns

func (fake *FakeWorker) HTTPSProxyURLReturns(result1 string)

func (*FakeWorker) HTTPSProxyURLReturnsOnCall

func (fake *FakeWorker) HTTPSProxyURLReturnsOnCall(i int, result1 string)

func (*FakeWorker) Invocations

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

func (*FakeWorker) Land

func (fake *FakeWorker) Land() error

func (*FakeWorker) LandCallCount

func (fake *FakeWorker) LandCallCount() int

func (*FakeWorker) LandReturns

func (fake *FakeWorker) LandReturns(result1 error)

func (*FakeWorker) LandReturnsOnCall

func (fake *FakeWorker) LandReturnsOnCall(i int, result1 error)

func (*FakeWorker) Name

func (fake *FakeWorker) Name() string

func (*FakeWorker) NameCallCount

func (fake *FakeWorker) NameCallCount() int

func (*FakeWorker) NameReturns

func (fake *FakeWorker) NameReturns(result1 string)

func (*FakeWorker) NameReturnsOnCall

func (fake *FakeWorker) NameReturnsOnCall(i int, result1 string)

func (*FakeWorker) NoProxy

func (fake *FakeWorker) NoProxy() string

func (*FakeWorker) NoProxyCallCount

func (fake *FakeWorker) NoProxyCallCount() int

func (*FakeWorker) NoProxyReturns

func (fake *FakeWorker) NoProxyReturns(result1 string)

func (*FakeWorker) NoProxyReturnsOnCall

func (fake *FakeWorker) NoProxyReturnsOnCall(i int, result1 string)

func (*FakeWorker) Platform

func (fake *FakeWorker) Platform() string

func (*FakeWorker) PlatformCallCount

func (fake *FakeWorker) PlatformCallCount() int

func (*FakeWorker) PlatformReturns

func (fake *FakeWorker) PlatformReturns(result1 string)

func (*FakeWorker) PlatformReturnsOnCall

func (fake *FakeWorker) PlatformReturnsOnCall(i int, result1 string)

func (*FakeWorker) Prune

func (fake *FakeWorker) Prune() error

func (*FakeWorker) PruneCallCount

func (fake *FakeWorker) PruneCallCount() int

func (*FakeWorker) PruneReturns

func (fake *FakeWorker) PruneReturns(result1 error)

func (*FakeWorker) PruneReturnsOnCall

func (fake *FakeWorker) PruneReturnsOnCall(i int, result1 error)

func (*FakeWorker) Reload

func (fake *FakeWorker) Reload() (bool, error)

func (*FakeWorker) ReloadCallCount

func (fake *FakeWorker) ReloadCallCount() int

func (*FakeWorker) ReloadReturns

func (fake *FakeWorker) ReloadReturns(result1 bool, result2 error)

func (*FakeWorker) ReloadReturnsOnCall

func (fake *FakeWorker) ReloadReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeWorker) ResourceCerts

func (fake *FakeWorker) ResourceCerts() (*db.UsedWorkerResourceCerts, bool, error)

func (*FakeWorker) ResourceCertsCallCount

func (fake *FakeWorker) ResourceCertsCallCount() int

func (*FakeWorker) ResourceCertsReturns

func (fake *FakeWorker) ResourceCertsReturns(result1 *db.UsedWorkerResourceCerts, result2 bool, result3 error)

func (*FakeWorker) ResourceCertsReturnsOnCall

func (fake *FakeWorker) ResourceCertsReturnsOnCall(i int, result1 *db.UsedWorkerResourceCerts, result2 bool, result3 error)

func (*FakeWorker) ResourceTypes

func (fake *FakeWorker) ResourceTypes() []atc.WorkerResourceType

func (*FakeWorker) ResourceTypesCallCount

func (fake *FakeWorker) ResourceTypesCallCount() int

func (*FakeWorker) ResourceTypesReturns

func (fake *FakeWorker) ResourceTypesReturns(result1 []atc.WorkerResourceType)

func (*FakeWorker) ResourceTypesReturnsOnCall

func (fake *FakeWorker) ResourceTypesReturnsOnCall(i int, result1 []atc.WorkerResourceType)

func (*FakeWorker) Retire

func (fake *FakeWorker) Retire() error

func (*FakeWorker) RetireCallCount

func (fake *FakeWorker) RetireCallCount() int

func (*FakeWorker) RetireReturns

func (fake *FakeWorker) RetireReturns(result1 error)

func (*FakeWorker) RetireReturnsOnCall

func (fake *FakeWorker) RetireReturnsOnCall(i int, result1 error)

func (*FakeWorker) StartTime

func (fake *FakeWorker) StartTime() int64

func (*FakeWorker) StartTimeCallCount

func (fake *FakeWorker) StartTimeCallCount() int

func (*FakeWorker) StartTimeReturns

func (fake *FakeWorker) StartTimeReturns(result1 int64)

func (*FakeWorker) StartTimeReturnsOnCall

func (fake *FakeWorker) StartTimeReturnsOnCall(i int, result1 int64)

func (*FakeWorker) State

func (fake *FakeWorker) State() db.WorkerState

func (*FakeWorker) StateCallCount

func (fake *FakeWorker) StateCallCount() int

func (*FakeWorker) StateReturns

func (fake *FakeWorker) StateReturns(result1 db.WorkerState)

func (*FakeWorker) StateReturnsOnCall

func (fake *FakeWorker) StateReturnsOnCall(i int, result1 db.WorkerState)

func (*FakeWorker) Tags

func (fake *FakeWorker) Tags() []string

func (*FakeWorker) TagsCallCount

func (fake *FakeWorker) TagsCallCount() int

func (*FakeWorker) TagsReturns

func (fake *FakeWorker) TagsReturns(result1 []string)

func (*FakeWorker) TagsReturnsOnCall

func (fake *FakeWorker) TagsReturnsOnCall(i int, result1 []string)

func (*FakeWorker) TeamID

func (fake *FakeWorker) TeamID() int

func (*FakeWorker) TeamIDCallCount

func (fake *FakeWorker) TeamIDCallCount() int

func (*FakeWorker) TeamIDReturns

func (fake *FakeWorker) TeamIDReturns(result1 int)

func (*FakeWorker) TeamIDReturnsOnCall

func (fake *FakeWorker) TeamIDReturnsOnCall(i int, result1 int)

func (*FakeWorker) TeamName

func (fake *FakeWorker) TeamName() string

func (*FakeWorker) TeamNameCallCount

func (fake *FakeWorker) TeamNameCallCount() int

func (*FakeWorker) TeamNameReturns

func (fake *FakeWorker) TeamNameReturns(result1 string)

func (*FakeWorker) TeamNameReturnsOnCall

func (fake *FakeWorker) TeamNameReturnsOnCall(i int, result1 string)

func (*FakeWorker) Version

func (fake *FakeWorker) Version() *string

func (*FakeWorker) VersionCallCount

func (fake *FakeWorker) VersionCallCount() int

func (*FakeWorker) VersionReturns

func (fake *FakeWorker) VersionReturns(result1 *string)

func (*FakeWorker) VersionReturnsOnCall

func (fake *FakeWorker) VersionReturnsOnCall(i int, result1 *string)

type FakeWorkerBaseResourceTypeFactory

type FakeWorkerBaseResourceTypeFactory struct {
	FindStub func(name string, worker db.Worker) (*db.UsedWorkerBaseResourceType, bool, error)
	// contains filtered or unexported fields
}

func (*FakeWorkerBaseResourceTypeFactory) Find

func (*FakeWorkerBaseResourceTypeFactory) FindArgsForCall

func (fake *FakeWorkerBaseResourceTypeFactory) FindArgsForCall(i int) (string, db.Worker)

func (*FakeWorkerBaseResourceTypeFactory) FindCallCount

func (fake *FakeWorkerBaseResourceTypeFactory) FindCallCount() int

func (*FakeWorkerBaseResourceTypeFactory) FindReturns

func (fake *FakeWorkerBaseResourceTypeFactory) FindReturns(result1 *db.UsedWorkerBaseResourceType, result2 bool, result3 error)

func (*FakeWorkerBaseResourceTypeFactory) FindReturnsOnCall

func (fake *FakeWorkerBaseResourceTypeFactory) FindReturnsOnCall(i int, result1 *db.UsedWorkerBaseResourceType, result2 bool, result3 error)

func (*FakeWorkerBaseResourceTypeFactory) Invocations

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

type FakeWorkerFactory

type FakeWorkerFactory struct {
	GetWorkerStub func(name string) (db.Worker, bool, error)

	SaveWorkerStub func(atcWorker atc.Worker, ttl time.Duration) (db.Worker, error)

	HeartbeatWorkerStub func(worker atc.Worker, ttl time.Duration) (db.Worker, error)

	WorkersStub func() ([]db.Worker, error)

	VisibleWorkersStub func([]string) ([]db.Worker, error)
	// contains filtered or unexported fields
}

func (*FakeWorkerFactory) GetWorker

func (fake *FakeWorkerFactory) GetWorker(name string) (db.Worker, bool, error)

func (*FakeWorkerFactory) GetWorkerArgsForCall

func (fake *FakeWorkerFactory) GetWorkerArgsForCall(i int) string

func (*FakeWorkerFactory) GetWorkerCallCount

func (fake *FakeWorkerFactory) GetWorkerCallCount() int

func (*FakeWorkerFactory) GetWorkerReturns

func (fake *FakeWorkerFactory) GetWorkerReturns(result1 db.Worker, result2 bool, result3 error)

func (*FakeWorkerFactory) GetWorkerReturnsOnCall

func (fake *FakeWorkerFactory) GetWorkerReturnsOnCall(i int, result1 db.Worker, result2 bool, result3 error)

func (*FakeWorkerFactory) HeartbeatWorker

func (fake *FakeWorkerFactory) HeartbeatWorker(worker atc.Worker, ttl time.Duration) (db.Worker, error)

func (*FakeWorkerFactory) HeartbeatWorkerArgsForCall

func (fake *FakeWorkerFactory) HeartbeatWorkerArgsForCall(i int) (atc.Worker, time.Duration)

func (*FakeWorkerFactory) HeartbeatWorkerCallCount

func (fake *FakeWorkerFactory) HeartbeatWorkerCallCount() int

func (*FakeWorkerFactory) HeartbeatWorkerReturns

func (fake *FakeWorkerFactory) HeartbeatWorkerReturns(result1 db.Worker, result2 error)

func (*FakeWorkerFactory) HeartbeatWorkerReturnsOnCall

func (fake *FakeWorkerFactory) HeartbeatWorkerReturnsOnCall(i int, result1 db.Worker, result2 error)

func (*FakeWorkerFactory) Invocations

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

func (*FakeWorkerFactory) SaveWorker

func (fake *FakeWorkerFactory) SaveWorker(atcWorker atc.Worker, ttl time.Duration) (db.Worker, error)

func (*FakeWorkerFactory) SaveWorkerArgsForCall

func (fake *FakeWorkerFactory) SaveWorkerArgsForCall(i int) (atc.Worker, time.Duration)

func (*FakeWorkerFactory) SaveWorkerCallCount

func (fake *FakeWorkerFactory) SaveWorkerCallCount() int

func (*FakeWorkerFactory) SaveWorkerReturns

func (fake *FakeWorkerFactory) SaveWorkerReturns(result1 db.Worker, result2 error)

func (*FakeWorkerFactory) SaveWorkerReturnsOnCall

func (fake *FakeWorkerFactory) SaveWorkerReturnsOnCall(i int, result1 db.Worker, result2 error)

func (*FakeWorkerFactory) VisibleWorkers

func (fake *FakeWorkerFactory) VisibleWorkers(arg1 []string) ([]db.Worker, error)

func (*FakeWorkerFactory) VisibleWorkersArgsForCall

func (fake *FakeWorkerFactory) VisibleWorkersArgsForCall(i int) []string

func (*FakeWorkerFactory) VisibleWorkersCallCount

func (fake *FakeWorkerFactory) VisibleWorkersCallCount() int

func (*FakeWorkerFactory) VisibleWorkersReturns

func (fake *FakeWorkerFactory) VisibleWorkersReturns(result1 []db.Worker, result2 error)

func (*FakeWorkerFactory) VisibleWorkersReturnsOnCall

func (fake *FakeWorkerFactory) VisibleWorkersReturnsOnCall(i int, result1 []db.Worker, result2 error)

func (*FakeWorkerFactory) Workers

func (fake *FakeWorkerFactory) Workers() ([]db.Worker, error)

func (*FakeWorkerFactory) WorkersCallCount

func (fake *FakeWorkerFactory) WorkersCallCount() int

func (*FakeWorkerFactory) WorkersReturns

func (fake *FakeWorkerFactory) WorkersReturns(result1 []db.Worker, result2 error)

func (*FakeWorkerFactory) WorkersReturnsOnCall

func (fake *FakeWorkerFactory) WorkersReturnsOnCall(i int, result1 []db.Worker, result2 error)

type FakeWorkerLifecycle

type FakeWorkerLifecycle struct {
	DeleteUnresponsiveEphemeralWorkersStub func() ([]string, error)

	StallUnresponsiveWorkersStub func() ([]string, error)

	LandFinishedLandingWorkersStub func() ([]string, error)

	DeleteFinishedRetiringWorkersStub func() ([]string, error)
	// contains filtered or unexported fields
}

func (*FakeWorkerLifecycle) DeleteFinishedRetiringWorkers

func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkers() ([]string, error)

func (*FakeWorkerLifecycle) DeleteFinishedRetiringWorkersCallCount

func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersCallCount() int

func (*FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturns

func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturns(result1 []string, result2 error)

func (*FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturnsOnCall

func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeWorkerLifecycle) DeleteUnresponsiveEphemeralWorkers

func (fake *FakeWorkerLifecycle) DeleteUnresponsiveEphemeralWorkers() ([]string, error)

func (*FakeWorkerLifecycle) DeleteUnresponsiveEphemeralWorkersCallCount

func (fake *FakeWorkerLifecycle) DeleteUnresponsiveEphemeralWorkersCallCount() int

func (*FakeWorkerLifecycle) DeleteUnresponsiveEphemeralWorkersReturns

func (fake *FakeWorkerLifecycle) DeleteUnresponsiveEphemeralWorkersReturns(result1 []string, result2 error)

func (*FakeWorkerLifecycle) DeleteUnresponsiveEphemeralWorkersReturnsOnCall

func (fake *FakeWorkerLifecycle) DeleteUnresponsiveEphemeralWorkersReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeWorkerLifecycle) Invocations

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

func (*FakeWorkerLifecycle) LandFinishedLandingWorkers

func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkers() ([]string, error)

func (*FakeWorkerLifecycle) LandFinishedLandingWorkersCallCount

func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersCallCount() int

func (*FakeWorkerLifecycle) LandFinishedLandingWorkersReturns

func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersReturns(result1 []string, result2 error)

func (*FakeWorkerLifecycle) LandFinishedLandingWorkersReturnsOnCall

func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeWorkerLifecycle) StallUnresponsiveWorkers

func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkers() ([]string, error)

func (*FakeWorkerLifecycle) StallUnresponsiveWorkersCallCount

func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersCallCount() int

func (*FakeWorkerLifecycle) StallUnresponsiveWorkersReturns

func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersReturns(result1 []string, result2 error)

func (*FakeWorkerLifecycle) StallUnresponsiveWorkersReturnsOnCall

func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersReturnsOnCall(i int, result1 []string, result2 error)

type FakeWorkerTaskCacheFactory

type FakeWorkerTaskCacheFactory struct {
	FindStub func(jobID int, stepName string, path string, workerName string) (*db.UsedWorkerTaskCache, bool, error)

	FindOrCreateStub func(jobID int, stepName string, path string, workerName string) (*db.UsedWorkerTaskCache, error)
	// contains filtered or unexported fields
}

func (*FakeWorkerTaskCacheFactory) Find

func (fake *FakeWorkerTaskCacheFactory) Find(jobID int, stepName string, path string, workerName string) (*db.UsedWorkerTaskCache, bool, error)

func (*FakeWorkerTaskCacheFactory) FindArgsForCall

func (fake *FakeWorkerTaskCacheFactory) FindArgsForCall(i int) (int, string, string, string)

func (*FakeWorkerTaskCacheFactory) FindCallCount

func (fake *FakeWorkerTaskCacheFactory) FindCallCount() int

func (*FakeWorkerTaskCacheFactory) FindOrCreate

func (fake *FakeWorkerTaskCacheFactory) FindOrCreate(jobID int, stepName string, path string, workerName string) (*db.UsedWorkerTaskCache, error)

func (*FakeWorkerTaskCacheFactory) FindOrCreateArgsForCall

func (fake *FakeWorkerTaskCacheFactory) FindOrCreateArgsForCall(i int) (int, string, string, string)

func (*FakeWorkerTaskCacheFactory) FindOrCreateCallCount

func (fake *FakeWorkerTaskCacheFactory) FindOrCreateCallCount() int

func (*FakeWorkerTaskCacheFactory) FindOrCreateReturns

func (fake *FakeWorkerTaskCacheFactory) FindOrCreateReturns(result1 *db.UsedWorkerTaskCache, result2 error)

func (*FakeWorkerTaskCacheFactory) FindOrCreateReturnsOnCall

func (fake *FakeWorkerTaskCacheFactory) FindOrCreateReturnsOnCall(i int, result1 *db.UsedWorkerTaskCache, result2 error)

func (*FakeWorkerTaskCacheFactory) FindReturns

func (fake *FakeWorkerTaskCacheFactory) FindReturns(result1 *db.UsedWorkerTaskCache, result2 bool, result3 error)

func (*FakeWorkerTaskCacheFactory) FindReturnsOnCall

func (fake *FakeWorkerTaskCacheFactory) FindReturnsOnCall(i int, result1 *db.UsedWorkerTaskCache, result2 bool, result3 error)

func (*FakeWorkerTaskCacheFactory) Invocations

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

Jump to

Keyboard shortcuts

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