dbfakes

package
v6.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 17 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.

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 FakeAccessTokenFactory

type FakeAccessTokenFactory struct {
	CreateAccessTokenStub func(string, db.Claims) error

	GetAccessTokenStub func(string) (db.AccessToken, bool, error)
	// contains filtered or unexported fields
}

func (*FakeAccessTokenFactory) CreateAccessToken

func (fake *FakeAccessTokenFactory) CreateAccessToken(arg1 string, arg2 db.Claims) error

func (*FakeAccessTokenFactory) CreateAccessTokenArgsForCall

func (fake *FakeAccessTokenFactory) CreateAccessTokenArgsForCall(i int) (string, db.Claims)

func (*FakeAccessTokenFactory) CreateAccessTokenCallCount

func (fake *FakeAccessTokenFactory) CreateAccessTokenCallCount() int

func (*FakeAccessTokenFactory) CreateAccessTokenCalls

func (fake *FakeAccessTokenFactory) CreateAccessTokenCalls(stub func(string, db.Claims) error)

func (*FakeAccessTokenFactory) CreateAccessTokenReturns

func (fake *FakeAccessTokenFactory) CreateAccessTokenReturns(result1 error)

func (*FakeAccessTokenFactory) CreateAccessTokenReturnsOnCall

func (fake *FakeAccessTokenFactory) CreateAccessTokenReturnsOnCall(i int, result1 error)

func (*FakeAccessTokenFactory) GetAccessToken

func (fake *FakeAccessTokenFactory) GetAccessToken(arg1 string) (db.AccessToken, bool, error)

func (*FakeAccessTokenFactory) GetAccessTokenArgsForCall

func (fake *FakeAccessTokenFactory) GetAccessTokenArgsForCall(i int) string

func (*FakeAccessTokenFactory) GetAccessTokenCallCount

func (fake *FakeAccessTokenFactory) GetAccessTokenCallCount() int

func (*FakeAccessTokenFactory) GetAccessTokenCalls

func (fake *FakeAccessTokenFactory) GetAccessTokenCalls(stub func(string) (db.AccessToken, bool, error))

func (*FakeAccessTokenFactory) GetAccessTokenReturns

func (fake *FakeAccessTokenFactory) GetAccessTokenReturns(result1 db.AccessToken, result2 bool, result3 error)

func (*FakeAccessTokenFactory) GetAccessTokenReturnsOnCall

func (fake *FakeAccessTokenFactory) GetAccessTokenReturnsOnCall(i int, result1 db.AccessToken, result2 bool, result3 error)

func (*FakeAccessTokenFactory) Invocations

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

type FakeAccessTokenLifecycle

type FakeAccessTokenLifecycle struct {
	RemoveExpiredAccessTokensStub func(time.Duration) (int, error)
	// contains filtered or unexported fields
}

func (*FakeAccessTokenLifecycle) Invocations

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

func (*FakeAccessTokenLifecycle) RemoveExpiredAccessTokens

func (fake *FakeAccessTokenLifecycle) RemoveExpiredAccessTokens(arg1 time.Duration) (int, error)

func (*FakeAccessTokenLifecycle) RemoveExpiredAccessTokensArgsForCall

func (fake *FakeAccessTokenLifecycle) RemoveExpiredAccessTokensArgsForCall(i int) time.Duration

func (*FakeAccessTokenLifecycle) RemoveExpiredAccessTokensCallCount

func (fake *FakeAccessTokenLifecycle) RemoveExpiredAccessTokensCallCount() int

func (*FakeAccessTokenLifecycle) RemoveExpiredAccessTokensCalls

func (fake *FakeAccessTokenLifecycle) RemoveExpiredAccessTokensCalls(stub func(time.Duration) (int, error))

func (*FakeAccessTokenLifecycle) RemoveExpiredAccessTokensReturns

func (fake *FakeAccessTokenLifecycle) RemoveExpiredAccessTokensReturns(result1 int, result2 error)

func (*FakeAccessTokenLifecycle) RemoveExpiredAccessTokensReturnsOnCall

func (fake *FakeAccessTokenLifecycle) RemoveExpiredAccessTokensReturnsOnCall(i int, result1 int, result2 error)

type FakeBuild

type FakeBuild struct {
	AbortNotifierStub func() (db.Notifier, error)

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

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

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

	ArtifactStub func(int) (db.WorkerArtifact, error)

	ArtifactsStub func() ([]db.WorkerArtifact, error)

	DeleteStub func() (bool, error)

	EndTimeStub func() time.Time

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

	FinishStub func(db.BuildStatus) error

	HasPlanStub func() bool

	IDStub func() int

	InputsReadyStub func() bool

	InterceptibleStub func() (bool, error)

	IsAbortedStub func() bool

	IsCompletedStub func() bool

	IsDrainedStub func() bool

	IsManuallyTriggeredStub func() bool

	IsNewerThanLastCheckOfStub func(db.Resource) bool

	IsRunningStub func() bool

	IsScheduledStub func() bool

	JobIDStub func() int

	JobNameStub func() string

	MarkAsAbortedStub func() error

	NameStub func() string

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

	PipelineIDStub func() int

	PipelineNameStub func() string

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

	PrivatePlanStub func() atc.Plan

	PublicPlanStub func() *json.RawMessage

	ReapTimeStub func() time.Time

	ReloadStub func() (bool, error)

	RerunNumberStub func() int

	RerunOfStub func() int

	RerunOfNameStub func() string

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

	ResourcesCheckedStub func() (bool, error)

	SaveEventStub func(atc.Event) error

	SaveImageResourceVersionStub func(db.UsedResourceCache) error

	SaveOutputStub func(string, atc.Source, atc.VersionedResourceTypes, atc.Version, db.ResourceConfigMetadataFields, string, string) error

	SavePipelineStub func(string, int, atc.Config, db.ConfigVersion, bool) (db.Pipeline, bool, error)

	SchemaStub func() string

	SetDrainedStub func(bool) error

	SetInterceptibleStub func(bool) error

	SpanContextStub func() propagators.Supplier

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

	StartTimeStub func() time.Time

	StatusStub func() db.BuildStatus

	TeamIDStub func() int

	TeamNameStub func() string
	// 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) AbortNotifierCalls

func (fake *FakeBuild) AbortNotifierCalls(stub func() (db.Notifier, error))

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(arg1 lager.Logger, arg2 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) AcquireTrackingLockCalls

func (fake *FakeBuild) AcquireTrackingLockCalls(stub func(lager.Logger, time.Duration) (lock.Lock, bool, error))

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

func (fake *FakeBuild) AdoptInputsAndPipes() ([]db.BuildInput, bool, error)

func (*FakeBuild) AdoptInputsAndPipesCallCount

func (fake *FakeBuild) AdoptInputsAndPipesCallCount() int

func (*FakeBuild) AdoptInputsAndPipesCalls

func (fake *FakeBuild) AdoptInputsAndPipesCalls(stub func() ([]db.BuildInput, bool, error))

func (*FakeBuild) AdoptInputsAndPipesReturns

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

func (*FakeBuild) AdoptInputsAndPipesReturnsOnCall

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

func (*FakeBuild) AdoptRerunInputsAndPipes

func (fake *FakeBuild) AdoptRerunInputsAndPipes() ([]db.BuildInput, bool, error)

func (*FakeBuild) AdoptRerunInputsAndPipesCallCount

func (fake *FakeBuild) AdoptRerunInputsAndPipesCallCount() int

func (*FakeBuild) AdoptRerunInputsAndPipesCalls

func (fake *FakeBuild) AdoptRerunInputsAndPipesCalls(stub func() ([]db.BuildInput, bool, error))

func (*FakeBuild) AdoptRerunInputsAndPipesReturns

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

func (*FakeBuild) AdoptRerunInputsAndPipesReturnsOnCall

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

func (*FakeBuild) Artifact

func (fake *FakeBuild) Artifact(arg1 int) (db.WorkerArtifact, error)

func (*FakeBuild) ArtifactArgsForCall

func (fake *FakeBuild) ArtifactArgsForCall(i int) int

func (*FakeBuild) ArtifactCallCount

func (fake *FakeBuild) ArtifactCallCount() int

func (*FakeBuild) ArtifactCalls

func (fake *FakeBuild) ArtifactCalls(stub func(int) (db.WorkerArtifact, error))

func (*FakeBuild) ArtifactReturns

func (fake *FakeBuild) ArtifactReturns(result1 db.WorkerArtifact, result2 error)

func (*FakeBuild) ArtifactReturnsOnCall

func (fake *FakeBuild) ArtifactReturnsOnCall(i int, result1 db.WorkerArtifact, result2 error)

func (*FakeBuild) Artifacts

func (fake *FakeBuild) Artifacts() ([]db.WorkerArtifact, error)

func (*FakeBuild) ArtifactsCallCount

func (fake *FakeBuild) ArtifactsCallCount() int

func (*FakeBuild) ArtifactsCalls

func (fake *FakeBuild) ArtifactsCalls(stub func() ([]db.WorkerArtifact, error))

func (*FakeBuild) ArtifactsReturns

func (fake *FakeBuild) ArtifactsReturns(result1 []db.WorkerArtifact, result2 error)

func (*FakeBuild) ArtifactsReturnsOnCall

func (fake *FakeBuild) ArtifactsReturnsOnCall(i int, result1 []db.WorkerArtifact, result2 error)

func (*FakeBuild) Delete

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

func (*FakeBuild) DeleteCallCount

func (fake *FakeBuild) DeleteCallCount() int

func (*FakeBuild) DeleteCalls

func (fake *FakeBuild) DeleteCalls(stub func() (bool, error))

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

func (fake *FakeBuild) EndTimeCalls(stub func() time.Time)

func (*FakeBuild) EndTimeReturns

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

func (*FakeBuild) EndTimeReturnsOnCall

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

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

func (fake *FakeBuild) EventsCalls(stub func(uint) (db.EventSource, error))

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

func (fake *FakeBuild) FinishCalls(stub func(db.BuildStatus) error)

func (*FakeBuild) FinishReturns

func (fake *FakeBuild) FinishReturns(result1 error)

func (*FakeBuild) FinishReturnsOnCall

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

func (*FakeBuild) HasPlan

func (fake *FakeBuild) HasPlan() bool

func (*FakeBuild) HasPlanCallCount

func (fake *FakeBuild) HasPlanCallCount() int

func (*FakeBuild) HasPlanCalls

func (fake *FakeBuild) HasPlanCalls(stub func() bool)

func (*FakeBuild) HasPlanReturns

func (fake *FakeBuild) HasPlanReturns(result1 bool)

func (*FakeBuild) HasPlanReturnsOnCall

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

func (*FakeBuild) ID

func (fake *FakeBuild) ID() int

func (*FakeBuild) IDCallCount

func (fake *FakeBuild) IDCallCount() int

func (*FakeBuild) IDCalls

func (fake *FakeBuild) IDCalls(stub func() int)

func (*FakeBuild) IDReturns

func (fake *FakeBuild) IDReturns(result1 int)

func (*FakeBuild) IDReturnsOnCall

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

func (*FakeBuild) InputsReady

func (fake *FakeBuild) InputsReady() bool

func (*FakeBuild) InputsReadyCallCount

func (fake *FakeBuild) InputsReadyCallCount() int

func (*FakeBuild) InputsReadyCalls

func (fake *FakeBuild) InputsReadyCalls(stub func() bool)

func (*FakeBuild) InputsReadyReturns

func (fake *FakeBuild) InputsReadyReturns(result1 bool)

func (*FakeBuild) InputsReadyReturnsOnCall

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

func (*FakeBuild) Interceptible

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

func (*FakeBuild) InterceptibleCallCount

func (fake *FakeBuild) InterceptibleCallCount() int

func (*FakeBuild) InterceptibleCalls

func (fake *FakeBuild) InterceptibleCalls(stub func() (bool, error))

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

func (fake *FakeBuild) IsAborted() bool

func (*FakeBuild) IsAbortedCallCount

func (fake *FakeBuild) IsAbortedCallCount() int

func (*FakeBuild) IsAbortedCalls

func (fake *FakeBuild) IsAbortedCalls(stub func() bool)

func (*FakeBuild) IsAbortedReturns

func (fake *FakeBuild) IsAbortedReturns(result1 bool)

func (*FakeBuild) IsAbortedReturnsOnCall

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

func (*FakeBuild) IsCompleted

func (fake *FakeBuild) IsCompleted() bool

func (*FakeBuild) IsCompletedCallCount

func (fake *FakeBuild) IsCompletedCallCount() int

func (*FakeBuild) IsCompletedCalls

func (fake *FakeBuild) IsCompletedCalls(stub func() bool)

func (*FakeBuild) IsCompletedReturns

func (fake *FakeBuild) IsCompletedReturns(result1 bool)

func (*FakeBuild) IsCompletedReturnsOnCall

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

func (*FakeBuild) IsDrained

func (fake *FakeBuild) IsDrained() bool

func (*FakeBuild) IsDrainedCallCount

func (fake *FakeBuild) IsDrainedCallCount() int

func (*FakeBuild) IsDrainedCalls

func (fake *FakeBuild) IsDrainedCalls(stub func() bool)

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

func (fake *FakeBuild) IsManuallyTriggeredCalls(stub func() bool)

func (*FakeBuild) IsManuallyTriggeredReturns

func (fake *FakeBuild) IsManuallyTriggeredReturns(result1 bool)

func (*FakeBuild) IsManuallyTriggeredReturnsOnCall

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

func (*FakeBuild) IsNewerThanLastCheckOf

func (fake *FakeBuild) IsNewerThanLastCheckOf(arg1 db.Resource) bool

func (*FakeBuild) IsNewerThanLastCheckOfArgsForCall

func (fake *FakeBuild) IsNewerThanLastCheckOfArgsForCall(i int) db.Resource

func (*FakeBuild) IsNewerThanLastCheckOfCallCount

func (fake *FakeBuild) IsNewerThanLastCheckOfCallCount() int

func (*FakeBuild) IsNewerThanLastCheckOfCalls

func (fake *FakeBuild) IsNewerThanLastCheckOfCalls(stub func(db.Resource) bool)

func (*FakeBuild) IsNewerThanLastCheckOfReturns

func (fake *FakeBuild) IsNewerThanLastCheckOfReturns(result1 bool)

func (*FakeBuild) IsNewerThanLastCheckOfReturnsOnCall

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

func (*FakeBuild) IsRunning

func (fake *FakeBuild) IsRunning() bool

func (*FakeBuild) IsRunningCallCount

func (fake *FakeBuild) IsRunningCallCount() int

func (*FakeBuild) IsRunningCalls

func (fake *FakeBuild) IsRunningCalls(stub func() bool)

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

func (fake *FakeBuild) IsScheduledCalls(stub func() bool)

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

func (fake *FakeBuild) JobIDCalls(stub func() 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) JobNameCalls

func (fake *FakeBuild) JobNameCalls(stub func() string)

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

func (fake *FakeBuild) MarkAsAbortedCalls(stub func() error)

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

func (fake *FakeBuild) NameCalls(stub func() string)

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

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

func (*FakeBuild) PipelineID

func (fake *FakeBuild) PipelineID() int

func (*FakeBuild) PipelineIDCallCount

func (fake *FakeBuild) PipelineIDCallCount() int

func (*FakeBuild) PipelineIDCalls

func (fake *FakeBuild) PipelineIDCalls(stub func() 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) PipelineNameCalls

func (fake *FakeBuild) PipelineNameCalls(stub func() string)

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

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

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

func (fake *FakeBuild) PrivatePlan() atc.Plan

func (*FakeBuild) PrivatePlanCallCount

func (fake *FakeBuild) PrivatePlanCallCount() int

func (*FakeBuild) PrivatePlanCalls

func (fake *FakeBuild) PrivatePlanCalls(stub func() atc.Plan)

func (*FakeBuild) PrivatePlanReturns

func (fake *FakeBuild) PrivatePlanReturns(result1 atc.Plan)

func (*FakeBuild) PrivatePlanReturnsOnCall

func (fake *FakeBuild) PrivatePlanReturnsOnCall(i int, result1 atc.Plan)

func (*FakeBuild) PublicPlan

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

func (*FakeBuild) PublicPlanCallCount

func (fake *FakeBuild) PublicPlanCallCount() int

func (*FakeBuild) PublicPlanCalls

func (fake *FakeBuild) PublicPlanCalls(stub func() *json.RawMessage)

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

func (fake *FakeBuild) ReapTimeCalls(stub func() time.Time)

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

func (fake *FakeBuild) ReloadCalls(stub func() (bool, error))

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

func (fake *FakeBuild) RerunNumber() int

func (*FakeBuild) RerunNumberCallCount

func (fake *FakeBuild) RerunNumberCallCount() int

func (*FakeBuild) RerunNumberCalls

func (fake *FakeBuild) RerunNumberCalls(stub func() int)

func (*FakeBuild) RerunNumberReturns

func (fake *FakeBuild) RerunNumberReturns(result1 int)

func (*FakeBuild) RerunNumberReturnsOnCall

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

func (*FakeBuild) RerunOf

func (fake *FakeBuild) RerunOf() int

func (*FakeBuild) RerunOfCallCount

func (fake *FakeBuild) RerunOfCallCount() int

func (*FakeBuild) RerunOfCalls

func (fake *FakeBuild) RerunOfCalls(stub func() int)

func (*FakeBuild) RerunOfName

func (fake *FakeBuild) RerunOfName() string

func (*FakeBuild) RerunOfNameCallCount

func (fake *FakeBuild) RerunOfNameCallCount() int

func (*FakeBuild) RerunOfNameCalls

func (fake *FakeBuild) RerunOfNameCalls(stub func() string)

func (*FakeBuild) RerunOfNameReturns

func (fake *FakeBuild) RerunOfNameReturns(result1 string)

func (*FakeBuild) RerunOfNameReturnsOnCall

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

func (*FakeBuild) RerunOfReturns

func (fake *FakeBuild) RerunOfReturns(result1 int)

func (*FakeBuild) RerunOfReturnsOnCall

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

func (*FakeBuild) Resources

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

func (*FakeBuild) ResourcesCallCount

func (fake *FakeBuild) ResourcesCallCount() int

func (*FakeBuild) ResourcesCalls

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

func (*FakeBuild) ResourcesChecked

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

func (*FakeBuild) ResourcesCheckedCallCount

func (fake *FakeBuild) ResourcesCheckedCallCount() int

func (*FakeBuild) ResourcesCheckedCalls

func (fake *FakeBuild) ResourcesCheckedCalls(stub func() (bool, error))

func (*FakeBuild) ResourcesCheckedReturns

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

func (*FakeBuild) ResourcesCheckedReturnsOnCall

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

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(arg1 atc.Event) error

func (*FakeBuild) SaveEventArgsForCall

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

func (*FakeBuild) SaveEventCallCount

func (fake *FakeBuild) SaveEventCallCount() int

func (*FakeBuild) SaveEventCalls

func (fake *FakeBuild) SaveEventCalls(stub func(atc.Event) error)

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

func (fake *FakeBuild) SaveImageResourceVersionCalls(stub func(db.UsedResourceCache) error)

func (*FakeBuild) SaveImageResourceVersionReturns

func (fake *FakeBuild) SaveImageResourceVersionReturns(result1 error)

func (*FakeBuild) SaveImageResourceVersionReturnsOnCall

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

func (*FakeBuild) SaveOutput

func (fake *FakeBuild) SaveOutput(arg1 string, arg2 atc.Source, arg3 atc.VersionedResourceTypes, arg4 atc.Version, arg5 db.ResourceConfigMetadataFields, arg6 string, arg7 string) error

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

func (fake *FakeBuild) SavePipeline(arg1 string, arg2 int, arg3 atc.Config, arg4 db.ConfigVersion, arg5 bool) (db.Pipeline, bool, error)

func (*FakeBuild) SavePipelineArgsForCall

func (fake *FakeBuild) SavePipelineArgsForCall(i int) (string, int, atc.Config, db.ConfigVersion, bool)

func (*FakeBuild) SavePipelineCallCount

func (fake *FakeBuild) SavePipelineCallCount() int

func (*FakeBuild) SavePipelineCalls

func (fake *FakeBuild) SavePipelineCalls(stub func(string, int, atc.Config, db.ConfigVersion, bool) (db.Pipeline, bool, error))

func (*FakeBuild) SavePipelineReturns

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

func (*FakeBuild) SavePipelineReturnsOnCall

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

func (*FakeBuild) Schema

func (fake *FakeBuild) Schema() string

func (*FakeBuild) SchemaCallCount

func (fake *FakeBuild) SchemaCallCount() int

func (*FakeBuild) SchemaCalls

func (fake *FakeBuild) SchemaCalls(stub func() string)

func (*FakeBuild) SchemaReturns

func (fake *FakeBuild) SchemaReturns(result1 string)

func (*FakeBuild) SchemaReturnsOnCall

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

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

func (fake *FakeBuild) SetDrainedCalls(stub func(bool) error)

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

func (fake *FakeBuild) SetInterceptibleCalls(stub func(bool) error)

func (*FakeBuild) SetInterceptibleReturns

func (fake *FakeBuild) SetInterceptibleReturns(result1 error)

func (*FakeBuild) SetInterceptibleReturnsOnCall

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

func (*FakeBuild) SpanContext

func (fake *FakeBuild) SpanContext() propagators.Supplier

func (*FakeBuild) SpanContextCallCount

func (fake *FakeBuild) SpanContextCallCount() int

func (*FakeBuild) SpanContextCalls

func (fake *FakeBuild) SpanContextCalls(stub func() propagators.Supplier)

func (*FakeBuild) SpanContextReturns

func (fake *FakeBuild) SpanContextReturns(result1 propagators.Supplier)

func (*FakeBuild) SpanContextReturnsOnCall

func (fake *FakeBuild) SpanContextReturnsOnCall(i int, result1 propagators.Supplier)

func (*FakeBuild) Start

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

func (*FakeBuild) StartArgsForCall

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

func (*FakeBuild) StartCallCount

func (fake *FakeBuild) StartCallCount() int

func (*FakeBuild) StartCalls

func (fake *FakeBuild) StartCalls(stub func(atc.Plan) (bool, error))

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

func (fake *FakeBuild) StartTimeCalls(stub func() time.Time)

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

func (fake *FakeBuild) StatusCalls(stub func() db.BuildStatus)

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

func (fake *FakeBuild) TeamIDCalls(stub func() 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) TeamNameCalls

func (fake *FakeBuild) TeamNameCalls(stub func() string)

func (*FakeBuild) TeamNameReturns

func (fake *FakeBuild) TeamNameReturns(result1 string)

func (*FakeBuild) TeamNameReturnsOnCall

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

type FakeBuildFactory

type FakeBuildFactory struct {
	AllBuildsStub func(db.Page) ([]db.Build, db.Pagination, error)

	BuildStub func(int) (db.Build, bool, error)

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

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

	MarkNonInterceptibleBuildsStub func() error

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

	VisibleBuildsStub func([]string, db.Page) ([]db.Build, db.Pagination, error)
	// contains filtered or unexported fields
}

func (*FakeBuildFactory) AllBuilds

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

func (*FakeBuildFactory) AllBuildsArgsForCall

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

func (*FakeBuildFactory) AllBuildsCallCount

func (fake *FakeBuildFactory) AllBuildsCallCount() int

func (*FakeBuildFactory) AllBuildsCalls

func (fake *FakeBuildFactory) AllBuildsCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))

func (*FakeBuildFactory) AllBuildsReturns

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

func (*FakeBuildFactory) AllBuildsReturnsOnCall

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

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

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

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

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

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

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

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

func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsCalls(stub func() error)

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

func (fake *FakeBuildFactory) PublicBuildsCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))

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

func (fake *FakeBuildFactory) VisibleBuildsCalls(stub func([]string, db.Page) ([]db.Build, db.Pagination, error))

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 FakeCheck

type FakeCheck struct {
	AcquireTrackingLockStub func(lager.Logger) (lock.Lock, bool, error)

	AllCheckablesStub func() ([]db.Checkable, error)

	BaseResourceTypeIDStub func() int

	CheckErrorStub func() error

	CreateTimeStub func() time.Time

	EndTimeStub func() time.Time

	FinishStub func() error

	FinishWithErrorStub func(error) error

	IDStub func() int

	ManuallyTriggeredStub func() bool

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

	PipelineIDStub func() int

	PipelineNameStub func() string

	PlanStub func() atc.Plan

	ReloadStub func() (bool, error)

	ResourceConfigIDStub func() int

	ResourceConfigScopeIDStub func() int

	SaveVersionsStub func(db.SpanContext, []atc.Version) error

	SchemaStub func() string

	SpanContextStub func() propagators.Supplier

	StartStub func() error

	StartTimeStub func() time.Time

	StatusStub func() db.CheckStatus

	TeamIDStub func() int

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

func (*FakeCheck) AcquireTrackingLock

func (fake *FakeCheck) AcquireTrackingLock(arg1 lager.Logger) (lock.Lock, bool, error)

func (*FakeCheck) AcquireTrackingLockArgsForCall

func (fake *FakeCheck) AcquireTrackingLockArgsForCall(i int) lager.Logger

func (*FakeCheck) AcquireTrackingLockCallCount

func (fake *FakeCheck) AcquireTrackingLockCallCount() int

func (*FakeCheck) AcquireTrackingLockCalls

func (fake *FakeCheck) AcquireTrackingLockCalls(stub func(lager.Logger) (lock.Lock, bool, error))

func (*FakeCheck) AcquireTrackingLockReturns

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

func (*FakeCheck) AcquireTrackingLockReturnsOnCall

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

func (*FakeCheck) AllCheckables

func (fake *FakeCheck) AllCheckables() ([]db.Checkable, error)

func (*FakeCheck) AllCheckablesCallCount

func (fake *FakeCheck) AllCheckablesCallCount() int

func (*FakeCheck) AllCheckablesCalls

func (fake *FakeCheck) AllCheckablesCalls(stub func() ([]db.Checkable, error))

func (*FakeCheck) AllCheckablesReturns

func (fake *FakeCheck) AllCheckablesReturns(result1 []db.Checkable, result2 error)

func (*FakeCheck) AllCheckablesReturnsOnCall

func (fake *FakeCheck) AllCheckablesReturnsOnCall(i int, result1 []db.Checkable, result2 error)

func (*FakeCheck) BaseResourceTypeID

func (fake *FakeCheck) BaseResourceTypeID() int

func (*FakeCheck) BaseResourceTypeIDCallCount

func (fake *FakeCheck) BaseResourceTypeIDCallCount() int

func (*FakeCheck) BaseResourceTypeIDCalls

func (fake *FakeCheck) BaseResourceTypeIDCalls(stub func() int)

func (*FakeCheck) BaseResourceTypeIDReturns

func (fake *FakeCheck) BaseResourceTypeIDReturns(result1 int)

func (*FakeCheck) BaseResourceTypeIDReturnsOnCall

func (fake *FakeCheck) BaseResourceTypeIDReturnsOnCall(i int, result1 int)

func (*FakeCheck) CheckError

func (fake *FakeCheck) CheckError() error

func (*FakeCheck) CheckErrorCallCount

func (fake *FakeCheck) CheckErrorCallCount() int

func (*FakeCheck) CheckErrorCalls

func (fake *FakeCheck) CheckErrorCalls(stub func() error)

func (*FakeCheck) CheckErrorReturns

func (fake *FakeCheck) CheckErrorReturns(result1 error)

func (*FakeCheck) CheckErrorReturnsOnCall

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

func (*FakeCheck) CreateTime

func (fake *FakeCheck) CreateTime() time.Time

func (*FakeCheck) CreateTimeCallCount

func (fake *FakeCheck) CreateTimeCallCount() int

func (*FakeCheck) CreateTimeCalls

func (fake *FakeCheck) CreateTimeCalls(stub func() time.Time)

func (*FakeCheck) CreateTimeReturns

func (fake *FakeCheck) CreateTimeReturns(result1 time.Time)

func (*FakeCheck) CreateTimeReturnsOnCall

func (fake *FakeCheck) CreateTimeReturnsOnCall(i int, result1 time.Time)

func (*FakeCheck) EndTime

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

func (*FakeCheck) EndTimeCallCount

func (fake *FakeCheck) EndTimeCallCount() int

func (*FakeCheck) EndTimeCalls

func (fake *FakeCheck) EndTimeCalls(stub func() time.Time)

func (*FakeCheck) EndTimeReturns

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

func (*FakeCheck) EndTimeReturnsOnCall

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

func (*FakeCheck) Finish

func (fake *FakeCheck) Finish() error

func (*FakeCheck) FinishCallCount

func (fake *FakeCheck) FinishCallCount() int

func (*FakeCheck) FinishCalls

func (fake *FakeCheck) FinishCalls(stub func() error)

func (*FakeCheck) FinishReturns

func (fake *FakeCheck) FinishReturns(result1 error)

func (*FakeCheck) FinishReturnsOnCall

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

func (*FakeCheck) FinishWithError

func (fake *FakeCheck) FinishWithError(arg1 error) error

func (*FakeCheck) FinishWithErrorArgsForCall

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

func (*FakeCheck) FinishWithErrorCallCount

func (fake *FakeCheck) FinishWithErrorCallCount() int

func (*FakeCheck) FinishWithErrorCalls

func (fake *FakeCheck) FinishWithErrorCalls(stub func(error) error)

func (*FakeCheck) FinishWithErrorReturns

func (fake *FakeCheck) FinishWithErrorReturns(result1 error)

func (*FakeCheck) FinishWithErrorReturnsOnCall

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

func (*FakeCheck) ID

func (fake *FakeCheck) ID() int

func (*FakeCheck) IDCallCount

func (fake *FakeCheck) IDCallCount() int

func (*FakeCheck) IDCalls

func (fake *FakeCheck) IDCalls(stub func() int)

func (*FakeCheck) IDReturns

func (fake *FakeCheck) IDReturns(result1 int)

func (*FakeCheck) IDReturnsOnCall

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

func (*FakeCheck) Invocations

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

func (*FakeCheck) ManuallyTriggered

func (fake *FakeCheck) ManuallyTriggered() bool

func (*FakeCheck) ManuallyTriggeredCallCount

func (fake *FakeCheck) ManuallyTriggeredCallCount() int

func (*FakeCheck) ManuallyTriggeredCalls

func (fake *FakeCheck) ManuallyTriggeredCalls(stub func() bool)

func (*FakeCheck) ManuallyTriggeredReturns

func (fake *FakeCheck) ManuallyTriggeredReturns(result1 bool)

func (*FakeCheck) ManuallyTriggeredReturnsOnCall

func (fake *FakeCheck) ManuallyTriggeredReturnsOnCall(i int, result1 bool)

func (*FakeCheck) Pipeline

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

func (*FakeCheck) PipelineCallCount

func (fake *FakeCheck) PipelineCallCount() int

func (*FakeCheck) PipelineCalls

func (fake *FakeCheck) PipelineCalls(stub func() (db.Pipeline, bool, error))

func (*FakeCheck) PipelineID

func (fake *FakeCheck) PipelineID() int

func (*FakeCheck) PipelineIDCallCount

func (fake *FakeCheck) PipelineIDCallCount() int

func (*FakeCheck) PipelineIDCalls

func (fake *FakeCheck) PipelineIDCalls(stub func() int)

func (*FakeCheck) PipelineIDReturns

func (fake *FakeCheck) PipelineIDReturns(result1 int)

func (*FakeCheck) PipelineIDReturnsOnCall

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

func (*FakeCheck) PipelineName

func (fake *FakeCheck) PipelineName() string

func (*FakeCheck) PipelineNameCallCount

func (fake *FakeCheck) PipelineNameCallCount() int

func (*FakeCheck) PipelineNameCalls

func (fake *FakeCheck) PipelineNameCalls(stub func() string)

func (*FakeCheck) PipelineNameReturns

func (fake *FakeCheck) PipelineNameReturns(result1 string)

func (*FakeCheck) PipelineNameReturnsOnCall

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

func (*FakeCheck) PipelineReturns

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

func (*FakeCheck) PipelineReturnsOnCall

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

func (*FakeCheck) Plan

func (fake *FakeCheck) Plan() atc.Plan

func (*FakeCheck) PlanCallCount

func (fake *FakeCheck) PlanCallCount() int

func (*FakeCheck) PlanCalls

func (fake *FakeCheck) PlanCalls(stub func() atc.Plan)

func (*FakeCheck) PlanReturns

func (fake *FakeCheck) PlanReturns(result1 atc.Plan)

func (*FakeCheck) PlanReturnsOnCall

func (fake *FakeCheck) PlanReturnsOnCall(i int, result1 atc.Plan)

func (*FakeCheck) Reload

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

func (*FakeCheck) ReloadCallCount

func (fake *FakeCheck) ReloadCallCount() int

func (*FakeCheck) ReloadCalls

func (fake *FakeCheck) ReloadCalls(stub func() (bool, error))

func (*FakeCheck) ReloadReturns

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

func (*FakeCheck) ReloadReturnsOnCall

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

func (*FakeCheck) ResourceConfigID

func (fake *FakeCheck) ResourceConfigID() int

func (*FakeCheck) ResourceConfigIDCallCount

func (fake *FakeCheck) ResourceConfigIDCallCount() int

func (*FakeCheck) ResourceConfigIDCalls

func (fake *FakeCheck) ResourceConfigIDCalls(stub func() int)

func (*FakeCheck) ResourceConfigIDReturns

func (fake *FakeCheck) ResourceConfigIDReturns(result1 int)

func (*FakeCheck) ResourceConfigIDReturnsOnCall

func (fake *FakeCheck) ResourceConfigIDReturnsOnCall(i int, result1 int)

func (*FakeCheck) ResourceConfigScopeID

func (fake *FakeCheck) ResourceConfigScopeID() int

func (*FakeCheck) ResourceConfigScopeIDCallCount

func (fake *FakeCheck) ResourceConfigScopeIDCallCount() int

func (*FakeCheck) ResourceConfigScopeIDCalls

func (fake *FakeCheck) ResourceConfigScopeIDCalls(stub func() int)

func (*FakeCheck) ResourceConfigScopeIDReturns

func (fake *FakeCheck) ResourceConfigScopeIDReturns(result1 int)

func (*FakeCheck) ResourceConfigScopeIDReturnsOnCall

func (fake *FakeCheck) ResourceConfigScopeIDReturnsOnCall(i int, result1 int)

func (*FakeCheck) SaveVersions

func (fake *FakeCheck) SaveVersions(arg1 db.SpanContext, arg2 []atc.Version) error

func (*FakeCheck) SaveVersionsArgsForCall

func (fake *FakeCheck) SaveVersionsArgsForCall(i int) (db.SpanContext, []atc.Version)

func (*FakeCheck) SaveVersionsCallCount

func (fake *FakeCheck) SaveVersionsCallCount() int

func (*FakeCheck) SaveVersionsCalls

func (fake *FakeCheck) SaveVersionsCalls(stub func(db.SpanContext, []atc.Version) error)

func (*FakeCheck) SaveVersionsReturns

func (fake *FakeCheck) SaveVersionsReturns(result1 error)

func (*FakeCheck) SaveVersionsReturnsOnCall

func (fake *FakeCheck) SaveVersionsReturnsOnCall(i int, result1 error)

func (*FakeCheck) Schema

func (fake *FakeCheck) Schema() string

func (*FakeCheck) SchemaCallCount

func (fake *FakeCheck) SchemaCallCount() int

func (*FakeCheck) SchemaCalls

func (fake *FakeCheck) SchemaCalls(stub func() string)

func (*FakeCheck) SchemaReturns

func (fake *FakeCheck) SchemaReturns(result1 string)

func (*FakeCheck) SchemaReturnsOnCall

func (fake *FakeCheck) SchemaReturnsOnCall(i int, result1 string)

func (*FakeCheck) SpanContext

func (fake *FakeCheck) SpanContext() propagators.Supplier

func (*FakeCheck) SpanContextCallCount

func (fake *FakeCheck) SpanContextCallCount() int

func (*FakeCheck) SpanContextCalls

func (fake *FakeCheck) SpanContextCalls(stub func() propagators.Supplier)

func (*FakeCheck) SpanContextReturns

func (fake *FakeCheck) SpanContextReturns(result1 propagators.Supplier)

func (*FakeCheck) SpanContextReturnsOnCall

func (fake *FakeCheck) SpanContextReturnsOnCall(i int, result1 propagators.Supplier)

func (*FakeCheck) Start

func (fake *FakeCheck) Start() error

func (*FakeCheck) StartCallCount

func (fake *FakeCheck) StartCallCount() int

func (*FakeCheck) StartCalls

func (fake *FakeCheck) StartCalls(stub func() error)

func (*FakeCheck) StartReturns

func (fake *FakeCheck) StartReturns(result1 error)

func (*FakeCheck) StartReturnsOnCall

func (fake *FakeCheck) StartReturnsOnCall(i int, result1 error)

func (*FakeCheck) StartTime

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

func (*FakeCheck) StartTimeCallCount

func (fake *FakeCheck) StartTimeCallCount() int

func (*FakeCheck) StartTimeCalls

func (fake *FakeCheck) StartTimeCalls(stub func() time.Time)

func (*FakeCheck) StartTimeReturns

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

func (*FakeCheck) StartTimeReturnsOnCall

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

func (*FakeCheck) Status

func (fake *FakeCheck) Status() db.CheckStatus

func (*FakeCheck) StatusCallCount

func (fake *FakeCheck) StatusCallCount() int

func (*FakeCheck) StatusCalls

func (fake *FakeCheck) StatusCalls(stub func() db.CheckStatus)

func (*FakeCheck) StatusReturns

func (fake *FakeCheck) StatusReturns(result1 db.CheckStatus)

func (*FakeCheck) StatusReturnsOnCall

func (fake *FakeCheck) StatusReturnsOnCall(i int, result1 db.CheckStatus)

func (*FakeCheck) TeamID

func (fake *FakeCheck) TeamID() int

func (*FakeCheck) TeamIDCallCount

func (fake *FakeCheck) TeamIDCallCount() int

func (*FakeCheck) TeamIDCalls

func (fake *FakeCheck) TeamIDCalls(stub func() int)

func (*FakeCheck) TeamIDReturns

func (fake *FakeCheck) TeamIDReturns(result1 int)

func (*FakeCheck) TeamIDReturnsOnCall

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

func (*FakeCheck) TeamName

func (fake *FakeCheck) TeamName() string

func (*FakeCheck) TeamNameCallCount

func (fake *FakeCheck) TeamNameCallCount() int

func (*FakeCheck) TeamNameCalls

func (fake *FakeCheck) TeamNameCalls(stub func() string)

func (*FakeCheck) TeamNameReturns

func (fake *FakeCheck) TeamNameReturns(result1 string)

func (*FakeCheck) TeamNameReturnsOnCall

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

type FakeCheckFactory

type FakeCheckFactory struct {
	AcquireScanningLockStub func(lager.Logger) (lock.Lock, bool, error)

	CheckStub func(int) (db.Check, bool, error)

	CreateCheckStub func(int, bool, atc.Plan, db.CheckMetadata, db.SpanContext) (db.Check, bool, error)

	NotifyCheckerStub func() error

	ResourceTypesStub func() ([]db.ResourceType, error)

	ResourcesStub func() ([]db.Resource, error)

	StartedChecksStub func() ([]db.Check, error)

	TryCreateCheckStub func(context.Context, db.Checkable, db.ResourceTypes, atc.Version, bool) (db.Check, bool, error)
	// contains filtered or unexported fields
}

func (*FakeCheckFactory) AcquireScanningLock

func (fake *FakeCheckFactory) AcquireScanningLock(arg1 lager.Logger) (lock.Lock, bool, error)

func (*FakeCheckFactory) AcquireScanningLockArgsForCall

func (fake *FakeCheckFactory) AcquireScanningLockArgsForCall(i int) lager.Logger

func (*FakeCheckFactory) AcquireScanningLockCallCount

func (fake *FakeCheckFactory) AcquireScanningLockCallCount() int

func (*FakeCheckFactory) AcquireScanningLockCalls

func (fake *FakeCheckFactory) AcquireScanningLockCalls(stub func(lager.Logger) (lock.Lock, bool, error))

func (*FakeCheckFactory) AcquireScanningLockReturns

func (fake *FakeCheckFactory) AcquireScanningLockReturns(result1 lock.Lock, result2 bool, result3 error)

func (*FakeCheckFactory) AcquireScanningLockReturnsOnCall

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

func (*FakeCheckFactory) Check

func (fake *FakeCheckFactory) Check(arg1 int) (db.Check, bool, error)

func (*FakeCheckFactory) CheckArgsForCall

func (fake *FakeCheckFactory) CheckArgsForCall(i int) int

func (*FakeCheckFactory) CheckCallCount

func (fake *FakeCheckFactory) CheckCallCount() int

func (*FakeCheckFactory) CheckCalls

func (fake *FakeCheckFactory) CheckCalls(stub func(int) (db.Check, bool, error))

func (*FakeCheckFactory) CheckReturns

func (fake *FakeCheckFactory) CheckReturns(result1 db.Check, result2 bool, result3 error)

func (*FakeCheckFactory) CheckReturnsOnCall

func (fake *FakeCheckFactory) CheckReturnsOnCall(i int, result1 db.Check, result2 bool, result3 error)

func (*FakeCheckFactory) CreateCheck

func (fake *FakeCheckFactory) CreateCheck(arg1 int, arg2 bool, arg3 atc.Plan, arg4 db.CheckMetadata, arg5 db.SpanContext) (db.Check, bool, error)

func (*FakeCheckFactory) CreateCheckArgsForCall

func (fake *FakeCheckFactory) CreateCheckArgsForCall(i int) (int, bool, atc.Plan, db.CheckMetadata, db.SpanContext)

func (*FakeCheckFactory) CreateCheckCallCount

func (fake *FakeCheckFactory) CreateCheckCallCount() int

func (*FakeCheckFactory) CreateCheckCalls

func (fake *FakeCheckFactory) CreateCheckCalls(stub func(int, bool, atc.Plan, db.CheckMetadata, db.SpanContext) (db.Check, bool, error))

func (*FakeCheckFactory) CreateCheckReturns

func (fake *FakeCheckFactory) CreateCheckReturns(result1 db.Check, result2 bool, result3 error)

func (*FakeCheckFactory) CreateCheckReturnsOnCall

func (fake *FakeCheckFactory) CreateCheckReturnsOnCall(i int, result1 db.Check, result2 bool, result3 error)

func (*FakeCheckFactory) Invocations

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

func (*FakeCheckFactory) NotifyChecker

func (fake *FakeCheckFactory) NotifyChecker() error

func (*FakeCheckFactory) NotifyCheckerCallCount

func (fake *FakeCheckFactory) NotifyCheckerCallCount() int

func (*FakeCheckFactory) NotifyCheckerCalls

func (fake *FakeCheckFactory) NotifyCheckerCalls(stub func() error)

func (*FakeCheckFactory) NotifyCheckerReturns

func (fake *FakeCheckFactory) NotifyCheckerReturns(result1 error)

func (*FakeCheckFactory) NotifyCheckerReturnsOnCall

func (fake *FakeCheckFactory) NotifyCheckerReturnsOnCall(i int, result1 error)

func (*FakeCheckFactory) ResourceTypes

func (fake *FakeCheckFactory) ResourceTypes() ([]db.ResourceType, error)

func (*FakeCheckFactory) ResourceTypesCallCount

func (fake *FakeCheckFactory) ResourceTypesCallCount() int

func (*FakeCheckFactory) ResourceTypesCalls

func (fake *FakeCheckFactory) ResourceTypesCalls(stub func() ([]db.ResourceType, error))

func (*FakeCheckFactory) ResourceTypesReturns

func (fake *FakeCheckFactory) ResourceTypesReturns(result1 []db.ResourceType, result2 error)

func (*FakeCheckFactory) ResourceTypesReturnsOnCall

func (fake *FakeCheckFactory) ResourceTypesReturnsOnCall(i int, result1 []db.ResourceType, result2 error)

func (*FakeCheckFactory) Resources

func (fake *FakeCheckFactory) Resources() ([]db.Resource, error)

func (*FakeCheckFactory) ResourcesCallCount

func (fake *FakeCheckFactory) ResourcesCallCount() int

func (*FakeCheckFactory) ResourcesCalls

func (fake *FakeCheckFactory) ResourcesCalls(stub func() ([]db.Resource, error))

func (*FakeCheckFactory) ResourcesReturns

func (fake *FakeCheckFactory) ResourcesReturns(result1 []db.Resource, result2 error)

func (*FakeCheckFactory) ResourcesReturnsOnCall

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

func (*FakeCheckFactory) StartedChecks

func (fake *FakeCheckFactory) StartedChecks() ([]db.Check, error)

func (*FakeCheckFactory) StartedChecksCallCount

func (fake *FakeCheckFactory) StartedChecksCallCount() int

func (*FakeCheckFactory) StartedChecksCalls

func (fake *FakeCheckFactory) StartedChecksCalls(stub func() ([]db.Check, error))

func (*FakeCheckFactory) StartedChecksReturns

func (fake *FakeCheckFactory) StartedChecksReturns(result1 []db.Check, result2 error)

func (*FakeCheckFactory) StartedChecksReturnsOnCall

func (fake *FakeCheckFactory) StartedChecksReturnsOnCall(i int, result1 []db.Check, result2 error)

func (*FakeCheckFactory) TryCreateCheck

func (fake *FakeCheckFactory) TryCreateCheck(arg1 context.Context, arg2 db.Checkable, arg3 db.ResourceTypes, arg4 atc.Version, arg5 bool) (db.Check, bool, error)

func (*FakeCheckFactory) TryCreateCheckArgsForCall

func (fake *FakeCheckFactory) TryCreateCheckArgsForCall(i int) (context.Context, db.Checkable, db.ResourceTypes, atc.Version, bool)

func (*FakeCheckFactory) TryCreateCheckCallCount

func (fake *FakeCheckFactory) TryCreateCheckCallCount() int

func (*FakeCheckFactory) TryCreateCheckCalls

func (fake *FakeCheckFactory) TryCreateCheckCalls(stub func(context.Context, db.Checkable, db.ResourceTypes, atc.Version, bool) (db.Check, bool, error))

func (*FakeCheckFactory) TryCreateCheckReturns

func (fake *FakeCheckFactory) TryCreateCheckReturns(result1 db.Check, result2 bool, result3 error)

func (*FakeCheckFactory) TryCreateCheckReturnsOnCall

func (fake *FakeCheckFactory) TryCreateCheckReturnsOnCall(i int, result1 db.Check, result2 bool, result3 error)

type FakeCheckLifecycle

type FakeCheckLifecycle struct {
	RemoveExpiredChecksStub func(time.Duration) (int, error)
	// contains filtered or unexported fields
}

func (*FakeCheckLifecycle) Invocations

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

func (*FakeCheckLifecycle) RemoveExpiredChecks

func (fake *FakeCheckLifecycle) RemoveExpiredChecks(arg1 time.Duration) (int, error)

func (*FakeCheckLifecycle) RemoveExpiredChecksArgsForCall

func (fake *FakeCheckLifecycle) RemoveExpiredChecksArgsForCall(i int) time.Duration

func (*FakeCheckLifecycle) RemoveExpiredChecksCallCount

func (fake *FakeCheckLifecycle) RemoveExpiredChecksCallCount() int

func (*FakeCheckLifecycle) RemoveExpiredChecksCalls

func (fake *FakeCheckLifecycle) RemoveExpiredChecksCalls(stub func(time.Duration) (int, error))

func (*FakeCheckLifecycle) RemoveExpiredChecksReturns

func (fake *FakeCheckLifecycle) RemoveExpiredChecksReturns(result1 int, result2 error)

func (*FakeCheckLifecycle) RemoveExpiredChecksReturnsOnCall

func (fake *FakeCheckLifecycle) RemoveExpiredChecksReturnsOnCall(i int, result1 int, result2 error)

type FakeCheckable

type FakeCheckable struct {
	CheckEveryStub func() string

	CheckTimeoutStub func() string

	CurrentPinnedVersionStub func() atc.Version

	HasWebhookStub func() bool

	LastCheckEndTimeStub func() time.Time

	NameStub func() string

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

	PipelineIDStub func() int

	PipelineNameStub func() string

	ResourceConfigScopeIDStub func() int

	SetCheckSetupErrorStub func(error) error

	SetResourceConfigStub func(atc.Source, atc.VersionedResourceTypes) (db.ResourceConfigScope, error)

	SourceStub func() atc.Source

	TagsStub func() atc.Tags

	TeamIDStub func() int

	TeamNameStub func() string

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

func (*FakeCheckable) CheckEvery

func (fake *FakeCheckable) CheckEvery() string

func (*FakeCheckable) CheckEveryCallCount

func (fake *FakeCheckable) CheckEveryCallCount() int

func (*FakeCheckable) CheckEveryCalls

func (fake *FakeCheckable) CheckEveryCalls(stub func() string)

func (*FakeCheckable) CheckEveryReturns

func (fake *FakeCheckable) CheckEveryReturns(result1 string)

func (*FakeCheckable) CheckEveryReturnsOnCall

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

func (*FakeCheckable) CheckTimeout

func (fake *FakeCheckable) CheckTimeout() string

func (*FakeCheckable) CheckTimeoutCallCount

func (fake *FakeCheckable) CheckTimeoutCallCount() int

func (*FakeCheckable) CheckTimeoutCalls

func (fake *FakeCheckable) CheckTimeoutCalls(stub func() string)

func (*FakeCheckable) CheckTimeoutReturns

func (fake *FakeCheckable) CheckTimeoutReturns(result1 string)

func (*FakeCheckable) CheckTimeoutReturnsOnCall

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

func (*FakeCheckable) CurrentPinnedVersion

func (fake *FakeCheckable) CurrentPinnedVersion() atc.Version

func (*FakeCheckable) CurrentPinnedVersionCallCount

func (fake *FakeCheckable) CurrentPinnedVersionCallCount() int

func (*FakeCheckable) CurrentPinnedVersionCalls

func (fake *FakeCheckable) CurrentPinnedVersionCalls(stub func() atc.Version)

func (*FakeCheckable) CurrentPinnedVersionReturns

func (fake *FakeCheckable) CurrentPinnedVersionReturns(result1 atc.Version)

func (*FakeCheckable) CurrentPinnedVersionReturnsOnCall

func (fake *FakeCheckable) CurrentPinnedVersionReturnsOnCall(i int, result1 atc.Version)

func (*FakeCheckable) HasWebhook

func (fake *FakeCheckable) HasWebhook() bool

func (*FakeCheckable) HasWebhookCallCount

func (fake *FakeCheckable) HasWebhookCallCount() int

func (*FakeCheckable) HasWebhookCalls

func (fake *FakeCheckable) HasWebhookCalls(stub func() bool)

func (*FakeCheckable) HasWebhookReturns

func (fake *FakeCheckable) HasWebhookReturns(result1 bool)

func (*FakeCheckable) HasWebhookReturnsOnCall

func (fake *FakeCheckable) HasWebhookReturnsOnCall(i int, result1 bool)

func (*FakeCheckable) Invocations

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

func (*FakeCheckable) LastCheckEndTime

func (fake *FakeCheckable) LastCheckEndTime() time.Time

func (*FakeCheckable) LastCheckEndTimeCallCount

func (fake *FakeCheckable) LastCheckEndTimeCallCount() int

func (*FakeCheckable) LastCheckEndTimeCalls

func (fake *FakeCheckable) LastCheckEndTimeCalls(stub func() time.Time)

func (*FakeCheckable) LastCheckEndTimeReturns

func (fake *FakeCheckable) LastCheckEndTimeReturns(result1 time.Time)

func (*FakeCheckable) LastCheckEndTimeReturnsOnCall

func (fake *FakeCheckable) LastCheckEndTimeReturnsOnCall(i int, result1 time.Time)

func (*FakeCheckable) Name

func (fake *FakeCheckable) Name() string

func (*FakeCheckable) NameCallCount

func (fake *FakeCheckable) NameCallCount() int

func (*FakeCheckable) NameCalls

func (fake *FakeCheckable) NameCalls(stub func() string)

func (*FakeCheckable) NameReturns

func (fake *FakeCheckable) NameReturns(result1 string)

func (*FakeCheckable) NameReturnsOnCall

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

func (*FakeCheckable) Pipeline

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

func (*FakeCheckable) PipelineCallCount

func (fake *FakeCheckable) PipelineCallCount() int

func (*FakeCheckable) PipelineCalls

func (fake *FakeCheckable) PipelineCalls(stub func() (db.Pipeline, bool, error))

func (*FakeCheckable) PipelineID

func (fake *FakeCheckable) PipelineID() int

func (*FakeCheckable) PipelineIDCallCount

func (fake *FakeCheckable) PipelineIDCallCount() int

func (*FakeCheckable) PipelineIDCalls

func (fake *FakeCheckable) PipelineIDCalls(stub func() int)

func (*FakeCheckable) PipelineIDReturns

func (fake *FakeCheckable) PipelineIDReturns(result1 int)

func (*FakeCheckable) PipelineIDReturnsOnCall

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

func (*FakeCheckable) PipelineName

func (fake *FakeCheckable) PipelineName() string

func (*FakeCheckable) PipelineNameCallCount

func (fake *FakeCheckable) PipelineNameCallCount() int

func (*FakeCheckable) PipelineNameCalls

func (fake *FakeCheckable) PipelineNameCalls(stub func() string)

func (*FakeCheckable) PipelineNameReturns

func (fake *FakeCheckable) PipelineNameReturns(result1 string)

func (*FakeCheckable) PipelineNameReturnsOnCall

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

func (*FakeCheckable) PipelineReturns

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

func (*FakeCheckable) PipelineReturnsOnCall

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

func (*FakeCheckable) ResourceConfigScopeID

func (fake *FakeCheckable) ResourceConfigScopeID() int

func (*FakeCheckable) ResourceConfigScopeIDCallCount

func (fake *FakeCheckable) ResourceConfigScopeIDCallCount() int

func (*FakeCheckable) ResourceConfigScopeIDCalls

func (fake *FakeCheckable) ResourceConfigScopeIDCalls(stub func() int)

func (*FakeCheckable) ResourceConfigScopeIDReturns

func (fake *FakeCheckable) ResourceConfigScopeIDReturns(result1 int)

func (*FakeCheckable) ResourceConfigScopeIDReturnsOnCall

func (fake *FakeCheckable) ResourceConfigScopeIDReturnsOnCall(i int, result1 int)

func (*FakeCheckable) SetCheckSetupError

func (fake *FakeCheckable) SetCheckSetupError(arg1 error) error

func (*FakeCheckable) SetCheckSetupErrorArgsForCall

func (fake *FakeCheckable) SetCheckSetupErrorArgsForCall(i int) error

func (*FakeCheckable) SetCheckSetupErrorCallCount

func (fake *FakeCheckable) SetCheckSetupErrorCallCount() int

func (*FakeCheckable) SetCheckSetupErrorCalls

func (fake *FakeCheckable) SetCheckSetupErrorCalls(stub func(error) error)

func (*FakeCheckable) SetCheckSetupErrorReturns

func (fake *FakeCheckable) SetCheckSetupErrorReturns(result1 error)

func (*FakeCheckable) SetCheckSetupErrorReturnsOnCall

func (fake *FakeCheckable) SetCheckSetupErrorReturnsOnCall(i int, result1 error)

func (*FakeCheckable) SetResourceConfig

func (fake *FakeCheckable) SetResourceConfig(arg1 atc.Source, arg2 atc.VersionedResourceTypes) (db.ResourceConfigScope, error)

func (*FakeCheckable) SetResourceConfigArgsForCall

func (fake *FakeCheckable) SetResourceConfigArgsForCall(i int) (atc.Source, atc.VersionedResourceTypes)

func (*FakeCheckable) SetResourceConfigCallCount

func (fake *FakeCheckable) SetResourceConfigCallCount() int

func (*FakeCheckable) SetResourceConfigCalls

func (fake *FakeCheckable) SetResourceConfigCalls(stub func(atc.Source, atc.VersionedResourceTypes) (db.ResourceConfigScope, error))

func (*FakeCheckable) SetResourceConfigReturns

func (fake *FakeCheckable) SetResourceConfigReturns(result1 db.ResourceConfigScope, result2 error)

func (*FakeCheckable) SetResourceConfigReturnsOnCall

func (fake *FakeCheckable) SetResourceConfigReturnsOnCall(i int, result1 db.ResourceConfigScope, result2 error)

func (*FakeCheckable) Source

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

func (*FakeCheckable) SourceCallCount

func (fake *FakeCheckable) SourceCallCount() int

func (*FakeCheckable) SourceCalls

func (fake *FakeCheckable) SourceCalls(stub func() atc.Source)

func (*FakeCheckable) SourceReturns

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

func (*FakeCheckable) SourceReturnsOnCall

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

func (*FakeCheckable) Tags

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

func (*FakeCheckable) TagsCallCount

func (fake *FakeCheckable) TagsCallCount() int

func (*FakeCheckable) TagsCalls

func (fake *FakeCheckable) TagsCalls(stub func() atc.Tags)

func (*FakeCheckable) TagsReturns

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

func (*FakeCheckable) TagsReturnsOnCall

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

func (*FakeCheckable) TeamID

func (fake *FakeCheckable) TeamID() int

func (*FakeCheckable) TeamIDCallCount

func (fake *FakeCheckable) TeamIDCallCount() int

func (*FakeCheckable) TeamIDCalls

func (fake *FakeCheckable) TeamIDCalls(stub func() int)

func (*FakeCheckable) TeamIDReturns

func (fake *FakeCheckable) TeamIDReturns(result1 int)

func (*FakeCheckable) TeamIDReturnsOnCall

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

func (*FakeCheckable) TeamName

func (fake *FakeCheckable) TeamName() string

func (*FakeCheckable) TeamNameCallCount

func (fake *FakeCheckable) TeamNameCallCount() int

func (*FakeCheckable) TeamNameCalls

func (fake *FakeCheckable) TeamNameCalls(stub func() string)

func (*FakeCheckable) TeamNameReturns

func (fake *FakeCheckable) TeamNameReturns(result1 string)

func (*FakeCheckable) TeamNameReturnsOnCall

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

func (*FakeCheckable) Type

func (fake *FakeCheckable) Type() string

func (*FakeCheckable) TypeCallCount

func (fake *FakeCheckable) TypeCallCount() int

func (*FakeCheckable) TypeCalls

func (fake *FakeCheckable) TypeCalls(stub func() string)

func (*FakeCheckable) TypeReturns

func (fake *FakeCheckable) TypeReturns(result1 string)

func (*FakeCheckable) TypeReturnsOnCall

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

type FakeClock

type FakeClock struct {
	NowStub func() time.Time

	UntilStub func(time.Time) time.Duration
	// contains filtered or unexported fields
}

func (*FakeClock) Invocations

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

func (*FakeClock) Now

func (fake *FakeClock) Now() time.Time

func (*FakeClock) NowCallCount

func (fake *FakeClock) NowCallCount() int

func (*FakeClock) NowCalls

func (fake *FakeClock) NowCalls(stub func() time.Time)

func (*FakeClock) NowReturns

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

func (*FakeClock) NowReturnsOnCall

func (fake *FakeClock) NowReturnsOnCall(i int, result1 time.Time)

func (*FakeClock) Until

func (fake *FakeClock) Until(arg1 time.Time) time.Duration

func (*FakeClock) UntilArgsForCall

func (fake *FakeClock) UntilArgsForCall(i int) time.Time

func (*FakeClock) UntilCallCount

func (fake *FakeClock) UntilCallCount() int

func (*FakeClock) UntilCalls

func (fake *FakeClock) UntilCalls(stub func(time.Time) time.Duration)

func (*FakeClock) UntilReturns

func (fake *FakeClock) UntilReturns(result1 time.Duration)

func (*FakeClock) UntilReturnsOnCall

func (fake *FakeClock) UntilReturnsOnCall(i int, result1 time.Duration)

type FakeComponent

type FakeComponent struct {
	IDStub func() int

	IntervalStub func() time.Duration

	IntervalElapsedStub func() bool

	LastRanStub func() time.Time

	NameStub func() string

	PausedStub func() bool

	ReloadStub func() (bool, error)

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

func (*FakeComponent) ID

func (fake *FakeComponent) ID() int

func (*FakeComponent) IDCallCount

func (fake *FakeComponent) IDCallCount() int

func (*FakeComponent) IDCalls

func (fake *FakeComponent) IDCalls(stub func() int)

func (*FakeComponent) IDReturns

func (fake *FakeComponent) IDReturns(result1 int)

func (*FakeComponent) IDReturnsOnCall

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

func (*FakeComponent) Interval

func (fake *FakeComponent) Interval() time.Duration

func (*FakeComponent) IntervalCallCount

func (fake *FakeComponent) IntervalCallCount() int

func (*FakeComponent) IntervalCalls

func (fake *FakeComponent) IntervalCalls(stub func() time.Duration)

func (*FakeComponent) IntervalElapsed

func (fake *FakeComponent) IntervalElapsed() bool

func (*FakeComponent) IntervalElapsedCallCount

func (fake *FakeComponent) IntervalElapsedCallCount() int

func (*FakeComponent) IntervalElapsedCalls

func (fake *FakeComponent) IntervalElapsedCalls(stub func() bool)

func (*FakeComponent) IntervalElapsedReturns

func (fake *FakeComponent) IntervalElapsedReturns(result1 bool)

func (*FakeComponent) IntervalElapsedReturnsOnCall

func (fake *FakeComponent) IntervalElapsedReturnsOnCall(i int, result1 bool)

func (*FakeComponent) IntervalReturns

func (fake *FakeComponent) IntervalReturns(result1 time.Duration)

func (*FakeComponent) IntervalReturnsOnCall

func (fake *FakeComponent) IntervalReturnsOnCall(i int, result1 time.Duration)

func (*FakeComponent) Invocations

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

func (*FakeComponent) LastRan

func (fake *FakeComponent) LastRan() time.Time

func (*FakeComponent) LastRanCallCount

func (fake *FakeComponent) LastRanCallCount() int

func (*FakeComponent) LastRanCalls

func (fake *FakeComponent) LastRanCalls(stub func() time.Time)

func (*FakeComponent) LastRanReturns

func (fake *FakeComponent) LastRanReturns(result1 time.Time)

func (*FakeComponent) LastRanReturnsOnCall

func (fake *FakeComponent) LastRanReturnsOnCall(i int, result1 time.Time)

func (*FakeComponent) Name

func (fake *FakeComponent) Name() string

func (*FakeComponent) NameCallCount

func (fake *FakeComponent) NameCallCount() int

func (*FakeComponent) NameCalls

func (fake *FakeComponent) NameCalls(stub func() string)

func (*FakeComponent) NameReturns

func (fake *FakeComponent) NameReturns(result1 string)

func (*FakeComponent) NameReturnsOnCall

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

func (*FakeComponent) Paused

func (fake *FakeComponent) Paused() bool

func (*FakeComponent) PausedCallCount

func (fake *FakeComponent) PausedCallCount() int

func (*FakeComponent) PausedCalls

func (fake *FakeComponent) PausedCalls(stub func() bool)

func (*FakeComponent) PausedReturns

func (fake *FakeComponent) PausedReturns(result1 bool)

func (*FakeComponent) PausedReturnsOnCall

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

func (*FakeComponent) Reload

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

func (*FakeComponent) ReloadCallCount

func (fake *FakeComponent) ReloadCallCount() int

func (*FakeComponent) ReloadCalls

func (fake *FakeComponent) ReloadCalls(stub func() (bool, error))

func (*FakeComponent) ReloadReturns

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

func (*FakeComponent) ReloadReturnsOnCall

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

func (*FakeComponent) UpdateLastRan

func (fake *FakeComponent) UpdateLastRan() error

func (*FakeComponent) UpdateLastRanCallCount

func (fake *FakeComponent) UpdateLastRanCallCount() int

func (*FakeComponent) UpdateLastRanCalls

func (fake *FakeComponent) UpdateLastRanCalls(stub func() error)

func (*FakeComponent) UpdateLastRanReturns

func (fake *FakeComponent) UpdateLastRanReturns(result1 error)

func (*FakeComponent) UpdateLastRanReturnsOnCall

func (fake *FakeComponent) UpdateLastRanReturnsOnCall(i int, result1 error)

type FakeComponentFactory

type FakeComponentFactory struct {
	CreateOrUpdateStub func(atc.Component) (db.Component, error)

	FindStub func(string) (db.Component, bool, error)
	// contains filtered or unexported fields
}

func (*FakeComponentFactory) CreateOrUpdate

func (fake *FakeComponentFactory) CreateOrUpdate(arg1 atc.Component) (db.Component, error)

func (*FakeComponentFactory) CreateOrUpdateArgsForCall

func (fake *FakeComponentFactory) CreateOrUpdateArgsForCall(i int) atc.Component

func (*FakeComponentFactory) CreateOrUpdateCallCount

func (fake *FakeComponentFactory) CreateOrUpdateCallCount() int

func (*FakeComponentFactory) CreateOrUpdateCalls

func (fake *FakeComponentFactory) CreateOrUpdateCalls(stub func(atc.Component) (db.Component, error))

func (*FakeComponentFactory) CreateOrUpdateReturns

func (fake *FakeComponentFactory) CreateOrUpdateReturns(result1 db.Component, result2 error)

func (*FakeComponentFactory) CreateOrUpdateReturnsOnCall

func (fake *FakeComponentFactory) CreateOrUpdateReturnsOnCall(i int, result1 db.Component, result2 error)

func (*FakeComponentFactory) Find

func (fake *FakeComponentFactory) Find(arg1 string) (db.Component, bool, error)

func (*FakeComponentFactory) FindArgsForCall

func (fake *FakeComponentFactory) FindArgsForCall(i int) string

func (*FakeComponentFactory) FindCallCount

func (fake *FakeComponentFactory) FindCallCount() int

func (*FakeComponentFactory) FindCalls

func (fake *FakeComponentFactory) FindCalls(stub func(string) (db.Component, bool, error))

func (*FakeComponentFactory) FindReturns

func (fake *FakeComponentFactory) FindReturns(result1 db.Component, result2 bool, result3 error)

func (*FakeComponentFactory) FindReturnsOnCall

func (fake *FakeComponentFactory) FindReturnsOnCall(i int, result1 db.Component, result2 bool, result3 error)

func (*FakeComponentFactory) Invocations

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

type FakeConn

type FakeConn struct {
	BeginStub func() (db.Tx, error)

	BeginTxStub func(context.Context, *sql.TxOptions) (db.Tx, error)

	BusStub func() db.NotificationsBus

	CloseStub func() error

	DriverStub func() driver.Driver

	EncryptionStrategyStub func() encryption.Strategy

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

	ExecContextStub func(context.Context, string, ...interface{}) (sql.Result, error)

	NameStub func() string

	PingStub func() error

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

	PrepareContextStub func(context.Context, string) (*sql.Stmt, error)

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

	QueryContextStub func(context.Context, string, ...interface{}) (*sql.Rows, error)

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

	QueryRowContextStub func(context.Context, string, ...interface{}) squirrel.RowScanner

	SetMaxIdleConnsStub func(int)

	SetMaxOpenConnsStub func(int)

	StatsStub func() sql.DBStats
	// 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) BeginCalls

func (fake *FakeConn) BeginCalls(stub func() (db.Tx, error))

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

func (fake *FakeConn) BeginTx(arg1 context.Context, arg2 *sql.TxOptions) (db.Tx, error)

func (*FakeConn) BeginTxArgsForCall

func (fake *FakeConn) BeginTxArgsForCall(i int) (context.Context, *sql.TxOptions)

func (*FakeConn) BeginTxCallCount

func (fake *FakeConn) BeginTxCallCount() int

func (*FakeConn) BeginTxCalls

func (fake *FakeConn) BeginTxCalls(stub func(context.Context, *sql.TxOptions) (db.Tx, error))

func (*FakeConn) BeginTxReturns

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

func (*FakeConn) BeginTxReturnsOnCall

func (fake *FakeConn) BeginTxReturnsOnCall(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) BusCalls

func (fake *FakeConn) BusCalls(stub func() db.NotificationsBus)

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

func (fake *FakeConn) CloseCalls(stub func() error)

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

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

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

func (fake *FakeConn) EncryptionStrategyCalls(stub func() encryption.Strategy)

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(arg1 string, arg2 ...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) ExecCalls

func (fake *FakeConn) ExecCalls(stub func(string, ...interface{}) (sql.Result, error))

func (*FakeConn) ExecContext

func (fake *FakeConn) ExecContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (sql.Result, error)

func (*FakeConn) ExecContextArgsForCall

func (fake *FakeConn) ExecContextArgsForCall(i int) (context.Context, string, []interface{})

func (*FakeConn) ExecContextCallCount

func (fake *FakeConn) ExecContextCallCount() int

func (*FakeConn) ExecContextCalls

func (fake *FakeConn) ExecContextCalls(stub func(context.Context, string, ...interface{}) (sql.Result, error))

func (*FakeConn) ExecContextReturns

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

func (*FakeConn) ExecContextReturnsOnCall

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

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

func (fake *FakeConn) NameCalls(stub func() string)

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

func (fake *FakeConn) PingCalls(stub func() error)

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(arg1 string) (*sql.Stmt, error)

func (*FakeConn) PrepareArgsForCall

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

func (*FakeConn) PrepareCallCount

func (fake *FakeConn) PrepareCallCount() int

func (*FakeConn) PrepareCalls

func (fake *FakeConn) PrepareCalls(stub func(string) (*sql.Stmt, error))

func (*FakeConn) PrepareContext

func (fake *FakeConn) PrepareContext(arg1 context.Context, arg2 string) (*sql.Stmt, error)

func (*FakeConn) PrepareContextArgsForCall

func (fake *FakeConn) PrepareContextArgsForCall(i int) (context.Context, string)

func (*FakeConn) PrepareContextCallCount

func (fake *FakeConn) PrepareContextCallCount() int

func (*FakeConn) PrepareContextCalls

func (fake *FakeConn) PrepareContextCalls(stub func(context.Context, string) (*sql.Stmt, error))

func (*FakeConn) PrepareContextReturns

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

func (*FakeConn) PrepareContextReturnsOnCall

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

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(arg1 string, arg2 ...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) QueryCalls

func (fake *FakeConn) QueryCalls(stub func(string, ...interface{}) (*sql.Rows, error))

func (*FakeConn) QueryContext

func (fake *FakeConn) QueryContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (*sql.Rows, error)

func (*FakeConn) QueryContextArgsForCall

func (fake *FakeConn) QueryContextArgsForCall(i int) (context.Context, string, []interface{})

func (*FakeConn) QueryContextCallCount

func (fake *FakeConn) QueryContextCallCount() int

func (*FakeConn) QueryContextCalls

func (fake *FakeConn) QueryContextCalls(stub func(context.Context, string, ...interface{}) (*sql.Rows, error))

func (*FakeConn) QueryContextReturns

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

func (*FakeConn) QueryContextReturnsOnCall

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

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(arg1 string, arg2 ...interface{}) squirrel.RowScanner

func (*FakeConn) QueryRowArgsForCall

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

func (*FakeConn) QueryRowCallCount

func (fake *FakeConn) QueryRowCallCount() int

func (*FakeConn) QueryRowCalls

func (fake *FakeConn) QueryRowCalls(stub func(string, ...interface{}) squirrel.RowScanner)

func (*FakeConn) QueryRowContext

func (fake *FakeConn) QueryRowContext(arg1 context.Context, arg2 string, arg3 ...interface{}) squirrel.RowScanner

func (*FakeConn) QueryRowContextArgsForCall

func (fake *FakeConn) QueryRowContextArgsForCall(i int) (context.Context, string, []interface{})

func (*FakeConn) QueryRowContextCallCount

func (fake *FakeConn) QueryRowContextCallCount() int

func (*FakeConn) QueryRowContextCalls

func (fake *FakeConn) QueryRowContextCalls(stub func(context.Context, string, ...interface{}) squirrel.RowScanner)

func (*FakeConn) QueryRowContextReturns

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

func (*FakeConn) QueryRowContextReturnsOnCall

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

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(arg1 int)

func (*FakeConn) SetMaxIdleConnsArgsForCall

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

func (*FakeConn) SetMaxIdleConnsCallCount

func (fake *FakeConn) SetMaxIdleConnsCallCount() int

func (*FakeConn) SetMaxIdleConnsCalls

func (fake *FakeConn) SetMaxIdleConnsCalls(stub func(int))

func (*FakeConn) SetMaxOpenConns

func (fake *FakeConn) SetMaxOpenConns(arg1 int)

func (*FakeConn) SetMaxOpenConnsArgsForCall

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

func (*FakeConn) SetMaxOpenConnsCallCount

func (fake *FakeConn) SetMaxOpenConnsCallCount() int

func (*FakeConn) SetMaxOpenConnsCalls

func (fake *FakeConn) SetMaxOpenConnsCalls(stub func(int))

func (*FakeConn) Stats

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

func (*FakeConn) StatsCallCount

func (fake *FakeConn) StatsCallCount() int

func (*FakeConn) StatsCalls

func (fake *FakeConn) StatsCalls(stub func() sql.DBStats)

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 {
	HandleStub func() string

	IDStub func() int

	MetadataStub func() db.ContainerMetadata

	StateStub func() string

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

func (*FakeContainer) Handle

func (fake *FakeContainer) Handle() string

func (*FakeContainer) HandleCallCount

func (fake *FakeContainer) HandleCallCount() int

func (*FakeContainer) HandleCalls

func (fake *FakeContainer) HandleCalls(stub func() string)

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

func (fake *FakeContainer) IDCalls(stub func() 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) MetadataCalls

func (fake *FakeContainer) MetadataCalls(stub func() db.ContainerMetadata)

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

func (fake *FakeContainer) StateCalls(stub func() string)

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

func (fake *FakeContainer) WorkerNameCalls(stub func() string)

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 {
	CreateStub func(db.Tx, string) (map[string]interface{}, error)

	FindStub func(db.Conn) (squirrel.Eq, bool, error)
	// contains filtered or unexported fields
}

func (*FakeContainerOwner) Create

func (fake *FakeContainerOwner) Create(arg1 db.Tx, arg2 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) CreateCalls

func (fake *FakeContainerOwner) CreateCalls(stub func(db.Tx, string) (map[string]interface{}, error))

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(arg1 db.Conn) (squirrel.Eq, bool, error)

func (*FakeContainerOwner) FindArgsForCall

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

func (*FakeContainerOwner) FindCallCount

func (fake *FakeContainerOwner) FindCallCount() int

func (*FakeContainerOwner) FindCalls

func (fake *FakeContainerOwner) FindCalls(stub func(db.Conn) (squirrel.Eq, bool, error))

func (*FakeContainerOwner) FindReturns

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

func (*FakeContainerOwner) FindReturnsOnCall

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

func (*FakeContainerOwner) Invocations

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

type FakeContainerRepository

type FakeContainerRepository struct {
	DestroyFailedContainersStub func() (int, error)

	DestroyUnknownContainersStub func(string, []string) (int, error)

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

	FindOrphanedContainersStub func() ([]db.CreatingContainer, []db.CreatedContainer, []db.DestroyingContainer, error)

	RemoveDestroyingContainersStub func(string, []string) (int, error)

	RemoveMissingContainersStub func(time.Duration) (int, error)

	UpdateContainersMissingSinceStub func(string, []string) 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) DestroyFailedContainersCalls

func (fake *FakeContainerRepository) DestroyFailedContainersCalls(stub func() (int, error))

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

func (fake *FakeContainerRepository) DestroyUnknownContainers(arg1 string, arg2 []string) (int, error)

func (*FakeContainerRepository) DestroyUnknownContainersArgsForCall

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

func (*FakeContainerRepository) DestroyUnknownContainersCallCount

func (fake *FakeContainerRepository) DestroyUnknownContainersCallCount() int

func (*FakeContainerRepository) DestroyUnknownContainersCalls

func (fake *FakeContainerRepository) DestroyUnknownContainersCalls(stub func(string, []string) (int, error))

func (*FakeContainerRepository) DestroyUnknownContainersReturns

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

func (*FakeContainerRepository) DestroyUnknownContainersReturnsOnCall

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

func (*FakeContainerRepository) FindDestroyingContainers

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

func (*FakeContainerRepository) FindDestroyingContainersArgsForCall

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

func (*FakeContainerRepository) FindDestroyingContainersCallCount

func (fake *FakeContainerRepository) FindDestroyingContainersCallCount() int

func (*FakeContainerRepository) FindDestroyingContainersCalls

func (fake *FakeContainerRepository) FindDestroyingContainersCalls(stub func(string) ([]string, error))

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

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

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(arg1 string, arg2 []string) (int, error)

func (*FakeContainerRepository) RemoveDestroyingContainersArgsForCall

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

func (*FakeContainerRepository) RemoveDestroyingContainersCallCount

func (fake *FakeContainerRepository) RemoveDestroyingContainersCallCount() int

func (*FakeContainerRepository) RemoveDestroyingContainersCalls

func (fake *FakeContainerRepository) RemoveDestroyingContainersCalls(stub func(string, []string) (int, error))

func (*FakeContainerRepository) RemoveDestroyingContainersReturns

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

func (*FakeContainerRepository) RemoveDestroyingContainersReturnsOnCall

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

func (*FakeContainerRepository) RemoveMissingContainers

func (fake *FakeContainerRepository) RemoveMissingContainers(arg1 time.Duration) (int, error)

func (*FakeContainerRepository) RemoveMissingContainersArgsForCall

func (fake *FakeContainerRepository) RemoveMissingContainersArgsForCall(i int) time.Duration

func (*FakeContainerRepository) RemoveMissingContainersCallCount

func (fake *FakeContainerRepository) RemoveMissingContainersCallCount() int

func (*FakeContainerRepository) RemoveMissingContainersCalls

func (fake *FakeContainerRepository) RemoveMissingContainersCalls(stub func(time.Duration) (int, error))

func (*FakeContainerRepository) RemoveMissingContainersReturns

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

func (*FakeContainerRepository) RemoveMissingContainersReturnsOnCall

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

func (*FakeContainerRepository) UpdateContainersMissingSince

func (fake *FakeContainerRepository) UpdateContainersMissingSince(arg1 string, arg2 []string) error

func (*FakeContainerRepository) UpdateContainersMissingSinceArgsForCall

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

func (*FakeContainerRepository) UpdateContainersMissingSinceCallCount

func (fake *FakeContainerRepository) UpdateContainersMissingSinceCallCount() int

func (*FakeContainerRepository) UpdateContainersMissingSinceCalls

func (fake *FakeContainerRepository) UpdateContainersMissingSinceCalls(stub func(string, []string) error)

func (*FakeContainerRepository) UpdateContainersMissingSinceReturns

func (fake *FakeContainerRepository) UpdateContainersMissingSinceReturns(result1 error)

func (*FakeContainerRepository) UpdateContainersMissingSinceReturnsOnCall

func (fake *FakeContainerRepository) UpdateContainersMissingSinceReturnsOnCall(i int, result1 error)

type FakeCreatedContainer

type FakeCreatedContainer struct {
	DestroyingStub func() (db.DestroyingContainer, error)

	HandleStub func() string

	IDStub func() int

	LastHijackStub func() time.Time

	MetadataStub func() db.ContainerMetadata

	StateStub func() string

	UpdateLastHijackStub func() error

	WorkerNameStub func() string
	// 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) DestroyingCalls

func (fake *FakeCreatedContainer) DestroyingCalls(stub func() (db.DestroyingContainer, error))

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

func (fake *FakeCreatedContainer) Handle() string

func (*FakeCreatedContainer) HandleCallCount

func (fake *FakeCreatedContainer) HandleCallCount() int

func (*FakeCreatedContainer) HandleCalls

func (fake *FakeCreatedContainer) HandleCalls(stub func() string)

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

func (fake *FakeCreatedContainer) IDCalls(stub func() 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) LastHijack

func (fake *FakeCreatedContainer) LastHijack() time.Time

func (*FakeCreatedContainer) LastHijackCallCount

func (fake *FakeCreatedContainer) LastHijackCallCount() int

func (*FakeCreatedContainer) LastHijackCalls

func (fake *FakeCreatedContainer) LastHijackCalls(stub func() time.Time)

func (*FakeCreatedContainer) LastHijackReturns

func (fake *FakeCreatedContainer) LastHijackReturns(result1 time.Time)

func (*FakeCreatedContainer) LastHijackReturnsOnCall

func (fake *FakeCreatedContainer) LastHijackReturnsOnCall(i int, result1 time.Time)

func (*FakeCreatedContainer) Metadata

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

func (*FakeCreatedContainer) MetadataCallCount

func (fake *FakeCreatedContainer) MetadataCallCount() int

func (*FakeCreatedContainer) MetadataCalls

func (fake *FakeCreatedContainer) MetadataCalls(stub func() db.ContainerMetadata)

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

func (fake *FakeCreatedContainer) StateCalls(stub func() string)

func (*FakeCreatedContainer) StateReturns

func (fake *FakeCreatedContainer) StateReturns(result1 string)

func (*FakeCreatedContainer) StateReturnsOnCall

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

func (*FakeCreatedContainer) UpdateLastHijack

func (fake *FakeCreatedContainer) UpdateLastHijack() error

func (*FakeCreatedContainer) UpdateLastHijackCallCount

func (fake *FakeCreatedContainer) UpdateLastHijackCallCount() int

func (*FakeCreatedContainer) UpdateLastHijackCalls

func (fake *FakeCreatedContainer) UpdateLastHijackCalls(stub func() error)

func (*FakeCreatedContainer) UpdateLastHijackReturns

func (fake *FakeCreatedContainer) UpdateLastHijackReturns(result1 error)

func (*FakeCreatedContainer) UpdateLastHijackReturnsOnCall

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

func (*FakeCreatedContainer) WorkerName

func (fake *FakeCreatedContainer) WorkerName() string

func (*FakeCreatedContainer) WorkerNameCallCount

func (fake *FakeCreatedContainer) WorkerNameCallCount() int

func (*FakeCreatedContainer) WorkerNameCalls

func (fake *FakeCreatedContainer) WorkerNameCalls(stub func() string)

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 {
	BaseResourceTypeStub func() (*db.UsedWorkerBaseResourceType, error)

	ContainerHandleStub func() string

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

	DestroyingStub func() (db.DestroyingVolume, error)

	GetResourceCacheIDStub func() int

	HandleStub func() string

	InitializeArtifactStub func(string, int) (db.WorkerArtifact, error)

	InitializeResourceCacheStub func(db.UsedResourceCache) error

	InitializeTaskCacheStub func(int, string, string) error

	ParentHandleStub func() string

	PathStub func() string

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

	TaskIdentifierStub func() (string, string, string, error)

	TeamIDStub func() int

	TypeStub func() db.VolumeType

	WorkerArtifactIDStub func() int

	WorkerNameStub func() string
	// 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) BaseResourceTypeCalls

func (fake *FakeCreatedVolume) BaseResourceTypeCalls(stub func() (*db.UsedWorkerBaseResourceType, error))

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

func (fake *FakeCreatedVolume) ContainerHandleCalls(stub func() string)

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

func (fake *FakeCreatedVolume) CreateChildForContainerCalls(stub func(db.CreatingContainer, string) (db.CreatingVolume, error))

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

func (fake *FakeCreatedVolume) DestroyingCalls(stub func() (db.DestroyingVolume, error))

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

func (fake *FakeCreatedVolume) GetResourceCacheID() int

func (*FakeCreatedVolume) GetResourceCacheIDCallCount

func (fake *FakeCreatedVolume) GetResourceCacheIDCallCount() int

func (*FakeCreatedVolume) GetResourceCacheIDCalls

func (fake *FakeCreatedVolume) GetResourceCacheIDCalls(stub func() int)

func (*FakeCreatedVolume) GetResourceCacheIDReturns

func (fake *FakeCreatedVolume) GetResourceCacheIDReturns(result1 int)

func (*FakeCreatedVolume) GetResourceCacheIDReturnsOnCall

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

func (*FakeCreatedVolume) Handle

func (fake *FakeCreatedVolume) Handle() string

func (*FakeCreatedVolume) HandleCallCount

func (fake *FakeCreatedVolume) HandleCallCount() int

func (*FakeCreatedVolume) HandleCalls

func (fake *FakeCreatedVolume) HandleCalls(stub func() string)

func (*FakeCreatedVolume) HandleReturns

func (fake *FakeCreatedVolume) HandleReturns(result1 string)

func (*FakeCreatedVolume) HandleReturnsOnCall

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

func (*FakeCreatedVolume) InitializeArtifact

func (fake *FakeCreatedVolume) InitializeArtifact(arg1 string, arg2 int) (db.WorkerArtifact, error)

func (*FakeCreatedVolume) InitializeArtifactArgsForCall

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

func (*FakeCreatedVolume) InitializeArtifactCallCount

func (fake *FakeCreatedVolume) InitializeArtifactCallCount() int

func (*FakeCreatedVolume) InitializeArtifactCalls

func (fake *FakeCreatedVolume) InitializeArtifactCalls(stub func(string, int) (db.WorkerArtifact, error))

func (*FakeCreatedVolume) InitializeArtifactReturns

func (fake *FakeCreatedVolume) InitializeArtifactReturns(result1 db.WorkerArtifact, result2 error)

func (*FakeCreatedVolume) InitializeArtifactReturnsOnCall

func (fake *FakeCreatedVolume) InitializeArtifactReturnsOnCall(i int, result1 db.WorkerArtifact, result2 error)

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

func (fake *FakeCreatedVolume) InitializeResourceCacheCalls(stub func(db.UsedResourceCache) error)

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

func (fake *FakeCreatedVolume) InitializeTaskCacheCalls(stub func(int, string, string) error)

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

func (fake *FakeCreatedVolume) ParentHandleCalls(stub func() string)

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

func (fake *FakeCreatedVolume) PathCalls(stub func() string)

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

func (fake *FakeCreatedVolume) ResourceTypeCalls(stub func() (*db.VolumeResourceType, error))

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

func (fake *FakeCreatedVolume) TaskIdentifierCalls(stub func() (string, string, string, error))

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

func (fake *FakeCreatedVolume) TeamIDCalls(stub func() 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) TypeCalls

func (fake *FakeCreatedVolume) TypeCalls(stub func() db.VolumeType)

func (*FakeCreatedVolume) TypeReturns

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

func (*FakeCreatedVolume) TypeReturnsOnCall

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

func (*FakeCreatedVolume) WorkerArtifactID

func (fake *FakeCreatedVolume) WorkerArtifactID() int

func (*FakeCreatedVolume) WorkerArtifactIDCallCount

func (fake *FakeCreatedVolume) WorkerArtifactIDCallCount() int

func (*FakeCreatedVolume) WorkerArtifactIDCalls

func (fake *FakeCreatedVolume) WorkerArtifactIDCalls(stub func() int)

func (*FakeCreatedVolume) WorkerArtifactIDReturns

func (fake *FakeCreatedVolume) WorkerArtifactIDReturns(result1 int)

func (*FakeCreatedVolume) WorkerArtifactIDReturnsOnCall

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

func (*FakeCreatedVolume) WorkerName

func (fake *FakeCreatedVolume) WorkerName() string

func (*FakeCreatedVolume) WorkerNameCallCount

func (fake *FakeCreatedVolume) WorkerNameCallCount() int

func (*FakeCreatedVolume) WorkerNameCalls

func (fake *FakeCreatedVolume) WorkerNameCalls(stub func() string)

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 {
	CreatedStub func() (db.CreatedContainer, error)

	FailedStub func() (db.FailedContainer, error)

	HandleStub func() string

	IDStub func() int

	MetadataStub func() db.ContainerMetadata

	StateStub func() string

	WorkerNameStub func() string
	// 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) CreatedCalls

func (fake *FakeCreatingContainer) CreatedCalls(stub func() (db.CreatedContainer, error))

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

func (fake *FakeCreatingContainer) FailedCalls(stub func() (db.FailedContainer, error))

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

func (fake *FakeCreatingContainer) HandleCalls(stub func() string)

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

func (fake *FakeCreatingContainer) IDCalls(stub func() 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) MetadataCalls

func (fake *FakeCreatingContainer) MetadataCalls(stub func() db.ContainerMetadata)

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

func (fake *FakeCreatingContainer) StateCalls(stub func() string)

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

func (fake *FakeCreatingContainer) WorkerNameCalls(stub func() string)

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 {
	CreatedStub func() (db.CreatedVolume, error)

	FailedStub func() (db.FailedVolume, error)

	HandleStub func() string

	IDStub func() int
	// 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) CreatedCalls

func (fake *FakeCreatingVolume) CreatedCalls(stub func() (db.CreatedVolume, error))

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

func (fake *FakeCreatingVolume) FailedCalls(stub func() (db.FailedVolume, error))

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

func (fake *FakeCreatingVolume) HandleCalls(stub func() string)

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

func (fake *FakeCreatingVolume) IDCalls(stub func() 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 {
	DestroyStub func() (bool, error)

	HandleStub func() string

	IDStub func() int

	MetadataStub func() db.ContainerMetadata

	StateStub func() string

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

func (*FakeDestroyingContainer) Destroy

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

func (*FakeDestroyingContainer) DestroyCallCount

func (fake *FakeDestroyingContainer) DestroyCallCount() int

func (*FakeDestroyingContainer) DestroyCalls

func (fake *FakeDestroyingContainer) DestroyCalls(stub func() (bool, error))

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

func (fake *FakeDestroyingContainer) HandleCalls(stub func() string)

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

func (fake *FakeDestroyingContainer) IDCalls(stub func() 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) Metadata

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

func (*FakeDestroyingContainer) MetadataCallCount

func (fake *FakeDestroyingContainer) MetadataCallCount() int

func (*FakeDestroyingContainer) MetadataCalls

func (fake *FakeDestroyingContainer) MetadataCalls(stub func() db.ContainerMetadata)

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

func (fake *FakeDestroyingContainer) StateCalls(stub func() string)

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

func (fake *FakeDestroyingContainer) WorkerNameCalls(stub func() string)

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 {
	DestroyStub func() (bool, error)

	HandleStub func() string

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

func (fake *FakeDestroyingVolume) DestroyCalls(stub func() (bool, error))

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

func (fake *FakeDestroyingVolume) HandleCalls(stub func() string)

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

func (fake *FakeDestroyingVolume) WorkerNameCalls(stub func() string)

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 {
	CloseStub func() error

	NextStub func() (event.Envelope, error)
	// contains filtered or unexported fields
}

func (*FakeEventSource) Close

func (fake *FakeEventSource) Close() error

func (*FakeEventSource) CloseCallCount

func (fake *FakeEventSource) CloseCallCount() int

func (*FakeEventSource) CloseCalls

func (fake *FakeEventSource) CloseCalls(stub func() error)

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

func (fake *FakeEventSource) NextCalls(stub func() (event.Envelope, error))

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 FakeExecutor

type FakeExecutor struct {
	ExecStub func(string, ...interface{}) (sql.Result, error)
	// contains filtered or unexported fields
}

func (*FakeExecutor) Exec

func (fake *FakeExecutor) Exec(arg1 string, arg2 ...interface{}) (sql.Result, error)

func (*FakeExecutor) ExecArgsForCall

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

func (*FakeExecutor) ExecCallCount

func (fake *FakeExecutor) ExecCallCount() int

func (*FakeExecutor) ExecCalls

func (fake *FakeExecutor) ExecCalls(stub func(string, ...interface{}) (sql.Result, error))

func (*FakeExecutor) ExecReturns

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

func (*FakeExecutor) ExecReturnsOnCall

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

func (*FakeExecutor) Invocations

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

type FakeFailedContainer

type FakeFailedContainer struct {
	DestroyStub func() (bool, error)

	HandleStub func() string

	IDStub func() int

	MetadataStub func() db.ContainerMetadata

	StateStub func() string

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

func (*FakeFailedContainer) Destroy

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

func (*FakeFailedContainer) DestroyCallCount

func (fake *FakeFailedContainer) DestroyCallCount() int

func (*FakeFailedContainer) DestroyCalls

func (fake *FakeFailedContainer) DestroyCalls(stub func() (bool, error))

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

func (fake *FakeFailedContainer) HandleCalls(stub func() string)

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

func (fake *FakeFailedContainer) IDCalls(stub func() 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) MetadataCalls

func (fake *FakeFailedContainer) MetadataCalls(stub func() db.ContainerMetadata)

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

func (fake *FakeFailedContainer) StateCalls(stub func() string)

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

func (fake *FakeFailedContainer) WorkerNameCalls(stub func() string)

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 {
	AcquireSchedulingLockStub func(lager.Logger) (lock.Lock, bool, error)

	AlgorithmInputsStub func() (db.InputConfigs, error)

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

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

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

	ClearTaskCacheStub func(string, string) (int64, error)

	ConfigStub func() (atc.JobConfig, error)

	CreateBuildStub func() (db.Build, error)

	DisableManualTriggerStub func() bool

	EnsurePendingBuildExistsStub func(context.Context) error

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

	FirstLoggedBuildIDStub func() int

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

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

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

	HasNewInputsStub func() bool

	IDStub func() int

	InputsStub func() ([]atc.JobInput, error)

	MaxInFlightStub func() int

	NameStub func() string

	OutputsStub func() ([]atc.JobOutput, error)

	PauseStub func() error

	PausedStub func() bool

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

	PipelineIDStub func() int

	PipelineNameStub func() string

	PublicStub func() bool

	ReloadStub func() (bool, error)

	RequestScheduleStub func() error

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

	SaveNextInputMappingStub func(db.InputMapping, bool) error

	ScheduleBuildStub func(db.Build) (bool, error)

	ScheduleRequestedTimeStub func() time.Time

	SetHasNewInputsStub func(bool) error

	TagsStub func() []string

	TeamIDStub func() int

	TeamNameStub func() string

	UnpauseStub func() error

	UpdateFirstLoggedBuildIDStub func(int) error

	UpdateLastScheduledStub func(time.Time) error
	// contains filtered or unexported fields
}

func (*FakeJob) AcquireSchedulingLock

func (fake *FakeJob) AcquireSchedulingLock(arg1 lager.Logger) (lock.Lock, bool, error)

func (*FakeJob) AcquireSchedulingLockArgsForCall

func (fake *FakeJob) AcquireSchedulingLockArgsForCall(i int) lager.Logger

func (*FakeJob) AcquireSchedulingLockCallCount

func (fake *FakeJob) AcquireSchedulingLockCallCount() int

func (*FakeJob) AcquireSchedulingLockCalls

func (fake *FakeJob) AcquireSchedulingLockCalls(stub func(lager.Logger) (lock.Lock, bool, error))

func (*FakeJob) AcquireSchedulingLockReturns

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

func (*FakeJob) AcquireSchedulingLockReturnsOnCall

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

func (*FakeJob) AlgorithmInputs

func (fake *FakeJob) AlgorithmInputs() (db.InputConfigs, error)

func (*FakeJob) AlgorithmInputsCallCount

func (fake *FakeJob) AlgorithmInputsCallCount() int

func (*FakeJob) AlgorithmInputsCalls

func (fake *FakeJob) AlgorithmInputsCalls(stub func() (db.InputConfigs, error))

func (*FakeJob) AlgorithmInputsReturns

func (fake *FakeJob) AlgorithmInputsReturns(result1 db.InputConfigs, result2 error)

func (*FakeJob) AlgorithmInputsReturnsOnCall

func (fake *FakeJob) AlgorithmInputsReturnsOnCall(i int, result1 db.InputConfigs, result2 error)

func (*FakeJob) Build

func (fake *FakeJob) Build(arg1 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) BuildCalls

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

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(arg1 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) BuildsCalls

func (fake *FakeJob) BuildsCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))

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

func (fake *FakeJob) BuildsWithTime(arg1 db.Page) ([]db.Build, db.Pagination, error)

func (*FakeJob) BuildsWithTimeArgsForCall

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

func (*FakeJob) BuildsWithTimeCallCount

func (fake *FakeJob) BuildsWithTimeCallCount() int

func (*FakeJob) BuildsWithTimeCalls

func (fake *FakeJob) BuildsWithTimeCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))

func (*FakeJob) BuildsWithTimeReturns

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

func (*FakeJob) BuildsWithTimeReturnsOnCall

func (fake *FakeJob) BuildsWithTimeReturnsOnCall(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) ClearTaskCacheCalls

func (fake *FakeJob) ClearTaskCacheCalls(stub func(string, string) (int64, error))

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, error)

func (*FakeJob) ConfigCallCount

func (fake *FakeJob) ConfigCallCount() int

func (*FakeJob) ConfigCalls

func (fake *FakeJob) ConfigCalls(stub func() (atc.JobConfig, error))

func (*FakeJob) ConfigReturns

func (fake *FakeJob) ConfigReturns(result1 atc.JobConfig, result2 error)

func (*FakeJob) ConfigReturnsOnCall

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

func (*FakeJob) CreateBuild

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

func (*FakeJob) CreateBuildCallCount

func (fake *FakeJob) CreateBuildCallCount() int

func (*FakeJob) CreateBuildCalls

func (fake *FakeJob) CreateBuildCalls(stub func() (db.Build, error))

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

func (fake *FakeJob) DisableManualTrigger() bool

func (*FakeJob) DisableManualTriggerCallCount

func (fake *FakeJob) DisableManualTriggerCallCount() int

func (*FakeJob) DisableManualTriggerCalls

func (fake *FakeJob) DisableManualTriggerCalls(stub func() bool)

func (*FakeJob) DisableManualTriggerReturns

func (fake *FakeJob) DisableManualTriggerReturns(result1 bool)

func (*FakeJob) DisableManualTriggerReturnsOnCall

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

func (*FakeJob) EnsurePendingBuildExists

func (fake *FakeJob) EnsurePendingBuildExists(arg1 context.Context) error

func (*FakeJob) EnsurePendingBuildExistsArgsForCall

func (fake *FakeJob) EnsurePendingBuildExistsArgsForCall(i int) context.Context

func (*FakeJob) EnsurePendingBuildExistsCallCount

func (fake *FakeJob) EnsurePendingBuildExistsCallCount() int

func (*FakeJob) EnsurePendingBuildExistsCalls

func (fake *FakeJob) EnsurePendingBuildExistsCalls(stub func(context.Context) error)

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

func (fake *FakeJob) FinishedAndNextBuildCalls(stub func() (db.Build, db.Build, error))

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

func (fake *FakeJob) FirstLoggedBuildIDCalls(stub func() int)

func (*FakeJob) FirstLoggedBuildIDReturns

func (fake *FakeJob) FirstLoggedBuildIDReturns(result1 int)

func (*FakeJob) FirstLoggedBuildIDReturnsOnCall

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

func (*FakeJob) GetFullNextBuildInputs

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

func (*FakeJob) GetFullNextBuildInputsCallCount

func (fake *FakeJob) GetFullNextBuildInputsCallCount() int

func (*FakeJob) GetFullNextBuildInputsCalls

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

func (*FakeJob) GetFullNextBuildInputsReturns

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

func (*FakeJob) GetFullNextBuildInputsReturnsOnCall

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

func (*FakeJob) GetNextBuildInputs

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

func (*FakeJob) GetNextBuildInputsCallCount

func (fake *FakeJob) GetNextBuildInputsCallCount() int

func (*FakeJob) GetNextBuildInputsCalls

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

func (*FakeJob) GetNextBuildInputsReturns

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

func (*FakeJob) GetNextBuildInputsReturnsOnCall

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

func (*FakeJob) GetPendingBuilds

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

func (*FakeJob) GetPendingBuildsCallCount

func (fake *FakeJob) GetPendingBuildsCallCount() int

func (*FakeJob) GetPendingBuildsCalls

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

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

func (fake *FakeJob) HasNewInputs() bool

func (*FakeJob) HasNewInputsCallCount

func (fake *FakeJob) HasNewInputsCallCount() int

func (*FakeJob) HasNewInputsCalls

func (fake *FakeJob) HasNewInputsCalls(stub func() bool)

func (*FakeJob) HasNewInputsReturns

func (fake *FakeJob) HasNewInputsReturns(result1 bool)

func (*FakeJob) HasNewInputsReturnsOnCall

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

func (*FakeJob) ID

func (fake *FakeJob) ID() int

func (*FakeJob) IDCallCount

func (fake *FakeJob) IDCallCount() int

func (*FakeJob) IDCalls

func (fake *FakeJob) IDCalls(stub func() int)

func (*FakeJob) IDReturns

func (fake *FakeJob) IDReturns(result1 int)

func (*FakeJob) IDReturnsOnCall

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

func (*FakeJob) Inputs

func (fake *FakeJob) Inputs() ([]atc.JobInput, error)

func (*FakeJob) InputsCallCount

func (fake *FakeJob) InputsCallCount() int

func (*FakeJob) InputsCalls

func (fake *FakeJob) InputsCalls(stub func() ([]atc.JobInput, error))

func (*FakeJob) InputsReturns

func (fake *FakeJob) InputsReturns(result1 []atc.JobInput, result2 error)

func (*FakeJob) InputsReturnsOnCall

func (fake *FakeJob) InputsReturnsOnCall(i int, result1 []atc.JobInput, result2 error)

func (*FakeJob) Invocations

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

func (*FakeJob) MaxInFlight

func (fake *FakeJob) MaxInFlight() int

func (*FakeJob) MaxInFlightCallCount

func (fake *FakeJob) MaxInFlightCallCount() int

func (*FakeJob) MaxInFlightCalls

func (fake *FakeJob) MaxInFlightCalls(stub func() int)

func (*FakeJob) MaxInFlightReturns

func (fake *FakeJob) MaxInFlightReturns(result1 int)

func (*FakeJob) MaxInFlightReturnsOnCall

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

func (*FakeJob) Name

func (fake *FakeJob) Name() string

func (*FakeJob) NameCallCount

func (fake *FakeJob) NameCallCount() int

func (*FakeJob) NameCalls

func (fake *FakeJob) NameCalls(stub func() string)

func (*FakeJob) NameReturns

func (fake *FakeJob) NameReturns(result1 string)

func (*FakeJob) NameReturnsOnCall

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

func (*FakeJob) Outputs

func (fake *FakeJob) Outputs() ([]atc.JobOutput, error)

func (*FakeJob) OutputsCallCount

func (fake *FakeJob) OutputsCallCount() int

func (*FakeJob) OutputsCalls

func (fake *FakeJob) OutputsCalls(stub func() ([]atc.JobOutput, error))

func (*FakeJob) OutputsReturns

func (fake *FakeJob) OutputsReturns(result1 []atc.JobOutput, result2 error)

func (*FakeJob) OutputsReturnsOnCall

func (fake *FakeJob) OutputsReturnsOnCall(i int, result1 []atc.JobOutput, result2 error)

func (*FakeJob) Pause

func (fake *FakeJob) Pause() error

func (*FakeJob) PauseCallCount

func (fake *FakeJob) PauseCallCount() int

func (*FakeJob) PauseCalls

func (fake *FakeJob) PauseCalls(stub func() error)

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

func (fake *FakeJob) PausedCalls(stub func() bool)

func (*FakeJob) PausedReturns

func (fake *FakeJob) PausedReturns(result1 bool)

func (*FakeJob) PausedReturnsOnCall

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

func (*FakeJob) Pipeline

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

func (*FakeJob) PipelineCallCount

func (fake *FakeJob) PipelineCallCount() int

func (*FakeJob) PipelineCalls

func (fake *FakeJob) PipelineCalls(stub func() (db.Pipeline, bool, error))

func (*FakeJob) PipelineID

func (fake *FakeJob) PipelineID() int

func (*FakeJob) PipelineIDCallCount

func (fake *FakeJob) PipelineIDCallCount() int

func (*FakeJob) PipelineIDCalls

func (fake *FakeJob) PipelineIDCalls(stub func() 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) PipelineNameCalls

func (fake *FakeJob) PipelineNameCalls(stub func() string)

func (*FakeJob) PipelineNameReturns

func (fake *FakeJob) PipelineNameReturns(result1 string)

func (*FakeJob) PipelineNameReturnsOnCall

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

func (*FakeJob) PipelineReturns

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

func (*FakeJob) PipelineReturnsOnCall

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

func (*FakeJob) Public

func (fake *FakeJob) Public() bool

func (*FakeJob) PublicCallCount

func (fake *FakeJob) PublicCallCount() int

func (*FakeJob) PublicCalls

func (fake *FakeJob) PublicCalls(stub func() bool)

func (*FakeJob) PublicReturns

func (fake *FakeJob) PublicReturns(result1 bool)

func (*FakeJob) PublicReturnsOnCall

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

func (*FakeJob) Reload

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

func (*FakeJob) ReloadCallCount

func (fake *FakeJob) ReloadCallCount() int

func (*FakeJob) ReloadCalls

func (fake *FakeJob) ReloadCalls(stub func() (bool, error))

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

func (fake *FakeJob) RequestSchedule() error

func (*FakeJob) RequestScheduleCallCount

func (fake *FakeJob) RequestScheduleCallCount() int

func (*FakeJob) RequestScheduleCalls

func (fake *FakeJob) RequestScheduleCalls(stub func() error)

func (*FakeJob) RequestScheduleReturns

func (fake *FakeJob) RequestScheduleReturns(result1 error)

func (*FakeJob) RequestScheduleReturnsOnCall

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

func (*FakeJob) RerunBuild

func (fake *FakeJob) RerunBuild(arg1 db.Build) (db.Build, error)

func (*FakeJob) RerunBuildArgsForCall

func (fake *FakeJob) RerunBuildArgsForCall(i int) db.Build

func (*FakeJob) RerunBuildCallCount

func (fake *FakeJob) RerunBuildCallCount() int

func (*FakeJob) RerunBuildCalls

func (fake *FakeJob) RerunBuildCalls(stub func(db.Build) (db.Build, error))

func (*FakeJob) RerunBuildReturns

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

func (*FakeJob) RerunBuildReturnsOnCall

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

func (*FakeJob) SaveNextInputMapping

func (fake *FakeJob) SaveNextInputMapping(arg1 db.InputMapping, arg2 bool) error

func (*FakeJob) SaveNextInputMappingArgsForCall

func (fake *FakeJob) SaveNextInputMappingArgsForCall(i int) (db.InputMapping, bool)

func (*FakeJob) SaveNextInputMappingCallCount

func (fake *FakeJob) SaveNextInputMappingCallCount() int

func (*FakeJob) SaveNextInputMappingCalls

func (fake *FakeJob) SaveNextInputMappingCalls(stub func(db.InputMapping, bool) error)

func (*FakeJob) SaveNextInputMappingReturns

func (fake *FakeJob) SaveNextInputMappingReturns(result1 error)

func (*FakeJob) SaveNextInputMappingReturnsOnCall

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

func (*FakeJob) ScheduleBuild

func (fake *FakeJob) ScheduleBuild(arg1 db.Build) (bool, error)

func (*FakeJob) ScheduleBuildArgsForCall

func (fake *FakeJob) ScheduleBuildArgsForCall(i int) db.Build

func (*FakeJob) ScheduleBuildCallCount

func (fake *FakeJob) ScheduleBuildCallCount() int

func (*FakeJob) ScheduleBuildCalls

func (fake *FakeJob) ScheduleBuildCalls(stub func(db.Build) (bool, error))

func (*FakeJob) ScheduleBuildReturns

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

func (*FakeJob) ScheduleBuildReturnsOnCall

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

func (*FakeJob) ScheduleRequestedTime

func (fake *FakeJob) ScheduleRequestedTime() time.Time

func (*FakeJob) ScheduleRequestedTimeCallCount

func (fake *FakeJob) ScheduleRequestedTimeCallCount() int

func (*FakeJob) ScheduleRequestedTimeCalls

func (fake *FakeJob) ScheduleRequestedTimeCalls(stub func() time.Time)

func (*FakeJob) ScheduleRequestedTimeReturns

func (fake *FakeJob) ScheduleRequestedTimeReturns(result1 time.Time)

func (*FakeJob) ScheduleRequestedTimeReturnsOnCall

func (fake *FakeJob) ScheduleRequestedTimeReturnsOnCall(i int, result1 time.Time)

func (*FakeJob) SetHasNewInputs

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

func (*FakeJob) SetHasNewInputsArgsForCall

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

func (*FakeJob) SetHasNewInputsCallCount

func (fake *FakeJob) SetHasNewInputsCallCount() int

func (*FakeJob) SetHasNewInputsCalls

func (fake *FakeJob) SetHasNewInputsCalls(stub func(bool) error)

func (*FakeJob) SetHasNewInputsReturns

func (fake *FakeJob) SetHasNewInputsReturns(result1 error)

func (*FakeJob) SetHasNewInputsReturnsOnCall

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

func (*FakeJob) Tags

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

func (*FakeJob) TagsCallCount

func (fake *FakeJob) TagsCallCount() int

func (*FakeJob) TagsCalls

func (fake *FakeJob) TagsCalls(stub func() []string)

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

func (fake *FakeJob) TeamIDCalls(stub func() 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) TeamNameCalls

func (fake *FakeJob) TeamNameCalls(stub func() string)

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

func (fake *FakeJob) UnpauseCalls(stub func() error)

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(arg1 int) error

func (*FakeJob) UpdateFirstLoggedBuildIDArgsForCall

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

func (*FakeJob) UpdateFirstLoggedBuildIDCallCount

func (fake *FakeJob) UpdateFirstLoggedBuildIDCallCount() int

func (*FakeJob) UpdateFirstLoggedBuildIDCalls

func (fake *FakeJob) UpdateFirstLoggedBuildIDCalls(stub func(int) error)

func (*FakeJob) UpdateFirstLoggedBuildIDReturns

func (fake *FakeJob) UpdateFirstLoggedBuildIDReturns(result1 error)

func (*FakeJob) UpdateFirstLoggedBuildIDReturnsOnCall

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

func (*FakeJob) UpdateLastScheduled

func (fake *FakeJob) UpdateLastScheduled(arg1 time.Time) error

func (*FakeJob) UpdateLastScheduledArgsForCall

func (fake *FakeJob) UpdateLastScheduledArgsForCall(i int) time.Time

func (*FakeJob) UpdateLastScheduledCallCount

func (fake *FakeJob) UpdateLastScheduledCallCount() int

func (*FakeJob) UpdateLastScheduledCalls

func (fake *FakeJob) UpdateLastScheduledCalls(stub func(time.Time) error)

func (*FakeJob) UpdateLastScheduledReturns

func (fake *FakeJob) UpdateLastScheduledReturns(result1 error)

func (*FakeJob) UpdateLastScheduledReturnsOnCall

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

type FakeJobFactory

type FakeJobFactory struct {
	AllActiveJobsStub func() (atc.Dashboard, error)

	JobsToScheduleStub func() (db.SchedulerJobs, error)

	VisibleJobsStub func([]string) (atc.Dashboard, error)
	// contains filtered or unexported fields
}

func (*FakeJobFactory) AllActiveJobs

func (fake *FakeJobFactory) AllActiveJobs() (atc.Dashboard, error)

func (*FakeJobFactory) AllActiveJobsCallCount

func (fake *FakeJobFactory) AllActiveJobsCallCount() int

func (*FakeJobFactory) AllActiveJobsCalls

func (fake *FakeJobFactory) AllActiveJobsCalls(stub func() (atc.Dashboard, error))

func (*FakeJobFactory) AllActiveJobsReturns

func (fake *FakeJobFactory) AllActiveJobsReturns(result1 atc.Dashboard, result2 error)

func (*FakeJobFactory) AllActiveJobsReturnsOnCall

func (fake *FakeJobFactory) AllActiveJobsReturnsOnCall(i int, result1 atc.Dashboard, result2 error)

func (*FakeJobFactory) Invocations

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

func (*FakeJobFactory) JobsToSchedule

func (fake *FakeJobFactory) JobsToSchedule() (db.SchedulerJobs, error)

func (*FakeJobFactory) JobsToScheduleCallCount

func (fake *FakeJobFactory) JobsToScheduleCallCount() int

func (*FakeJobFactory) JobsToScheduleCalls

func (fake *FakeJobFactory) JobsToScheduleCalls(stub func() (db.SchedulerJobs, error))

func (*FakeJobFactory) JobsToScheduleReturns

func (fake *FakeJobFactory) JobsToScheduleReturns(result1 db.SchedulerJobs, result2 error)

func (*FakeJobFactory) JobsToScheduleReturnsOnCall

func (fake *FakeJobFactory) JobsToScheduleReturnsOnCall(i int, result1 db.SchedulerJobs, result2 error)

func (*FakeJobFactory) VisibleJobs

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

func (*FakeJobFactory) VisibleJobsArgsForCall

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

func (*FakeJobFactory) VisibleJobsCallCount

func (fake *FakeJobFactory) VisibleJobsCallCount() int

func (*FakeJobFactory) VisibleJobsCalls

func (fake *FakeJobFactory) VisibleJobsCalls(stub func([]string) (atc.Dashboard, error))

func (*FakeJobFactory) VisibleJobsReturns

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

func (*FakeJobFactory) VisibleJobsReturnsOnCall

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

type FakeListener

type FakeListener struct {
	CloseStub func() error

	ListenStub func(string) error

	NotificationChannelStub func() <-chan *pq.Notification

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

func (*FakeListener) Close

func (fake *FakeListener) Close() error

func (*FakeListener) CloseCallCount

func (fake *FakeListener) CloseCallCount() int

func (*FakeListener) CloseCalls

func (fake *FakeListener) CloseCalls(stub func() error)

func (*FakeListener) CloseReturns

func (fake *FakeListener) CloseReturns(result1 error)

func (*FakeListener) CloseReturnsOnCall

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

func (*FakeListener) Invocations

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

func (*FakeListener) Listen

func (fake *FakeListener) Listen(arg1 string) error

func (*FakeListener) ListenArgsForCall

func (fake *FakeListener) ListenArgsForCall(i int) string

func (*FakeListener) ListenCallCount

func (fake *FakeListener) ListenCallCount() int

func (*FakeListener) ListenCalls

func (fake *FakeListener) ListenCalls(stub func(string) error)

func (*FakeListener) ListenReturns

func (fake *FakeListener) ListenReturns(result1 error)

func (*FakeListener) ListenReturnsOnCall

func (fake *FakeListener) ListenReturnsOnCall(i int, result1 error)

func (*FakeListener) NotificationChannel

func (fake *FakeListener) NotificationChannel() <-chan *pq.Notification

func (*FakeListener) NotificationChannelCallCount

func (fake *FakeListener) NotificationChannelCallCount() int

func (*FakeListener) NotificationChannelCalls

func (fake *FakeListener) NotificationChannelCalls(stub func() <-chan *pq.Notification)

func (*FakeListener) NotificationChannelReturns

func (fake *FakeListener) NotificationChannelReturns(result1 <-chan *pq.Notification)

func (*FakeListener) NotificationChannelReturnsOnCall

func (fake *FakeListener) NotificationChannelReturnsOnCall(i int, result1 <-chan *pq.Notification)

func (*FakeListener) Unlisten

func (fake *FakeListener) Unlisten(arg1 string) error

func (*FakeListener) UnlistenArgsForCall

func (fake *FakeListener) UnlistenArgsForCall(i int) string

func (*FakeListener) UnlistenCallCount

func (fake *FakeListener) UnlistenCallCount() int

func (*FakeListener) UnlistenCalls

func (fake *FakeListener) UnlistenCalls(stub func(string) error)

func (*FakeListener) UnlistenReturns

func (fake *FakeListener) UnlistenReturns(result1 error)

func (*FakeListener) UnlistenReturnsOnCall

func (fake *FakeListener) UnlistenReturnsOnCall(i int, result1 error)

type FakeNotifier

type FakeNotifier struct {
	CloseStub func() error

	NotifyStub func() <-chan struct{}
	// contains filtered or unexported fields
}

func (*FakeNotifier) Close

func (fake *FakeNotifier) Close() error

func (*FakeNotifier) CloseCallCount

func (fake *FakeNotifier) CloseCallCount() int

func (*FakeNotifier) CloseCalls

func (fake *FakeNotifier) CloseCalls(stub func() error)

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

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

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 {
	ArchiveStub func() error

	ArchivedStub func() bool

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

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

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

	CheckPausedStub func() (bool, error)

	ConfigStub func() (atc.Config, error)

	ConfigVersionStub func() db.ConfigVersion

	CreateOneOffBuildStub func() (db.Build, error)

	CreateStartedBuildStub func(atc.Plan) (db.Build, error)

	DashboardStub func() (atc.Dashboard, error)

	DeleteBuildEventsByBuildIDsStub func([]int) error

	DestroyStub func() error

	ExposeStub func() error

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

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

	GroupsStub func() atc.GroupConfigs

	HideStub func() error

	IDStub func() int

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

	JobsStub func() (db.Jobs, error)

	LastUpdatedStub func() time.Time

	LoadDebugVersionsDBStub func() (*atc.DebugVersionsDB, error)

	NameStub func() string

	ParentBuildIDStub func() int

	ParentJobIDStub func() int

	PauseStub func() error

	PausedStub func() bool

	PublicStub func() bool

	ReloadStub func() (bool, error)

	RenameStub func(string) error

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

	ResourceByIDStub func(int) (db.Resource, bool, error)

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

	ResourceTypeByIDStub func(int) (db.ResourceType, bool, error)

	ResourceTypesStub func() (db.ResourceTypes, error)

	ResourceVersionStub func(int) (atc.ResourceVersion, bool, error)

	ResourcesStub func() (db.Resources, error)

	SetParentIDsStub func(int, int) error

	TeamIDStub func() int

	TeamNameStub func() string

	UnpauseStub func() error

	VarSourcesStub func() atc.VarSourceConfigs

	VariablesStub func(lager.Logger, creds.Secrets, creds.VarSourcePool) (vars.Variables, error)
	// contains filtered or unexported fields
}

func (*FakePipeline) Archive

func (fake *FakePipeline) Archive() error

func (*FakePipeline) ArchiveCallCount

func (fake *FakePipeline) ArchiveCallCount() int

func (*FakePipeline) ArchiveCalls

func (fake *FakePipeline) ArchiveCalls(stub func() error)

func (*FakePipeline) ArchiveReturns

func (fake *FakePipeline) ArchiveReturns(result1 error)

func (*FakePipeline) ArchiveReturnsOnCall

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

func (*FakePipeline) Archived

func (fake *FakePipeline) Archived() bool

func (*FakePipeline) ArchivedCallCount

func (fake *FakePipeline) ArchivedCallCount() int

func (*FakePipeline) ArchivedCalls

func (fake *FakePipeline) ArchivedCalls(stub func() bool)

func (*FakePipeline) ArchivedReturns

func (fake *FakePipeline) ArchivedReturns(result1 bool)

func (*FakePipeline) ArchivedReturnsOnCall

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

func (*FakePipeline) Builds

func (fake *FakePipeline) Builds(arg1 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) BuildsCalls

func (fake *FakePipeline) BuildsCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))

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

func (fake *FakePipeline) BuildsWithTime(arg1 db.Page) ([]db.Build, db.Pagination, error)

func (*FakePipeline) BuildsWithTimeArgsForCall

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

func (*FakePipeline) BuildsWithTimeCallCount

func (fake *FakePipeline) BuildsWithTimeCallCount() int

func (*FakePipeline) BuildsWithTimeCalls

func (fake *FakePipeline) BuildsWithTimeCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))

func (*FakePipeline) BuildsWithTimeReturns

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

func (*FakePipeline) BuildsWithTimeReturnsOnCall

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

func (*FakePipeline) Causality

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

func (*FakePipeline) CausalityArgsForCall

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

func (*FakePipeline) CausalityCallCount

func (fake *FakePipeline) CausalityCallCount() int

func (*FakePipeline) CausalityCalls

func (fake *FakePipeline) CausalityCalls(stub func(int) ([]db.Cause, error))

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

func (fake *FakePipeline) CheckPausedCalls(stub func() (bool, error))

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

func (fake *FakePipeline) Config() (atc.Config, error)

func (*FakePipeline) ConfigCallCount

func (fake *FakePipeline) ConfigCallCount() int

func (*FakePipeline) ConfigCalls

func (fake *FakePipeline) ConfigCalls(stub func() (atc.Config, error))

func (*FakePipeline) ConfigReturns

func (fake *FakePipeline) ConfigReturns(result1 atc.Config, result2 error)

func (*FakePipeline) ConfigReturnsOnCall

func (fake *FakePipeline) ConfigReturnsOnCall(i int, result1 atc.Config, result2 error)

func (*FakePipeline) ConfigVersion

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

func (*FakePipeline) ConfigVersionCallCount

func (fake *FakePipeline) ConfigVersionCallCount() int

func (*FakePipeline) ConfigVersionCalls

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

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

func (fake *FakePipeline) CreateOneOffBuildCalls(stub func() (db.Build, error))

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

func (fake *FakePipeline) CreateStartedBuild(arg1 atc.Plan) (db.Build, error)

func (*FakePipeline) CreateStartedBuildArgsForCall

func (fake *FakePipeline) CreateStartedBuildArgsForCall(i int) atc.Plan

func (*FakePipeline) CreateStartedBuildCallCount

func (fake *FakePipeline) CreateStartedBuildCallCount() int

func (*FakePipeline) CreateStartedBuildCalls

func (fake *FakePipeline) CreateStartedBuildCalls(stub func(atc.Plan) (db.Build, error))

func (*FakePipeline) CreateStartedBuildReturns

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

func (*FakePipeline) CreateStartedBuildReturnsOnCall

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

func (*FakePipeline) Dashboard

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

func (*FakePipeline) DashboardCallCount

func (fake *FakePipeline) DashboardCallCount() int

func (*FakePipeline) DashboardCalls

func (fake *FakePipeline) DashboardCalls(stub func() (atc.Dashboard, error))

func (*FakePipeline) DashboardReturns

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

func (*FakePipeline) DashboardReturnsOnCall

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

func (*FakePipeline) DeleteBuildEventsByBuildIDs

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

func (*FakePipeline) DeleteBuildEventsByBuildIDsArgsForCall

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

func (*FakePipeline) DeleteBuildEventsByBuildIDsCallCount

func (fake *FakePipeline) DeleteBuildEventsByBuildIDsCallCount() int

func (*FakePipeline) DeleteBuildEventsByBuildIDsCalls

func (fake *FakePipeline) DeleteBuildEventsByBuildIDsCalls(stub func([]int) error)

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

func (fake *FakePipeline) DestroyCalls(stub func() error)

func (*FakePipeline) DestroyReturns

func (fake *FakePipeline) DestroyReturns(result1 error)

func (*FakePipeline) DestroyReturnsOnCall

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

func (*FakePipeline) Expose

func (fake *FakePipeline) Expose() error

func (*FakePipeline) ExposeCallCount

func (fake *FakePipeline) ExposeCallCount() int

func (*FakePipeline) ExposeCalls

func (fake *FakePipeline) ExposeCalls(stub func() error)

func (*FakePipeline) ExposeReturns

func (fake *FakePipeline) ExposeReturns(result1 error)

func (*FakePipeline) ExposeReturnsOnCall

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

func (*FakePipeline) GetBuildsWithVersionAsInput

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

func (*FakePipeline) GetBuildsWithVersionAsInputArgsForCall

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

func (*FakePipeline) GetBuildsWithVersionAsInputCallCount

func (fake *FakePipeline) GetBuildsWithVersionAsInputCallCount() int

func (*FakePipeline) GetBuildsWithVersionAsInputCalls

func (fake *FakePipeline) GetBuildsWithVersionAsInputCalls(stub func(int, int) ([]db.Build, error))

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(arg1 int, arg2 int) ([]db.Build, error)

func (*FakePipeline) GetBuildsWithVersionAsOutputArgsForCall

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

func (*FakePipeline) GetBuildsWithVersionAsOutputCallCount

func (fake *FakePipeline) GetBuildsWithVersionAsOutputCallCount() int

func (*FakePipeline) GetBuildsWithVersionAsOutputCalls

func (fake *FakePipeline) GetBuildsWithVersionAsOutputCalls(stub func(int, int) ([]db.Build, error))

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

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

func (*FakePipeline) GroupsCallCount

func (fake *FakePipeline) GroupsCallCount() int

func (*FakePipeline) GroupsCalls

func (fake *FakePipeline) GroupsCalls(stub func() atc.GroupConfigs)

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

func (fake *FakePipeline) HideCalls(stub func() error)

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

func (fake *FakePipeline) IDCalls(stub func() 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(arg1 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) JobCalls

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

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

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

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

func (fake *FakePipeline) LastUpdated() time.Time

func (*FakePipeline) LastUpdatedCallCount

func (fake *FakePipeline) LastUpdatedCallCount() int

func (*FakePipeline) LastUpdatedCalls

func (fake *FakePipeline) LastUpdatedCalls(stub func() time.Time)

func (*FakePipeline) LastUpdatedReturns

func (fake *FakePipeline) LastUpdatedReturns(result1 time.Time)

func (*FakePipeline) LastUpdatedReturnsOnCall

func (fake *FakePipeline) LastUpdatedReturnsOnCall(i int, result1 time.Time)

func (*FakePipeline) LoadDebugVersionsDB

func (fake *FakePipeline) LoadDebugVersionsDB() (*atc.DebugVersionsDB, error)

func (*FakePipeline) LoadDebugVersionsDBCallCount

func (fake *FakePipeline) LoadDebugVersionsDBCallCount() int

func (*FakePipeline) LoadDebugVersionsDBCalls

func (fake *FakePipeline) LoadDebugVersionsDBCalls(stub func() (*atc.DebugVersionsDB, error))

func (*FakePipeline) LoadDebugVersionsDBReturns

func (fake *FakePipeline) LoadDebugVersionsDBReturns(result1 *atc.DebugVersionsDB, result2 error)

func (*FakePipeline) LoadDebugVersionsDBReturnsOnCall

func (fake *FakePipeline) LoadDebugVersionsDBReturnsOnCall(i int, result1 *atc.DebugVersionsDB, result2 error)

func (*FakePipeline) Name

func (fake *FakePipeline) Name() string

func (*FakePipeline) NameCallCount

func (fake *FakePipeline) NameCallCount() int

func (*FakePipeline) NameCalls

func (fake *FakePipeline) NameCalls(stub func() string)

func (*FakePipeline) NameReturns

func (fake *FakePipeline) NameReturns(result1 string)

func (*FakePipeline) NameReturnsOnCall

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

func (*FakePipeline) ParentBuildID

func (fake *FakePipeline) ParentBuildID() int

func (*FakePipeline) ParentBuildIDCallCount

func (fake *FakePipeline) ParentBuildIDCallCount() int

func (*FakePipeline) ParentBuildIDCalls

func (fake *FakePipeline) ParentBuildIDCalls(stub func() int)

func (*FakePipeline) ParentBuildIDReturns

func (fake *FakePipeline) ParentBuildIDReturns(result1 int)

func (*FakePipeline) ParentBuildIDReturnsOnCall

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

func (*FakePipeline) ParentJobID

func (fake *FakePipeline) ParentJobID() int

func (*FakePipeline) ParentJobIDCallCount

func (fake *FakePipeline) ParentJobIDCallCount() int

func (*FakePipeline) ParentJobIDCalls

func (fake *FakePipeline) ParentJobIDCalls(stub func() int)

func (*FakePipeline) ParentJobIDReturns

func (fake *FakePipeline) ParentJobIDReturns(result1 int)

func (*FakePipeline) ParentJobIDReturnsOnCall

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

func (*FakePipeline) Pause

func (fake *FakePipeline) Pause() error

func (*FakePipeline) PauseCallCount

func (fake *FakePipeline) PauseCallCount() int

func (*FakePipeline) PauseCalls

func (fake *FakePipeline) PauseCalls(stub func() error)

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

func (fake *FakePipeline) PausedCalls(stub func() bool)

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

func (fake *FakePipeline) PublicCalls(stub func() bool)

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

func (fake *FakePipeline) ReloadCalls(stub func() (bool, error))

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

func (fake *FakePipeline) RenameCalls(stub func(string) error)

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(arg1 string) (db.Resource, bool, error)

func (*FakePipeline) ResourceArgsForCall

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

func (*FakePipeline) ResourceByID

func (fake *FakePipeline) ResourceByID(arg1 int) (db.Resource, bool, error)

func (*FakePipeline) ResourceByIDArgsForCall

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

func (*FakePipeline) ResourceByIDCallCount

func (fake *FakePipeline) ResourceByIDCallCount() int

func (*FakePipeline) ResourceByIDCalls

func (fake *FakePipeline) ResourceByIDCalls(stub func(int) (db.Resource, bool, error))

func (*FakePipeline) ResourceByIDReturns

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

func (*FakePipeline) ResourceByIDReturnsOnCall

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

func (*FakePipeline) ResourceCallCount

func (fake *FakePipeline) ResourceCallCount() int

func (*FakePipeline) ResourceCalls

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

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(arg1 string) (db.ResourceType, bool, error)

func (*FakePipeline) ResourceTypeArgsForCall

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

func (*FakePipeline) ResourceTypeByID

func (fake *FakePipeline) ResourceTypeByID(arg1 int) (db.ResourceType, bool, error)

func (*FakePipeline) ResourceTypeByIDArgsForCall

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

func (*FakePipeline) ResourceTypeByIDCallCount

func (fake *FakePipeline) ResourceTypeByIDCallCount() int

func (*FakePipeline) ResourceTypeByIDCalls

func (fake *FakePipeline) ResourceTypeByIDCalls(stub func(int) (db.ResourceType, bool, error))

func (*FakePipeline) ResourceTypeByIDReturns

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

func (*FakePipeline) ResourceTypeByIDReturnsOnCall

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

func (*FakePipeline) ResourceTypeCallCount

func (fake *FakePipeline) ResourceTypeCallCount() int

func (*FakePipeline) ResourceTypeCalls

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

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

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

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

func (fake *FakePipeline) ResourceVersion(arg1 int) (atc.ResourceVersion, bool, error)

func (*FakePipeline) ResourceVersionArgsForCall

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

func (*FakePipeline) ResourceVersionCallCount

func (fake *FakePipeline) ResourceVersionCallCount() int

func (*FakePipeline) ResourceVersionCalls

func (fake *FakePipeline) ResourceVersionCalls(stub func(int) (atc.ResourceVersion, bool, error))

func (*FakePipeline) ResourceVersionReturns

func (fake *FakePipeline) ResourceVersionReturns(result1 atc.ResourceVersion, result2 bool, result3 error)

func (*FakePipeline) ResourceVersionReturnsOnCall

func (fake *FakePipeline) ResourceVersionReturnsOnCall(i int, result1 atc.ResourceVersion, result2 bool, result3 error)

func (*FakePipeline) Resources

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

func (*FakePipeline) ResourcesCallCount

func (fake *FakePipeline) ResourcesCallCount() int

func (*FakePipeline) ResourcesCalls

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

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

func (fake *FakePipeline) SetParentIDs(arg1 int, arg2 int) error

func (*FakePipeline) SetParentIDsArgsForCall

func (fake *FakePipeline) SetParentIDsArgsForCall(i int) (int, int)

func (*FakePipeline) SetParentIDsCallCount

func (fake *FakePipeline) SetParentIDsCallCount() int

func (*FakePipeline) SetParentIDsCalls

func (fake *FakePipeline) SetParentIDsCalls(stub func(int, int) error)

func (*FakePipeline) SetParentIDsReturns

func (fake *FakePipeline) SetParentIDsReturns(result1 error)

func (*FakePipeline) SetParentIDsReturnsOnCall

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

func (*FakePipeline) TeamID

func (fake *FakePipeline) TeamID() int

func (*FakePipeline) TeamIDCallCount

func (fake *FakePipeline) TeamIDCallCount() int

func (*FakePipeline) TeamIDCalls

func (fake *FakePipeline) TeamIDCalls(stub func() 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) TeamNameCalls

func (fake *FakePipeline) TeamNameCalls(stub func() string)

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

func (fake *FakePipeline) UnpauseCalls(stub func() error)

func (*FakePipeline) UnpauseReturns

func (fake *FakePipeline) UnpauseReturns(result1 error)

func (*FakePipeline) UnpauseReturnsOnCall

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

func (*FakePipeline) VarSources

func (fake *FakePipeline) VarSources() atc.VarSourceConfigs

func (*FakePipeline) VarSourcesCallCount

func (fake *FakePipeline) VarSourcesCallCount() int

func (*FakePipeline) VarSourcesCalls

func (fake *FakePipeline) VarSourcesCalls(stub func() atc.VarSourceConfigs)

func (*FakePipeline) VarSourcesReturns

func (fake *FakePipeline) VarSourcesReturns(result1 atc.VarSourceConfigs)

func (*FakePipeline) VarSourcesReturnsOnCall

func (fake *FakePipeline) VarSourcesReturnsOnCall(i int, result1 atc.VarSourceConfigs)

func (*FakePipeline) Variables

func (fake *FakePipeline) Variables(arg1 lager.Logger, arg2 creds.Secrets, arg3 creds.VarSourcePool) (vars.Variables, error)

func (*FakePipeline) VariablesArgsForCall

func (fake *FakePipeline) VariablesArgsForCall(i int) (lager.Logger, creds.Secrets, creds.VarSourcePool)

func (*FakePipeline) VariablesCallCount

func (fake *FakePipeline) VariablesCallCount() int

func (*FakePipeline) VariablesCalls

func (fake *FakePipeline) VariablesCalls(stub func(lager.Logger, creds.Secrets, creds.VarSourcePool) (vars.Variables, error))

func (*FakePipeline) VariablesReturns

func (fake *FakePipeline) VariablesReturns(result1 vars.Variables, result2 error)

func (*FakePipeline) VariablesReturnsOnCall

func (fake *FakePipeline) VariablesReturnsOnCall(i int, result1 vars.Variables, result2 error)

type FakePipelineFactory

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

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

	VisiblePipelinesStub func([]string) ([]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) AllPipelinesCalls

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

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

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

func (*FakePipelineFactory) PipelinesToScheduleCallCount

func (fake *FakePipelineFactory) PipelinesToScheduleCallCount() int

func (*FakePipelineFactory) PipelinesToScheduleCalls

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

func (*FakePipelineFactory) PipelinesToScheduleReturns

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

func (*FakePipelineFactory) PipelinesToScheduleReturnsOnCall

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

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

func (fake *FakePipelineFactory) VisiblePipelinesCalls(stub func([]string) ([]db.Pipeline, error))

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 FakePipelineLifecycle

type FakePipelineLifecycle struct {
	ArchiveAbandonedPipelinesStub func() error
	// contains filtered or unexported fields
}

func (*FakePipelineLifecycle) ArchiveAbandonedPipelines

func (fake *FakePipelineLifecycle) ArchiveAbandonedPipelines() error

func (*FakePipelineLifecycle) ArchiveAbandonedPipelinesCallCount

func (fake *FakePipelineLifecycle) ArchiveAbandonedPipelinesCallCount() int

func (*FakePipelineLifecycle) ArchiveAbandonedPipelinesCalls

func (fake *FakePipelineLifecycle) ArchiveAbandonedPipelinesCalls(stub func() error)

func (*FakePipelineLifecycle) ArchiveAbandonedPipelinesReturns

func (fake *FakePipelineLifecycle) ArchiveAbandonedPipelinesReturns(result1 error)

func (*FakePipelineLifecycle) ArchiveAbandonedPipelinesReturnsOnCall

func (fake *FakePipelineLifecycle) ArchiveAbandonedPipelinesReturnsOnCall(i int, result1 error)

func (*FakePipelineLifecycle) Invocations

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

type FakeResource

type FakeResource struct {
	APIPinnedVersionStub func() atc.Version

	CheckErrorStub func() error

	CheckEveryStub func() string

	CheckSetupErrorStub func() error

	CheckTimeoutStub func() string

	ConfigStub func() atc.ResourceConfig

	ConfigPinnedVersionStub func() atc.Version

	CurrentPinnedVersionStub func() atc.Version

	DisableVersionStub func(int) error

	EnableVersionStub func(int) error

	HasWebhookStub func() bool

	IDStub func() int

	IconStub func() string

	LastCheckEndTimeStub func() time.Time

	LastCheckStartTimeStub func() time.Time

	NameStub func() string

	NotifyScanStub func() error

	PinCommentStub func() string

	PinVersionStub func(int) (bool, error)

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

	PipelineIDStub func() int

	PipelineNameStub func() string

	PublicStub func() bool

	ReloadStub func() (bool, error)

	ResourceConfigIDStub func() int

	ResourceConfigScopeIDStub func() int

	ResourceConfigVersionIDStub func(atc.Version) (int, bool, error)

	SaveUncheckedVersionStub func(atc.Version, db.ResourceConfigMetadataFields, db.ResourceConfig, atc.VersionedResourceTypes) (bool, error)

	SetCheckSetupErrorStub func(error) error

	SetPinCommentStub func(string) error

	SetResourceConfigStub func(atc.Source, atc.VersionedResourceTypes) (db.ResourceConfigScope, error)

	SourceStub func() atc.Source

	TagsStub func() atc.Tags

	TeamIDStub func() int

	TeamNameStub func() string

	TypeStub func() string

	UnpinVersionStub func() error

	UpdateMetadataStub func(atc.Version, db.ResourceConfigMetadataFields) (bool, error)

	VersionsStub func(db.Page, atc.Version) ([]atc.ResourceVersion, db.Pagination, bool, error)

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

func (*FakeResource) APIPinnedVersion

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

func (*FakeResource) APIPinnedVersionCallCount

func (fake *FakeResource) APIPinnedVersionCallCount() int

func (*FakeResource) APIPinnedVersionCalls

func (fake *FakeResource) APIPinnedVersionCalls(stub func() atc.Version)

func (*FakeResource) APIPinnedVersionReturns

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

func (*FakeResource) APIPinnedVersionReturnsOnCall

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

func (*FakeResource) CheckError

func (fake *FakeResource) CheckError() error

func (*FakeResource) CheckErrorCallCount

func (fake *FakeResource) CheckErrorCallCount() int

func (*FakeResource) CheckErrorCalls

func (fake *FakeResource) CheckErrorCalls(stub func() error)

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

func (fake *FakeResource) CheckEveryCalls(stub func() string)

func (*FakeResource) CheckEveryReturns

func (fake *FakeResource) CheckEveryReturns(result1 string)

func (*FakeResource) CheckEveryReturnsOnCall

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

func (*FakeResource) CheckSetupError

func (fake *FakeResource) CheckSetupError() error

func (*FakeResource) CheckSetupErrorCallCount

func (fake *FakeResource) CheckSetupErrorCallCount() int

func (*FakeResource) CheckSetupErrorCalls

func (fake *FakeResource) CheckSetupErrorCalls(stub func() error)

func (*FakeResource) CheckSetupErrorReturns

func (fake *FakeResource) CheckSetupErrorReturns(result1 error)

func (*FakeResource) CheckSetupErrorReturnsOnCall

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

func (*FakeResource) CheckTimeout

func (fake *FakeResource) CheckTimeout() string

func (*FakeResource) CheckTimeoutCallCount

func (fake *FakeResource) CheckTimeoutCallCount() int

func (*FakeResource) CheckTimeoutCalls

func (fake *FakeResource) CheckTimeoutCalls(stub func() string)

func (*FakeResource) CheckTimeoutReturns

func (fake *FakeResource) CheckTimeoutReturns(result1 string)

func (*FakeResource) CheckTimeoutReturnsOnCall

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

func (*FakeResource) Config

func (fake *FakeResource) Config() atc.ResourceConfig

func (*FakeResource) ConfigCallCount

func (fake *FakeResource) ConfigCallCount() int

func (*FakeResource) ConfigCalls

func (fake *FakeResource) ConfigCalls(stub func() atc.ResourceConfig)

func (*FakeResource) ConfigPinnedVersion

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

func (*FakeResource) ConfigPinnedVersionCallCount

func (fake *FakeResource) ConfigPinnedVersionCallCount() int

func (*FakeResource) ConfigPinnedVersionCalls

func (fake *FakeResource) ConfigPinnedVersionCalls(stub func() atc.Version)

func (*FakeResource) ConfigPinnedVersionReturns

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

func (*FakeResource) ConfigPinnedVersionReturnsOnCall

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

func (*FakeResource) ConfigReturns

func (fake *FakeResource) ConfigReturns(result1 atc.ResourceConfig)

func (*FakeResource) ConfigReturnsOnCall

func (fake *FakeResource) ConfigReturnsOnCall(i int, result1 atc.ResourceConfig)

func (*FakeResource) CurrentPinnedVersion

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

func (*FakeResource) CurrentPinnedVersionCallCount

func (fake *FakeResource) CurrentPinnedVersionCallCount() int

func (*FakeResource) CurrentPinnedVersionCalls

func (fake *FakeResource) CurrentPinnedVersionCalls(stub func() atc.Version)

func (*FakeResource) CurrentPinnedVersionReturns

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

func (*FakeResource) CurrentPinnedVersionReturnsOnCall

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

func (*FakeResource) DisableVersion

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

func (*FakeResource) DisableVersionArgsForCall

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

func (*FakeResource) DisableVersionCallCount

func (fake *FakeResource) DisableVersionCallCount() int

func (*FakeResource) DisableVersionCalls

func (fake *FakeResource) DisableVersionCalls(stub func(int) error)

func (*FakeResource) DisableVersionReturns

func (fake *FakeResource) DisableVersionReturns(result1 error)

func (*FakeResource) DisableVersionReturnsOnCall

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

func (*FakeResource) EnableVersion

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

func (*FakeResource) EnableVersionArgsForCall

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

func (*FakeResource) EnableVersionCallCount

func (fake *FakeResource) EnableVersionCallCount() int

func (*FakeResource) EnableVersionCalls

func (fake *FakeResource) EnableVersionCalls(stub func(int) error)

func (*FakeResource) EnableVersionReturns

func (fake *FakeResource) EnableVersionReturns(result1 error)

func (*FakeResource) EnableVersionReturnsOnCall

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

func (*FakeResource) HasWebhook

func (fake *FakeResource) HasWebhook() bool

func (*FakeResource) HasWebhookCallCount

func (fake *FakeResource) HasWebhookCallCount() int

func (*FakeResource) HasWebhookCalls

func (fake *FakeResource) HasWebhookCalls(stub func() bool)

func (*FakeResource) HasWebhookReturns

func (fake *FakeResource) HasWebhookReturns(result1 bool)

func (*FakeResource) HasWebhookReturnsOnCall

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

func (*FakeResource) ID

func (fake *FakeResource) ID() int

func (*FakeResource) IDCallCount

func (fake *FakeResource) IDCallCount() int

func (*FakeResource) IDCalls

func (fake *FakeResource) IDCalls(stub func() int)

func (*FakeResource) IDReturns

func (fake *FakeResource) IDReturns(result1 int)

func (*FakeResource) IDReturnsOnCall

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

func (*FakeResource) Icon

func (fake *FakeResource) Icon() string

func (*FakeResource) IconCallCount

func (fake *FakeResource) IconCallCount() int

func (*FakeResource) IconCalls

func (fake *FakeResource) IconCalls(stub func() string)

func (*FakeResource) IconReturns

func (fake *FakeResource) IconReturns(result1 string)

func (*FakeResource) IconReturnsOnCall

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

func (*FakeResource) Invocations

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

func (*FakeResource) LastCheckEndTime

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

func (*FakeResource) LastCheckEndTimeCallCount

func (fake *FakeResource) LastCheckEndTimeCallCount() int

func (*FakeResource) LastCheckEndTimeCalls

func (fake *FakeResource) LastCheckEndTimeCalls(stub func() time.Time)

func (*FakeResource) LastCheckEndTimeReturns

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

func (*FakeResource) LastCheckEndTimeReturnsOnCall

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

func (*FakeResource) LastCheckStartTime

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

func (*FakeResource) LastCheckStartTimeCallCount

func (fake *FakeResource) LastCheckStartTimeCallCount() int

func (*FakeResource) LastCheckStartTimeCalls

func (fake *FakeResource) LastCheckStartTimeCalls(stub func() time.Time)

func (*FakeResource) LastCheckStartTimeReturns

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

func (*FakeResource) LastCheckStartTimeReturnsOnCall

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

func (*FakeResource) Name

func (fake *FakeResource) Name() string

func (*FakeResource) NameCallCount

func (fake *FakeResource) NameCallCount() int

func (*FakeResource) NameCalls

func (fake *FakeResource) NameCalls(stub func() string)

func (*FakeResource) NameReturns

func (fake *FakeResource) NameReturns(result1 string)

func (*FakeResource) NameReturnsOnCall

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

func (*FakeResource) NotifyScan

func (fake *FakeResource) NotifyScan() error

func (*FakeResource) NotifyScanCallCount

func (fake *FakeResource) NotifyScanCallCount() int

func (*FakeResource) NotifyScanCalls

func (fake *FakeResource) NotifyScanCalls(stub func() error)

func (*FakeResource) NotifyScanReturns

func (fake *FakeResource) NotifyScanReturns(result1 error)

func (*FakeResource) NotifyScanReturnsOnCall

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

func (*FakeResource) PinComment

func (fake *FakeResource) PinComment() string

func (*FakeResource) PinCommentCallCount

func (fake *FakeResource) PinCommentCallCount() int

func (*FakeResource) PinCommentCalls

func (fake *FakeResource) PinCommentCalls(stub func() string)

func (*FakeResource) PinCommentReturns

func (fake *FakeResource) PinCommentReturns(result1 string)

func (*FakeResource) PinCommentReturnsOnCall

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

func (*FakeResource) PinVersion

func (fake *FakeResource) PinVersion(arg1 int) (bool, error)

func (*FakeResource) PinVersionArgsForCall

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

func (*FakeResource) PinVersionCallCount

func (fake *FakeResource) PinVersionCallCount() int

func (*FakeResource) PinVersionCalls

func (fake *FakeResource) PinVersionCalls(stub func(int) (bool, error))

func (*FakeResource) PinVersionReturns

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

func (*FakeResource) PinVersionReturnsOnCall

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

func (*FakeResource) Pipeline

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

func (*FakeResource) PipelineCallCount

func (fake *FakeResource) PipelineCallCount() int

func (*FakeResource) PipelineCalls

func (fake *FakeResource) PipelineCalls(stub func() (db.Pipeline, bool, error))

func (*FakeResource) PipelineID

func (fake *FakeResource) PipelineID() int

func (*FakeResource) PipelineIDCallCount

func (fake *FakeResource) PipelineIDCallCount() int

func (*FakeResource) PipelineIDCalls

func (fake *FakeResource) PipelineIDCalls(stub func() int)

func (*FakeResource) PipelineIDReturns

func (fake *FakeResource) PipelineIDReturns(result1 int)

func (*FakeResource) PipelineIDReturnsOnCall

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

func (*FakeResource) PipelineName

func (fake *FakeResource) PipelineName() string

func (*FakeResource) PipelineNameCallCount

func (fake *FakeResource) PipelineNameCallCount() int

func (*FakeResource) PipelineNameCalls

func (fake *FakeResource) PipelineNameCalls(stub func() string)

func (*FakeResource) PipelineNameReturns

func (fake *FakeResource) PipelineNameReturns(result1 string)

func (*FakeResource) PipelineNameReturnsOnCall

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

func (*FakeResource) PipelineReturns

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

func (*FakeResource) PipelineReturnsOnCall

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

func (*FakeResource) Public

func (fake *FakeResource) Public() bool

func (*FakeResource) PublicCallCount

func (fake *FakeResource) PublicCallCount() int

func (*FakeResource) PublicCalls

func (fake *FakeResource) PublicCalls(stub func() bool)

func (*FakeResource) PublicReturns

func (fake *FakeResource) PublicReturns(result1 bool)

func (*FakeResource) PublicReturnsOnCall

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

func (*FakeResource) Reload

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

func (*FakeResource) ReloadCallCount

func (fake *FakeResource) ReloadCallCount() int

func (*FakeResource) ReloadCalls

func (fake *FakeResource) ReloadCalls(stub func() (bool, error))

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

func (fake *FakeResource) ResourceConfigID() int

func (*FakeResource) ResourceConfigIDCallCount

func (fake *FakeResource) ResourceConfigIDCallCount() int

func (*FakeResource) ResourceConfigIDCalls

func (fake *FakeResource) ResourceConfigIDCalls(stub func() int)

func (*FakeResource) ResourceConfigIDReturns

func (fake *FakeResource) ResourceConfigIDReturns(result1 int)

func (*FakeResource) ResourceConfigIDReturnsOnCall

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

func (*FakeResource) ResourceConfigScopeID

func (fake *FakeResource) ResourceConfigScopeID() int

func (*FakeResource) ResourceConfigScopeIDCallCount

func (fake *FakeResource) ResourceConfigScopeIDCallCount() int

func (*FakeResource) ResourceConfigScopeIDCalls

func (fake *FakeResource) ResourceConfigScopeIDCalls(stub func() int)

func (*FakeResource) ResourceConfigScopeIDReturns

func (fake *FakeResource) ResourceConfigScopeIDReturns(result1 int)

func (*FakeResource) ResourceConfigScopeIDReturnsOnCall

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

func (*FakeResource) ResourceConfigVersionID

func (fake *FakeResource) ResourceConfigVersionID(arg1 atc.Version) (int, bool, error)

func (*FakeResource) ResourceConfigVersionIDArgsForCall

func (fake *FakeResource) ResourceConfigVersionIDArgsForCall(i int) atc.Version

func (*FakeResource) ResourceConfigVersionIDCallCount

func (fake *FakeResource) ResourceConfigVersionIDCallCount() int

func (*FakeResource) ResourceConfigVersionIDCalls

func (fake *FakeResource) ResourceConfigVersionIDCalls(stub func(atc.Version) (int, bool, error))

func (*FakeResource) ResourceConfigVersionIDReturns

func (fake *FakeResource) ResourceConfigVersionIDReturns(result1 int, result2 bool, result3 error)

func (*FakeResource) ResourceConfigVersionIDReturnsOnCall

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

func (*FakeResource) SaveUncheckedVersion

func (fake *FakeResource) SaveUncheckedVersion(arg1 atc.Version, arg2 db.ResourceConfigMetadataFields, arg3 db.ResourceConfig, arg4 atc.VersionedResourceTypes) (bool, error)

func (*FakeResource) SaveUncheckedVersionArgsForCall

func (fake *FakeResource) SaveUncheckedVersionArgsForCall(i int) (atc.Version, db.ResourceConfigMetadataFields, db.ResourceConfig, atc.VersionedResourceTypes)

func (*FakeResource) SaveUncheckedVersionCallCount

func (fake *FakeResource) SaveUncheckedVersionCallCount() int

func (*FakeResource) SaveUncheckedVersionCalls

func (fake *FakeResource) SaveUncheckedVersionCalls(stub func(atc.Version, db.ResourceConfigMetadataFields, db.ResourceConfig, atc.VersionedResourceTypes) (bool, error))

func (*FakeResource) SaveUncheckedVersionReturns

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

func (*FakeResource) SaveUncheckedVersionReturnsOnCall

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

func (*FakeResource) SetCheckSetupError

func (fake *FakeResource) SetCheckSetupError(arg1 error) error

func (*FakeResource) SetCheckSetupErrorArgsForCall

func (fake *FakeResource) SetCheckSetupErrorArgsForCall(i int) error

func (*FakeResource) SetCheckSetupErrorCallCount

func (fake *FakeResource) SetCheckSetupErrorCallCount() int

func (*FakeResource) SetCheckSetupErrorCalls

func (fake *FakeResource) SetCheckSetupErrorCalls(stub func(error) error)

func (*FakeResource) SetCheckSetupErrorReturns

func (fake *FakeResource) SetCheckSetupErrorReturns(result1 error)

func (*FakeResource) SetCheckSetupErrorReturnsOnCall

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

func (*FakeResource) SetPinComment

func (fake *FakeResource) SetPinComment(arg1 string) error

func (*FakeResource) SetPinCommentArgsForCall

func (fake *FakeResource) SetPinCommentArgsForCall(i int) string

func (*FakeResource) SetPinCommentCallCount

func (fake *FakeResource) SetPinCommentCallCount() int

func (*FakeResource) SetPinCommentCalls

func (fake *FakeResource) SetPinCommentCalls(stub func(string) error)

func (*FakeResource) SetPinCommentReturns

func (fake *FakeResource) SetPinCommentReturns(result1 error)

func (*FakeResource) SetPinCommentReturnsOnCall

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

func (*FakeResource) SetResourceConfig

func (fake *FakeResource) SetResourceConfig(arg1 atc.Source, arg2 atc.VersionedResourceTypes) (db.ResourceConfigScope, error)

func (*FakeResource) SetResourceConfigArgsForCall

func (fake *FakeResource) SetResourceConfigArgsForCall(i int) (atc.Source, atc.VersionedResourceTypes)

func (*FakeResource) SetResourceConfigCallCount

func (fake *FakeResource) SetResourceConfigCallCount() int

func (*FakeResource) SetResourceConfigCalls

func (fake *FakeResource) SetResourceConfigCalls(stub func(atc.Source, atc.VersionedResourceTypes) (db.ResourceConfigScope, error))

func (*FakeResource) SetResourceConfigReturns

func (fake *FakeResource) SetResourceConfigReturns(result1 db.ResourceConfigScope, result2 error)

func (*FakeResource) SetResourceConfigReturnsOnCall

func (fake *FakeResource) SetResourceConfigReturnsOnCall(i int, result1 db.ResourceConfigScope, result2 error)

func (*FakeResource) Source

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

func (*FakeResource) SourceCallCount

func (fake *FakeResource) SourceCallCount() int

func (*FakeResource) SourceCalls

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

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

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

func (*FakeResource) TagsReturns

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

func (*FakeResource) TagsReturnsOnCall

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

func (*FakeResource) TeamID

func (fake *FakeResource) TeamID() int

func (*FakeResource) TeamIDCallCount

func (fake *FakeResource) TeamIDCallCount() int

func (*FakeResource) TeamIDCalls

func (fake *FakeResource) TeamIDCalls(stub func() int)

func (*FakeResource) TeamIDReturns

func (fake *FakeResource) TeamIDReturns(result1 int)

func (*FakeResource) TeamIDReturnsOnCall

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

func (*FakeResource) TeamName

func (fake *FakeResource) TeamName() string

func (*FakeResource) TeamNameCallCount

func (fake *FakeResource) TeamNameCallCount() int

func (*FakeResource) TeamNameCalls

func (fake *FakeResource) TeamNameCalls(stub func() string)

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

func (fake *FakeResource) TypeCalls(stub func() string)

func (*FakeResource) TypeReturns

func (fake *FakeResource) TypeReturns(result1 string)

func (*FakeResource) TypeReturnsOnCall

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

func (*FakeResource) UnpinVersion

func (fake *FakeResource) UnpinVersion() error

func (*FakeResource) UnpinVersionCallCount

func (fake *FakeResource) UnpinVersionCallCount() int

func (*FakeResource) UnpinVersionCalls

func (fake *FakeResource) UnpinVersionCalls(stub func() error)

func (*FakeResource) UnpinVersionReturns

func (fake *FakeResource) UnpinVersionReturns(result1 error)

func (*FakeResource) UnpinVersionReturnsOnCall

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

func (*FakeResource) UpdateMetadata

func (fake *FakeResource) UpdateMetadata(arg1 atc.Version, arg2 db.ResourceConfigMetadataFields) (bool, error)

func (*FakeResource) UpdateMetadataArgsForCall

func (fake *FakeResource) UpdateMetadataArgsForCall(i int) (atc.Version, db.ResourceConfigMetadataFields)

func (*FakeResource) UpdateMetadataCallCount

func (fake *FakeResource) UpdateMetadataCallCount() int

func (*FakeResource) UpdateMetadataCalls

func (fake *FakeResource) UpdateMetadataCalls(stub func(atc.Version, db.ResourceConfigMetadataFields) (bool, error))

func (*FakeResource) UpdateMetadataReturns

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

func (*FakeResource) UpdateMetadataReturnsOnCall

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

func (*FakeResource) Versions

func (fake *FakeResource) Versions(arg1 db.Page, arg2 atc.Version) ([]atc.ResourceVersion, db.Pagination, bool, error)

func (*FakeResource) VersionsArgsForCall

func (fake *FakeResource) VersionsArgsForCall(i int) (db.Page, atc.Version)

func (*FakeResource) VersionsCallCount

func (fake *FakeResource) VersionsCallCount() int

func (*FakeResource) VersionsCalls

func (fake *FakeResource) VersionsCalls(stub func(db.Page, atc.Version) ([]atc.ResourceVersion, db.Pagination, bool, error))

func (*FakeResource) VersionsReturns

func (fake *FakeResource) VersionsReturns(result1 []atc.ResourceVersion, result2 db.Pagination, result3 bool, result4 error)

func (*FakeResource) VersionsReturnsOnCall

func (fake *FakeResource) VersionsReturnsOnCall(i int, result1 []atc.ResourceVersion, result2 db.Pagination, result3 bool, result4 error)

func (*FakeResource) WebhookToken

func (fake *FakeResource) WebhookToken() string

func (*FakeResource) WebhookTokenCallCount

func (fake *FakeResource) WebhookTokenCallCount() int

func (*FakeResource) WebhookTokenCalls

func (fake *FakeResource) WebhookTokenCalls(stub func() string)

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(db.ResourceCacheUser, string, atc.Version, atc.Source, atc.Params, atc.VersionedResourceTypes) (db.UsedResourceCache, error)

	FindResourceCacheByIDStub func(int) (db.UsedResourceCache, bool, error)

	ResourceCacheMetadataStub func(db.UsedResourceCache) (db.ResourceConfigMetadataFields, error)

	UpdateResourceCacheMetadataStub func(db.UsedResourceCache, []atc.MetadataField) error
	// contains filtered or unexported fields
}

func (*FakeResourceCacheFactory) FindOrCreateResourceCache

func (fake *FakeResourceCacheFactory) FindOrCreateResourceCache(arg1 db.ResourceCacheUser, arg2 string, arg3 atc.Version, arg4 atc.Source, arg5 atc.Params, arg6 atc.VersionedResourceTypes) (db.UsedResourceCache, error)

func (*FakeResourceCacheFactory) FindOrCreateResourceCacheArgsForCall

func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheArgsForCall(i int) (db.ResourceCacheUser, string, atc.Version, atc.Source, atc.Params, atc.VersionedResourceTypes)

func (*FakeResourceCacheFactory) FindOrCreateResourceCacheCallCount

func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheCallCount() int

func (*FakeResourceCacheFactory) FindOrCreateResourceCacheCalls

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

func (fake *FakeResourceCacheFactory) FindResourceCacheByID(arg1 int) (db.UsedResourceCache, bool, error)

func (*FakeResourceCacheFactory) FindResourceCacheByIDArgsForCall

func (fake *FakeResourceCacheFactory) FindResourceCacheByIDArgsForCall(i int) int

func (*FakeResourceCacheFactory) FindResourceCacheByIDCallCount

func (fake *FakeResourceCacheFactory) FindResourceCacheByIDCallCount() int

func (*FakeResourceCacheFactory) FindResourceCacheByIDCalls

func (fake *FakeResourceCacheFactory) FindResourceCacheByIDCalls(stub func(int) (db.UsedResourceCache, bool, error))

func (*FakeResourceCacheFactory) FindResourceCacheByIDReturns

func (fake *FakeResourceCacheFactory) FindResourceCacheByIDReturns(result1 db.UsedResourceCache, result2 bool, result3 error)

func (*FakeResourceCacheFactory) FindResourceCacheByIDReturnsOnCall

func (fake *FakeResourceCacheFactory) FindResourceCacheByIDReturnsOnCall(i int, result1 db.UsedResourceCache, result2 bool, result3 error)

func (*FakeResourceCacheFactory) Invocations

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

func (*FakeResourceCacheFactory) ResourceCacheMetadata

func (*FakeResourceCacheFactory) ResourceCacheMetadataArgsForCall

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

func (*FakeResourceCacheFactory) ResourceCacheMetadataCallCount

func (fake *FakeResourceCacheFactory) ResourceCacheMetadataCallCount() int

func (*FakeResourceCacheFactory) ResourceCacheMetadataCalls

func (fake *FakeResourceCacheFactory) ResourceCacheMetadataCalls(stub func(db.UsedResourceCache) (db.ResourceConfigMetadataFields, error))

func (*FakeResourceCacheFactory) ResourceCacheMetadataReturns

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

func (*FakeResourceCacheFactory) ResourceCacheMetadataReturnsOnCall

func (fake *FakeResourceCacheFactory) ResourceCacheMetadataReturnsOnCall(i int, result1 db.ResourceConfigMetadataFields, 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) UpdateResourceCacheMetadataCalls

func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataCalls(stub func(db.UsedResourceCache, []atc.MetadataField) error)

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 {
	CleanBuildImageResourceCachesStub func(lager.Logger) error

	CleanUpInvalidCachesStub func(lager.Logger) error

	CleanUsesForFinishedBuildsStub 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) CleanBuildImageResourceCachesCalls

func (fake *FakeResourceCacheLifecycle) CleanBuildImageResourceCachesCalls(stub func(lager.Logger) error)

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

func (fake *FakeResourceCacheLifecycle) CleanUpInvalidCachesCalls(stub func(lager.Logger) error)

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

func (fake *FakeResourceCacheLifecycle) CleanUsesForFinishedBuildsCalls(stub func(lager.Logger) error)

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 {
	CreatedByBaseResourceTypeStub func() *db.UsedBaseResourceType

	CreatedByResourceCacheStub func() db.UsedResourceCache

	FindResourceConfigScopeByIDStub func(int, db.Resource) (db.ResourceConfigScope, bool, error)

	IDStub func() int

	OriginBaseResourceTypeStub func() *db.UsedBaseResourceType
	// contains filtered or unexported fields
}

func (*FakeResourceConfig) CreatedByBaseResourceType

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

func (*FakeResourceConfig) CreatedByBaseResourceTypeCallCount

func (fake *FakeResourceConfig) CreatedByBaseResourceTypeCallCount() int

func (*FakeResourceConfig) CreatedByBaseResourceTypeCalls

func (fake *FakeResourceConfig) CreatedByBaseResourceTypeCalls(stub func() *db.UsedBaseResourceType)

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

func (fake *FakeResourceConfig) CreatedByResourceCacheCalls(stub func() db.UsedResourceCache)

func (*FakeResourceConfig) CreatedByResourceCacheReturns

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

func (*FakeResourceConfig) CreatedByResourceCacheReturnsOnCall

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

func (*FakeResourceConfig) FindResourceConfigScopeByID

func (fake *FakeResourceConfig) FindResourceConfigScopeByID(arg1 int, arg2 db.Resource) (db.ResourceConfigScope, bool, error)

func (*FakeResourceConfig) FindResourceConfigScopeByIDArgsForCall

func (fake *FakeResourceConfig) FindResourceConfigScopeByIDArgsForCall(i int) (int, db.Resource)

func (*FakeResourceConfig) FindResourceConfigScopeByIDCallCount

func (fake *FakeResourceConfig) FindResourceConfigScopeByIDCallCount() int

func (*FakeResourceConfig) FindResourceConfigScopeByIDCalls

func (fake *FakeResourceConfig) FindResourceConfigScopeByIDCalls(stub func(int, db.Resource) (db.ResourceConfigScope, bool, error))

func (*FakeResourceConfig) FindResourceConfigScopeByIDReturns

func (fake *FakeResourceConfig) FindResourceConfigScopeByIDReturns(result1 db.ResourceConfigScope, result2 bool, result3 error)

func (*FakeResourceConfig) FindResourceConfigScopeByIDReturnsOnCall

func (fake *FakeResourceConfig) FindResourceConfigScopeByIDReturnsOnCall(i int, result1 db.ResourceConfigScope, result2 bool, result3 error)

func (*FakeResourceConfig) ID

func (fake *FakeResourceConfig) ID() int

func (*FakeResourceConfig) IDCallCount

func (fake *FakeResourceConfig) IDCallCount() int

func (*FakeResourceConfig) IDCalls

func (fake *FakeResourceConfig) IDCalls(stub func() 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) OriginBaseResourceTypeCalls

func (fake *FakeResourceConfig) OriginBaseResourceTypeCalls(stub func() *db.UsedBaseResourceType)

func (*FakeResourceConfig) OriginBaseResourceTypeReturns

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

func (*FakeResourceConfig) OriginBaseResourceTypeReturnsOnCall

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

type FakeResourceConfigCheckSessionLifecycle

type FakeResourceConfigCheckSessionLifecycle struct {
	CleanExpiredResourceConfigCheckSessionsStub func() error

	CleanInactiveResourceConfigCheckSessionsStub 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) CleanExpiredResourceConfigCheckSessionsCalls

func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsCalls(stub func() error)

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

func (fake *FakeResourceConfigCheckSessionLifecycle) CleanInactiveResourceConfigCheckSessionsCalls(stub func() error)

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 {
	CleanUnreferencedConfigsStub func() error

	FindOrCreateResourceConfigStub func(string, atc.Source, atc.VersionedResourceTypes) (db.ResourceConfig, error)

	FindResourceConfigByIDStub func(int) (db.ResourceConfig, bool, error)
	// contains filtered or unexported fields
}

func (*FakeResourceConfigFactory) CleanUnreferencedConfigs

func (fake *FakeResourceConfigFactory) CleanUnreferencedConfigs() error

func (*FakeResourceConfigFactory) CleanUnreferencedConfigsCallCount

func (fake *FakeResourceConfigFactory) CleanUnreferencedConfigsCallCount() int

func (*FakeResourceConfigFactory) CleanUnreferencedConfigsCalls

func (fake *FakeResourceConfigFactory) CleanUnreferencedConfigsCalls(stub func() error)

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(arg1 string, arg2 atc.Source, arg3 atc.VersionedResourceTypes) (db.ResourceConfig, error)

func (*FakeResourceConfigFactory) FindOrCreateResourceConfigArgsForCall

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

func (*FakeResourceConfigFactory) FindOrCreateResourceConfigCallCount

func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigCallCount() int

func (*FakeResourceConfigFactory) FindOrCreateResourceConfigCalls

func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigCalls(stub func(string, atc.Source, atc.VersionedResourceTypes) (db.ResourceConfig, error))

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

func (fake *FakeResourceConfigFactory) FindResourceConfigByID(arg1 int) (db.ResourceConfig, bool, error)

func (*FakeResourceConfigFactory) FindResourceConfigByIDArgsForCall

func (fake *FakeResourceConfigFactory) FindResourceConfigByIDArgsForCall(i int) int

func (*FakeResourceConfigFactory) FindResourceConfigByIDCallCount

func (fake *FakeResourceConfigFactory) FindResourceConfigByIDCallCount() int

func (*FakeResourceConfigFactory) FindResourceConfigByIDCalls

func (fake *FakeResourceConfigFactory) FindResourceConfigByIDCalls(stub func(int) (db.ResourceConfig, bool, error))

func (*FakeResourceConfigFactory) FindResourceConfigByIDReturns

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

func (*FakeResourceConfigFactory) FindResourceConfigByIDReturnsOnCall

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

func (*FakeResourceConfigFactory) Invocations

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

type FakeResourceConfigScope

type FakeResourceConfigScope struct {
	AcquireResourceCheckingLockStub func(lager.Logger) (lock.Lock, bool, error)

	CheckErrorStub func() error

	FindVersionStub func(atc.Version) (db.ResourceConfigVersion, bool, error)

	IDStub func() int

	LatestVersionStub func() (db.ResourceConfigVersion, bool, error)

	ResourceStub func() db.Resource

	ResourceConfigStub func() db.ResourceConfig

	SaveVersionsStub func(db.SpanContext, []atc.Version) error

	SetCheckErrorStub func(error) error

	UpdateLastCheckEndTimeStub func() (bool, error)

	UpdateLastCheckStartTimeStub func(time.Duration, bool) (bool, error)
	// contains filtered or unexported fields
}

func (*FakeResourceConfigScope) AcquireResourceCheckingLock

func (fake *FakeResourceConfigScope) AcquireResourceCheckingLock(arg1 lager.Logger) (lock.Lock, bool, error)

func (*FakeResourceConfigScope) AcquireResourceCheckingLockArgsForCall

func (fake *FakeResourceConfigScope) AcquireResourceCheckingLockArgsForCall(i int) lager.Logger

func (*FakeResourceConfigScope) AcquireResourceCheckingLockCallCount

func (fake *FakeResourceConfigScope) AcquireResourceCheckingLockCallCount() int

func (*FakeResourceConfigScope) AcquireResourceCheckingLockCalls

func (fake *FakeResourceConfigScope) AcquireResourceCheckingLockCalls(stub func(lager.Logger) (lock.Lock, bool, error))

func (*FakeResourceConfigScope) AcquireResourceCheckingLockReturns

func (fake *FakeResourceConfigScope) AcquireResourceCheckingLockReturns(result1 lock.Lock, result2 bool, result3 error)

func (*FakeResourceConfigScope) AcquireResourceCheckingLockReturnsOnCall

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

func (*FakeResourceConfigScope) CheckError

func (fake *FakeResourceConfigScope) CheckError() error

func (*FakeResourceConfigScope) CheckErrorCallCount

func (fake *FakeResourceConfigScope) CheckErrorCallCount() int

func (*FakeResourceConfigScope) CheckErrorCalls

func (fake *FakeResourceConfigScope) CheckErrorCalls(stub func() error)

func (*FakeResourceConfigScope) CheckErrorReturns

func (fake *FakeResourceConfigScope) CheckErrorReturns(result1 error)

func (*FakeResourceConfigScope) CheckErrorReturnsOnCall

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

func (*FakeResourceConfigScope) FindVersion

func (*FakeResourceConfigScope) FindVersionArgsForCall

func (fake *FakeResourceConfigScope) FindVersionArgsForCall(i int) atc.Version

func (*FakeResourceConfigScope) FindVersionCallCount

func (fake *FakeResourceConfigScope) FindVersionCallCount() int

func (*FakeResourceConfigScope) FindVersionCalls

func (fake *FakeResourceConfigScope) FindVersionCalls(stub func(atc.Version) (db.ResourceConfigVersion, bool, error))

func (*FakeResourceConfigScope) FindVersionReturns

func (fake *FakeResourceConfigScope) FindVersionReturns(result1 db.ResourceConfigVersion, result2 bool, result3 error)

func (*FakeResourceConfigScope) FindVersionReturnsOnCall

func (fake *FakeResourceConfigScope) FindVersionReturnsOnCall(i int, result1 db.ResourceConfigVersion, result2 bool, result3 error)

func (*FakeResourceConfigScope) ID

func (fake *FakeResourceConfigScope) ID() int

func (*FakeResourceConfigScope) IDCallCount

func (fake *FakeResourceConfigScope) IDCallCount() int

func (*FakeResourceConfigScope) IDCalls

func (fake *FakeResourceConfigScope) IDCalls(stub func() int)

func (*FakeResourceConfigScope) IDReturns

func (fake *FakeResourceConfigScope) IDReturns(result1 int)

func (*FakeResourceConfigScope) IDReturnsOnCall

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

func (*FakeResourceConfigScope) Invocations

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

func (*FakeResourceConfigScope) LatestVersion

func (fake *FakeResourceConfigScope) LatestVersion() (db.ResourceConfigVersion, bool, error)

func (*FakeResourceConfigScope) LatestVersionCallCount

func (fake *FakeResourceConfigScope) LatestVersionCallCount() int

func (*FakeResourceConfigScope) LatestVersionCalls

func (fake *FakeResourceConfigScope) LatestVersionCalls(stub func() (db.ResourceConfigVersion, bool, error))

func (*FakeResourceConfigScope) LatestVersionReturns

func (fake *FakeResourceConfigScope) LatestVersionReturns(result1 db.ResourceConfigVersion, result2 bool, result3 error)

func (*FakeResourceConfigScope) LatestVersionReturnsOnCall

func (fake *FakeResourceConfigScope) LatestVersionReturnsOnCall(i int, result1 db.ResourceConfigVersion, result2 bool, result3 error)

func (*FakeResourceConfigScope) Resource

func (fake *FakeResourceConfigScope) Resource() db.Resource

func (*FakeResourceConfigScope) ResourceCallCount

func (fake *FakeResourceConfigScope) ResourceCallCount() int

func (*FakeResourceConfigScope) ResourceCalls

func (fake *FakeResourceConfigScope) ResourceCalls(stub func() db.Resource)

func (*FakeResourceConfigScope) ResourceConfig

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

func (*FakeResourceConfigScope) ResourceConfigCallCount

func (fake *FakeResourceConfigScope) ResourceConfigCallCount() int

func (*FakeResourceConfigScope) ResourceConfigCalls

func (fake *FakeResourceConfigScope) ResourceConfigCalls(stub func() db.ResourceConfig)

func (*FakeResourceConfigScope) ResourceConfigReturns

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

func (*FakeResourceConfigScope) ResourceConfigReturnsOnCall

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

func (*FakeResourceConfigScope) ResourceReturns

func (fake *FakeResourceConfigScope) ResourceReturns(result1 db.Resource)

func (*FakeResourceConfigScope) ResourceReturnsOnCall

func (fake *FakeResourceConfigScope) ResourceReturnsOnCall(i int, result1 db.Resource)

func (*FakeResourceConfigScope) SaveVersions

func (fake *FakeResourceConfigScope) SaveVersions(arg1 db.SpanContext, arg2 []atc.Version) error

func (*FakeResourceConfigScope) SaveVersionsArgsForCall

func (fake *FakeResourceConfigScope) SaveVersionsArgsForCall(i int) (db.SpanContext, []atc.Version)

func (*FakeResourceConfigScope) SaveVersionsCallCount

func (fake *FakeResourceConfigScope) SaveVersionsCallCount() int

func (*FakeResourceConfigScope) SaveVersionsCalls

func (fake *FakeResourceConfigScope) SaveVersionsCalls(stub func(db.SpanContext, []atc.Version) error)

func (*FakeResourceConfigScope) SaveVersionsReturns

func (fake *FakeResourceConfigScope) SaveVersionsReturns(result1 error)

func (*FakeResourceConfigScope) SaveVersionsReturnsOnCall

func (fake *FakeResourceConfigScope) SaveVersionsReturnsOnCall(i int, result1 error)

func (*FakeResourceConfigScope) SetCheckError

func (fake *FakeResourceConfigScope) SetCheckError(arg1 error) error

func (*FakeResourceConfigScope) SetCheckErrorArgsForCall

func (fake *FakeResourceConfigScope) SetCheckErrorArgsForCall(i int) error

func (*FakeResourceConfigScope) SetCheckErrorCallCount

func (fake *FakeResourceConfigScope) SetCheckErrorCallCount() int

func (*FakeResourceConfigScope) SetCheckErrorCalls

func (fake *FakeResourceConfigScope) SetCheckErrorCalls(stub func(error) error)

func (*FakeResourceConfigScope) SetCheckErrorReturns

func (fake *FakeResourceConfigScope) SetCheckErrorReturns(result1 error)

func (*FakeResourceConfigScope) SetCheckErrorReturnsOnCall

func (fake *FakeResourceConfigScope) SetCheckErrorReturnsOnCall(i int, result1 error)

func (*FakeResourceConfigScope) UpdateLastCheckEndTime

func (fake *FakeResourceConfigScope) UpdateLastCheckEndTime() (bool, error)

func (*FakeResourceConfigScope) UpdateLastCheckEndTimeCallCount

func (fake *FakeResourceConfigScope) UpdateLastCheckEndTimeCallCount() int

func (*FakeResourceConfigScope) UpdateLastCheckEndTimeCalls

func (fake *FakeResourceConfigScope) UpdateLastCheckEndTimeCalls(stub func() (bool, error))

func (*FakeResourceConfigScope) UpdateLastCheckEndTimeReturns

func (fake *FakeResourceConfigScope) UpdateLastCheckEndTimeReturns(result1 bool, result2 error)

func (*FakeResourceConfigScope) UpdateLastCheckEndTimeReturnsOnCall

func (fake *FakeResourceConfigScope) UpdateLastCheckEndTimeReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeResourceConfigScope) UpdateLastCheckStartTime

func (fake *FakeResourceConfigScope) UpdateLastCheckStartTime(arg1 time.Duration, arg2 bool) (bool, error)

func (*FakeResourceConfigScope) UpdateLastCheckStartTimeArgsForCall

func (fake *FakeResourceConfigScope) UpdateLastCheckStartTimeArgsForCall(i int) (time.Duration, bool)

func (*FakeResourceConfigScope) UpdateLastCheckStartTimeCallCount

func (fake *FakeResourceConfigScope) UpdateLastCheckStartTimeCallCount() int

func (*FakeResourceConfigScope) UpdateLastCheckStartTimeCalls

func (fake *FakeResourceConfigScope) UpdateLastCheckStartTimeCalls(stub func(time.Duration, bool) (bool, error))

func (*FakeResourceConfigScope) UpdateLastCheckStartTimeReturns

func (fake *FakeResourceConfigScope) UpdateLastCheckStartTimeReturns(result1 bool, result2 error)

func (*FakeResourceConfigScope) UpdateLastCheckStartTimeReturnsOnCall

func (fake *FakeResourceConfigScope) UpdateLastCheckStartTimeReturnsOnCall(i int, result1 bool, result2 error)

type FakeResourceConfigVersion

type FakeResourceConfigVersion struct {
	CheckOrderStub func() int

	IDStub func() int

	MetadataStub func() db.ResourceConfigMetadataFields

	ReloadStub func() (bool, error)

	ResourceConfigScopeStub func() db.ResourceConfigScope

	SpanContextStub func() propagators.Supplier

	VersionStub func() db.Version
	// contains filtered or unexported fields
}

func (*FakeResourceConfigVersion) CheckOrder

func (fake *FakeResourceConfigVersion) CheckOrder() int

func (*FakeResourceConfigVersion) CheckOrderCallCount

func (fake *FakeResourceConfigVersion) CheckOrderCallCount() int

func (*FakeResourceConfigVersion) CheckOrderCalls

func (fake *FakeResourceConfigVersion) CheckOrderCalls(stub func() int)

func (*FakeResourceConfigVersion) CheckOrderReturns

func (fake *FakeResourceConfigVersion) CheckOrderReturns(result1 int)

func (*FakeResourceConfigVersion) CheckOrderReturnsOnCall

func (fake *FakeResourceConfigVersion) CheckOrderReturnsOnCall(i int, result1 int)

func (*FakeResourceConfigVersion) ID

func (fake *FakeResourceConfigVersion) ID() int

func (*FakeResourceConfigVersion) IDCallCount

func (fake *FakeResourceConfigVersion) IDCallCount() int

func (*FakeResourceConfigVersion) IDCalls

func (fake *FakeResourceConfigVersion) IDCalls(stub func() int)

func (*FakeResourceConfigVersion) IDReturns

func (fake *FakeResourceConfigVersion) IDReturns(result1 int)

func (*FakeResourceConfigVersion) IDReturnsOnCall

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

func (*FakeResourceConfigVersion) Invocations

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

func (*FakeResourceConfigVersion) Metadata

func (*FakeResourceConfigVersion) MetadataCallCount

func (fake *FakeResourceConfigVersion) MetadataCallCount() int

func (*FakeResourceConfigVersion) MetadataCalls

func (fake *FakeResourceConfigVersion) MetadataCalls(stub func() db.ResourceConfigMetadataFields)

func (*FakeResourceConfigVersion) MetadataReturns

func (fake *FakeResourceConfigVersion) MetadataReturns(result1 db.ResourceConfigMetadataFields)

func (*FakeResourceConfigVersion) MetadataReturnsOnCall

func (fake *FakeResourceConfigVersion) MetadataReturnsOnCall(i int, result1 db.ResourceConfigMetadataFields)

func (*FakeResourceConfigVersion) Reload

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

func (*FakeResourceConfigVersion) ReloadCallCount

func (fake *FakeResourceConfigVersion) ReloadCallCount() int

func (*FakeResourceConfigVersion) ReloadCalls

func (fake *FakeResourceConfigVersion) ReloadCalls(stub func() (bool, error))

func (*FakeResourceConfigVersion) ReloadReturns

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

func (*FakeResourceConfigVersion) ReloadReturnsOnCall

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

func (*FakeResourceConfigVersion) ResourceConfigScope

func (fake *FakeResourceConfigVersion) ResourceConfigScope() db.ResourceConfigScope

func (*FakeResourceConfigVersion) ResourceConfigScopeCallCount

func (fake *FakeResourceConfigVersion) ResourceConfigScopeCallCount() int

func (*FakeResourceConfigVersion) ResourceConfigScopeCalls

func (fake *FakeResourceConfigVersion) ResourceConfigScopeCalls(stub func() db.ResourceConfigScope)

func (*FakeResourceConfigVersion) ResourceConfigScopeReturns

func (fake *FakeResourceConfigVersion) ResourceConfigScopeReturns(result1 db.ResourceConfigScope)

func (*FakeResourceConfigVersion) ResourceConfigScopeReturnsOnCall

func (fake *FakeResourceConfigVersion) ResourceConfigScopeReturnsOnCall(i int, result1 db.ResourceConfigScope)

func (*FakeResourceConfigVersion) SpanContext

func (fake *FakeResourceConfigVersion) SpanContext() propagators.Supplier

func (*FakeResourceConfigVersion) SpanContextCallCount

func (fake *FakeResourceConfigVersion) SpanContextCallCount() int

func (*FakeResourceConfigVersion) SpanContextCalls

func (fake *FakeResourceConfigVersion) SpanContextCalls(stub func() propagators.Supplier)

func (*FakeResourceConfigVersion) SpanContextReturns

func (fake *FakeResourceConfigVersion) SpanContextReturns(result1 propagators.Supplier)

func (*FakeResourceConfigVersion) SpanContextReturnsOnCall

func (fake *FakeResourceConfigVersion) SpanContextReturnsOnCall(i int, result1 propagators.Supplier)

func (*FakeResourceConfigVersion) Version

func (fake *FakeResourceConfigVersion) Version() db.Version

func (*FakeResourceConfigVersion) VersionCallCount

func (fake *FakeResourceConfigVersion) VersionCallCount() int

func (*FakeResourceConfigVersion) VersionCalls

func (fake *FakeResourceConfigVersion) VersionCalls(stub func() db.Version)

func (*FakeResourceConfigVersion) VersionReturns

func (fake *FakeResourceConfigVersion) VersionReturns(result1 db.Version)

func (*FakeResourceConfigVersion) VersionReturnsOnCall

func (fake *FakeResourceConfigVersion) VersionReturnsOnCall(i int, result1 db.Version)

type FakeResourceFactory

type FakeResourceFactory struct {
	AllResourcesStub func() ([]db.Resource, error)

	ResourceStub func(int) (db.Resource, bool, error)

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

func (*FakeResourceFactory) AllResources

func (fake *FakeResourceFactory) AllResources() ([]db.Resource, error)

func (*FakeResourceFactory) AllResourcesCallCount

func (fake *FakeResourceFactory) AllResourcesCallCount() int

func (*FakeResourceFactory) AllResourcesCalls

func (fake *FakeResourceFactory) AllResourcesCalls(stub func() ([]db.Resource, error))

func (*FakeResourceFactory) AllResourcesReturns

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

func (*FakeResourceFactory) AllResourcesReturnsOnCall

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

func (*FakeResourceFactory) Invocations

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

func (*FakeResourceFactory) Resource

func (fake *FakeResourceFactory) Resource(arg1 int) (db.Resource, bool, error)

func (*FakeResourceFactory) ResourceArgsForCall

func (fake *FakeResourceFactory) ResourceArgsForCall(i int) int

func (*FakeResourceFactory) ResourceCallCount

func (fake *FakeResourceFactory) ResourceCallCount() int

func (*FakeResourceFactory) ResourceCalls

func (fake *FakeResourceFactory) ResourceCalls(stub func(int) (db.Resource, bool, error))

func (*FakeResourceFactory) ResourceReturns

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

func (*FakeResourceFactory) ResourceReturnsOnCall

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

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

func (fake *FakeResourceFactory) VisibleResourcesCalls(stub func([]string) ([]db.Resource, error))

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 {
	CheckErrorStub func() error

	CheckEveryStub func() string

	CheckSetupErrorStub func() error

	CheckTimeoutStub func() string

	CurrentPinnedVersionStub func() atc.Version

	HasWebhookStub func() bool

	IDStub func() int

	LastCheckEndTimeStub func() time.Time

	LastCheckStartTimeStub func() time.Time

	NameStub func() string

	ParamsStub func() atc.Params

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

	PipelineIDStub func() int

	PipelineNameStub func() string

	PrivilegedStub func() bool

	ReloadStub func() (bool, error)

	ResourceConfigScopeIDStub func() int

	SetCheckSetupErrorStub func(error) error

	SetResourceConfigStub func(atc.Source, atc.VersionedResourceTypes) (db.ResourceConfigScope, error)

	SourceStub func() atc.Source

	TagsStub func() atc.Tags

	TeamIDStub func() int

	TeamNameStub func() string

	TypeStub func() string

	UniqueVersionHistoryStub func() bool

	VersionStub func() atc.Version
	// contains filtered or unexported fields
}

func (*FakeResourceType) CheckError

func (fake *FakeResourceType) CheckError() error

func (*FakeResourceType) CheckErrorCallCount

func (fake *FakeResourceType) CheckErrorCallCount() int

func (*FakeResourceType) CheckErrorCalls

func (fake *FakeResourceType) CheckErrorCalls(stub func() error)

func (*FakeResourceType) CheckErrorReturns

func (fake *FakeResourceType) CheckErrorReturns(result1 error)

func (*FakeResourceType) CheckErrorReturnsOnCall

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

func (*FakeResourceType) CheckEvery

func (fake *FakeResourceType) CheckEvery() string

func (*FakeResourceType) CheckEveryCallCount

func (fake *FakeResourceType) CheckEveryCallCount() int

func (*FakeResourceType) CheckEveryCalls

func (fake *FakeResourceType) CheckEveryCalls(stub func() string)

func (*FakeResourceType) CheckEveryReturns

func (fake *FakeResourceType) CheckEveryReturns(result1 string)

func (*FakeResourceType) CheckEveryReturnsOnCall

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

func (*FakeResourceType) CheckSetupError

func (fake *FakeResourceType) CheckSetupError() error

func (*FakeResourceType) CheckSetupErrorCallCount

func (fake *FakeResourceType) CheckSetupErrorCallCount() int

func (*FakeResourceType) CheckSetupErrorCalls

func (fake *FakeResourceType) CheckSetupErrorCalls(stub func() error)

func (*FakeResourceType) CheckSetupErrorReturns

func (fake *FakeResourceType) CheckSetupErrorReturns(result1 error)

func (*FakeResourceType) CheckSetupErrorReturnsOnCall

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

func (*FakeResourceType) CheckTimeout

func (fake *FakeResourceType) CheckTimeout() string

func (*FakeResourceType) CheckTimeoutCallCount

func (fake *FakeResourceType) CheckTimeoutCallCount() int

func (*FakeResourceType) CheckTimeoutCalls

func (fake *FakeResourceType) CheckTimeoutCalls(stub func() string)

func (*FakeResourceType) CheckTimeoutReturns

func (fake *FakeResourceType) CheckTimeoutReturns(result1 string)

func (*FakeResourceType) CheckTimeoutReturnsOnCall

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

func (*FakeResourceType) CurrentPinnedVersion

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

func (*FakeResourceType) CurrentPinnedVersionCallCount

func (fake *FakeResourceType) CurrentPinnedVersionCallCount() int

func (*FakeResourceType) CurrentPinnedVersionCalls

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

func (*FakeResourceType) CurrentPinnedVersionReturns

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

func (*FakeResourceType) CurrentPinnedVersionReturnsOnCall

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

func (*FakeResourceType) HasWebhook

func (fake *FakeResourceType) HasWebhook() bool

func (*FakeResourceType) HasWebhookCallCount

func (fake *FakeResourceType) HasWebhookCallCount() int

func (*FakeResourceType) HasWebhookCalls

func (fake *FakeResourceType) HasWebhookCalls(stub func() bool)

func (*FakeResourceType) HasWebhookReturns

func (fake *FakeResourceType) HasWebhookReturns(result1 bool)

func (*FakeResourceType) HasWebhookReturnsOnCall

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

func (*FakeResourceType) ID

func (fake *FakeResourceType) ID() int

func (*FakeResourceType) IDCallCount

func (fake *FakeResourceType) IDCallCount() int

func (*FakeResourceType) IDCalls

func (fake *FakeResourceType) IDCalls(stub func() 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) LastCheckEndTime

func (fake *FakeResourceType) LastCheckEndTime() time.Time

func (*FakeResourceType) LastCheckEndTimeCallCount

func (fake *FakeResourceType) LastCheckEndTimeCallCount() int

func (*FakeResourceType) LastCheckEndTimeCalls

func (fake *FakeResourceType) LastCheckEndTimeCalls(stub func() time.Time)

func (*FakeResourceType) LastCheckEndTimeReturns

func (fake *FakeResourceType) LastCheckEndTimeReturns(result1 time.Time)

func (*FakeResourceType) LastCheckEndTimeReturnsOnCall

func (fake *FakeResourceType) LastCheckEndTimeReturnsOnCall(i int, result1 time.Time)

func (*FakeResourceType) LastCheckStartTime

func (fake *FakeResourceType) LastCheckStartTime() time.Time

func (*FakeResourceType) LastCheckStartTimeCallCount

func (fake *FakeResourceType) LastCheckStartTimeCallCount() int

func (*FakeResourceType) LastCheckStartTimeCalls

func (fake *FakeResourceType) LastCheckStartTimeCalls(stub func() time.Time)

func (*FakeResourceType) LastCheckStartTimeReturns

func (fake *FakeResourceType) LastCheckStartTimeReturns(result1 time.Time)

func (*FakeResourceType) LastCheckStartTimeReturnsOnCall

func (fake *FakeResourceType) LastCheckStartTimeReturnsOnCall(i int, result1 time.Time)

func (*FakeResourceType) Name

func (fake *FakeResourceType) Name() string

func (*FakeResourceType) NameCallCount

func (fake *FakeResourceType) NameCallCount() int

func (*FakeResourceType) NameCalls

func (fake *FakeResourceType) NameCalls(stub func() string)

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

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

func (*FakeResourceType) ParamsReturns

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

func (*FakeResourceType) ParamsReturnsOnCall

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

func (*FakeResourceType) Pipeline

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

func (*FakeResourceType) PipelineCallCount

func (fake *FakeResourceType) PipelineCallCount() int

func (*FakeResourceType) PipelineCalls

func (fake *FakeResourceType) PipelineCalls(stub func() (db.Pipeline, bool, error))

func (*FakeResourceType) PipelineID

func (fake *FakeResourceType) PipelineID() int

func (*FakeResourceType) PipelineIDCallCount

func (fake *FakeResourceType) PipelineIDCallCount() int

func (*FakeResourceType) PipelineIDCalls

func (fake *FakeResourceType) PipelineIDCalls(stub func() int)

func (*FakeResourceType) PipelineIDReturns

func (fake *FakeResourceType) PipelineIDReturns(result1 int)

func (*FakeResourceType) PipelineIDReturnsOnCall

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

func (*FakeResourceType) PipelineName

func (fake *FakeResourceType) PipelineName() string

func (*FakeResourceType) PipelineNameCallCount

func (fake *FakeResourceType) PipelineNameCallCount() int

func (*FakeResourceType) PipelineNameCalls

func (fake *FakeResourceType) PipelineNameCalls(stub func() string)

func (*FakeResourceType) PipelineNameReturns

func (fake *FakeResourceType) PipelineNameReturns(result1 string)

func (*FakeResourceType) PipelineNameReturnsOnCall

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

func (*FakeResourceType) PipelineReturns

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

func (*FakeResourceType) PipelineReturnsOnCall

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

func (*FakeResourceType) Privileged

func (fake *FakeResourceType) Privileged() bool

func (*FakeResourceType) PrivilegedCallCount

func (fake *FakeResourceType) PrivilegedCallCount() int

func (*FakeResourceType) PrivilegedCalls

func (fake *FakeResourceType) PrivilegedCalls(stub func() bool)

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

func (fake *FakeResourceType) ReloadCalls(stub func() (bool, error))

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

func (fake *FakeResourceType) ResourceConfigScopeID() int

func (*FakeResourceType) ResourceConfigScopeIDCallCount

func (fake *FakeResourceType) ResourceConfigScopeIDCallCount() int

func (*FakeResourceType) ResourceConfigScopeIDCalls

func (fake *FakeResourceType) ResourceConfigScopeIDCalls(stub func() int)

func (*FakeResourceType) ResourceConfigScopeIDReturns

func (fake *FakeResourceType) ResourceConfigScopeIDReturns(result1 int)

func (*FakeResourceType) ResourceConfigScopeIDReturnsOnCall

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

func (*FakeResourceType) SetCheckSetupError

func (fake *FakeResourceType) SetCheckSetupError(arg1 error) error

func (*FakeResourceType) SetCheckSetupErrorArgsForCall

func (fake *FakeResourceType) SetCheckSetupErrorArgsForCall(i int) error

func (*FakeResourceType) SetCheckSetupErrorCallCount

func (fake *FakeResourceType) SetCheckSetupErrorCallCount() int

func (*FakeResourceType) SetCheckSetupErrorCalls

func (fake *FakeResourceType) SetCheckSetupErrorCalls(stub func(error) error)

func (*FakeResourceType) SetCheckSetupErrorReturns

func (fake *FakeResourceType) SetCheckSetupErrorReturns(result1 error)

func (*FakeResourceType) SetCheckSetupErrorReturnsOnCall

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

func (*FakeResourceType) SetResourceConfig

func (fake *FakeResourceType) SetResourceConfig(arg1 atc.Source, arg2 atc.VersionedResourceTypes) (db.ResourceConfigScope, error)

func (*FakeResourceType) SetResourceConfigArgsForCall

func (fake *FakeResourceType) SetResourceConfigArgsForCall(i int) (atc.Source, atc.VersionedResourceTypes)

func (*FakeResourceType) SetResourceConfigCallCount

func (fake *FakeResourceType) SetResourceConfigCallCount() int

func (*FakeResourceType) SetResourceConfigCalls

func (fake *FakeResourceType) SetResourceConfigCalls(stub func(atc.Source, atc.VersionedResourceTypes) (db.ResourceConfigScope, error))

func (*FakeResourceType) SetResourceConfigReturns

func (fake *FakeResourceType) SetResourceConfigReturns(result1 db.ResourceConfigScope, result2 error)

func (*FakeResourceType) SetResourceConfigReturnsOnCall

func (fake *FakeResourceType) SetResourceConfigReturnsOnCall(i int, result1 db.ResourceConfigScope, result2 error)

func (*FakeResourceType) Source

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

func (*FakeResourceType) SourceCallCount

func (fake *FakeResourceType) SourceCallCount() int

func (*FakeResourceType) SourceCalls

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

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

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

func (*FakeResourceType) TagsReturns

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

func (*FakeResourceType) TagsReturnsOnCall

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

func (*FakeResourceType) TeamID

func (fake *FakeResourceType) TeamID() int

func (*FakeResourceType) TeamIDCallCount

func (fake *FakeResourceType) TeamIDCallCount() int

func (*FakeResourceType) TeamIDCalls

func (fake *FakeResourceType) TeamIDCalls(stub func() int)

func (*FakeResourceType) TeamIDReturns

func (fake *FakeResourceType) TeamIDReturns(result1 int)

func (*FakeResourceType) TeamIDReturnsOnCall

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

func (*FakeResourceType) TeamName

func (fake *FakeResourceType) TeamName() string

func (*FakeResourceType) TeamNameCallCount

func (fake *FakeResourceType) TeamNameCallCount() int

func (*FakeResourceType) TeamNameCalls

func (fake *FakeResourceType) TeamNameCalls(stub func() string)

func (*FakeResourceType) TeamNameReturns

func (fake *FakeResourceType) TeamNameReturns(result1 string)

func (*FakeResourceType) TeamNameReturnsOnCall

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

func (*FakeResourceType) Type

func (fake *FakeResourceType) Type() string

func (*FakeResourceType) TypeCallCount

func (fake *FakeResourceType) TypeCallCount() int

func (*FakeResourceType) TypeCalls

func (fake *FakeResourceType) TypeCalls(stub func() string)

func (*FakeResourceType) TypeReturns

func (fake *FakeResourceType) TypeReturns(result1 string)

func (*FakeResourceType) TypeReturnsOnCall

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

func (*FakeResourceType) UniqueVersionHistory

func (fake *FakeResourceType) UniqueVersionHistory() bool

func (*FakeResourceType) UniqueVersionHistoryCallCount

func (fake *FakeResourceType) UniqueVersionHistoryCallCount() int

func (*FakeResourceType) UniqueVersionHistoryCalls

func (fake *FakeResourceType) UniqueVersionHistoryCalls(stub func() bool)

func (*FakeResourceType) UniqueVersionHistoryReturns

func (fake *FakeResourceType) UniqueVersionHistoryReturns(result1 bool)

func (*FakeResourceType) UniqueVersionHistoryReturnsOnCall

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

func (*FakeResourceType) Version

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

func (*FakeResourceType) VersionCallCount

func (fake *FakeResourceType) VersionCallCount() int

func (*FakeResourceType) VersionCalls

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

func (*FakeResourceType) VersionReturns

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

func (*FakeResourceType) VersionReturnsOnCall

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

type FakeTaskCacheFactory

type FakeTaskCacheFactory struct {
	FindStub func(int, string, string) (db.UsedTaskCache, bool, error)

	FindOrCreateStub func(int, string, string) (db.UsedTaskCache, error)
	// contains filtered or unexported fields
}

func (*FakeTaskCacheFactory) Find

func (fake *FakeTaskCacheFactory) Find(arg1 int, arg2 string, arg3 string) (db.UsedTaskCache, bool, error)

func (*FakeTaskCacheFactory) FindArgsForCall

func (fake *FakeTaskCacheFactory) FindArgsForCall(i int) (int, string, string)

func (*FakeTaskCacheFactory) FindCallCount

func (fake *FakeTaskCacheFactory) FindCallCount() int

func (*FakeTaskCacheFactory) FindCalls

func (fake *FakeTaskCacheFactory) FindCalls(stub func(int, string, string) (db.UsedTaskCache, bool, error))

func (*FakeTaskCacheFactory) FindOrCreate

func (fake *FakeTaskCacheFactory) FindOrCreate(arg1 int, arg2 string, arg3 string) (db.UsedTaskCache, error)

func (*FakeTaskCacheFactory) FindOrCreateArgsForCall

func (fake *FakeTaskCacheFactory) FindOrCreateArgsForCall(i int) (int, string, string)

func (*FakeTaskCacheFactory) FindOrCreateCallCount

func (fake *FakeTaskCacheFactory) FindOrCreateCallCount() int

func (*FakeTaskCacheFactory) FindOrCreateCalls

func (fake *FakeTaskCacheFactory) FindOrCreateCalls(stub func(int, string, string) (db.UsedTaskCache, error))

func (*FakeTaskCacheFactory) FindOrCreateReturns

func (fake *FakeTaskCacheFactory) FindOrCreateReturns(result1 db.UsedTaskCache, result2 error)

func (*FakeTaskCacheFactory) FindOrCreateReturnsOnCall

func (fake *FakeTaskCacheFactory) FindOrCreateReturnsOnCall(i int, result1 db.UsedTaskCache, result2 error)

func (*FakeTaskCacheFactory) FindReturns

func (fake *FakeTaskCacheFactory) FindReturns(result1 db.UsedTaskCache, result2 bool, result3 error)

func (*FakeTaskCacheFactory) FindReturnsOnCall

func (fake *FakeTaskCacheFactory) FindReturnsOnCall(i int, result1 db.UsedTaskCache, result2 bool, result3 error)

func (*FakeTaskCacheFactory) Invocations

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

type FakeTeam

type FakeTeam struct {
	AdminStub func() bool

	AuthStub func() atc.TeamAuth

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

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

	ContainersStub func() ([]db.Container, error)

	CreateOneOffBuildStub func() (db.Build, error)

	CreateStartedBuildStub func(atc.Plan) (db.Build, error)

	DeleteStub func() error

	FindCheckContainersStub func(lager.Logger, string, string, creds.Secrets, creds.VarSourcePool) ([]db.Container, map[int]time.Time, error)

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

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

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

	FindVolumeForWorkerArtifactStub func(int) (db.CreatedVolume, bool, error)

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

	FindWorkerForVolumeStub func(string) (db.Worker, bool, error)

	IDStub func() int

	IsCheckContainerStub func(string) (bool, error)

	IsContainerWithinTeamStub func(string, bool) (bool, error)

	NameStub func() string

	OrderPipelinesStub func([]string) error

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

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

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

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

	RenameStub func(string) error

	SavePipelineStub func(string, atc.Config, db.ConfigVersion, bool) (db.Pipeline, bool, error)

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

	UpdateProviderAuthStub func(atc.TeamAuth) error

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

func (*FakeTeam) Admin

func (fake *FakeTeam) Admin() bool

func (*FakeTeam) AdminCallCount

func (fake *FakeTeam) AdminCallCount() int

func (*FakeTeam) AdminCalls

func (fake *FakeTeam) AdminCalls(stub func() bool)

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() atc.TeamAuth

func (*FakeTeam) AuthCallCount

func (fake *FakeTeam) AuthCallCount() int

func (*FakeTeam) AuthCalls

func (fake *FakeTeam) AuthCalls(stub func() atc.TeamAuth)

func (*FakeTeam) AuthReturns

func (fake *FakeTeam) AuthReturns(result1 atc.TeamAuth)

func (*FakeTeam) AuthReturnsOnCall

func (fake *FakeTeam) AuthReturnsOnCall(i int, result1 atc.TeamAuth)

func (*FakeTeam) Builds

func (fake *FakeTeam) Builds(arg1 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) BuildsCalls

func (fake *FakeTeam) BuildsCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))

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

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

func (*FakeTeam) BuildsWithTimeArgsForCall

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

func (*FakeTeam) BuildsWithTimeCallCount

func (fake *FakeTeam) BuildsWithTimeCallCount() int

func (*FakeTeam) BuildsWithTimeCalls

func (fake *FakeTeam) BuildsWithTimeCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))

func (*FakeTeam) BuildsWithTimeReturns

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

func (*FakeTeam) BuildsWithTimeReturnsOnCall

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

func (*FakeTeam) Containers

func (fake *FakeTeam) Containers() ([]db.Container, error)

func (*FakeTeam) ContainersCallCount

func (fake *FakeTeam) ContainersCallCount() int

func (*FakeTeam) ContainersCalls

func (fake *FakeTeam) ContainersCalls(stub func() ([]db.Container, error))

func (*FakeTeam) ContainersReturns

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

func (*FakeTeam) ContainersReturnsOnCall

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

func (*FakeTeam) CreateOneOffBuild

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

func (*FakeTeam) CreateOneOffBuildCallCount

func (fake *FakeTeam) CreateOneOffBuildCallCount() int

func (*FakeTeam) CreateOneOffBuildCalls

func (fake *FakeTeam) CreateOneOffBuildCalls(stub func() (db.Build, error))

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

func (fake *FakeTeam) CreateStartedBuild(arg1 atc.Plan) (db.Build, error)

func (*FakeTeam) CreateStartedBuildArgsForCall

func (fake *FakeTeam) CreateStartedBuildArgsForCall(i int) atc.Plan

func (*FakeTeam) CreateStartedBuildCallCount

func (fake *FakeTeam) CreateStartedBuildCallCount() int

func (*FakeTeam) CreateStartedBuildCalls

func (fake *FakeTeam) CreateStartedBuildCalls(stub func(atc.Plan) (db.Build, error))

func (*FakeTeam) CreateStartedBuildReturns

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

func (*FakeTeam) CreateStartedBuildReturnsOnCall

func (fake *FakeTeam) CreateStartedBuildReturnsOnCall(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) DeleteCalls

func (fake *FakeTeam) DeleteCalls(stub func() error)

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.Secrets, arg5 creds.VarSourcePool) ([]db.Container, map[int]time.Time, error)

func (*FakeTeam) FindCheckContainersArgsForCall

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

func (*FakeTeam) FindCheckContainersCallCount

func (fake *FakeTeam) FindCheckContainersCallCount() int

func (*FakeTeam) FindCheckContainersCalls

func (fake *FakeTeam) FindCheckContainersCalls(stub func(lager.Logger, string, string, creds.Secrets, creds.VarSourcePool) ([]db.Container, map[int]time.Time, error))

func (*FakeTeam) FindCheckContainersReturns

func (fake *FakeTeam) FindCheckContainersReturns(result1 []db.Container, result2 map[int]time.Time, result3 error)

func (*FakeTeam) FindCheckContainersReturnsOnCall

func (fake *FakeTeam) FindCheckContainersReturnsOnCall(i int, result1 []db.Container, result2 map[int]time.Time, result3 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) FindContainerByHandleCalls

func (fake *FakeTeam) FindContainerByHandleCalls(stub func(string) (db.Container, bool, error))

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

func (fake *FakeTeam) FindContainersByMetadataCalls(stub func(db.ContainerMetadata) ([]db.Container, error))

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

func (fake *FakeTeam) FindCreatedContainerByHandleCalls(stub func(string) (db.CreatedContainer, bool, error))

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

func (fake *FakeTeam) FindVolumeForWorkerArtifact(arg1 int) (db.CreatedVolume, bool, error)

func (*FakeTeam) FindVolumeForWorkerArtifactArgsForCall

func (fake *FakeTeam) FindVolumeForWorkerArtifactArgsForCall(i int) int

func (*FakeTeam) FindVolumeForWorkerArtifactCallCount

func (fake *FakeTeam) FindVolumeForWorkerArtifactCallCount() int

func (*FakeTeam) FindVolumeForWorkerArtifactCalls

func (fake *FakeTeam) FindVolumeForWorkerArtifactCalls(stub func(int) (db.CreatedVolume, bool, error))

func (*FakeTeam) FindVolumeForWorkerArtifactReturns

func (fake *FakeTeam) FindVolumeForWorkerArtifactReturns(result1 db.CreatedVolume, result2 bool, result3 error)

func (*FakeTeam) FindVolumeForWorkerArtifactReturnsOnCall

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

func (*FakeTeam) FindWorkerForContainer

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

func (*FakeTeam) FindWorkerForContainerArgsForCall

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

func (*FakeTeam) FindWorkerForContainerCallCount

func (fake *FakeTeam) FindWorkerForContainerCallCount() int

func (*FakeTeam) FindWorkerForContainerCalls

func (fake *FakeTeam) FindWorkerForContainerCalls(stub func(string) (db.Worker, bool, error))

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

func (fake *FakeTeam) FindWorkerForVolume(arg1 string) (db.Worker, bool, error)

func (*FakeTeam) FindWorkerForVolumeArgsForCall

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

func (*FakeTeam) FindWorkerForVolumeCallCount

func (fake *FakeTeam) FindWorkerForVolumeCallCount() int

func (*FakeTeam) FindWorkerForVolumeCalls

func (fake *FakeTeam) FindWorkerForVolumeCalls(stub func(string) (db.Worker, bool, error))

func (*FakeTeam) FindWorkerForVolumeReturns

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

func (*FakeTeam) FindWorkerForVolumeReturnsOnCall

func (fake *FakeTeam) FindWorkerForVolumeReturnsOnCall(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) IDCalls

func (fake *FakeTeam) IDCalls(stub func() 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) IsCheckContainer

func (fake *FakeTeam) IsCheckContainer(arg1 string) (bool, error)

func (*FakeTeam) IsCheckContainerArgsForCall

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

func (*FakeTeam) IsCheckContainerCallCount

func (fake *FakeTeam) IsCheckContainerCallCount() int

func (*FakeTeam) IsCheckContainerCalls

func (fake *FakeTeam) IsCheckContainerCalls(stub func(string) (bool, error))

func (*FakeTeam) IsCheckContainerReturns

func (fake *FakeTeam) IsCheckContainerReturns(result1 bool, result2 error)

func (*FakeTeam) IsCheckContainerReturnsOnCall

func (fake *FakeTeam) IsCheckContainerReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeTeam) IsContainerWithinTeam

func (fake *FakeTeam) IsContainerWithinTeam(arg1 string, arg2 bool) (bool, error)

func (*FakeTeam) IsContainerWithinTeamArgsForCall

func (fake *FakeTeam) IsContainerWithinTeamArgsForCall(i int) (string, bool)

func (*FakeTeam) IsContainerWithinTeamCallCount

func (fake *FakeTeam) IsContainerWithinTeamCallCount() int

func (*FakeTeam) IsContainerWithinTeamCalls

func (fake *FakeTeam) IsContainerWithinTeamCalls(stub func(string, bool) (bool, error))

func (*FakeTeam) IsContainerWithinTeamReturns

func (fake *FakeTeam) IsContainerWithinTeamReturns(result1 bool, result2 error)

func (*FakeTeam) IsContainerWithinTeamReturnsOnCall

func (fake *FakeTeam) IsContainerWithinTeamReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeTeam) Name

func (fake *FakeTeam) Name() string

func (*FakeTeam) NameCallCount

func (fake *FakeTeam) NameCallCount() int

func (*FakeTeam) NameCalls

func (fake *FakeTeam) NameCalls(stub func() string)

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

func (fake *FakeTeam) OrderPipelinesCalls(stub func([]string) error)

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(arg1 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) PipelineCalls

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

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

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

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

func (fake *FakeTeam) PrivateAndPublicBuildsCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))

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

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

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

func (fake *FakeTeam) RenameCalls(stub func(string) error)

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(arg1 string, arg2 atc.Config, arg3 db.ConfigVersion, arg4 bool) (db.Pipeline, bool, error)

func (*FakeTeam) SavePipelineArgsForCall

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

func (*FakeTeam) SavePipelineCallCount

func (fake *FakeTeam) SavePipelineCallCount() int

func (*FakeTeam) SavePipelineCalls

func (fake *FakeTeam) SavePipelineCalls(stub func(string, atc.Config, db.ConfigVersion, bool) (db.Pipeline, bool, error))

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(arg1 atc.Worker, arg2 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) SaveWorkerCalls

func (fake *FakeTeam) SaveWorkerCalls(stub func(atc.Worker, time.Duration) (db.Worker, error))

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(arg1 atc.TeamAuth) error

func (*FakeTeam) UpdateProviderAuthArgsForCall

func (fake *FakeTeam) UpdateProviderAuthArgsForCall(i int) atc.TeamAuth

func (*FakeTeam) UpdateProviderAuthCallCount

func (fake *FakeTeam) UpdateProviderAuthCallCount() int

func (*FakeTeam) UpdateProviderAuthCalls

func (fake *FakeTeam) UpdateProviderAuthCalls(stub func(atc.TeamAuth) error)

func (*FakeTeam) UpdateProviderAuthReturns

func (fake *FakeTeam) UpdateProviderAuthReturns(result1 error)

func (*FakeTeam) UpdateProviderAuthReturnsOnCall

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

func (*FakeTeam) Workers

func (fake *FakeTeam) Workers() ([]db.Worker, error)

func (*FakeTeam) WorkersCallCount

func (fake *FakeTeam) WorkersCallCount() int

func (*FakeTeam) WorkersCalls

func (fake *FakeTeam) WorkersCalls(stub func() ([]db.Worker, error))

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 {
	CreateDefaultTeamIfNotExistsStub func() (db.Team, error)

	CreateTeamStub func(atc.Team) (db.Team, error)

	FindTeamStub func(string) (db.Team, bool, error)

	GetByIDStub func(int) db.Team

	GetTeamsStub func() ([]db.Team, error)

	NotifyCacherStub func() error

	NotifyResourceScannerStub func() 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) CreateDefaultTeamIfNotExistsCalls

func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExistsCalls(stub func() (db.Team, error))

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

func (fake *FakeTeamFactory) CreateTeamCalls(stub func(atc.Team) (db.Team, error))

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

func (fake *FakeTeamFactory) FindTeamCalls(stub func(string) (db.Team, bool, error))

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(arg1 int) db.Team

func (*FakeTeamFactory) GetByIDArgsForCall

func (fake *FakeTeamFactory) GetByIDArgsForCall(i int) int

func (*FakeTeamFactory) GetByIDCallCount

func (fake *FakeTeamFactory) GetByIDCallCount() int

func (*FakeTeamFactory) GetByIDCalls

func (fake *FakeTeamFactory) GetByIDCalls(stub func(int) db.Team)

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

func (fake *FakeTeamFactory) GetTeamsCalls(stub func() ([]db.Team, error))

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{}

func (*FakeTeamFactory) NotifyCacher

func (fake *FakeTeamFactory) NotifyCacher() error

func (*FakeTeamFactory) NotifyCacherCallCount

func (fake *FakeTeamFactory) NotifyCacherCallCount() int

func (*FakeTeamFactory) NotifyCacherCalls

func (fake *FakeTeamFactory) NotifyCacherCalls(stub func() error)

func (*FakeTeamFactory) NotifyCacherReturns

func (fake *FakeTeamFactory) NotifyCacherReturns(result1 error)

func (*FakeTeamFactory) NotifyCacherReturnsOnCall

func (fake *FakeTeamFactory) NotifyCacherReturnsOnCall(i int, result1 error)

func (*FakeTeamFactory) NotifyResourceScanner

func (fake *FakeTeamFactory) NotifyResourceScanner() error

func (*FakeTeamFactory) NotifyResourceScannerCallCount

func (fake *FakeTeamFactory) NotifyResourceScannerCallCount() int

func (*FakeTeamFactory) NotifyResourceScannerCalls

func (fake *FakeTeamFactory) NotifyResourceScannerCalls(stub func() error)

func (*FakeTeamFactory) NotifyResourceScannerReturns

func (fake *FakeTeamFactory) NotifyResourceScannerReturns(result1 error)

func (*FakeTeamFactory) NotifyResourceScannerReturnsOnCall

func (fake *FakeTeamFactory) NotifyResourceScannerReturnsOnCall(i int, result1 error)

type FakeTx

type FakeTx struct {
	CommitStub func() error

	EncryptionStrategyStub func() encryption.Strategy

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

	ExecContextStub func(context.Context, string, ...interface{}) (sql.Result, error)

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

	PrepareContextStub func(context.Context, string) (*sql.Stmt, error)

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

	QueryContextStub func(context.Context, string, ...interface{}) (*sql.Rows, error)

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

	QueryRowContextStub func(context.Context, string, ...interface{}) squirrel.RowScanner

	RollbackStub func() error

	StmtStub func(*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) CommitCalls

func (fake *FakeTx) CommitCalls(stub func() error)

func (*FakeTx) CommitReturns

func (fake *FakeTx) CommitReturns(result1 error)

func (*FakeTx) CommitReturnsOnCall

func (fake *FakeTx) CommitReturnsOnCall(i int, result1 error)

func (*FakeTx) EncryptionStrategy

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

func (*FakeTx) EncryptionStrategyCallCount

func (fake *FakeTx) EncryptionStrategyCallCount() int

func (*FakeTx) EncryptionStrategyCalls

func (fake *FakeTx) EncryptionStrategyCalls(stub func() encryption.Strategy)

func (*FakeTx) EncryptionStrategyReturns

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

func (*FakeTx) EncryptionStrategyReturnsOnCall

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

func (*FakeTx) Exec

func (fake *FakeTx) Exec(arg1 string, arg2 ...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) ExecCalls

func (fake *FakeTx) ExecCalls(stub func(string, ...interface{}) (sql.Result, error))

func (*FakeTx) ExecContext

func (fake *FakeTx) ExecContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (sql.Result, error)

func (*FakeTx) ExecContextArgsForCall

func (fake *FakeTx) ExecContextArgsForCall(i int) (context.Context, string, []interface{})

func (*FakeTx) ExecContextCallCount

func (fake *FakeTx) ExecContextCallCount() int

func (*FakeTx) ExecContextCalls

func (fake *FakeTx) ExecContextCalls(stub func(context.Context, string, ...interface{}) (sql.Result, error))

func (*FakeTx) ExecContextReturns

func (fake *FakeTx) ExecContextReturns(result1 sql.Result, result2 error)

func (*FakeTx) ExecContextReturnsOnCall

func (fake *FakeTx) ExecContextReturnsOnCall(i int, result1 sql.Result, result2 error)

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(arg1 string) (*sql.Stmt, error)

func (*FakeTx) PrepareArgsForCall

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

func (*FakeTx) PrepareCallCount

func (fake *FakeTx) PrepareCallCount() int

func (*FakeTx) PrepareCalls

func (fake *FakeTx) PrepareCalls(stub func(string) (*sql.Stmt, error))

func (*FakeTx) PrepareContext

func (fake *FakeTx) PrepareContext(arg1 context.Context, arg2 string) (*sql.Stmt, error)

func (*FakeTx) PrepareContextArgsForCall

func (fake *FakeTx) PrepareContextArgsForCall(i int) (context.Context, string)

func (*FakeTx) PrepareContextCallCount

func (fake *FakeTx) PrepareContextCallCount() int

func (*FakeTx) PrepareContextCalls

func (fake *FakeTx) PrepareContextCalls(stub func(context.Context, string) (*sql.Stmt, error))

func (*FakeTx) PrepareContextReturns

func (fake *FakeTx) PrepareContextReturns(result1 *sql.Stmt, result2 error)

func (*FakeTx) PrepareContextReturnsOnCall

func (fake *FakeTx) PrepareContextReturnsOnCall(i int, result1 *sql.Stmt, result2 error)

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(arg1 string, arg2 ...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) QueryCalls

func (fake *FakeTx) QueryCalls(stub func(string, ...interface{}) (*sql.Rows, error))

func (*FakeTx) QueryContext

func (fake *FakeTx) QueryContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (*sql.Rows, error)

func (*FakeTx) QueryContextArgsForCall

func (fake *FakeTx) QueryContextArgsForCall(i int) (context.Context, string, []interface{})

func (*FakeTx) QueryContextCallCount

func (fake *FakeTx) QueryContextCallCount() int

func (*FakeTx) QueryContextCalls

func (fake *FakeTx) QueryContextCalls(stub func(context.Context, string, ...interface{}) (*sql.Rows, error))

func (*FakeTx) QueryContextReturns

func (fake *FakeTx) QueryContextReturns(result1 *sql.Rows, result2 error)

func (*FakeTx) QueryContextReturnsOnCall

func (fake *FakeTx) QueryContextReturnsOnCall(i int, result1 *sql.Rows, result2 error)

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(arg1 string, arg2 ...interface{}) squirrel.RowScanner

func (*FakeTx) QueryRowArgsForCall

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

func (*FakeTx) QueryRowCallCount

func (fake *FakeTx) QueryRowCallCount() int

func (*FakeTx) QueryRowCalls

func (fake *FakeTx) QueryRowCalls(stub func(string, ...interface{}) squirrel.RowScanner)

func (*FakeTx) QueryRowContext

func (fake *FakeTx) QueryRowContext(arg1 context.Context, arg2 string, arg3 ...interface{}) squirrel.RowScanner

func (*FakeTx) QueryRowContextArgsForCall

func (fake *FakeTx) QueryRowContextArgsForCall(i int) (context.Context, string, []interface{})

func (*FakeTx) QueryRowContextCallCount

func (fake *FakeTx) QueryRowContextCallCount() int

func (*FakeTx) QueryRowContextCalls

func (fake *FakeTx) QueryRowContextCalls(stub func(context.Context, string, ...interface{}) squirrel.RowScanner)

func (*FakeTx) QueryRowContextReturns

func (fake *FakeTx) QueryRowContextReturns(result1 squirrel.RowScanner)

func (*FakeTx) QueryRowContextReturnsOnCall

func (fake *FakeTx) QueryRowContextReturnsOnCall(i int, result1 squirrel.RowScanner)

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

func (fake *FakeTx) RollbackCalls(stub func() error)

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(arg1 *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) StmtCalls

func (fake *FakeTx) StmtCalls(stub func(*sql.Stmt) *sql.Stmt)

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 {
	BaseResourceTypeStub func() *db.UsedBaseResourceType

	DestroyStub func(db.Tx) (bool, error)

	IDStub func() int

	ResourceConfigStub func() db.ResourceConfig

	VersionStub func() atc.Version
	// contains filtered or unexported fields
}

func (*FakeUsedResourceCache) BaseResourceType

func (fake *FakeUsedResourceCache) BaseResourceType() *db.UsedBaseResourceType

func (*FakeUsedResourceCache) BaseResourceTypeCallCount

func (fake *FakeUsedResourceCache) BaseResourceTypeCallCount() int

func (*FakeUsedResourceCache) BaseResourceTypeCalls

func (fake *FakeUsedResourceCache) BaseResourceTypeCalls(stub func() *db.UsedBaseResourceType)

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

func (fake *FakeUsedResourceCache) DestroyCalls(stub func(db.Tx) (bool, error))

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

func (fake *FakeUsedResourceCache) IDCalls(stub func() 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) ResourceConfigCalls

func (fake *FakeUsedResourceCache) ResourceConfigCalls(stub func() db.ResourceConfig)

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

func (fake *FakeUsedResourceCache) VersionCalls(stub func() atc.Version)

func (*FakeUsedResourceCache) VersionReturns

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

func (*FakeUsedResourceCache) VersionReturnsOnCall

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

type FakeUser

type FakeUser struct {
	ConnectorStub func() string

	IDStub func() int

	LastLoginStub func() time.Time

	NameStub func() string

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

func (*FakeUser) Connector

func (fake *FakeUser) Connector() string

func (*FakeUser) ConnectorCallCount

func (fake *FakeUser) ConnectorCallCount() int

func (*FakeUser) ConnectorCalls

func (fake *FakeUser) ConnectorCalls(stub func() string)

func (*FakeUser) ConnectorReturns

func (fake *FakeUser) ConnectorReturns(result1 string)

func (*FakeUser) ConnectorReturnsOnCall

func (fake *FakeUser) ConnectorReturnsOnCall(i int, result1 string)

func (*FakeUser) ID

func (fake *FakeUser) ID() int

func (*FakeUser) IDCallCount

func (fake *FakeUser) IDCallCount() int

func (*FakeUser) IDCalls

func (fake *FakeUser) IDCalls(stub func() int)

func (*FakeUser) IDReturns

func (fake *FakeUser) IDReturns(result1 int)

func (*FakeUser) IDReturnsOnCall

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

func (*FakeUser) Invocations

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

func (*FakeUser) LastLogin

func (fake *FakeUser) LastLogin() time.Time

func (*FakeUser) LastLoginCallCount

func (fake *FakeUser) LastLoginCallCount() int

func (*FakeUser) LastLoginCalls

func (fake *FakeUser) LastLoginCalls(stub func() time.Time)

func (*FakeUser) LastLoginReturns

func (fake *FakeUser) LastLoginReturns(result1 time.Time)

func (*FakeUser) LastLoginReturnsOnCall

func (fake *FakeUser) LastLoginReturnsOnCall(i int, result1 time.Time)

func (*FakeUser) Name

func (fake *FakeUser) Name() string

func (*FakeUser) NameCallCount

func (fake *FakeUser) NameCallCount() int

func (*FakeUser) NameCalls

func (fake *FakeUser) NameCalls(stub func() string)

func (*FakeUser) NameReturns

func (fake *FakeUser) NameReturns(result1 string)

func (*FakeUser) NameReturnsOnCall

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

func (*FakeUser) Sub

func (fake *FakeUser) Sub() string

func (*FakeUser) SubCallCount

func (fake *FakeUser) SubCallCount() int

func (*FakeUser) SubCalls

func (fake *FakeUser) SubCalls(stub func() string)

func (*FakeUser) SubReturns

func (fake *FakeUser) SubReturns(result1 string)

func (*FakeUser) SubReturnsOnCall

func (fake *FakeUser) SubReturnsOnCall(i int, result1 string)

type FakeUserFactory

type FakeUserFactory struct {
	CreateOrUpdateUserStub func(string, string, string) error

	GetAllUsersStub func() ([]db.User, error)

	GetAllUsersByLoginDateStub func(time.Time) ([]db.User, error)
	// contains filtered or unexported fields
}

func (*FakeUserFactory) CreateOrUpdateUser

func (fake *FakeUserFactory) CreateOrUpdateUser(arg1 string, arg2 string, arg3 string) error

func (*FakeUserFactory) CreateOrUpdateUserArgsForCall

func (fake *FakeUserFactory) CreateOrUpdateUserArgsForCall(i int) (string, string, string)

func (*FakeUserFactory) CreateOrUpdateUserCallCount

func (fake *FakeUserFactory) CreateOrUpdateUserCallCount() int

func (*FakeUserFactory) CreateOrUpdateUserCalls

func (fake *FakeUserFactory) CreateOrUpdateUserCalls(stub func(string, string, string) error)

func (*FakeUserFactory) CreateOrUpdateUserReturns

func (fake *FakeUserFactory) CreateOrUpdateUserReturns(result1 error)

func (*FakeUserFactory) CreateOrUpdateUserReturnsOnCall

func (fake *FakeUserFactory) CreateOrUpdateUserReturnsOnCall(i int, result1 error)

func (*FakeUserFactory) GetAllUsers

func (fake *FakeUserFactory) GetAllUsers() ([]db.User, error)

func (*FakeUserFactory) GetAllUsersByLoginDate

func (fake *FakeUserFactory) GetAllUsersByLoginDate(arg1 time.Time) ([]db.User, error)

func (*FakeUserFactory) GetAllUsersByLoginDateArgsForCall

func (fake *FakeUserFactory) GetAllUsersByLoginDateArgsForCall(i int) time.Time

func (*FakeUserFactory) GetAllUsersByLoginDateCallCount

func (fake *FakeUserFactory) GetAllUsersByLoginDateCallCount() int

func (*FakeUserFactory) GetAllUsersByLoginDateCalls

func (fake *FakeUserFactory) GetAllUsersByLoginDateCalls(stub func(time.Time) ([]db.User, error))

func (*FakeUserFactory) GetAllUsersByLoginDateReturns

func (fake *FakeUserFactory) GetAllUsersByLoginDateReturns(result1 []db.User, result2 error)

func (*FakeUserFactory) GetAllUsersByLoginDateReturnsOnCall

func (fake *FakeUserFactory) GetAllUsersByLoginDateReturnsOnCall(i int, result1 []db.User, result2 error)

func (*FakeUserFactory) GetAllUsersCallCount

func (fake *FakeUserFactory) GetAllUsersCallCount() int

func (*FakeUserFactory) GetAllUsersCalls

func (fake *FakeUserFactory) GetAllUsersCalls(stub func() ([]db.User, error))

func (*FakeUserFactory) GetAllUsersReturns

func (fake *FakeUserFactory) GetAllUsersReturns(result1 []db.User, result2 error)

func (*FakeUserFactory) GetAllUsersReturnsOnCall

func (fake *FakeUserFactory) GetAllUsersReturnsOnCall(i int, result1 []db.User, result2 error)

func (*FakeUserFactory) Invocations

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

type FakeVolumeRepository

type FakeVolumeRepository struct {
	CreateBaseResourceTypeVolumeStub func(*db.UsedWorkerBaseResourceType) (db.CreatingVolume, error)

	CreateContainerVolumeStub func(int, string, db.CreatingContainer, string) (db.CreatingVolume, error)

	CreateResourceCertsVolumeStub func(string, *db.UsedWorkerResourceCerts) (db.CreatingVolume, error)

	CreateTaskCacheVolumeStub func(int, *db.UsedWorkerTaskCache) (db.CreatingVolume, error)

	CreateVolumeStub func(int, string, db.VolumeType) (db.CreatingVolume, error)

	DestroyFailedVolumesStub func() (int, error)

	DestroyUnknownVolumesStub func(string, []string) (int, error)

	FindBaseResourceTypeVolumeStub func(*db.UsedWorkerBaseResourceType) (db.CreatingVolume, db.CreatedVolume, error)

	FindContainerVolumeStub func(int, string, db.CreatingContainer, string) (db.CreatingVolume, db.CreatedVolume, error)

	FindCreatedVolumeStub func(string) (db.CreatedVolume, bool, error)

	FindResourceCacheVolumeStub func(string, db.UsedResourceCache) (db.CreatedVolume, bool, error)

	FindResourceCertsVolumeStub func(string, *db.UsedWorkerResourceCerts) (db.CreatingVolume, db.CreatedVolume, error)

	FindTaskCacheVolumeStub func(int, string, db.UsedTaskCache) (db.CreatedVolume, bool, error)

	FindVolumesForContainerStub func(db.CreatedContainer) ([]db.CreatedVolume, error)

	GetDestroyingVolumesStub func(string) ([]string, error)

	GetOrphanedVolumesStub func() ([]db.CreatedVolume, error)

	GetTeamVolumesStub func(int) ([]db.CreatedVolume, error)

	RemoveDestroyingVolumesStub func(string, []string) (int, error)

	RemoveMissingVolumesStub func(time.Duration) (int, error)

	UpdateVolumesMissingSinceStub func(string, []string) error
	// contains filtered or unexported fields
}

func (*FakeVolumeRepository) CreateBaseResourceTypeVolume

func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolume(arg1 *db.UsedWorkerBaseResourceType) (db.CreatingVolume, error)

func (*FakeVolumeRepository) CreateBaseResourceTypeVolumeArgsForCall

func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolumeArgsForCall(i int) *db.UsedWorkerBaseResourceType

func (*FakeVolumeRepository) CreateBaseResourceTypeVolumeCallCount

func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolumeCallCount() int

func (*FakeVolumeRepository) CreateBaseResourceTypeVolumeCalls

func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolumeCalls(stub func(*db.UsedWorkerBaseResourceType) (db.CreatingVolume, error))

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

func (fake *FakeVolumeRepository) CreateContainerVolumeCalls(stub func(int, string, db.CreatingContainer, string) (db.CreatingVolume, error))

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(arg1 string, arg2 *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) CreateResourceCertsVolumeCalls

func (fake *FakeVolumeRepository) CreateResourceCertsVolumeCalls(stub func(string, *db.UsedWorkerResourceCerts) (db.CreatingVolume, error))

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(arg1 int, arg2 *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) CreateTaskCacheVolumeCalls

func (fake *FakeVolumeRepository) CreateTaskCacheVolumeCalls(stub func(int, *db.UsedWorkerTaskCache) (db.CreatingVolume, error))

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

func (fake *FakeVolumeRepository) CreateVolume(arg1 int, arg2 string, arg3 db.VolumeType) (db.CreatingVolume, error)

func (*FakeVolumeRepository) CreateVolumeArgsForCall

func (fake *FakeVolumeRepository) CreateVolumeArgsForCall(i int) (int, string, db.VolumeType)

func (*FakeVolumeRepository) CreateVolumeCallCount

func (fake *FakeVolumeRepository) CreateVolumeCallCount() int

func (*FakeVolumeRepository) CreateVolumeCalls

func (fake *FakeVolumeRepository) CreateVolumeCalls(stub func(int, string, db.VolumeType) (db.CreatingVolume, error))

func (*FakeVolumeRepository) CreateVolumeReturns

func (fake *FakeVolumeRepository) CreateVolumeReturns(result1 db.CreatingVolume, result2 error)

func (*FakeVolumeRepository) CreateVolumeReturnsOnCall

func (fake *FakeVolumeRepository) CreateVolumeReturnsOnCall(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) DestroyFailedVolumesCalls

func (fake *FakeVolumeRepository) DestroyFailedVolumesCalls(stub func() (int, error))

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

func (fake *FakeVolumeRepository) DestroyUnknownVolumes(arg1 string, arg2 []string) (int, error)

func (*FakeVolumeRepository) DestroyUnknownVolumesArgsForCall

func (fake *FakeVolumeRepository) DestroyUnknownVolumesArgsForCall(i int) (string, []string)

func (*FakeVolumeRepository) DestroyUnknownVolumesCallCount

func (fake *FakeVolumeRepository) DestroyUnknownVolumesCallCount() int

func (*FakeVolumeRepository) DestroyUnknownVolumesCalls

func (fake *FakeVolumeRepository) DestroyUnknownVolumesCalls(stub func(string, []string) (int, error))

func (*FakeVolumeRepository) DestroyUnknownVolumesReturns

func (fake *FakeVolumeRepository) DestroyUnknownVolumesReturns(result1 int, result2 error)

func (*FakeVolumeRepository) DestroyUnknownVolumesReturnsOnCall

func (fake *FakeVolumeRepository) DestroyUnknownVolumesReturnsOnCall(i int, result1 int, result2 error)

func (*FakeVolumeRepository) FindBaseResourceTypeVolume

func (fake *FakeVolumeRepository) FindBaseResourceTypeVolume(arg1 *db.UsedWorkerBaseResourceType) (db.CreatingVolume, db.CreatedVolume, error)

func (*FakeVolumeRepository) FindBaseResourceTypeVolumeArgsForCall

func (fake *FakeVolumeRepository) FindBaseResourceTypeVolumeArgsForCall(i int) *db.UsedWorkerBaseResourceType

func (*FakeVolumeRepository) FindBaseResourceTypeVolumeCallCount

func (fake *FakeVolumeRepository) FindBaseResourceTypeVolumeCallCount() int

func (*FakeVolumeRepository) FindBaseResourceTypeVolumeCalls

func (fake *FakeVolumeRepository) FindBaseResourceTypeVolumeCalls(stub func(*db.UsedWorkerBaseResourceType) (db.CreatingVolume, db.CreatedVolume, error))

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

func (fake *FakeVolumeRepository) FindContainerVolumeCalls(stub func(int, string, db.CreatingContainer, string) (db.CreatingVolume, db.CreatedVolume, error))

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(arg1 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) FindCreatedVolumeCalls

func (fake *FakeVolumeRepository) FindCreatedVolumeCalls(stub func(string) (db.CreatedVolume, bool, error))

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

func (fake *FakeVolumeRepository) FindResourceCacheVolumeCalls(stub func(string, db.UsedResourceCache) (db.CreatedVolume, bool, error))

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(arg1 string, arg2 *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) FindResourceCertsVolumeCalls

func (fake *FakeVolumeRepository) FindResourceCertsVolumeCalls(stub func(string, *db.UsedWorkerResourceCerts) (db.CreatingVolume, db.CreatedVolume, error))

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(arg1 int, arg2 string, arg3 db.UsedTaskCache) (db.CreatedVolume, bool, error)

func (*FakeVolumeRepository) FindTaskCacheVolumeArgsForCall

func (fake *FakeVolumeRepository) FindTaskCacheVolumeArgsForCall(i int) (int, string, db.UsedTaskCache)

func (*FakeVolumeRepository) FindTaskCacheVolumeCallCount

func (fake *FakeVolumeRepository) FindTaskCacheVolumeCallCount() int

func (*FakeVolumeRepository) FindTaskCacheVolumeCalls

func (fake *FakeVolumeRepository) FindTaskCacheVolumeCalls(stub func(int, string, db.UsedTaskCache) (db.CreatedVolume, bool, error))

func (*FakeVolumeRepository) FindTaskCacheVolumeReturns

func (fake *FakeVolumeRepository) FindTaskCacheVolumeReturns(result1 db.CreatedVolume, result2 bool, result3 error)

func (*FakeVolumeRepository) FindTaskCacheVolumeReturnsOnCall

func (fake *FakeVolumeRepository) FindTaskCacheVolumeReturnsOnCall(i int, result1 db.CreatedVolume, result2 bool, 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) FindVolumesForContainerCalls

func (fake *FakeVolumeRepository) FindVolumesForContainerCalls(stub func(db.CreatedContainer) ([]db.CreatedVolume, error))

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(arg1 string) ([]string, error)

func (*FakeVolumeRepository) GetDestroyingVolumesArgsForCall

func (fake *FakeVolumeRepository) GetDestroyingVolumesArgsForCall(i int) string

func (*FakeVolumeRepository) GetDestroyingVolumesCallCount

func (fake *FakeVolumeRepository) GetDestroyingVolumesCallCount() int

func (*FakeVolumeRepository) GetDestroyingVolumesCalls

func (fake *FakeVolumeRepository) GetDestroyingVolumesCalls(stub func(string) ([]string, error))

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

func (fake *FakeVolumeRepository) GetOrphanedVolumesCalls(stub func() ([]db.CreatedVolume, error))

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(arg1 int) ([]db.CreatedVolume, error)

func (*FakeVolumeRepository) GetTeamVolumesArgsForCall

func (fake *FakeVolumeRepository) GetTeamVolumesArgsForCall(i int) int

func (*FakeVolumeRepository) GetTeamVolumesCallCount

func (fake *FakeVolumeRepository) GetTeamVolumesCallCount() int

func (*FakeVolumeRepository) GetTeamVolumesCalls

func (fake *FakeVolumeRepository) GetTeamVolumesCalls(stub func(int) ([]db.CreatedVolume, error))

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(arg1 string, arg2 []string) (int, error)

func (*FakeVolumeRepository) RemoveDestroyingVolumesArgsForCall

func (fake *FakeVolumeRepository) RemoveDestroyingVolumesArgsForCall(i int) (string, []string)

func (*FakeVolumeRepository) RemoveDestroyingVolumesCallCount

func (fake *FakeVolumeRepository) RemoveDestroyingVolumesCallCount() int

func (*FakeVolumeRepository) RemoveDestroyingVolumesCalls

func (fake *FakeVolumeRepository) RemoveDestroyingVolumesCalls(stub func(string, []string) (int, error))

func (*FakeVolumeRepository) RemoveDestroyingVolumesReturns

func (fake *FakeVolumeRepository) RemoveDestroyingVolumesReturns(result1 int, result2 error)

func (*FakeVolumeRepository) RemoveDestroyingVolumesReturnsOnCall

func (fake *FakeVolumeRepository) RemoveDestroyingVolumesReturnsOnCall(i int, result1 int, result2 error)

func (*FakeVolumeRepository) RemoveMissingVolumes

func (fake *FakeVolumeRepository) RemoveMissingVolumes(arg1 time.Duration) (int, error)

func (*FakeVolumeRepository) RemoveMissingVolumesArgsForCall

func (fake *FakeVolumeRepository) RemoveMissingVolumesArgsForCall(i int) time.Duration

func (*FakeVolumeRepository) RemoveMissingVolumesCallCount

func (fake *FakeVolumeRepository) RemoveMissingVolumesCallCount() int

func (*FakeVolumeRepository) RemoveMissingVolumesCalls

func (fake *FakeVolumeRepository) RemoveMissingVolumesCalls(stub func(time.Duration) (int, error))

func (*FakeVolumeRepository) RemoveMissingVolumesReturns

func (fake *FakeVolumeRepository) RemoveMissingVolumesReturns(result1 int, result2 error)

func (*FakeVolumeRepository) RemoveMissingVolumesReturnsOnCall

func (fake *FakeVolumeRepository) RemoveMissingVolumesReturnsOnCall(i int, result1 int, result2 error)

func (*FakeVolumeRepository) UpdateVolumesMissingSince

func (fake *FakeVolumeRepository) UpdateVolumesMissingSince(arg1 string, arg2 []string) error

func (*FakeVolumeRepository) UpdateVolumesMissingSinceArgsForCall

func (fake *FakeVolumeRepository) UpdateVolumesMissingSinceArgsForCall(i int) (string, []string)

func (*FakeVolumeRepository) UpdateVolumesMissingSinceCallCount

func (fake *FakeVolumeRepository) UpdateVolumesMissingSinceCallCount() int

func (*FakeVolumeRepository) UpdateVolumesMissingSinceCalls

func (fake *FakeVolumeRepository) UpdateVolumesMissingSinceCalls(stub func(string, []string) error)

func (*FakeVolumeRepository) UpdateVolumesMissingSinceReturns

func (fake *FakeVolumeRepository) UpdateVolumesMissingSinceReturns(result1 error)

func (*FakeVolumeRepository) UpdateVolumesMissingSinceReturnsOnCall

func (fake *FakeVolumeRepository) UpdateVolumesMissingSinceReturnsOnCall(i int, result1 error)

type FakeWall

type FakeWall struct {
	ClearStub func() error

	GetWallStub func() (atc.Wall, error)

	SetWallStub func(atc.Wall) error
	// contains filtered or unexported fields
}

func (*FakeWall) Clear

func (fake *FakeWall) Clear() error

func (*FakeWall) ClearCallCount

func (fake *FakeWall) ClearCallCount() int

func (*FakeWall) ClearCalls

func (fake *FakeWall) ClearCalls(stub func() error)

func (*FakeWall) ClearReturns

func (fake *FakeWall) ClearReturns(result1 error)

func (*FakeWall) ClearReturnsOnCall

func (fake *FakeWall) ClearReturnsOnCall(i int, result1 error)

func (*FakeWall) GetWall

func (fake *FakeWall) GetWall() (atc.Wall, error)

func (*FakeWall) GetWallCallCount

func (fake *FakeWall) GetWallCallCount() int

func (*FakeWall) GetWallCalls

func (fake *FakeWall) GetWallCalls(stub func() (atc.Wall, error))

func (*FakeWall) GetWallReturns

func (fake *FakeWall) GetWallReturns(result1 atc.Wall, result2 error)

func (*FakeWall) GetWallReturnsOnCall

func (fake *FakeWall) GetWallReturnsOnCall(i int, result1 atc.Wall, result2 error)

func (*FakeWall) Invocations

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

func (*FakeWall) SetWall

func (fake *FakeWall) SetWall(arg1 atc.Wall) error

func (*FakeWall) SetWallArgsForCall

func (fake *FakeWall) SetWallArgsForCall(i int) atc.Wall

func (*FakeWall) SetWallCallCount

func (fake *FakeWall) SetWallCallCount() int

func (*FakeWall) SetWallCalls

func (fake *FakeWall) SetWallCalls(stub func(atc.Wall) error)

func (*FakeWall) SetWallReturns

func (fake *FakeWall) SetWallReturns(result1 error)

func (*FakeWall) SetWallReturnsOnCall

func (fake *FakeWall) SetWallReturnsOnCall(i int, result1 error)

type FakeWorker

type FakeWorker struct {
	ActiveContainersStub func() int

	ActiveTasksStub func() (int, error)

	ActiveVolumesStub func() int

	BaggageclaimURLStub func() *string

	CertsPathStub func() *string

	CreateContainerStub func(db.ContainerOwner, db.ContainerMetadata) (db.CreatingContainer, error)

	DecreaseActiveTasksStub func() error

	DeleteStub func() error

	EphemeralStub func() bool

	ExpiresAtStub func() time.Time

	FindContainerStub func(db.ContainerOwner) (db.CreatingContainer, db.CreatedContainer, error)

	GardenAddrStub func() *string

	HTTPProxyURLStub func() string

	HTTPSProxyURLStub func() string

	IncreaseActiveTasksStub func() error

	LandStub func() error

	NameStub func() string

	NoProxyStub func() string

	PlatformStub func() string

	PruneStub func() error

	ReloadStub func() (bool, error)

	ResourceCertsStub func() (*db.UsedWorkerResourceCerts, bool, error)

	ResourceTypesStub func() []atc.WorkerResourceType

	RetireStub func() error

	StartTimeStub func() time.Time

	StateStub func() db.WorkerState

	TagsStub func() []string

	TeamIDStub func() int

	TeamNameStub func() string

	VersionStub func() *string
	// contains filtered or unexported fields
}

func (*FakeWorker) ActiveContainers

func (fake *FakeWorker) ActiveContainers() int

func (*FakeWorker) ActiveContainersCallCount

func (fake *FakeWorker) ActiveContainersCallCount() int

func (*FakeWorker) ActiveContainersCalls

func (fake *FakeWorker) ActiveContainersCalls(stub func() int)

func (*FakeWorker) ActiveContainersReturns

func (fake *FakeWorker) ActiveContainersReturns(result1 int)

func (*FakeWorker) ActiveContainersReturnsOnCall

func (fake *FakeWorker) ActiveContainersReturnsOnCall(i int, result1 int)

func (*FakeWorker) ActiveTasks

func (fake *FakeWorker) ActiveTasks() (int, error)

func (*FakeWorker) ActiveTasksCallCount

func (fake *FakeWorker) ActiveTasksCallCount() int

func (*FakeWorker) ActiveTasksCalls

func (fake *FakeWorker) ActiveTasksCalls(stub func() (int, error))

func (*FakeWorker) ActiveTasksReturns

func (fake *FakeWorker) ActiveTasksReturns(result1 int, result2 error)

func (*FakeWorker) ActiveTasksReturnsOnCall

func (fake *FakeWorker) ActiveTasksReturnsOnCall(i int, result1 int, result2 error)

func (*FakeWorker) ActiveVolumes

func (fake *FakeWorker) ActiveVolumes() int

func (*FakeWorker) ActiveVolumesCallCount

func (fake *FakeWorker) ActiveVolumesCallCount() int

func (*FakeWorker) ActiveVolumesCalls

func (fake *FakeWorker) ActiveVolumesCalls(stub func() int)

func (*FakeWorker) ActiveVolumesReturns

func (fake *FakeWorker) ActiveVolumesReturns(result1 int)

func (*FakeWorker) ActiveVolumesReturnsOnCall

func (fake *FakeWorker) ActiveVolumesReturnsOnCall(i int, result1 int)

func (*FakeWorker) BaggageclaimURL

func (fake *FakeWorker) BaggageclaimURL() *string

func (*FakeWorker) BaggageclaimURLCallCount

func (fake *FakeWorker) BaggageclaimURLCallCount() int

func (*FakeWorker) BaggageclaimURLCalls

func (fake *FakeWorker) BaggageclaimURLCalls(stub func() *string)

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

func (fake *FakeWorker) CertsPathCalls(stub func() *string)

func (*FakeWorker) CertsPathReturns

func (fake *FakeWorker) CertsPathReturns(result1 *string)

func (*FakeWorker) CertsPathReturnsOnCall

func (fake *FakeWorker) CertsPathReturnsOnCall(i int, result1 *string)

func (*FakeWorker) CreateContainer

func (fake *FakeWorker) CreateContainer(arg1 db.ContainerOwner, arg2 db.ContainerMetadata) (db.CreatingContainer, error)

func (*FakeWorker) CreateContainerArgsForCall

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

func (*FakeWorker) CreateContainerCallCount

func (fake *FakeWorker) CreateContainerCallCount() int

func (*FakeWorker) CreateContainerCalls

func (fake *FakeWorker) CreateContainerCalls(stub func(db.ContainerOwner, db.ContainerMetadata) (db.CreatingContainer, error))

func (*FakeWorker) CreateContainerReturns

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

func (*FakeWorker) CreateContainerReturnsOnCall

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

func (*FakeWorker) DecreaseActiveTasks

func (fake *FakeWorker) DecreaseActiveTasks() error

func (*FakeWorker) DecreaseActiveTasksCallCount

func (fake *FakeWorker) DecreaseActiveTasksCallCount() int

func (*FakeWorker) DecreaseActiveTasksCalls

func (fake *FakeWorker) DecreaseActiveTasksCalls(stub func() error)

func (*FakeWorker) DecreaseActiveTasksReturns

func (fake *FakeWorker) DecreaseActiveTasksReturns(result1 error)

func (*FakeWorker) DecreaseActiveTasksReturnsOnCall

func (fake *FakeWorker) DecreaseActiveTasksReturnsOnCall(i int, result1 error)

func (*FakeWorker) Delete

func (fake *FakeWorker) Delete() error

func (*FakeWorker) DeleteCallCount

func (fake *FakeWorker) DeleteCallCount() int

func (*FakeWorker) DeleteCalls

func (fake *FakeWorker) DeleteCalls(stub func() error)

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

func (fake *FakeWorker) EphemeralCalls(stub func() bool)

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

func (fake *FakeWorker) ExpiresAtCalls(stub func() time.Time)

func (*FakeWorker) ExpiresAtReturns

func (fake *FakeWorker) ExpiresAtReturns(result1 time.Time)

func (*FakeWorker) ExpiresAtReturnsOnCall

func (fake *FakeWorker) ExpiresAtReturnsOnCall(i int, result1 time.Time)

func (*FakeWorker) FindContainer

func (fake *FakeWorker) FindContainer(arg1 db.ContainerOwner) (db.CreatingContainer, db.CreatedContainer, error)

func (*FakeWorker) FindContainerArgsForCall

func (fake *FakeWorker) FindContainerArgsForCall(i int) db.ContainerOwner

func (*FakeWorker) FindContainerCallCount

func (fake *FakeWorker) FindContainerCallCount() int

func (*FakeWorker) FindContainerCalls

func (fake *FakeWorker) FindContainerCalls(stub func(db.ContainerOwner) (db.CreatingContainer, db.CreatedContainer, error))

func (*FakeWorker) FindContainerReturns

func (fake *FakeWorker) FindContainerReturns(result1 db.CreatingContainer, result2 db.CreatedContainer, result3 error)

func (*FakeWorker) FindContainerReturnsOnCall

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

func (*FakeWorker) GardenAddr

func (fake *FakeWorker) GardenAddr() *string

func (*FakeWorker) GardenAddrCallCount

func (fake *FakeWorker) GardenAddrCallCount() int

func (*FakeWorker) GardenAddrCalls

func (fake *FakeWorker) GardenAddrCalls(stub func() *string)

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

func (fake *FakeWorker) HTTPProxyURLCalls(stub func() string)

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

func (fake *FakeWorker) HTTPSProxyURLCalls(stub func() string)

func (*FakeWorker) HTTPSProxyURLReturns

func (fake *FakeWorker) HTTPSProxyURLReturns(result1 string)

func (*FakeWorker) HTTPSProxyURLReturnsOnCall

func (fake *FakeWorker) HTTPSProxyURLReturnsOnCall(i int, result1 string)

func (*FakeWorker) IncreaseActiveTasks

func (fake *FakeWorker) IncreaseActiveTasks() error

func (*FakeWorker) IncreaseActiveTasksCallCount

func (fake *FakeWorker) IncreaseActiveTasksCallCount() int

func (*FakeWorker) IncreaseActiveTasksCalls

func (fake *FakeWorker) IncreaseActiveTasksCalls(stub func() error)

func (*FakeWorker) IncreaseActiveTasksReturns

func (fake *FakeWorker) IncreaseActiveTasksReturns(result1 error)

func (*FakeWorker) IncreaseActiveTasksReturnsOnCall

func (fake *FakeWorker) IncreaseActiveTasksReturnsOnCall(i int, result1 error)

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

func (fake *FakeWorker) LandCalls(stub func() error)

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

func (fake *FakeWorker) NameCalls(stub func() string)

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

func (fake *FakeWorker) NoProxyCalls(stub func() string)

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

func (fake *FakeWorker) PlatformCalls(stub func() string)

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

func (fake *FakeWorker) PruneCalls(stub func() error)

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

func (fake *FakeWorker) ReloadCalls(stub func() (bool, error))

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

func (fake *FakeWorker) ResourceCertsCalls(stub func() (*db.UsedWorkerResourceCerts, bool, error))

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

func (fake *FakeWorker) ResourceTypesCalls(stub func() []atc.WorkerResourceType)

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

func (fake *FakeWorker) RetireCalls(stub func() error)

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() time.Time

func (*FakeWorker) StartTimeCallCount

func (fake *FakeWorker) StartTimeCallCount() int

func (*FakeWorker) StartTimeCalls

func (fake *FakeWorker) StartTimeCalls(stub func() time.Time)

func (*FakeWorker) StartTimeReturns

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

func (*FakeWorker) StartTimeReturnsOnCall

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

func (*FakeWorker) State

func (fake *FakeWorker) State() db.WorkerState

func (*FakeWorker) StateCallCount

func (fake *FakeWorker) StateCallCount() int

func (*FakeWorker) StateCalls

func (fake *FakeWorker) StateCalls(stub func() db.WorkerState)

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

func (fake *FakeWorker) TagsCalls(stub func() []string)

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

func (fake *FakeWorker) TeamIDCalls(stub func() 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) TeamNameCalls

func (fake *FakeWorker) TeamNameCalls(stub func() string)

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

func (fake *FakeWorker) VersionCalls(stub func() *string)

func (*FakeWorker) VersionReturns

func (fake *FakeWorker) VersionReturns(result1 *string)

func (*FakeWorker) VersionReturnsOnCall

func (fake *FakeWorker) VersionReturnsOnCall(i int, result1 *string)

type FakeWorkerArtifact

type FakeWorkerArtifact struct {
	BuildIDStub func() int

	CreatedAtStub func() time.Time

	IDStub func() int

	NameStub func() string

	VolumeStub func(int) (db.CreatedVolume, bool, error)
	// contains filtered or unexported fields
}

func (*FakeWorkerArtifact) BuildID

func (fake *FakeWorkerArtifact) BuildID() int

func (*FakeWorkerArtifact) BuildIDCallCount

func (fake *FakeWorkerArtifact) BuildIDCallCount() int

func (*FakeWorkerArtifact) BuildIDCalls

func (fake *FakeWorkerArtifact) BuildIDCalls(stub func() int)

func (*FakeWorkerArtifact) BuildIDReturns

func (fake *FakeWorkerArtifact) BuildIDReturns(result1 int)

func (*FakeWorkerArtifact) BuildIDReturnsOnCall

func (fake *FakeWorkerArtifact) BuildIDReturnsOnCall(i int, result1 int)

func (*FakeWorkerArtifact) CreatedAt

func (fake *FakeWorkerArtifact) CreatedAt() time.Time

func (*FakeWorkerArtifact) CreatedAtCallCount

func (fake *FakeWorkerArtifact) CreatedAtCallCount() int

func (*FakeWorkerArtifact) CreatedAtCalls

func (fake *FakeWorkerArtifact) CreatedAtCalls(stub func() time.Time)

func (*FakeWorkerArtifact) CreatedAtReturns

func (fake *FakeWorkerArtifact) CreatedAtReturns(result1 time.Time)

func (*FakeWorkerArtifact) CreatedAtReturnsOnCall

func (fake *FakeWorkerArtifact) CreatedAtReturnsOnCall(i int, result1 time.Time)

func (*FakeWorkerArtifact) ID

func (fake *FakeWorkerArtifact) ID() int

func (*FakeWorkerArtifact) IDCallCount

func (fake *FakeWorkerArtifact) IDCallCount() int

func (*FakeWorkerArtifact) IDCalls

func (fake *FakeWorkerArtifact) IDCalls(stub func() int)

func (*FakeWorkerArtifact) IDReturns

func (fake *FakeWorkerArtifact) IDReturns(result1 int)

func (*FakeWorkerArtifact) IDReturnsOnCall

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

func (*FakeWorkerArtifact) Invocations

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

func (*FakeWorkerArtifact) Name

func (fake *FakeWorkerArtifact) Name() string

func (*FakeWorkerArtifact) NameCallCount

func (fake *FakeWorkerArtifact) NameCallCount() int

func (*FakeWorkerArtifact) NameCalls

func (fake *FakeWorkerArtifact) NameCalls(stub func() string)

func (*FakeWorkerArtifact) NameReturns

func (fake *FakeWorkerArtifact) NameReturns(result1 string)

func (*FakeWorkerArtifact) NameReturnsOnCall

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

func (*FakeWorkerArtifact) Volume

func (fake *FakeWorkerArtifact) Volume(arg1 int) (db.CreatedVolume, bool, error)

func (*FakeWorkerArtifact) VolumeArgsForCall

func (fake *FakeWorkerArtifact) VolumeArgsForCall(i int) int

func (*FakeWorkerArtifact) VolumeCallCount

func (fake *FakeWorkerArtifact) VolumeCallCount() int

func (*FakeWorkerArtifact) VolumeCalls

func (fake *FakeWorkerArtifact) VolumeCalls(stub func(int) (db.CreatedVolume, bool, error))

func (*FakeWorkerArtifact) VolumeReturns

func (fake *FakeWorkerArtifact) VolumeReturns(result1 db.CreatedVolume, result2 bool, result3 error)

func (*FakeWorkerArtifact) VolumeReturnsOnCall

func (fake *FakeWorkerArtifact) VolumeReturnsOnCall(i int, result1 db.CreatedVolume, result2 bool, result3 error)

type FakeWorkerArtifactLifecycle

type FakeWorkerArtifactLifecycle struct {
	RemoveExpiredArtifactsStub func() error
	// contains filtered or unexported fields
}

func (*FakeWorkerArtifactLifecycle) Invocations

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

func (*FakeWorkerArtifactLifecycle) RemoveExpiredArtifacts

func (fake *FakeWorkerArtifactLifecycle) RemoveExpiredArtifacts() error

func (*FakeWorkerArtifactLifecycle) RemoveExpiredArtifactsCallCount

func (fake *FakeWorkerArtifactLifecycle) RemoveExpiredArtifactsCallCount() int

func (*FakeWorkerArtifactLifecycle) RemoveExpiredArtifactsCalls

func (fake *FakeWorkerArtifactLifecycle) RemoveExpiredArtifactsCalls(stub func() error)

func (*FakeWorkerArtifactLifecycle) RemoveExpiredArtifactsReturns

func (fake *FakeWorkerArtifactLifecycle) RemoveExpiredArtifactsReturns(result1 error)

func (*FakeWorkerArtifactLifecycle) RemoveExpiredArtifactsReturnsOnCall

func (fake *FakeWorkerArtifactLifecycle) RemoveExpiredArtifactsReturnsOnCall(i int, result1 error)

type FakeWorkerBaseResourceTypeFactory

type FakeWorkerBaseResourceTypeFactory struct {
	FindStub func(string, 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) FindCalls

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 {
	BuildContainersCountPerWorkerStub func() (map[string]int, error)

	FindWorkersForContainerByOwnerStub func(db.ContainerOwner) ([]db.Worker, error)

	GetWorkerStub func(string) (db.Worker, bool, error)

	HeartbeatWorkerStub func(atc.Worker, time.Duration) (db.Worker, error)

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

	VisibleWorkersStub func([]string) ([]db.Worker, error)

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

func (*FakeWorkerFactory) BuildContainersCountPerWorker

func (fake *FakeWorkerFactory) BuildContainersCountPerWorker() (map[string]int, error)

func (*FakeWorkerFactory) BuildContainersCountPerWorkerCallCount

func (fake *FakeWorkerFactory) BuildContainersCountPerWorkerCallCount() int

func (*FakeWorkerFactory) BuildContainersCountPerWorkerCalls

func (fake *FakeWorkerFactory) BuildContainersCountPerWorkerCalls(stub func() (map[string]int, error))

func (*FakeWorkerFactory) BuildContainersCountPerWorkerReturns

func (fake *FakeWorkerFactory) BuildContainersCountPerWorkerReturns(result1 map[string]int, result2 error)

func (*FakeWorkerFactory) BuildContainersCountPerWorkerReturnsOnCall

func (fake *FakeWorkerFactory) BuildContainersCountPerWorkerReturnsOnCall(i int, result1 map[string]int, result2 error)

func (*FakeWorkerFactory) FindWorkersForContainerByOwner

func (fake *FakeWorkerFactory) FindWorkersForContainerByOwner(arg1 db.ContainerOwner) ([]db.Worker, error)

func (*FakeWorkerFactory) FindWorkersForContainerByOwnerArgsForCall

func (fake *FakeWorkerFactory) FindWorkersForContainerByOwnerArgsForCall(i int) db.ContainerOwner

func (*FakeWorkerFactory) FindWorkersForContainerByOwnerCallCount

func (fake *FakeWorkerFactory) FindWorkersForContainerByOwnerCallCount() int

func (*FakeWorkerFactory) FindWorkersForContainerByOwnerCalls

func (fake *FakeWorkerFactory) FindWorkersForContainerByOwnerCalls(stub func(db.ContainerOwner) ([]db.Worker, error))

func (*FakeWorkerFactory) FindWorkersForContainerByOwnerReturns

func (fake *FakeWorkerFactory) FindWorkersForContainerByOwnerReturns(result1 []db.Worker, result2 error)

func (*FakeWorkerFactory) FindWorkersForContainerByOwnerReturnsOnCall

func (fake *FakeWorkerFactory) FindWorkersForContainerByOwnerReturnsOnCall(i int, result1 []db.Worker, result2 error)

func (*FakeWorkerFactory) GetWorker

func (fake *FakeWorkerFactory) GetWorker(arg1 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) GetWorkerCalls

func (fake *FakeWorkerFactory) GetWorkerCalls(stub func(string) (db.Worker, bool, error))

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(arg1 atc.Worker, arg2 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) HeartbeatWorkerCalls

func (fake *FakeWorkerFactory) HeartbeatWorkerCalls(stub func(atc.Worker, time.Duration) (db.Worker, error))

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(arg1 atc.Worker, arg2 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) SaveWorkerCalls

func (fake *FakeWorkerFactory) SaveWorkerCalls(stub func(atc.Worker, time.Duration) (db.Worker, error))

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

func (fake *FakeWorkerFactory) VisibleWorkersCalls(stub func([]string) ([]db.Worker, error))

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

func (fake *FakeWorkerFactory) WorkersCalls(stub func() ([]db.Worker, error))

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 {
	DeleteFinishedRetiringWorkersStub func() ([]string, error)

	DeleteUnresponsiveEphemeralWorkersStub func() ([]string, error)

	GetWorkerStateByNameStub func() (map[string]db.WorkerState, error)

	LandFinishedLandingWorkersStub func() ([]string, error)

	StallUnresponsiveWorkersStub 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) DeleteFinishedRetiringWorkersCalls

func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersCalls(stub func() ([]string, error))

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

func (fake *FakeWorkerLifecycle) DeleteUnresponsiveEphemeralWorkersCalls(stub func() ([]string, error))

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

func (fake *FakeWorkerLifecycle) GetWorkerStateByName() (map[string]db.WorkerState, error)

func (*FakeWorkerLifecycle) GetWorkerStateByNameCallCount

func (fake *FakeWorkerLifecycle) GetWorkerStateByNameCallCount() int

func (*FakeWorkerLifecycle) GetWorkerStateByNameCalls

func (fake *FakeWorkerLifecycle) GetWorkerStateByNameCalls(stub func() (map[string]db.WorkerState, error))

func (*FakeWorkerLifecycle) GetWorkerStateByNameReturns

func (fake *FakeWorkerLifecycle) GetWorkerStateByNameReturns(result1 map[string]db.WorkerState, result2 error)

func (*FakeWorkerLifecycle) GetWorkerStateByNameReturnsOnCall

func (fake *FakeWorkerLifecycle) GetWorkerStateByNameReturnsOnCall(i int, result1 map[string]db.WorkerState, 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) LandFinishedLandingWorkersCalls

func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersCalls(stub func() ([]string, error))

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

func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersCalls(stub func() ([]string, error))

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(db.WorkerTaskCache) (*db.UsedWorkerTaskCache, bool, error)

	FindOrCreateStub func(db.WorkerTaskCache) (*db.UsedWorkerTaskCache, error)
	// contains filtered or unexported fields
}

func (*FakeWorkerTaskCacheFactory) Find

func (*FakeWorkerTaskCacheFactory) FindArgsForCall

func (fake *FakeWorkerTaskCacheFactory) FindArgsForCall(i int) db.WorkerTaskCache

func (*FakeWorkerTaskCacheFactory) FindCallCount

func (fake *FakeWorkerTaskCacheFactory) FindCallCount() int

func (*FakeWorkerTaskCacheFactory) FindCalls

func (*FakeWorkerTaskCacheFactory) FindOrCreate

func (*FakeWorkerTaskCacheFactory) FindOrCreateArgsForCall

func (fake *FakeWorkerTaskCacheFactory) FindOrCreateArgsForCall(i int) db.WorkerTaskCache

func (*FakeWorkerTaskCacheFactory) FindOrCreateCallCount

func (fake *FakeWorkerTaskCacheFactory) FindOrCreateCallCount() int

func (*FakeWorkerTaskCacheFactory) FindOrCreateCalls

func (fake *FakeWorkerTaskCacheFactory) FindOrCreateCalls(stub func(db.WorkerTaskCache) (*db.UsedWorkerTaskCache, error))

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