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 ¶
- type FakeAccessTokenFactory
- func (fake *FakeAccessTokenFactory) CreateAccessToken(arg1 string, arg2 db.Claims) error
- func (fake *FakeAccessTokenFactory) CreateAccessTokenArgsForCall(i int) (string, db.Claims)
- func (fake *FakeAccessTokenFactory) CreateAccessTokenCallCount() int
- func (fake *FakeAccessTokenFactory) CreateAccessTokenCalls(stub func(string, db.Claims) error)
- func (fake *FakeAccessTokenFactory) CreateAccessTokenReturns(result1 error)
- func (fake *FakeAccessTokenFactory) CreateAccessTokenReturnsOnCall(i int, result1 error)
- func (fake *FakeAccessTokenFactory) GetAccessToken(arg1 string) (db.AccessToken, bool, error)
- func (fake *FakeAccessTokenFactory) GetAccessTokenArgsForCall(i int) string
- func (fake *FakeAccessTokenFactory) GetAccessTokenCallCount() int
- func (fake *FakeAccessTokenFactory) GetAccessTokenCalls(stub func(string) (db.AccessToken, bool, error))
- func (fake *FakeAccessTokenFactory) GetAccessTokenReturns(result1 db.AccessToken, result2 bool, result3 error)
- func (fake *FakeAccessTokenFactory) GetAccessTokenReturnsOnCall(i int, result1 db.AccessToken, result2 bool, result3 error)
- func (fake *FakeAccessTokenFactory) Invocations() map[string][][]interface{}
- type FakeAccessTokenLifecycle
- func (fake *FakeAccessTokenLifecycle) Invocations() map[string][][]interface{}
- func (fake *FakeAccessTokenLifecycle) RemoveExpiredAccessTokens(arg1 time.Duration) (int, error)
- func (fake *FakeAccessTokenLifecycle) RemoveExpiredAccessTokensArgsForCall(i int) time.Duration
- func (fake *FakeAccessTokenLifecycle) RemoveExpiredAccessTokensCallCount() int
- func (fake *FakeAccessTokenLifecycle) RemoveExpiredAccessTokensCalls(stub func(time.Duration) (int, error))
- func (fake *FakeAccessTokenLifecycle) RemoveExpiredAccessTokensReturns(result1 int, result2 error)
- func (fake *FakeAccessTokenLifecycle) RemoveExpiredAccessTokensReturnsOnCall(i int, result1 int, result2 error)
- type FakeBuild
- func (fake *FakeBuild) AbortNotifier() (db.Notifier, error)
- func (fake *FakeBuild) AbortNotifierCallCount() int
- func (fake *FakeBuild) AbortNotifierCalls(stub func() (db.Notifier, error))
- func (fake *FakeBuild) AbortNotifierReturns(result1 db.Notifier, result2 error)
- func (fake *FakeBuild) AbortNotifierReturnsOnCall(i int, result1 db.Notifier, result2 error)
- func (fake *FakeBuild) AcquireTrackingLock(arg1 lager.Logger, arg2 time.Duration) (lock.Lock, bool, error)
- func (fake *FakeBuild) AcquireTrackingLockArgsForCall(i int) (lager.Logger, time.Duration)
- func (fake *FakeBuild) AcquireTrackingLockCallCount() int
- func (fake *FakeBuild) AcquireTrackingLockCalls(stub func(lager.Logger, time.Duration) (lock.Lock, bool, error))
- func (fake *FakeBuild) AcquireTrackingLockReturns(result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeBuild) AcquireTrackingLockReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeBuild) AdoptInputsAndPipes() ([]db.BuildInput, bool, error)
- func (fake *FakeBuild) AdoptInputsAndPipesCallCount() int
- func (fake *FakeBuild) AdoptInputsAndPipesCalls(stub func() ([]db.BuildInput, bool, error))
- func (fake *FakeBuild) AdoptInputsAndPipesReturns(result1 []db.BuildInput, result2 bool, result3 error)
- func (fake *FakeBuild) AdoptInputsAndPipesReturnsOnCall(i int, result1 []db.BuildInput, result2 bool, result3 error)
- func (fake *FakeBuild) AdoptRerunInputsAndPipes() ([]db.BuildInput, bool, error)
- func (fake *FakeBuild) AdoptRerunInputsAndPipesCallCount() int
- func (fake *FakeBuild) AdoptRerunInputsAndPipesCalls(stub func() ([]db.BuildInput, bool, error))
- func (fake *FakeBuild) AdoptRerunInputsAndPipesReturns(result1 []db.BuildInput, result2 bool, result3 error)
- func (fake *FakeBuild) AdoptRerunInputsAndPipesReturnsOnCall(i int, result1 []db.BuildInput, result2 bool, result3 error)
- func (fake *FakeBuild) Artifact(arg1 int) (db.WorkerArtifact, error)
- func (fake *FakeBuild) ArtifactArgsForCall(i int) int
- func (fake *FakeBuild) ArtifactCallCount() int
- func (fake *FakeBuild) ArtifactCalls(stub func(int) (db.WorkerArtifact, error))
- func (fake *FakeBuild) ArtifactReturns(result1 db.WorkerArtifact, result2 error)
- func (fake *FakeBuild) ArtifactReturnsOnCall(i int, result1 db.WorkerArtifact, result2 error)
- func (fake *FakeBuild) Artifacts() ([]db.WorkerArtifact, error)
- func (fake *FakeBuild) ArtifactsCallCount() int
- func (fake *FakeBuild) ArtifactsCalls(stub func() ([]db.WorkerArtifact, error))
- func (fake *FakeBuild) ArtifactsReturns(result1 []db.WorkerArtifact, result2 error)
- func (fake *FakeBuild) ArtifactsReturnsOnCall(i int, result1 []db.WorkerArtifact, result2 error)
- func (fake *FakeBuild) Delete() (bool, error)
- func (fake *FakeBuild) DeleteCallCount() int
- func (fake *FakeBuild) DeleteCalls(stub func() (bool, error))
- func (fake *FakeBuild) DeleteReturns(result1 bool, result2 error)
- func (fake *FakeBuild) DeleteReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeBuild) EndTime() time.Time
- func (fake *FakeBuild) EndTimeCallCount() int
- func (fake *FakeBuild) EndTimeCalls(stub func() time.Time)
- func (fake *FakeBuild) EndTimeReturns(result1 time.Time)
- func (fake *FakeBuild) EndTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeBuild) Events(arg1 uint) (db.EventSource, error)
- func (fake *FakeBuild) EventsArgsForCall(i int) uint
- func (fake *FakeBuild) EventsCallCount() int
- func (fake *FakeBuild) EventsCalls(stub func(uint) (db.EventSource, error))
- func (fake *FakeBuild) EventsReturns(result1 db.EventSource, result2 error)
- func (fake *FakeBuild) EventsReturnsOnCall(i int, result1 db.EventSource, result2 error)
- func (fake *FakeBuild) Finish(arg1 db.BuildStatus) error
- func (fake *FakeBuild) FinishArgsForCall(i int) db.BuildStatus
- func (fake *FakeBuild) FinishCallCount() int
- func (fake *FakeBuild) FinishCalls(stub func(db.BuildStatus) error)
- func (fake *FakeBuild) FinishReturns(result1 error)
- func (fake *FakeBuild) FinishReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) HasPlan() bool
- func (fake *FakeBuild) HasPlanCallCount() int
- func (fake *FakeBuild) HasPlanCalls(stub func() bool)
- func (fake *FakeBuild) HasPlanReturns(result1 bool)
- func (fake *FakeBuild) HasPlanReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) ID() int
- func (fake *FakeBuild) IDCallCount() int
- func (fake *FakeBuild) IDCalls(stub func() int)
- func (fake *FakeBuild) IDReturns(result1 int)
- func (fake *FakeBuild) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeBuild) InputsReady() bool
- func (fake *FakeBuild) InputsReadyCallCount() int
- func (fake *FakeBuild) InputsReadyCalls(stub func() bool)
- func (fake *FakeBuild) InputsReadyReturns(result1 bool)
- func (fake *FakeBuild) InputsReadyReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) Interceptible() (bool, error)
- func (fake *FakeBuild) InterceptibleCallCount() int
- func (fake *FakeBuild) InterceptibleCalls(stub func() (bool, error))
- func (fake *FakeBuild) InterceptibleReturns(result1 bool, result2 error)
- func (fake *FakeBuild) InterceptibleReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeBuild) Invocations() map[string][][]interface{}
- func (fake *FakeBuild) IsAborted() bool
- func (fake *FakeBuild) IsAbortedCallCount() int
- func (fake *FakeBuild) IsAbortedCalls(stub func() bool)
- func (fake *FakeBuild) IsAbortedReturns(result1 bool)
- func (fake *FakeBuild) IsAbortedReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) IsCompleted() bool
- func (fake *FakeBuild) IsCompletedCallCount() int
- func (fake *FakeBuild) IsCompletedCalls(stub func() bool)
- func (fake *FakeBuild) IsCompletedReturns(result1 bool)
- func (fake *FakeBuild) IsCompletedReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) IsDrained() bool
- func (fake *FakeBuild) IsDrainedCallCount() int
- func (fake *FakeBuild) IsDrainedCalls(stub func() bool)
- func (fake *FakeBuild) IsDrainedReturns(result1 bool)
- func (fake *FakeBuild) IsDrainedReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) IsManuallyTriggered() bool
- func (fake *FakeBuild) IsManuallyTriggeredCallCount() int
- func (fake *FakeBuild) IsManuallyTriggeredCalls(stub func() bool)
- func (fake *FakeBuild) IsManuallyTriggeredReturns(result1 bool)
- func (fake *FakeBuild) IsManuallyTriggeredReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) IsNewerThanLastCheckOf(arg1 db.Resource) bool
- func (fake *FakeBuild) IsNewerThanLastCheckOfArgsForCall(i int) db.Resource
- func (fake *FakeBuild) IsNewerThanLastCheckOfCallCount() int
- func (fake *FakeBuild) IsNewerThanLastCheckOfCalls(stub func(db.Resource) bool)
- func (fake *FakeBuild) IsNewerThanLastCheckOfReturns(result1 bool)
- func (fake *FakeBuild) IsNewerThanLastCheckOfReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) IsRunning() bool
- func (fake *FakeBuild) IsRunningCallCount() int
- func (fake *FakeBuild) IsRunningCalls(stub func() bool)
- func (fake *FakeBuild) IsRunningReturns(result1 bool)
- func (fake *FakeBuild) IsRunningReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) IsScheduled() bool
- func (fake *FakeBuild) IsScheduledCallCount() int
- func (fake *FakeBuild) IsScheduledCalls(stub func() bool)
- func (fake *FakeBuild) IsScheduledReturns(result1 bool)
- func (fake *FakeBuild) IsScheduledReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) JobID() int
- func (fake *FakeBuild) JobIDCallCount() int
- func (fake *FakeBuild) JobIDCalls(stub func() int)
- func (fake *FakeBuild) JobIDReturns(result1 int)
- func (fake *FakeBuild) JobIDReturnsOnCall(i int, result1 int)
- func (fake *FakeBuild) JobName() string
- func (fake *FakeBuild) JobNameCallCount() int
- func (fake *FakeBuild) JobNameCalls(stub func() string)
- func (fake *FakeBuild) JobNameReturns(result1 string)
- func (fake *FakeBuild) JobNameReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) MarkAsAborted() error
- func (fake *FakeBuild) MarkAsAbortedCallCount() int
- func (fake *FakeBuild) MarkAsAbortedCalls(stub func() error)
- func (fake *FakeBuild) MarkAsAbortedReturns(result1 error)
- func (fake *FakeBuild) MarkAsAbortedReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) Name() string
- func (fake *FakeBuild) NameCallCount() int
- func (fake *FakeBuild) NameCalls(stub func() string)
- func (fake *FakeBuild) NameReturns(result1 string)
- func (fake *FakeBuild) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) Pipeline() (db.Pipeline, bool, error)
- func (fake *FakeBuild) PipelineCallCount() int
- func (fake *FakeBuild) PipelineCalls(stub func() (db.Pipeline, bool, error))
- func (fake *FakeBuild) PipelineID() int
- func (fake *FakeBuild) PipelineIDCallCount() int
- func (fake *FakeBuild) PipelineIDCalls(stub func() int)
- func (fake *FakeBuild) PipelineIDReturns(result1 int)
- func (fake *FakeBuild) PipelineIDReturnsOnCall(i int, result1 int)
- func (fake *FakeBuild) PipelineName() string
- func (fake *FakeBuild) PipelineNameCallCount() int
- func (fake *FakeBuild) PipelineNameCalls(stub func() string)
- func (fake *FakeBuild) PipelineNameReturns(result1 string)
- func (fake *FakeBuild) PipelineNameReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) PipelineReturns(result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeBuild) PipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeBuild) Preparation() (db.BuildPreparation, bool, error)
- func (fake *FakeBuild) PreparationCallCount() int
- func (fake *FakeBuild) PreparationCalls(stub func() (db.BuildPreparation, bool, error))
- func (fake *FakeBuild) PreparationReturns(result1 db.BuildPreparation, result2 bool, result3 error)
- func (fake *FakeBuild) PreparationReturnsOnCall(i int, result1 db.BuildPreparation, result2 bool, result3 error)
- func (fake *FakeBuild) PrivatePlan() atc.Plan
- func (fake *FakeBuild) PrivatePlanCallCount() int
- func (fake *FakeBuild) PrivatePlanCalls(stub func() atc.Plan)
- func (fake *FakeBuild) PrivatePlanReturns(result1 atc.Plan)
- func (fake *FakeBuild) PrivatePlanReturnsOnCall(i int, result1 atc.Plan)
- func (fake *FakeBuild) PublicPlan() *json.RawMessage
- func (fake *FakeBuild) PublicPlanCallCount() int
- func (fake *FakeBuild) PublicPlanCalls(stub func() *json.RawMessage)
- func (fake *FakeBuild) PublicPlanReturns(result1 *json.RawMessage)
- func (fake *FakeBuild) PublicPlanReturnsOnCall(i int, result1 *json.RawMessage)
- func (fake *FakeBuild) ReapTime() time.Time
- func (fake *FakeBuild) ReapTimeCallCount() int
- func (fake *FakeBuild) ReapTimeCalls(stub func() time.Time)
- func (fake *FakeBuild) ReapTimeReturns(result1 time.Time)
- func (fake *FakeBuild) ReapTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeBuild) Reload() (bool, error)
- func (fake *FakeBuild) ReloadCallCount() int
- func (fake *FakeBuild) ReloadCalls(stub func() (bool, error))
- func (fake *FakeBuild) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeBuild) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeBuild) RerunNumber() int
- func (fake *FakeBuild) RerunNumberCallCount() int
- func (fake *FakeBuild) RerunNumberCalls(stub func() int)
- func (fake *FakeBuild) RerunNumberReturns(result1 int)
- func (fake *FakeBuild) RerunNumberReturnsOnCall(i int, result1 int)
- func (fake *FakeBuild) RerunOf() int
- func (fake *FakeBuild) RerunOfCallCount() int
- func (fake *FakeBuild) RerunOfCalls(stub func() int)
- func (fake *FakeBuild) RerunOfName() string
- func (fake *FakeBuild) RerunOfNameCallCount() int
- func (fake *FakeBuild) RerunOfNameCalls(stub func() string)
- func (fake *FakeBuild) RerunOfNameReturns(result1 string)
- func (fake *FakeBuild) RerunOfNameReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) RerunOfReturns(result1 int)
- func (fake *FakeBuild) RerunOfReturnsOnCall(i int, result1 int)
- func (fake *FakeBuild) Resources() ([]db.BuildInput, []db.BuildOutput, error)
- func (fake *FakeBuild) ResourcesCallCount() int
- func (fake *FakeBuild) ResourcesCalls(stub func() ([]db.BuildInput, []db.BuildOutput, error))
- func (fake *FakeBuild) ResourcesChecked() (bool, error)
- func (fake *FakeBuild) ResourcesCheckedCallCount() int
- func (fake *FakeBuild) ResourcesCheckedCalls(stub func() (bool, error))
- func (fake *FakeBuild) ResourcesCheckedReturns(result1 bool, result2 error)
- func (fake *FakeBuild) ResourcesCheckedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeBuild) ResourcesReturns(result1 []db.BuildInput, result2 []db.BuildOutput, result3 error)
- func (fake *FakeBuild) ResourcesReturnsOnCall(i int, result1 []db.BuildInput, result2 []db.BuildOutput, result3 error)
- func (fake *FakeBuild) SaveEvent(arg1 atc.Event) error
- func (fake *FakeBuild) SaveEventArgsForCall(i int) atc.Event
- func (fake *FakeBuild) SaveEventCallCount() int
- func (fake *FakeBuild) SaveEventCalls(stub func(atc.Event) error)
- func (fake *FakeBuild) SaveEventReturns(result1 error)
- func (fake *FakeBuild) SaveEventReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) SaveImageResourceVersion(arg1 db.UsedResourceCache) error
- func (fake *FakeBuild) SaveImageResourceVersionArgsForCall(i int) db.UsedResourceCache
- func (fake *FakeBuild) SaveImageResourceVersionCallCount() int
- func (fake *FakeBuild) SaveImageResourceVersionCalls(stub func(db.UsedResourceCache) error)
- func (fake *FakeBuild) SaveImageResourceVersionReturns(result1 error)
- func (fake *FakeBuild) SaveImageResourceVersionReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) SaveOutput(arg1 string, arg2 atc.Source, arg3 atc.VersionedResourceTypes, ...) error
- func (fake *FakeBuild) SaveOutputArgsForCall(i int) (string, atc.Source, atc.VersionedResourceTypes, atc.Version, ...)
- func (fake *FakeBuild) SaveOutputCallCount() int
- func (fake *FakeBuild) SaveOutputCalls(...)
- func (fake *FakeBuild) SaveOutputReturns(result1 error)
- func (fake *FakeBuild) SaveOutputReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) SavePipeline(arg1 string, arg2 int, arg3 atc.Config, arg4 db.ConfigVersion, arg5 bool) (db.Pipeline, bool, error)
- func (fake *FakeBuild) SavePipelineArgsForCall(i int) (string, int, atc.Config, db.ConfigVersion, bool)
- func (fake *FakeBuild) SavePipelineCallCount() int
- func (fake *FakeBuild) SavePipelineCalls(...)
- func (fake *FakeBuild) SavePipelineReturns(result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeBuild) SavePipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeBuild) Schema() string
- func (fake *FakeBuild) SchemaCallCount() int
- func (fake *FakeBuild) SchemaCalls(stub func() string)
- func (fake *FakeBuild) SchemaReturns(result1 string)
- func (fake *FakeBuild) SchemaReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) SetDrained(arg1 bool) error
- func (fake *FakeBuild) SetDrainedArgsForCall(i int) bool
- func (fake *FakeBuild) SetDrainedCallCount() int
- func (fake *FakeBuild) SetDrainedCalls(stub func(bool) error)
- func (fake *FakeBuild) SetDrainedReturns(result1 error)
- func (fake *FakeBuild) SetDrainedReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) SetInterceptible(arg1 bool) error
- func (fake *FakeBuild) SetInterceptibleArgsForCall(i int) bool
- func (fake *FakeBuild) SetInterceptibleCallCount() int
- func (fake *FakeBuild) SetInterceptibleCalls(stub func(bool) error)
- func (fake *FakeBuild) SetInterceptibleReturns(result1 error)
- func (fake *FakeBuild) SetInterceptibleReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) SpanContext() propagators.Supplier
- func (fake *FakeBuild) SpanContextCallCount() int
- func (fake *FakeBuild) SpanContextCalls(stub func() propagators.Supplier)
- func (fake *FakeBuild) SpanContextReturns(result1 propagators.Supplier)
- func (fake *FakeBuild) SpanContextReturnsOnCall(i int, result1 propagators.Supplier)
- func (fake *FakeBuild) Start(arg1 atc.Plan) (bool, error)
- func (fake *FakeBuild) StartArgsForCall(i int) atc.Plan
- func (fake *FakeBuild) StartCallCount() int
- func (fake *FakeBuild) StartCalls(stub func(atc.Plan) (bool, error))
- func (fake *FakeBuild) StartReturns(result1 bool, result2 error)
- func (fake *FakeBuild) StartReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeBuild) StartTime() time.Time
- func (fake *FakeBuild) StartTimeCallCount() int
- func (fake *FakeBuild) StartTimeCalls(stub func() time.Time)
- func (fake *FakeBuild) StartTimeReturns(result1 time.Time)
- func (fake *FakeBuild) StartTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeBuild) Status() db.BuildStatus
- func (fake *FakeBuild) StatusCallCount() int
- func (fake *FakeBuild) StatusCalls(stub func() db.BuildStatus)
- func (fake *FakeBuild) StatusReturns(result1 db.BuildStatus)
- func (fake *FakeBuild) StatusReturnsOnCall(i int, result1 db.BuildStatus)
- func (fake *FakeBuild) TeamID() int
- func (fake *FakeBuild) TeamIDCallCount() int
- func (fake *FakeBuild) TeamIDCalls(stub func() int)
- func (fake *FakeBuild) TeamIDReturns(result1 int)
- func (fake *FakeBuild) TeamIDReturnsOnCall(i int, result1 int)
- func (fake *FakeBuild) TeamName() string
- func (fake *FakeBuild) TeamNameCallCount() int
- func (fake *FakeBuild) TeamNameCalls(stub func() string)
- func (fake *FakeBuild) TeamNameReturns(result1 string)
- func (fake *FakeBuild) TeamNameReturnsOnCall(i int, result1 string)
- type FakeBuildFactory
- func (fake *FakeBuildFactory) AllBuilds(arg1 db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakeBuildFactory) AllBuildsArgsForCall(i int) db.Page
- func (fake *FakeBuildFactory) AllBuildsCallCount() int
- func (fake *FakeBuildFactory) AllBuildsCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))
- func (fake *FakeBuildFactory) AllBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeBuildFactory) AllBuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeBuildFactory) Build(arg1 int) (db.Build, bool, error)
- func (fake *FakeBuildFactory) BuildArgsForCall(i int) int
- func (fake *FakeBuildFactory) BuildCallCount() int
- func (fake *FakeBuildFactory) BuildCalls(stub func(int) (db.Build, bool, error))
- func (fake *FakeBuildFactory) BuildReturns(result1 db.Build, result2 bool, result3 error)
- func (fake *FakeBuildFactory) BuildReturnsOnCall(i int, result1 db.Build, result2 bool, result3 error)
- func (fake *FakeBuildFactory) GetAllStartedBuilds() ([]db.Build, error)
- func (fake *FakeBuildFactory) GetAllStartedBuildsCallCount() int
- func (fake *FakeBuildFactory) GetAllStartedBuildsCalls(stub func() ([]db.Build, error))
- func (fake *FakeBuildFactory) GetAllStartedBuildsReturns(result1 []db.Build, result2 error)
- func (fake *FakeBuildFactory) GetAllStartedBuildsReturnsOnCall(i int, result1 []db.Build, result2 error)
- func (fake *FakeBuildFactory) GetDrainableBuilds() ([]db.Build, error)
- func (fake *FakeBuildFactory) GetDrainableBuildsCallCount() int
- func (fake *FakeBuildFactory) GetDrainableBuildsCalls(stub func() ([]db.Build, error))
- func (fake *FakeBuildFactory) GetDrainableBuildsReturns(result1 []db.Build, result2 error)
- func (fake *FakeBuildFactory) GetDrainableBuildsReturnsOnCall(i int, result1 []db.Build, result2 error)
- func (fake *FakeBuildFactory) Invocations() map[string][][]interface{}
- func (fake *FakeBuildFactory) MarkNonInterceptibleBuilds() error
- func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsCallCount() int
- func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsCalls(stub func() error)
- func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsReturns(result1 error)
- func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsReturnsOnCall(i int, result1 error)
- func (fake *FakeBuildFactory) PublicBuilds(arg1 db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakeBuildFactory) PublicBuildsArgsForCall(i int) db.Page
- func (fake *FakeBuildFactory) PublicBuildsCallCount() int
- func (fake *FakeBuildFactory) PublicBuildsCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))
- func (fake *FakeBuildFactory) PublicBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeBuildFactory) PublicBuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeBuildFactory) VisibleBuilds(arg1 []string, arg2 db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakeBuildFactory) VisibleBuildsArgsForCall(i int) ([]string, db.Page)
- func (fake *FakeBuildFactory) VisibleBuildsCallCount() int
- func (fake *FakeBuildFactory) VisibleBuildsCalls(stub func([]string, db.Page) ([]db.Build, db.Pagination, error))
- func (fake *FakeBuildFactory) VisibleBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeBuildFactory) VisibleBuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
- type FakeCheck
- func (fake *FakeCheck) AcquireTrackingLock(arg1 lager.Logger) (lock.Lock, bool, error)
- func (fake *FakeCheck) AcquireTrackingLockArgsForCall(i int) lager.Logger
- func (fake *FakeCheck) AcquireTrackingLockCallCount() int
- func (fake *FakeCheck) AcquireTrackingLockCalls(stub func(lager.Logger) (lock.Lock, bool, error))
- func (fake *FakeCheck) AcquireTrackingLockReturns(result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeCheck) AcquireTrackingLockReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeCheck) AllCheckables() ([]db.Checkable, error)
- func (fake *FakeCheck) AllCheckablesCallCount() int
- func (fake *FakeCheck) AllCheckablesCalls(stub func() ([]db.Checkable, error))
- func (fake *FakeCheck) AllCheckablesReturns(result1 []db.Checkable, result2 error)
- func (fake *FakeCheck) AllCheckablesReturnsOnCall(i int, result1 []db.Checkable, result2 error)
- func (fake *FakeCheck) BaseResourceTypeID() int
- func (fake *FakeCheck) BaseResourceTypeIDCallCount() int
- func (fake *FakeCheck) BaseResourceTypeIDCalls(stub func() int)
- func (fake *FakeCheck) BaseResourceTypeIDReturns(result1 int)
- func (fake *FakeCheck) BaseResourceTypeIDReturnsOnCall(i int, result1 int)
- func (fake *FakeCheck) CheckError() error
- func (fake *FakeCheck) CheckErrorCallCount() int
- func (fake *FakeCheck) CheckErrorCalls(stub func() error)
- func (fake *FakeCheck) CheckErrorReturns(result1 error)
- func (fake *FakeCheck) CheckErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeCheck) CreateTime() time.Time
- func (fake *FakeCheck) CreateTimeCallCount() int
- func (fake *FakeCheck) CreateTimeCalls(stub func() time.Time)
- func (fake *FakeCheck) CreateTimeReturns(result1 time.Time)
- func (fake *FakeCheck) CreateTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeCheck) EndTime() time.Time
- func (fake *FakeCheck) EndTimeCallCount() int
- func (fake *FakeCheck) EndTimeCalls(stub func() time.Time)
- func (fake *FakeCheck) EndTimeReturns(result1 time.Time)
- func (fake *FakeCheck) EndTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeCheck) Finish() error
- func (fake *FakeCheck) FinishCallCount() int
- func (fake *FakeCheck) FinishCalls(stub func() error)
- func (fake *FakeCheck) FinishReturns(result1 error)
- func (fake *FakeCheck) FinishReturnsOnCall(i int, result1 error)
- func (fake *FakeCheck) FinishWithError(arg1 error) error
- func (fake *FakeCheck) FinishWithErrorArgsForCall(i int) error
- func (fake *FakeCheck) FinishWithErrorCallCount() int
- func (fake *FakeCheck) FinishWithErrorCalls(stub func(error) error)
- func (fake *FakeCheck) FinishWithErrorReturns(result1 error)
- func (fake *FakeCheck) FinishWithErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeCheck) ID() int
- func (fake *FakeCheck) IDCallCount() int
- func (fake *FakeCheck) IDCalls(stub func() int)
- func (fake *FakeCheck) IDReturns(result1 int)
- func (fake *FakeCheck) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeCheck) Invocations() map[string][][]interface{}
- func (fake *FakeCheck) ManuallyTriggered() bool
- func (fake *FakeCheck) ManuallyTriggeredCallCount() int
- func (fake *FakeCheck) ManuallyTriggeredCalls(stub func() bool)
- func (fake *FakeCheck) ManuallyTriggeredReturns(result1 bool)
- func (fake *FakeCheck) ManuallyTriggeredReturnsOnCall(i int, result1 bool)
- func (fake *FakeCheck) Pipeline() (db.Pipeline, bool, error)
- func (fake *FakeCheck) PipelineCallCount() int
- func (fake *FakeCheck) PipelineCalls(stub func() (db.Pipeline, bool, error))
- func (fake *FakeCheck) PipelineID() int
- func (fake *FakeCheck) PipelineIDCallCount() int
- func (fake *FakeCheck) PipelineIDCalls(stub func() int)
- func (fake *FakeCheck) PipelineIDReturns(result1 int)
- func (fake *FakeCheck) PipelineIDReturnsOnCall(i int, result1 int)
- func (fake *FakeCheck) PipelineName() string
- func (fake *FakeCheck) PipelineNameCallCount() int
- func (fake *FakeCheck) PipelineNameCalls(stub func() string)
- func (fake *FakeCheck) PipelineNameReturns(result1 string)
- func (fake *FakeCheck) PipelineNameReturnsOnCall(i int, result1 string)
- func (fake *FakeCheck) PipelineReturns(result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeCheck) PipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeCheck) Plan() atc.Plan
- func (fake *FakeCheck) PlanCallCount() int
- func (fake *FakeCheck) PlanCalls(stub func() atc.Plan)
- func (fake *FakeCheck) PlanReturns(result1 atc.Plan)
- func (fake *FakeCheck) PlanReturnsOnCall(i int, result1 atc.Plan)
- func (fake *FakeCheck) Reload() (bool, error)
- func (fake *FakeCheck) ReloadCallCount() int
- func (fake *FakeCheck) ReloadCalls(stub func() (bool, error))
- func (fake *FakeCheck) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeCheck) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeCheck) ResourceConfigID() int
- func (fake *FakeCheck) ResourceConfigIDCallCount() int
- func (fake *FakeCheck) ResourceConfigIDCalls(stub func() int)
- func (fake *FakeCheck) ResourceConfigIDReturns(result1 int)
- func (fake *FakeCheck) ResourceConfigIDReturnsOnCall(i int, result1 int)
- func (fake *FakeCheck) ResourceConfigScopeID() int
- func (fake *FakeCheck) ResourceConfigScopeIDCallCount() int
- func (fake *FakeCheck) ResourceConfigScopeIDCalls(stub func() int)
- func (fake *FakeCheck) ResourceConfigScopeIDReturns(result1 int)
- func (fake *FakeCheck) ResourceConfigScopeIDReturnsOnCall(i int, result1 int)
- func (fake *FakeCheck) SaveVersions(arg1 db.SpanContext, arg2 []atc.Version) error
- func (fake *FakeCheck) SaveVersionsArgsForCall(i int) (db.SpanContext, []atc.Version)
- func (fake *FakeCheck) SaveVersionsCallCount() int
- func (fake *FakeCheck) SaveVersionsCalls(stub func(db.SpanContext, []atc.Version) error)
- func (fake *FakeCheck) SaveVersionsReturns(result1 error)
- func (fake *FakeCheck) SaveVersionsReturnsOnCall(i int, result1 error)
- func (fake *FakeCheck) Schema() string
- func (fake *FakeCheck) SchemaCallCount() int
- func (fake *FakeCheck) SchemaCalls(stub func() string)
- func (fake *FakeCheck) SchemaReturns(result1 string)
- func (fake *FakeCheck) SchemaReturnsOnCall(i int, result1 string)
- func (fake *FakeCheck) SpanContext() propagators.Supplier
- func (fake *FakeCheck) SpanContextCallCount() int
- func (fake *FakeCheck) SpanContextCalls(stub func() propagators.Supplier)
- func (fake *FakeCheck) SpanContextReturns(result1 propagators.Supplier)
- func (fake *FakeCheck) SpanContextReturnsOnCall(i int, result1 propagators.Supplier)
- func (fake *FakeCheck) Start() error
- func (fake *FakeCheck) StartCallCount() int
- func (fake *FakeCheck) StartCalls(stub func() error)
- func (fake *FakeCheck) StartReturns(result1 error)
- func (fake *FakeCheck) StartReturnsOnCall(i int, result1 error)
- func (fake *FakeCheck) StartTime() time.Time
- func (fake *FakeCheck) StartTimeCallCount() int
- func (fake *FakeCheck) StartTimeCalls(stub func() time.Time)
- func (fake *FakeCheck) StartTimeReturns(result1 time.Time)
- func (fake *FakeCheck) StartTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeCheck) Status() db.CheckStatus
- func (fake *FakeCheck) StatusCallCount() int
- func (fake *FakeCheck) StatusCalls(stub func() db.CheckStatus)
- func (fake *FakeCheck) StatusReturns(result1 db.CheckStatus)
- func (fake *FakeCheck) StatusReturnsOnCall(i int, result1 db.CheckStatus)
- func (fake *FakeCheck) TeamID() int
- func (fake *FakeCheck) TeamIDCallCount() int
- func (fake *FakeCheck) TeamIDCalls(stub func() int)
- func (fake *FakeCheck) TeamIDReturns(result1 int)
- func (fake *FakeCheck) TeamIDReturnsOnCall(i int, result1 int)
- func (fake *FakeCheck) TeamName() string
- func (fake *FakeCheck) TeamNameCallCount() int
- func (fake *FakeCheck) TeamNameCalls(stub func() string)
- func (fake *FakeCheck) TeamNameReturns(result1 string)
- func (fake *FakeCheck) TeamNameReturnsOnCall(i int, result1 string)
- type FakeCheckFactory
- func (fake *FakeCheckFactory) AcquireScanningLock(arg1 lager.Logger) (lock.Lock, bool, error)
- func (fake *FakeCheckFactory) AcquireScanningLockArgsForCall(i int) lager.Logger
- func (fake *FakeCheckFactory) AcquireScanningLockCallCount() int
- func (fake *FakeCheckFactory) AcquireScanningLockCalls(stub func(lager.Logger) (lock.Lock, bool, error))
- func (fake *FakeCheckFactory) AcquireScanningLockReturns(result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeCheckFactory) AcquireScanningLockReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeCheckFactory) Check(arg1 int) (db.Check, bool, error)
- func (fake *FakeCheckFactory) CheckArgsForCall(i int) int
- func (fake *FakeCheckFactory) CheckCallCount() int
- func (fake *FakeCheckFactory) CheckCalls(stub func(int) (db.Check, bool, error))
- func (fake *FakeCheckFactory) CheckReturns(result1 db.Check, result2 bool, result3 error)
- func (fake *FakeCheckFactory) CheckReturnsOnCall(i int, result1 db.Check, result2 bool, result3 error)
- func (fake *FakeCheckFactory) CreateCheck(arg1 int, arg2 bool, arg3 atc.Plan, arg4 db.CheckMetadata, arg5 db.SpanContext) (db.Check, bool, error)
- func (fake *FakeCheckFactory) CreateCheckArgsForCall(i int) (int, bool, atc.Plan, db.CheckMetadata, db.SpanContext)
- func (fake *FakeCheckFactory) CreateCheckCallCount() int
- func (fake *FakeCheckFactory) CreateCheckCalls(...)
- func (fake *FakeCheckFactory) CreateCheckReturns(result1 db.Check, result2 bool, result3 error)
- func (fake *FakeCheckFactory) CreateCheckReturnsOnCall(i int, result1 db.Check, result2 bool, result3 error)
- func (fake *FakeCheckFactory) Invocations() map[string][][]interface{}
- func (fake *FakeCheckFactory) NotifyChecker() error
- func (fake *FakeCheckFactory) NotifyCheckerCallCount() int
- func (fake *FakeCheckFactory) NotifyCheckerCalls(stub func() error)
- func (fake *FakeCheckFactory) NotifyCheckerReturns(result1 error)
- func (fake *FakeCheckFactory) NotifyCheckerReturnsOnCall(i int, result1 error)
- func (fake *FakeCheckFactory) ResourceTypes() ([]db.ResourceType, error)
- func (fake *FakeCheckFactory) ResourceTypesCallCount() int
- func (fake *FakeCheckFactory) ResourceTypesCalls(stub func() ([]db.ResourceType, error))
- func (fake *FakeCheckFactory) ResourceTypesReturns(result1 []db.ResourceType, result2 error)
- func (fake *FakeCheckFactory) ResourceTypesReturnsOnCall(i int, result1 []db.ResourceType, result2 error)
- func (fake *FakeCheckFactory) Resources() ([]db.Resource, error)
- func (fake *FakeCheckFactory) ResourcesCallCount() int
- func (fake *FakeCheckFactory) ResourcesCalls(stub func() ([]db.Resource, error))
- func (fake *FakeCheckFactory) ResourcesReturns(result1 []db.Resource, result2 error)
- func (fake *FakeCheckFactory) ResourcesReturnsOnCall(i int, result1 []db.Resource, result2 error)
- func (fake *FakeCheckFactory) StartedChecks() ([]db.Check, error)
- func (fake *FakeCheckFactory) StartedChecksCallCount() int
- func (fake *FakeCheckFactory) StartedChecksCalls(stub func() ([]db.Check, error))
- func (fake *FakeCheckFactory) StartedChecksReturns(result1 []db.Check, result2 error)
- func (fake *FakeCheckFactory) StartedChecksReturnsOnCall(i int, result1 []db.Check, result2 error)
- func (fake *FakeCheckFactory) TryCreateCheck(arg1 context.Context, arg2 db.Checkable, arg3 db.ResourceTypes, ...) (db.Check, bool, error)
- func (fake *FakeCheckFactory) TryCreateCheckArgsForCall(i int) (context.Context, db.Checkable, db.ResourceTypes, atc.Version, bool)
- func (fake *FakeCheckFactory) TryCreateCheckCallCount() int
- func (fake *FakeCheckFactory) TryCreateCheckCalls(...)
- func (fake *FakeCheckFactory) TryCreateCheckReturns(result1 db.Check, result2 bool, result3 error)
- func (fake *FakeCheckFactory) TryCreateCheckReturnsOnCall(i int, result1 db.Check, result2 bool, result3 error)
- type FakeCheckLifecycle
- func (fake *FakeCheckLifecycle) Invocations() map[string][][]interface{}
- func (fake *FakeCheckLifecycle) RemoveExpiredChecks(arg1 time.Duration) (int, error)
- func (fake *FakeCheckLifecycle) RemoveExpiredChecksArgsForCall(i int) time.Duration
- func (fake *FakeCheckLifecycle) RemoveExpiredChecksCallCount() int
- func (fake *FakeCheckLifecycle) RemoveExpiredChecksCalls(stub func(time.Duration) (int, error))
- func (fake *FakeCheckLifecycle) RemoveExpiredChecksReturns(result1 int, result2 error)
- func (fake *FakeCheckLifecycle) RemoveExpiredChecksReturnsOnCall(i int, result1 int, result2 error)
- type FakeCheckable
- func (fake *FakeCheckable) CheckEvery() string
- func (fake *FakeCheckable) CheckEveryCallCount() int
- func (fake *FakeCheckable) CheckEveryCalls(stub func() string)
- func (fake *FakeCheckable) CheckEveryReturns(result1 string)
- func (fake *FakeCheckable) CheckEveryReturnsOnCall(i int, result1 string)
- func (fake *FakeCheckable) CheckTimeout() string
- func (fake *FakeCheckable) CheckTimeoutCallCount() int
- func (fake *FakeCheckable) CheckTimeoutCalls(stub func() string)
- func (fake *FakeCheckable) CheckTimeoutReturns(result1 string)
- func (fake *FakeCheckable) CheckTimeoutReturnsOnCall(i int, result1 string)
- func (fake *FakeCheckable) CurrentPinnedVersion() atc.Version
- func (fake *FakeCheckable) CurrentPinnedVersionCallCount() int
- func (fake *FakeCheckable) CurrentPinnedVersionCalls(stub func() atc.Version)
- func (fake *FakeCheckable) CurrentPinnedVersionReturns(result1 atc.Version)
- func (fake *FakeCheckable) CurrentPinnedVersionReturnsOnCall(i int, result1 atc.Version)
- func (fake *FakeCheckable) HasWebhook() bool
- func (fake *FakeCheckable) HasWebhookCallCount() int
- func (fake *FakeCheckable) HasWebhookCalls(stub func() bool)
- func (fake *FakeCheckable) HasWebhookReturns(result1 bool)
- func (fake *FakeCheckable) HasWebhookReturnsOnCall(i int, result1 bool)
- func (fake *FakeCheckable) Invocations() map[string][][]interface{}
- func (fake *FakeCheckable) LastCheckEndTime() time.Time
- func (fake *FakeCheckable) LastCheckEndTimeCallCount() int
- func (fake *FakeCheckable) LastCheckEndTimeCalls(stub func() time.Time)
- func (fake *FakeCheckable) LastCheckEndTimeReturns(result1 time.Time)
- func (fake *FakeCheckable) LastCheckEndTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeCheckable) Name() string
- func (fake *FakeCheckable) NameCallCount() int
- func (fake *FakeCheckable) NameCalls(stub func() string)
- func (fake *FakeCheckable) NameReturns(result1 string)
- func (fake *FakeCheckable) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeCheckable) Pipeline() (db.Pipeline, bool, error)
- func (fake *FakeCheckable) PipelineCallCount() int
- func (fake *FakeCheckable) PipelineCalls(stub func() (db.Pipeline, bool, error))
- func (fake *FakeCheckable) PipelineID() int
- func (fake *FakeCheckable) PipelineIDCallCount() int
- func (fake *FakeCheckable) PipelineIDCalls(stub func() int)
- func (fake *FakeCheckable) PipelineIDReturns(result1 int)
- func (fake *FakeCheckable) PipelineIDReturnsOnCall(i int, result1 int)
- func (fake *FakeCheckable) PipelineName() string
- func (fake *FakeCheckable) PipelineNameCallCount() int
- func (fake *FakeCheckable) PipelineNameCalls(stub func() string)
- func (fake *FakeCheckable) PipelineNameReturns(result1 string)
- func (fake *FakeCheckable) PipelineNameReturnsOnCall(i int, result1 string)
- func (fake *FakeCheckable) PipelineReturns(result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeCheckable) PipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeCheckable) ResourceConfigScopeID() int
- func (fake *FakeCheckable) ResourceConfigScopeIDCallCount() int
- func (fake *FakeCheckable) ResourceConfigScopeIDCalls(stub func() int)
- func (fake *FakeCheckable) ResourceConfigScopeIDReturns(result1 int)
- func (fake *FakeCheckable) ResourceConfigScopeIDReturnsOnCall(i int, result1 int)
- func (fake *FakeCheckable) SetCheckSetupError(arg1 error) error
- func (fake *FakeCheckable) SetCheckSetupErrorArgsForCall(i int) error
- func (fake *FakeCheckable) SetCheckSetupErrorCallCount() int
- func (fake *FakeCheckable) SetCheckSetupErrorCalls(stub func(error) error)
- func (fake *FakeCheckable) SetCheckSetupErrorReturns(result1 error)
- func (fake *FakeCheckable) SetCheckSetupErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeCheckable) SetResourceConfig(arg1 atc.Source, arg2 atc.VersionedResourceTypes) (db.ResourceConfigScope, error)
- func (fake *FakeCheckable) SetResourceConfigArgsForCall(i int) (atc.Source, atc.VersionedResourceTypes)
- func (fake *FakeCheckable) SetResourceConfigCallCount() int
- func (fake *FakeCheckable) SetResourceConfigCalls(...)
- func (fake *FakeCheckable) SetResourceConfigReturns(result1 db.ResourceConfigScope, result2 error)
- func (fake *FakeCheckable) SetResourceConfigReturnsOnCall(i int, result1 db.ResourceConfigScope, result2 error)
- func (fake *FakeCheckable) Source() atc.Source
- func (fake *FakeCheckable) SourceCallCount() int
- func (fake *FakeCheckable) SourceCalls(stub func() atc.Source)
- func (fake *FakeCheckable) SourceReturns(result1 atc.Source)
- func (fake *FakeCheckable) SourceReturnsOnCall(i int, result1 atc.Source)
- func (fake *FakeCheckable) Tags() atc.Tags
- func (fake *FakeCheckable) TagsCallCount() int
- func (fake *FakeCheckable) TagsCalls(stub func() atc.Tags)
- func (fake *FakeCheckable) TagsReturns(result1 atc.Tags)
- func (fake *FakeCheckable) TagsReturnsOnCall(i int, result1 atc.Tags)
- func (fake *FakeCheckable) TeamID() int
- func (fake *FakeCheckable) TeamIDCallCount() int
- func (fake *FakeCheckable) TeamIDCalls(stub func() int)
- func (fake *FakeCheckable) TeamIDReturns(result1 int)
- func (fake *FakeCheckable) TeamIDReturnsOnCall(i int, result1 int)
- func (fake *FakeCheckable) TeamName() string
- func (fake *FakeCheckable) TeamNameCallCount() int
- func (fake *FakeCheckable) TeamNameCalls(stub func() string)
- func (fake *FakeCheckable) TeamNameReturns(result1 string)
- func (fake *FakeCheckable) TeamNameReturnsOnCall(i int, result1 string)
- func (fake *FakeCheckable) Type() string
- func (fake *FakeCheckable) TypeCallCount() int
- func (fake *FakeCheckable) TypeCalls(stub func() string)
- func (fake *FakeCheckable) TypeReturns(result1 string)
- func (fake *FakeCheckable) TypeReturnsOnCall(i int, result1 string)
- type FakeClock
- func (fake *FakeClock) Invocations() map[string][][]interface{}
- func (fake *FakeClock) Now() time.Time
- func (fake *FakeClock) NowCallCount() int
- func (fake *FakeClock) NowCalls(stub func() time.Time)
- func (fake *FakeClock) NowReturns(result1 time.Time)
- func (fake *FakeClock) NowReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeClock) Until(arg1 time.Time) time.Duration
- func (fake *FakeClock) UntilArgsForCall(i int) time.Time
- func (fake *FakeClock) UntilCallCount() int
- func (fake *FakeClock) UntilCalls(stub func(time.Time) time.Duration)
- func (fake *FakeClock) UntilReturns(result1 time.Duration)
- func (fake *FakeClock) UntilReturnsOnCall(i int, result1 time.Duration)
- type FakeComponent
- func (fake *FakeComponent) ID() int
- func (fake *FakeComponent) IDCallCount() int
- func (fake *FakeComponent) IDCalls(stub func() int)
- func (fake *FakeComponent) IDReturns(result1 int)
- func (fake *FakeComponent) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeComponent) Interval() time.Duration
- func (fake *FakeComponent) IntervalCallCount() int
- func (fake *FakeComponent) IntervalCalls(stub func() time.Duration)
- func (fake *FakeComponent) IntervalElapsed() bool
- func (fake *FakeComponent) IntervalElapsedCallCount() int
- func (fake *FakeComponent) IntervalElapsedCalls(stub func() bool)
- func (fake *FakeComponent) IntervalElapsedReturns(result1 bool)
- func (fake *FakeComponent) IntervalElapsedReturnsOnCall(i int, result1 bool)
- func (fake *FakeComponent) IntervalReturns(result1 time.Duration)
- func (fake *FakeComponent) IntervalReturnsOnCall(i int, result1 time.Duration)
- func (fake *FakeComponent) Invocations() map[string][][]interface{}
- func (fake *FakeComponent) LastRan() time.Time
- func (fake *FakeComponent) LastRanCallCount() int
- func (fake *FakeComponent) LastRanCalls(stub func() time.Time)
- func (fake *FakeComponent) LastRanReturns(result1 time.Time)
- func (fake *FakeComponent) LastRanReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeComponent) Name() string
- func (fake *FakeComponent) NameCallCount() int
- func (fake *FakeComponent) NameCalls(stub func() string)
- func (fake *FakeComponent) NameReturns(result1 string)
- func (fake *FakeComponent) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeComponent) Paused() bool
- func (fake *FakeComponent) PausedCallCount() int
- func (fake *FakeComponent) PausedCalls(stub func() bool)
- func (fake *FakeComponent) PausedReturns(result1 bool)
- func (fake *FakeComponent) PausedReturnsOnCall(i int, result1 bool)
- func (fake *FakeComponent) Reload() (bool, error)
- func (fake *FakeComponent) ReloadCallCount() int
- func (fake *FakeComponent) ReloadCalls(stub func() (bool, error))
- func (fake *FakeComponent) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeComponent) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeComponent) UpdateLastRan() error
- func (fake *FakeComponent) UpdateLastRanCallCount() int
- func (fake *FakeComponent) UpdateLastRanCalls(stub func() error)
- func (fake *FakeComponent) UpdateLastRanReturns(result1 error)
- func (fake *FakeComponent) UpdateLastRanReturnsOnCall(i int, result1 error)
- type FakeComponentFactory
- func (fake *FakeComponentFactory) CreateOrUpdate(arg1 atc.Component) (db.Component, error)
- func (fake *FakeComponentFactory) CreateOrUpdateArgsForCall(i int) atc.Component
- func (fake *FakeComponentFactory) CreateOrUpdateCallCount() int
- func (fake *FakeComponentFactory) CreateOrUpdateCalls(stub func(atc.Component) (db.Component, error))
- func (fake *FakeComponentFactory) CreateOrUpdateReturns(result1 db.Component, result2 error)
- func (fake *FakeComponentFactory) CreateOrUpdateReturnsOnCall(i int, result1 db.Component, result2 error)
- func (fake *FakeComponentFactory) Find(arg1 string) (db.Component, bool, error)
- func (fake *FakeComponentFactory) FindArgsForCall(i int) string
- func (fake *FakeComponentFactory) FindCallCount() int
- func (fake *FakeComponentFactory) FindCalls(stub func(string) (db.Component, bool, error))
- func (fake *FakeComponentFactory) FindReturns(result1 db.Component, result2 bool, result3 error)
- func (fake *FakeComponentFactory) FindReturnsOnCall(i int, result1 db.Component, result2 bool, result3 error)
- func (fake *FakeComponentFactory) Invocations() map[string][][]interface{}
- type FakeConn
- func (fake *FakeConn) Begin() (db.Tx, error)
- func (fake *FakeConn) BeginCallCount() int
- func (fake *FakeConn) BeginCalls(stub func() (db.Tx, error))
- func (fake *FakeConn) BeginReturns(result1 db.Tx, result2 error)
- func (fake *FakeConn) BeginReturnsOnCall(i int, result1 db.Tx, result2 error)
- func (fake *FakeConn) BeginTx(arg1 context.Context, arg2 *sql.TxOptions) (db.Tx, error)
- func (fake *FakeConn) BeginTxArgsForCall(i int) (context.Context, *sql.TxOptions)
- func (fake *FakeConn) BeginTxCallCount() int
- func (fake *FakeConn) BeginTxCalls(stub func(context.Context, *sql.TxOptions) (db.Tx, error))
- func (fake *FakeConn) BeginTxReturns(result1 db.Tx, result2 error)
- func (fake *FakeConn) BeginTxReturnsOnCall(i int, result1 db.Tx, result2 error)
- func (fake *FakeConn) Bus() db.NotificationsBus
- func (fake *FakeConn) BusCallCount() int
- func (fake *FakeConn) BusCalls(stub func() db.NotificationsBus)
- func (fake *FakeConn) BusReturns(result1 db.NotificationsBus)
- func (fake *FakeConn) BusReturnsOnCall(i int, result1 db.NotificationsBus)
- func (fake *FakeConn) Close() error
- func (fake *FakeConn) CloseCallCount() int
- func (fake *FakeConn) CloseCalls(stub func() error)
- func (fake *FakeConn) CloseReturns(result1 error)
- func (fake *FakeConn) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeConn) Driver() driver.Driver
- func (fake *FakeConn) DriverCallCount() int
- func (fake *FakeConn) DriverCalls(stub func() driver.Driver)
- func (fake *FakeConn) DriverReturns(result1 driver.Driver)
- func (fake *FakeConn) DriverReturnsOnCall(i int, result1 driver.Driver)
- func (fake *FakeConn) EncryptionStrategy() encryption.Strategy
- func (fake *FakeConn) EncryptionStrategyCallCount() int
- func (fake *FakeConn) EncryptionStrategyCalls(stub func() encryption.Strategy)
- func (fake *FakeConn) EncryptionStrategyReturns(result1 encryption.Strategy)
- func (fake *FakeConn) EncryptionStrategyReturnsOnCall(i int, result1 encryption.Strategy)
- func (fake *FakeConn) Exec(arg1 string, arg2 ...interface{}) (sql.Result, error)
- func (fake *FakeConn) ExecArgsForCall(i int) (string, []interface{})
- func (fake *FakeConn) ExecCallCount() int
- func (fake *FakeConn) ExecCalls(stub func(string, ...interface{}) (sql.Result, error))
- func (fake *FakeConn) ExecContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (sql.Result, error)
- func (fake *FakeConn) ExecContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakeConn) ExecContextCallCount() int
- func (fake *FakeConn) ExecContextCalls(stub func(context.Context, string, ...interface{}) (sql.Result, error))
- func (fake *FakeConn) ExecContextReturns(result1 sql.Result, result2 error)
- func (fake *FakeConn) ExecContextReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakeConn) ExecReturns(result1 sql.Result, result2 error)
- func (fake *FakeConn) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakeConn) Invocations() map[string][][]interface{}
- func (fake *FakeConn) Name() string
- func (fake *FakeConn) NameCallCount() int
- func (fake *FakeConn) NameCalls(stub func() string)
- func (fake *FakeConn) NameReturns(result1 string)
- func (fake *FakeConn) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeConn) Ping() error
- func (fake *FakeConn) PingCallCount() int
- func (fake *FakeConn) PingCalls(stub func() error)
- func (fake *FakeConn) PingReturns(result1 error)
- func (fake *FakeConn) PingReturnsOnCall(i int, result1 error)
- func (fake *FakeConn) Prepare(arg1 string) (*sql.Stmt, error)
- func (fake *FakeConn) PrepareArgsForCall(i int) string
- func (fake *FakeConn) PrepareCallCount() int
- func (fake *FakeConn) PrepareCalls(stub func(string) (*sql.Stmt, error))
- func (fake *FakeConn) PrepareContext(arg1 context.Context, arg2 string) (*sql.Stmt, error)
- func (fake *FakeConn) PrepareContextArgsForCall(i int) (context.Context, string)
- func (fake *FakeConn) PrepareContextCallCount() int
- func (fake *FakeConn) PrepareContextCalls(stub func(context.Context, string) (*sql.Stmt, error))
- func (fake *FakeConn) PrepareContextReturns(result1 *sql.Stmt, result2 error)
- func (fake *FakeConn) PrepareContextReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
- func (fake *FakeConn) PrepareReturns(result1 *sql.Stmt, result2 error)
- func (fake *FakeConn) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
- func (fake *FakeConn) Query(arg1 string, arg2 ...interface{}) (*sql.Rows, error)
- func (fake *FakeConn) QueryArgsForCall(i int) (string, []interface{})
- func (fake *FakeConn) QueryCallCount() int
- func (fake *FakeConn) QueryCalls(stub func(string, ...interface{}) (*sql.Rows, error))
- func (fake *FakeConn) QueryContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (*sql.Rows, error)
- func (fake *FakeConn) QueryContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakeConn) QueryContextCallCount() int
- func (fake *FakeConn) QueryContextCalls(stub func(context.Context, string, ...interface{}) (*sql.Rows, error))
- func (fake *FakeConn) QueryContextReturns(result1 *sql.Rows, result2 error)
- func (fake *FakeConn) QueryContextReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakeConn) QueryReturns(result1 *sql.Rows, result2 error)
- func (fake *FakeConn) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakeConn) QueryRow(arg1 string, arg2 ...interface{}) squirrel.RowScanner
- func (fake *FakeConn) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *FakeConn) QueryRowCallCount() int
- func (fake *FakeConn) QueryRowCalls(stub func(string, ...interface{}) squirrel.RowScanner)
- func (fake *FakeConn) QueryRowContext(arg1 context.Context, arg2 string, arg3 ...interface{}) squirrel.RowScanner
- func (fake *FakeConn) QueryRowContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakeConn) QueryRowContextCallCount() int
- func (fake *FakeConn) QueryRowContextCalls(stub func(context.Context, string, ...interface{}) squirrel.RowScanner)
- func (fake *FakeConn) QueryRowContextReturns(result1 squirrel.RowScanner)
- func (fake *FakeConn) QueryRowContextReturnsOnCall(i int, result1 squirrel.RowScanner)
- func (fake *FakeConn) QueryRowReturns(result1 squirrel.RowScanner)
- func (fake *FakeConn) QueryRowReturnsOnCall(i int, result1 squirrel.RowScanner)
- func (fake *FakeConn) SetMaxIdleConns(arg1 int)
- func (fake *FakeConn) SetMaxIdleConnsArgsForCall(i int) int
- func (fake *FakeConn) SetMaxIdleConnsCallCount() int
- func (fake *FakeConn) SetMaxIdleConnsCalls(stub func(int))
- func (fake *FakeConn) SetMaxOpenConns(arg1 int)
- func (fake *FakeConn) SetMaxOpenConnsArgsForCall(i int) int
- func (fake *FakeConn) SetMaxOpenConnsCallCount() int
- func (fake *FakeConn) SetMaxOpenConnsCalls(stub func(int))
- func (fake *FakeConn) Stats() sql.DBStats
- func (fake *FakeConn) StatsCallCount() int
- func (fake *FakeConn) StatsCalls(stub func() sql.DBStats)
- func (fake *FakeConn) StatsReturns(result1 sql.DBStats)
- func (fake *FakeConn) StatsReturnsOnCall(i int, result1 sql.DBStats)
- type FakeContainer
- func (fake *FakeContainer) Handle() string
- func (fake *FakeContainer) HandleCallCount() int
- func (fake *FakeContainer) HandleCalls(stub func() string)
- func (fake *FakeContainer) HandleReturns(result1 string)
- func (fake *FakeContainer) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeContainer) ID() int
- func (fake *FakeContainer) IDCallCount() int
- func (fake *FakeContainer) IDCalls(stub func() int)
- func (fake *FakeContainer) IDReturns(result1 int)
- func (fake *FakeContainer) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeContainer) Invocations() map[string][][]interface{}
- func (fake *FakeContainer) Metadata() db.ContainerMetadata
- func (fake *FakeContainer) MetadataCallCount() int
- func (fake *FakeContainer) MetadataCalls(stub func() db.ContainerMetadata)
- func (fake *FakeContainer) MetadataReturns(result1 db.ContainerMetadata)
- func (fake *FakeContainer) MetadataReturnsOnCall(i int, result1 db.ContainerMetadata)
- func (fake *FakeContainer) State() string
- func (fake *FakeContainer) StateCallCount() int
- func (fake *FakeContainer) StateCalls(stub func() string)
- func (fake *FakeContainer) StateReturns(result1 string)
- func (fake *FakeContainer) StateReturnsOnCall(i int, result1 string)
- func (fake *FakeContainer) WorkerName() string
- func (fake *FakeContainer) WorkerNameCallCount() int
- func (fake *FakeContainer) WorkerNameCalls(stub func() string)
- func (fake *FakeContainer) WorkerNameReturns(result1 string)
- func (fake *FakeContainer) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeContainerOwner
- func (fake *FakeContainerOwner) Create(arg1 db.Tx, arg2 string) (map[string]interface{}, error)
- func (fake *FakeContainerOwner) CreateArgsForCall(i int) (db.Tx, string)
- func (fake *FakeContainerOwner) CreateCallCount() int
- func (fake *FakeContainerOwner) CreateCalls(stub func(db.Tx, string) (map[string]interface{}, error))
- func (fake *FakeContainerOwner) CreateReturns(result1 map[string]interface{}, result2 error)
- func (fake *FakeContainerOwner) CreateReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
- func (fake *FakeContainerOwner) Find(arg1 db.Conn) (squirrel.Eq, bool, error)
- func (fake *FakeContainerOwner) FindArgsForCall(i int) db.Conn
- func (fake *FakeContainerOwner) FindCallCount() int
- func (fake *FakeContainerOwner) FindCalls(stub func(db.Conn) (squirrel.Eq, bool, error))
- func (fake *FakeContainerOwner) FindReturns(result1 squirrel.Eq, result2 bool, result3 error)
- func (fake *FakeContainerOwner) FindReturnsOnCall(i int, result1 squirrel.Eq, result2 bool, result3 error)
- func (fake *FakeContainerOwner) Invocations() map[string][][]interface{}
- type FakeContainerRepository
- func (fake *FakeContainerRepository) DestroyFailedContainers() (int, error)
- func (fake *FakeContainerRepository) DestroyFailedContainersCallCount() int
- func (fake *FakeContainerRepository) DestroyFailedContainersCalls(stub func() (int, error))
- func (fake *FakeContainerRepository) DestroyFailedContainersReturns(result1 int, result2 error)
- func (fake *FakeContainerRepository) DestroyFailedContainersReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeContainerRepository) DestroyUnknownContainers(arg1 string, arg2 []string) (int, error)
- func (fake *FakeContainerRepository) DestroyUnknownContainersArgsForCall(i int) (string, []string)
- func (fake *FakeContainerRepository) DestroyUnknownContainersCallCount() int
- func (fake *FakeContainerRepository) DestroyUnknownContainersCalls(stub func(string, []string) (int, error))
- func (fake *FakeContainerRepository) DestroyUnknownContainersReturns(result1 int, result2 error)
- func (fake *FakeContainerRepository) DestroyUnknownContainersReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeContainerRepository) FindDestroyingContainers(arg1 string) ([]string, error)
- func (fake *FakeContainerRepository) FindDestroyingContainersArgsForCall(i int) string
- func (fake *FakeContainerRepository) FindDestroyingContainersCallCount() int
- func (fake *FakeContainerRepository) FindDestroyingContainersCalls(stub func(string) ([]string, error))
- func (fake *FakeContainerRepository) FindDestroyingContainersReturns(result1 []string, result2 error)
- func (fake *FakeContainerRepository) FindDestroyingContainersReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeContainerRepository) FindOrphanedContainers() ([]db.CreatingContainer, []db.CreatedContainer, []db.DestroyingContainer, error)
- func (fake *FakeContainerRepository) FindOrphanedContainersCallCount() int
- func (fake *FakeContainerRepository) FindOrphanedContainersCalls(...)
- func (fake *FakeContainerRepository) FindOrphanedContainersReturns(result1 []db.CreatingContainer, result2 []db.CreatedContainer, ...)
- func (fake *FakeContainerRepository) FindOrphanedContainersReturnsOnCall(i int, result1 []db.CreatingContainer, result2 []db.CreatedContainer, ...)
- func (fake *FakeContainerRepository) Invocations() map[string][][]interface{}
- func (fake *FakeContainerRepository) RemoveDestroyingContainers(arg1 string, arg2 []string) (int, error)
- func (fake *FakeContainerRepository) RemoveDestroyingContainersArgsForCall(i int) (string, []string)
- func (fake *FakeContainerRepository) RemoveDestroyingContainersCallCount() int
- func (fake *FakeContainerRepository) RemoveDestroyingContainersCalls(stub func(string, []string) (int, error))
- func (fake *FakeContainerRepository) RemoveDestroyingContainersReturns(result1 int, result2 error)
- func (fake *FakeContainerRepository) RemoveDestroyingContainersReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeContainerRepository) RemoveMissingContainers(arg1 time.Duration) (int, error)
- func (fake *FakeContainerRepository) RemoveMissingContainersArgsForCall(i int) time.Duration
- func (fake *FakeContainerRepository) RemoveMissingContainersCallCount() int
- func (fake *FakeContainerRepository) RemoveMissingContainersCalls(stub func(time.Duration) (int, error))
- func (fake *FakeContainerRepository) RemoveMissingContainersReturns(result1 int, result2 error)
- func (fake *FakeContainerRepository) RemoveMissingContainersReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeContainerRepository) UpdateContainersMissingSince(arg1 string, arg2 []string) error
- func (fake *FakeContainerRepository) UpdateContainersMissingSinceArgsForCall(i int) (string, []string)
- func (fake *FakeContainerRepository) UpdateContainersMissingSinceCallCount() int
- func (fake *FakeContainerRepository) UpdateContainersMissingSinceCalls(stub func(string, []string) error)
- func (fake *FakeContainerRepository) UpdateContainersMissingSinceReturns(result1 error)
- func (fake *FakeContainerRepository) UpdateContainersMissingSinceReturnsOnCall(i int, result1 error)
- type FakeCreatedContainer
- func (fake *FakeCreatedContainer) Destroying() (db.DestroyingContainer, error)
- func (fake *FakeCreatedContainer) DestroyingCallCount() int
- func (fake *FakeCreatedContainer) DestroyingCalls(stub func() (db.DestroyingContainer, error))
- func (fake *FakeCreatedContainer) DestroyingReturns(result1 db.DestroyingContainer, result2 error)
- func (fake *FakeCreatedContainer) DestroyingReturnsOnCall(i int, result1 db.DestroyingContainer, result2 error)
- func (fake *FakeCreatedContainer) Handle() string
- func (fake *FakeCreatedContainer) HandleCallCount() int
- func (fake *FakeCreatedContainer) HandleCalls(stub func() string)
- func (fake *FakeCreatedContainer) HandleReturns(result1 string)
- func (fake *FakeCreatedContainer) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedContainer) ID() int
- func (fake *FakeCreatedContainer) IDCallCount() int
- func (fake *FakeCreatedContainer) IDCalls(stub func() int)
- func (fake *FakeCreatedContainer) IDReturns(result1 int)
- func (fake *FakeCreatedContainer) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeCreatedContainer) Invocations() map[string][][]interface{}
- func (fake *FakeCreatedContainer) LastHijack() time.Time
- func (fake *FakeCreatedContainer) LastHijackCallCount() int
- func (fake *FakeCreatedContainer) LastHijackCalls(stub func() time.Time)
- func (fake *FakeCreatedContainer) LastHijackReturns(result1 time.Time)
- func (fake *FakeCreatedContainer) LastHijackReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeCreatedContainer) Metadata() db.ContainerMetadata
- func (fake *FakeCreatedContainer) MetadataCallCount() int
- func (fake *FakeCreatedContainer) MetadataCalls(stub func() db.ContainerMetadata)
- func (fake *FakeCreatedContainer) MetadataReturns(result1 db.ContainerMetadata)
- func (fake *FakeCreatedContainer) MetadataReturnsOnCall(i int, result1 db.ContainerMetadata)
- func (fake *FakeCreatedContainer) State() string
- func (fake *FakeCreatedContainer) StateCallCount() int
- func (fake *FakeCreatedContainer) StateCalls(stub func() string)
- func (fake *FakeCreatedContainer) StateReturns(result1 string)
- func (fake *FakeCreatedContainer) StateReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedContainer) UpdateLastHijack() error
- func (fake *FakeCreatedContainer) UpdateLastHijackCallCount() int
- func (fake *FakeCreatedContainer) UpdateLastHijackCalls(stub func() error)
- func (fake *FakeCreatedContainer) UpdateLastHijackReturns(result1 error)
- func (fake *FakeCreatedContainer) UpdateLastHijackReturnsOnCall(i int, result1 error)
- func (fake *FakeCreatedContainer) WorkerName() string
- func (fake *FakeCreatedContainer) WorkerNameCallCount() int
- func (fake *FakeCreatedContainer) WorkerNameCalls(stub func() string)
- func (fake *FakeCreatedContainer) WorkerNameReturns(result1 string)
- func (fake *FakeCreatedContainer) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeCreatedVolume
- func (fake *FakeCreatedVolume) BaseResourceType() (*db.UsedWorkerBaseResourceType, error)
- func (fake *FakeCreatedVolume) BaseResourceTypeCallCount() int
- func (fake *FakeCreatedVolume) BaseResourceTypeCalls(stub func() (*db.UsedWorkerBaseResourceType, error))
- func (fake *FakeCreatedVolume) BaseResourceTypeReturns(result1 *db.UsedWorkerBaseResourceType, result2 error)
- func (fake *FakeCreatedVolume) BaseResourceTypeReturnsOnCall(i int, result1 *db.UsedWorkerBaseResourceType, result2 error)
- func (fake *FakeCreatedVolume) ContainerHandle() string
- func (fake *FakeCreatedVolume) ContainerHandleCallCount() int
- func (fake *FakeCreatedVolume) ContainerHandleCalls(stub func() string)
- func (fake *FakeCreatedVolume) ContainerHandleReturns(result1 string)
- func (fake *FakeCreatedVolume) ContainerHandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedVolume) CreateChildForContainer(arg1 db.CreatingContainer, arg2 string) (db.CreatingVolume, error)
- func (fake *FakeCreatedVolume) CreateChildForContainerArgsForCall(i int) (db.CreatingContainer, string)
- func (fake *FakeCreatedVolume) CreateChildForContainerCallCount() int
- func (fake *FakeCreatedVolume) CreateChildForContainerCalls(stub func(db.CreatingContainer, string) (db.CreatingVolume, error))
- func (fake *FakeCreatedVolume) CreateChildForContainerReturns(result1 db.CreatingVolume, result2 error)
- func (fake *FakeCreatedVolume) CreateChildForContainerReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)
- func (fake *FakeCreatedVolume) Destroying() (db.DestroyingVolume, error)
- func (fake *FakeCreatedVolume) DestroyingCallCount() int
- func (fake *FakeCreatedVolume) DestroyingCalls(stub func() (db.DestroyingVolume, error))
- func (fake *FakeCreatedVolume) DestroyingReturns(result1 db.DestroyingVolume, result2 error)
- func (fake *FakeCreatedVolume) DestroyingReturnsOnCall(i int, result1 db.DestroyingVolume, result2 error)
- func (fake *FakeCreatedVolume) GetResourceCacheID() int
- func (fake *FakeCreatedVolume) GetResourceCacheIDCallCount() int
- func (fake *FakeCreatedVolume) GetResourceCacheIDCalls(stub func() int)
- func (fake *FakeCreatedVolume) GetResourceCacheIDReturns(result1 int)
- func (fake *FakeCreatedVolume) GetResourceCacheIDReturnsOnCall(i int, result1 int)
- func (fake *FakeCreatedVolume) Handle() string
- func (fake *FakeCreatedVolume) HandleCallCount() int
- func (fake *FakeCreatedVolume) HandleCalls(stub func() string)
- func (fake *FakeCreatedVolume) HandleReturns(result1 string)
- func (fake *FakeCreatedVolume) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedVolume) InitializeArtifact(arg1 string, arg2 int) (db.WorkerArtifact, error)
- func (fake *FakeCreatedVolume) InitializeArtifactArgsForCall(i int) (string, int)
- func (fake *FakeCreatedVolume) InitializeArtifactCallCount() int
- func (fake *FakeCreatedVolume) InitializeArtifactCalls(stub func(string, int) (db.WorkerArtifact, error))
- func (fake *FakeCreatedVolume) InitializeArtifactReturns(result1 db.WorkerArtifact, result2 error)
- func (fake *FakeCreatedVolume) InitializeArtifactReturnsOnCall(i int, result1 db.WorkerArtifact, result2 error)
- func (fake *FakeCreatedVolume) InitializeResourceCache(arg1 db.UsedResourceCache) error
- func (fake *FakeCreatedVolume) InitializeResourceCacheArgsForCall(i int) db.UsedResourceCache
- func (fake *FakeCreatedVolume) InitializeResourceCacheCallCount() int
- func (fake *FakeCreatedVolume) InitializeResourceCacheCalls(stub func(db.UsedResourceCache) error)
- func (fake *FakeCreatedVolume) InitializeResourceCacheReturns(result1 error)
- func (fake *FakeCreatedVolume) InitializeResourceCacheReturnsOnCall(i int, result1 error)
- func (fake *FakeCreatedVolume) InitializeTaskCache(arg1 int, arg2 string, arg3 string) error
- func (fake *FakeCreatedVolume) InitializeTaskCacheArgsForCall(i int) (int, string, string)
- func (fake *FakeCreatedVolume) InitializeTaskCacheCallCount() int
- func (fake *FakeCreatedVolume) InitializeTaskCacheCalls(stub func(int, string, string) error)
- func (fake *FakeCreatedVolume) InitializeTaskCacheReturns(result1 error)
- func (fake *FakeCreatedVolume) InitializeTaskCacheReturnsOnCall(i int, result1 error)
- func (fake *FakeCreatedVolume) Invocations() map[string][][]interface{}
- func (fake *FakeCreatedVolume) ParentHandle() string
- func (fake *FakeCreatedVolume) ParentHandleCallCount() int
- func (fake *FakeCreatedVolume) ParentHandleCalls(stub func() string)
- func (fake *FakeCreatedVolume) ParentHandleReturns(result1 string)
- func (fake *FakeCreatedVolume) ParentHandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedVolume) Path() string
- func (fake *FakeCreatedVolume) PathCallCount() int
- func (fake *FakeCreatedVolume) PathCalls(stub func() string)
- func (fake *FakeCreatedVolume) PathReturns(result1 string)
- func (fake *FakeCreatedVolume) PathReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedVolume) ResourceType() (*db.VolumeResourceType, error)
- func (fake *FakeCreatedVolume) ResourceTypeCallCount() int
- func (fake *FakeCreatedVolume) ResourceTypeCalls(stub func() (*db.VolumeResourceType, error))
- func (fake *FakeCreatedVolume) ResourceTypeReturns(result1 *db.VolumeResourceType, result2 error)
- func (fake *FakeCreatedVolume) ResourceTypeReturnsOnCall(i int, result1 *db.VolumeResourceType, result2 error)
- func (fake *FakeCreatedVolume) TaskIdentifier() (string, string, string, error)
- func (fake *FakeCreatedVolume) TaskIdentifierCallCount() int
- func (fake *FakeCreatedVolume) TaskIdentifierCalls(stub func() (string, string, string, error))
- func (fake *FakeCreatedVolume) TaskIdentifierReturns(result1 string, result2 string, result3 string, result4 error)
- func (fake *FakeCreatedVolume) TaskIdentifierReturnsOnCall(i int, result1 string, result2 string, result3 string, result4 error)
- func (fake *FakeCreatedVolume) TeamID() int
- func (fake *FakeCreatedVolume) TeamIDCallCount() int
- func (fake *FakeCreatedVolume) TeamIDCalls(stub func() int)
- func (fake *FakeCreatedVolume) TeamIDReturns(result1 int)
- func (fake *FakeCreatedVolume) TeamIDReturnsOnCall(i int, result1 int)
- func (fake *FakeCreatedVolume) Type() db.VolumeType
- func (fake *FakeCreatedVolume) TypeCallCount() int
- func (fake *FakeCreatedVolume) TypeCalls(stub func() db.VolumeType)
- func (fake *FakeCreatedVolume) TypeReturns(result1 db.VolumeType)
- func (fake *FakeCreatedVolume) TypeReturnsOnCall(i int, result1 db.VolumeType)
- func (fake *FakeCreatedVolume) WorkerArtifactID() int
- func (fake *FakeCreatedVolume) WorkerArtifactIDCallCount() int
- func (fake *FakeCreatedVolume) WorkerArtifactIDCalls(stub func() int)
- func (fake *FakeCreatedVolume) WorkerArtifactIDReturns(result1 int)
- func (fake *FakeCreatedVolume) WorkerArtifactIDReturnsOnCall(i int, result1 int)
- func (fake *FakeCreatedVolume) WorkerName() string
- func (fake *FakeCreatedVolume) WorkerNameCallCount() int
- func (fake *FakeCreatedVolume) WorkerNameCalls(stub func() string)
- func (fake *FakeCreatedVolume) WorkerNameReturns(result1 string)
- func (fake *FakeCreatedVolume) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeCreatingContainer
- func (fake *FakeCreatingContainer) Created() (db.CreatedContainer, error)
- func (fake *FakeCreatingContainer) CreatedCallCount() int
- func (fake *FakeCreatingContainer) CreatedCalls(stub func() (db.CreatedContainer, error))
- func (fake *FakeCreatingContainer) CreatedReturns(result1 db.CreatedContainer, result2 error)
- func (fake *FakeCreatingContainer) CreatedReturnsOnCall(i int, result1 db.CreatedContainer, result2 error)
- func (fake *FakeCreatingContainer) Failed() (db.FailedContainer, error)
- func (fake *FakeCreatingContainer) FailedCallCount() int
- func (fake *FakeCreatingContainer) FailedCalls(stub func() (db.FailedContainer, error))
- func (fake *FakeCreatingContainer) FailedReturns(result1 db.FailedContainer, result2 error)
- func (fake *FakeCreatingContainer) FailedReturnsOnCall(i int, result1 db.FailedContainer, result2 error)
- func (fake *FakeCreatingContainer) Handle() string
- func (fake *FakeCreatingContainer) HandleCallCount() int
- func (fake *FakeCreatingContainer) HandleCalls(stub func() string)
- func (fake *FakeCreatingContainer) HandleReturns(result1 string)
- func (fake *FakeCreatingContainer) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatingContainer) ID() int
- func (fake *FakeCreatingContainer) IDCallCount() int
- func (fake *FakeCreatingContainer) IDCalls(stub func() int)
- func (fake *FakeCreatingContainer) IDReturns(result1 int)
- func (fake *FakeCreatingContainer) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeCreatingContainer) Invocations() map[string][][]interface{}
- func (fake *FakeCreatingContainer) Metadata() db.ContainerMetadata
- func (fake *FakeCreatingContainer) MetadataCallCount() int
- func (fake *FakeCreatingContainer) MetadataCalls(stub func() db.ContainerMetadata)
- func (fake *FakeCreatingContainer) MetadataReturns(result1 db.ContainerMetadata)
- func (fake *FakeCreatingContainer) MetadataReturnsOnCall(i int, result1 db.ContainerMetadata)
- func (fake *FakeCreatingContainer) State() string
- func (fake *FakeCreatingContainer) StateCallCount() int
- func (fake *FakeCreatingContainer) StateCalls(stub func() string)
- func (fake *FakeCreatingContainer) StateReturns(result1 string)
- func (fake *FakeCreatingContainer) StateReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatingContainer) WorkerName() string
- func (fake *FakeCreatingContainer) WorkerNameCallCount() int
- func (fake *FakeCreatingContainer) WorkerNameCalls(stub func() string)
- func (fake *FakeCreatingContainer) WorkerNameReturns(result1 string)
- func (fake *FakeCreatingContainer) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeCreatingVolume
- func (fake *FakeCreatingVolume) Created() (db.CreatedVolume, error)
- func (fake *FakeCreatingVolume) CreatedCallCount() int
- func (fake *FakeCreatingVolume) CreatedCalls(stub func() (db.CreatedVolume, error))
- func (fake *FakeCreatingVolume) CreatedReturns(result1 db.CreatedVolume, result2 error)
- func (fake *FakeCreatingVolume) CreatedReturnsOnCall(i int, result1 db.CreatedVolume, result2 error)
- func (fake *FakeCreatingVolume) Failed() (db.FailedVolume, error)
- func (fake *FakeCreatingVolume) FailedCallCount() int
- func (fake *FakeCreatingVolume) FailedCalls(stub func() (db.FailedVolume, error))
- func (fake *FakeCreatingVolume) FailedReturns(result1 db.FailedVolume, result2 error)
- func (fake *FakeCreatingVolume) FailedReturnsOnCall(i int, result1 db.FailedVolume, result2 error)
- func (fake *FakeCreatingVolume) Handle() string
- func (fake *FakeCreatingVolume) HandleCallCount() int
- func (fake *FakeCreatingVolume) HandleCalls(stub func() string)
- func (fake *FakeCreatingVolume) HandleReturns(result1 string)
- func (fake *FakeCreatingVolume) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatingVolume) ID() int
- func (fake *FakeCreatingVolume) IDCallCount() int
- func (fake *FakeCreatingVolume) IDCalls(stub func() int)
- func (fake *FakeCreatingVolume) IDReturns(result1 int)
- func (fake *FakeCreatingVolume) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeCreatingVolume) Invocations() map[string][][]interface{}
- type FakeDestroyingContainer
- func (fake *FakeDestroyingContainer) Destroy() (bool, error)
- func (fake *FakeDestroyingContainer) DestroyCallCount() int
- func (fake *FakeDestroyingContainer) DestroyCalls(stub func() (bool, error))
- func (fake *FakeDestroyingContainer) DestroyReturns(result1 bool, result2 error)
- func (fake *FakeDestroyingContainer) DestroyReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeDestroyingContainer) Handle() string
- func (fake *FakeDestroyingContainer) HandleCallCount() int
- func (fake *FakeDestroyingContainer) HandleCalls(stub func() string)
- func (fake *FakeDestroyingContainer) HandleReturns(result1 string)
- func (fake *FakeDestroyingContainer) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeDestroyingContainer) ID() int
- func (fake *FakeDestroyingContainer) IDCallCount() int
- func (fake *FakeDestroyingContainer) IDCalls(stub func() int)
- func (fake *FakeDestroyingContainer) IDReturns(result1 int)
- func (fake *FakeDestroyingContainer) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeDestroyingContainer) Invocations() map[string][][]interface{}
- func (fake *FakeDestroyingContainer) Metadata() db.ContainerMetadata
- func (fake *FakeDestroyingContainer) MetadataCallCount() int
- func (fake *FakeDestroyingContainer) MetadataCalls(stub func() db.ContainerMetadata)
- func (fake *FakeDestroyingContainer) MetadataReturns(result1 db.ContainerMetadata)
- func (fake *FakeDestroyingContainer) MetadataReturnsOnCall(i int, result1 db.ContainerMetadata)
- func (fake *FakeDestroyingContainer) State() string
- func (fake *FakeDestroyingContainer) StateCallCount() int
- func (fake *FakeDestroyingContainer) StateCalls(stub func() string)
- func (fake *FakeDestroyingContainer) StateReturns(result1 string)
- func (fake *FakeDestroyingContainer) StateReturnsOnCall(i int, result1 string)
- func (fake *FakeDestroyingContainer) WorkerName() string
- func (fake *FakeDestroyingContainer) WorkerNameCallCount() int
- func (fake *FakeDestroyingContainer) WorkerNameCalls(stub func() string)
- func (fake *FakeDestroyingContainer) WorkerNameReturns(result1 string)
- func (fake *FakeDestroyingContainer) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeDestroyingVolume
- func (fake *FakeDestroyingVolume) Destroy() (bool, error)
- func (fake *FakeDestroyingVolume) DestroyCallCount() int
- func (fake *FakeDestroyingVolume) DestroyCalls(stub func() (bool, error))
- func (fake *FakeDestroyingVolume) DestroyReturns(result1 bool, result2 error)
- func (fake *FakeDestroyingVolume) DestroyReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeDestroyingVolume) Handle() string
- func (fake *FakeDestroyingVolume) HandleCallCount() int
- func (fake *FakeDestroyingVolume) HandleCalls(stub func() string)
- func (fake *FakeDestroyingVolume) HandleReturns(result1 string)
- func (fake *FakeDestroyingVolume) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeDestroyingVolume) Invocations() map[string][][]interface{}
- func (fake *FakeDestroyingVolume) WorkerName() string
- func (fake *FakeDestroyingVolume) WorkerNameCallCount() int
- func (fake *FakeDestroyingVolume) WorkerNameCalls(stub func() string)
- func (fake *FakeDestroyingVolume) WorkerNameReturns(result1 string)
- func (fake *FakeDestroyingVolume) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeEventSource
- func (fake *FakeEventSource) Close() error
- func (fake *FakeEventSource) CloseCallCount() int
- func (fake *FakeEventSource) CloseCalls(stub func() error)
- func (fake *FakeEventSource) CloseReturns(result1 error)
- func (fake *FakeEventSource) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeEventSource) Invocations() map[string][][]interface{}
- func (fake *FakeEventSource) Next() (event.Envelope, error)
- func (fake *FakeEventSource) NextCallCount() int
- func (fake *FakeEventSource) NextCalls(stub func() (event.Envelope, error))
- func (fake *FakeEventSource) NextReturns(result1 event.Envelope, result2 error)
- func (fake *FakeEventSource) NextReturnsOnCall(i int, result1 event.Envelope, result2 error)
- type FakeExecutor
- func (fake *FakeExecutor) Exec(arg1 string, arg2 ...interface{}) (sql.Result, error)
- func (fake *FakeExecutor) ExecArgsForCall(i int) (string, []interface{})
- func (fake *FakeExecutor) ExecCallCount() int
- func (fake *FakeExecutor) ExecCalls(stub func(string, ...interface{}) (sql.Result, error))
- func (fake *FakeExecutor) ExecReturns(result1 sql.Result, result2 error)
- func (fake *FakeExecutor) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakeExecutor) Invocations() map[string][][]interface{}
- type FakeFailedContainer
- func (fake *FakeFailedContainer) Destroy() (bool, error)
- func (fake *FakeFailedContainer) DestroyCallCount() int
- func (fake *FakeFailedContainer) DestroyCalls(stub func() (bool, error))
- func (fake *FakeFailedContainer) DestroyReturns(result1 bool, result2 error)
- func (fake *FakeFailedContainer) DestroyReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeFailedContainer) Handle() string
- func (fake *FakeFailedContainer) HandleCallCount() int
- func (fake *FakeFailedContainer) HandleCalls(stub func() string)
- func (fake *FakeFailedContainer) HandleReturns(result1 string)
- func (fake *FakeFailedContainer) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeFailedContainer) ID() int
- func (fake *FakeFailedContainer) IDCallCount() int
- func (fake *FakeFailedContainer) IDCalls(stub func() int)
- func (fake *FakeFailedContainer) IDReturns(result1 int)
- func (fake *FakeFailedContainer) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeFailedContainer) Invocations() map[string][][]interface{}
- func (fake *FakeFailedContainer) Metadata() db.ContainerMetadata
- func (fake *FakeFailedContainer) MetadataCallCount() int
- func (fake *FakeFailedContainer) MetadataCalls(stub func() db.ContainerMetadata)
- func (fake *FakeFailedContainer) MetadataReturns(result1 db.ContainerMetadata)
- func (fake *FakeFailedContainer) MetadataReturnsOnCall(i int, result1 db.ContainerMetadata)
- func (fake *FakeFailedContainer) State() string
- func (fake *FakeFailedContainer) StateCallCount() int
- func (fake *FakeFailedContainer) StateCalls(stub func() string)
- func (fake *FakeFailedContainer) StateReturns(result1 string)
- func (fake *FakeFailedContainer) StateReturnsOnCall(i int, result1 string)
- func (fake *FakeFailedContainer) WorkerName() string
- func (fake *FakeFailedContainer) WorkerNameCallCount() int
- func (fake *FakeFailedContainer) WorkerNameCalls(stub func() string)
- func (fake *FakeFailedContainer) WorkerNameReturns(result1 string)
- func (fake *FakeFailedContainer) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeJob
- func (fake *FakeJob) AcquireSchedulingLock(arg1 lager.Logger) (lock.Lock, bool, error)
- func (fake *FakeJob) AcquireSchedulingLockArgsForCall(i int) lager.Logger
- func (fake *FakeJob) AcquireSchedulingLockCallCount() int
- func (fake *FakeJob) AcquireSchedulingLockCalls(stub func(lager.Logger) (lock.Lock, bool, error))
- func (fake *FakeJob) AcquireSchedulingLockReturns(result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeJob) AcquireSchedulingLockReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeJob) AlgorithmInputs() (db.InputConfigs, error)
- func (fake *FakeJob) AlgorithmInputsCallCount() int
- func (fake *FakeJob) AlgorithmInputsCalls(stub func() (db.InputConfigs, error))
- func (fake *FakeJob) AlgorithmInputsReturns(result1 db.InputConfigs, result2 error)
- func (fake *FakeJob) AlgorithmInputsReturnsOnCall(i int, result1 db.InputConfigs, result2 error)
- func (fake *FakeJob) Build(arg1 string) (db.Build, bool, error)
- func (fake *FakeJob) BuildArgsForCall(i int) string
- func (fake *FakeJob) BuildCallCount() int
- func (fake *FakeJob) BuildCalls(stub func(string) (db.Build, bool, error))
- func (fake *FakeJob) BuildReturns(result1 db.Build, result2 bool, result3 error)
- func (fake *FakeJob) BuildReturnsOnCall(i int, result1 db.Build, result2 bool, result3 error)
- func (fake *FakeJob) Builds(arg1 db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakeJob) BuildsArgsForCall(i int) db.Page
- func (fake *FakeJob) BuildsCallCount() int
- func (fake *FakeJob) BuildsCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))
- func (fake *FakeJob) BuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeJob) BuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeJob) BuildsWithTime(arg1 db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakeJob) BuildsWithTimeArgsForCall(i int) db.Page
- func (fake *FakeJob) BuildsWithTimeCallCount() int
- func (fake *FakeJob) BuildsWithTimeCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))
- func (fake *FakeJob) BuildsWithTimeReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeJob) BuildsWithTimeReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeJob) ClearTaskCache(arg1 string, arg2 string) (int64, error)
- func (fake *FakeJob) ClearTaskCacheArgsForCall(i int) (string, string)
- func (fake *FakeJob) ClearTaskCacheCallCount() int
- func (fake *FakeJob) ClearTaskCacheCalls(stub func(string, string) (int64, error))
- func (fake *FakeJob) ClearTaskCacheReturns(result1 int64, result2 error)
- func (fake *FakeJob) ClearTaskCacheReturnsOnCall(i int, result1 int64, result2 error)
- func (fake *FakeJob) Config() (atc.JobConfig, error)
- func (fake *FakeJob) ConfigCallCount() int
- func (fake *FakeJob) ConfigCalls(stub func() (atc.JobConfig, error))
- func (fake *FakeJob) ConfigReturns(result1 atc.JobConfig, result2 error)
- func (fake *FakeJob) ConfigReturnsOnCall(i int, result1 atc.JobConfig, result2 error)
- func (fake *FakeJob) CreateBuild() (db.Build, error)
- func (fake *FakeJob) CreateBuildCallCount() int
- func (fake *FakeJob) CreateBuildCalls(stub func() (db.Build, error))
- func (fake *FakeJob) CreateBuildReturns(result1 db.Build, result2 error)
- func (fake *FakeJob) CreateBuildReturnsOnCall(i int, result1 db.Build, result2 error)
- func (fake *FakeJob) DisableManualTrigger() bool
- func (fake *FakeJob) DisableManualTriggerCallCount() int
- func (fake *FakeJob) DisableManualTriggerCalls(stub func() bool)
- func (fake *FakeJob) DisableManualTriggerReturns(result1 bool)
- func (fake *FakeJob) DisableManualTriggerReturnsOnCall(i int, result1 bool)
- func (fake *FakeJob) EnsurePendingBuildExists(arg1 context.Context) error
- func (fake *FakeJob) EnsurePendingBuildExistsArgsForCall(i int) context.Context
- func (fake *FakeJob) EnsurePendingBuildExistsCallCount() int
- func (fake *FakeJob) EnsurePendingBuildExistsCalls(stub func(context.Context) error)
- func (fake *FakeJob) EnsurePendingBuildExistsReturns(result1 error)
- func (fake *FakeJob) EnsurePendingBuildExistsReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) FinishedAndNextBuild() (db.Build, db.Build, error)
- func (fake *FakeJob) FinishedAndNextBuildCallCount() int
- func (fake *FakeJob) FinishedAndNextBuildCalls(stub func() (db.Build, db.Build, error))
- func (fake *FakeJob) FinishedAndNextBuildReturns(result1 db.Build, result2 db.Build, result3 error)
- func (fake *FakeJob) FinishedAndNextBuildReturnsOnCall(i int, result1 db.Build, result2 db.Build, result3 error)
- func (fake *FakeJob) FirstLoggedBuildID() int
- func (fake *FakeJob) FirstLoggedBuildIDCallCount() int
- func (fake *FakeJob) FirstLoggedBuildIDCalls(stub func() int)
- func (fake *FakeJob) FirstLoggedBuildIDReturns(result1 int)
- func (fake *FakeJob) FirstLoggedBuildIDReturnsOnCall(i int, result1 int)
- func (fake *FakeJob) GetFullNextBuildInputs() ([]db.BuildInput, bool, error)
- func (fake *FakeJob) GetFullNextBuildInputsCallCount() int
- func (fake *FakeJob) GetFullNextBuildInputsCalls(stub func() ([]db.BuildInput, bool, error))
- func (fake *FakeJob) GetFullNextBuildInputsReturns(result1 []db.BuildInput, result2 bool, result3 error)
- func (fake *FakeJob) GetFullNextBuildInputsReturnsOnCall(i int, result1 []db.BuildInput, result2 bool, result3 error)
- func (fake *FakeJob) GetNextBuildInputs() ([]db.BuildInput, error)
- func (fake *FakeJob) GetNextBuildInputsCallCount() int
- func (fake *FakeJob) GetNextBuildInputsCalls(stub func() ([]db.BuildInput, error))
- func (fake *FakeJob) GetNextBuildInputsReturns(result1 []db.BuildInput, result2 error)
- func (fake *FakeJob) GetNextBuildInputsReturnsOnCall(i int, result1 []db.BuildInput, result2 error)
- func (fake *FakeJob) GetPendingBuilds() ([]db.Build, error)
- func (fake *FakeJob) GetPendingBuildsCallCount() int
- func (fake *FakeJob) GetPendingBuildsCalls(stub func() ([]db.Build, error))
- func (fake *FakeJob) GetPendingBuildsReturns(result1 []db.Build, result2 error)
- func (fake *FakeJob) GetPendingBuildsReturnsOnCall(i int, result1 []db.Build, result2 error)
- func (fake *FakeJob) HasNewInputs() bool
- func (fake *FakeJob) HasNewInputsCallCount() int
- func (fake *FakeJob) HasNewInputsCalls(stub func() bool)
- func (fake *FakeJob) HasNewInputsReturns(result1 bool)
- func (fake *FakeJob) HasNewInputsReturnsOnCall(i int, result1 bool)
- func (fake *FakeJob) ID() int
- func (fake *FakeJob) IDCallCount() int
- func (fake *FakeJob) IDCalls(stub func() int)
- func (fake *FakeJob) IDReturns(result1 int)
- func (fake *FakeJob) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeJob) Inputs() ([]atc.JobInput, error)
- func (fake *FakeJob) InputsCallCount() int
- func (fake *FakeJob) InputsCalls(stub func() ([]atc.JobInput, error))
- func (fake *FakeJob) InputsReturns(result1 []atc.JobInput, result2 error)
- func (fake *FakeJob) InputsReturnsOnCall(i int, result1 []atc.JobInput, result2 error)
- func (fake *FakeJob) Invocations() map[string][][]interface{}
- func (fake *FakeJob) MaxInFlight() int
- func (fake *FakeJob) MaxInFlightCallCount() int
- func (fake *FakeJob) MaxInFlightCalls(stub func() int)
- func (fake *FakeJob) MaxInFlightReturns(result1 int)
- func (fake *FakeJob) MaxInFlightReturnsOnCall(i int, result1 int)
- func (fake *FakeJob) Name() string
- func (fake *FakeJob) NameCallCount() int
- func (fake *FakeJob) NameCalls(stub func() string)
- func (fake *FakeJob) NameReturns(result1 string)
- func (fake *FakeJob) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeJob) Outputs() ([]atc.JobOutput, error)
- func (fake *FakeJob) OutputsCallCount() int
- func (fake *FakeJob) OutputsCalls(stub func() ([]atc.JobOutput, error))
- func (fake *FakeJob) OutputsReturns(result1 []atc.JobOutput, result2 error)
- func (fake *FakeJob) OutputsReturnsOnCall(i int, result1 []atc.JobOutput, result2 error)
- func (fake *FakeJob) Pause() error
- func (fake *FakeJob) PauseCallCount() int
- func (fake *FakeJob) PauseCalls(stub func() error)
- func (fake *FakeJob) PauseReturns(result1 error)
- func (fake *FakeJob) PauseReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) Paused() bool
- func (fake *FakeJob) PausedCallCount() int
- func (fake *FakeJob) PausedCalls(stub func() bool)
- func (fake *FakeJob) PausedReturns(result1 bool)
- func (fake *FakeJob) PausedReturnsOnCall(i int, result1 bool)
- func (fake *FakeJob) Pipeline() (db.Pipeline, bool, error)
- func (fake *FakeJob) PipelineCallCount() int
- func (fake *FakeJob) PipelineCalls(stub func() (db.Pipeline, bool, error))
- func (fake *FakeJob) PipelineID() int
- func (fake *FakeJob) PipelineIDCallCount() int
- func (fake *FakeJob) PipelineIDCalls(stub func() int)
- func (fake *FakeJob) PipelineIDReturns(result1 int)
- func (fake *FakeJob) PipelineIDReturnsOnCall(i int, result1 int)
- func (fake *FakeJob) PipelineName() string
- func (fake *FakeJob) PipelineNameCallCount() int
- func (fake *FakeJob) PipelineNameCalls(stub func() string)
- func (fake *FakeJob) PipelineNameReturns(result1 string)
- func (fake *FakeJob) PipelineNameReturnsOnCall(i int, result1 string)
- func (fake *FakeJob) PipelineReturns(result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeJob) PipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeJob) Public() bool
- func (fake *FakeJob) PublicCallCount() int
- func (fake *FakeJob) PublicCalls(stub func() bool)
- func (fake *FakeJob) PublicReturns(result1 bool)
- func (fake *FakeJob) PublicReturnsOnCall(i int, result1 bool)
- func (fake *FakeJob) Reload() (bool, error)
- func (fake *FakeJob) ReloadCallCount() int
- func (fake *FakeJob) ReloadCalls(stub func() (bool, error))
- func (fake *FakeJob) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeJob) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeJob) RequestSchedule() error
- func (fake *FakeJob) RequestScheduleCallCount() int
- func (fake *FakeJob) RequestScheduleCalls(stub func() error)
- func (fake *FakeJob) RequestScheduleReturns(result1 error)
- func (fake *FakeJob) RequestScheduleReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) RerunBuild(arg1 db.Build) (db.Build, error)
- func (fake *FakeJob) RerunBuildArgsForCall(i int) db.Build
- func (fake *FakeJob) RerunBuildCallCount() int
- func (fake *FakeJob) RerunBuildCalls(stub func(db.Build) (db.Build, error))
- func (fake *FakeJob) RerunBuildReturns(result1 db.Build, result2 error)
- func (fake *FakeJob) RerunBuildReturnsOnCall(i int, result1 db.Build, result2 error)
- func (fake *FakeJob) SaveNextInputMapping(arg1 db.InputMapping, arg2 bool) error
- func (fake *FakeJob) SaveNextInputMappingArgsForCall(i int) (db.InputMapping, bool)
- func (fake *FakeJob) SaveNextInputMappingCallCount() int
- func (fake *FakeJob) SaveNextInputMappingCalls(stub func(db.InputMapping, bool) error)
- func (fake *FakeJob) SaveNextInputMappingReturns(result1 error)
- func (fake *FakeJob) SaveNextInputMappingReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) ScheduleBuild(arg1 db.Build) (bool, error)
- func (fake *FakeJob) ScheduleBuildArgsForCall(i int) db.Build
- func (fake *FakeJob) ScheduleBuildCallCount() int
- func (fake *FakeJob) ScheduleBuildCalls(stub func(db.Build) (bool, error))
- func (fake *FakeJob) ScheduleBuildReturns(result1 bool, result2 error)
- func (fake *FakeJob) ScheduleBuildReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeJob) ScheduleRequestedTime() time.Time
- func (fake *FakeJob) ScheduleRequestedTimeCallCount() int
- func (fake *FakeJob) ScheduleRequestedTimeCalls(stub func() time.Time)
- func (fake *FakeJob) ScheduleRequestedTimeReturns(result1 time.Time)
- func (fake *FakeJob) ScheduleRequestedTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeJob) SetHasNewInputs(arg1 bool) error
- func (fake *FakeJob) SetHasNewInputsArgsForCall(i int) bool
- func (fake *FakeJob) SetHasNewInputsCallCount() int
- func (fake *FakeJob) SetHasNewInputsCalls(stub func(bool) error)
- func (fake *FakeJob) SetHasNewInputsReturns(result1 error)
- func (fake *FakeJob) SetHasNewInputsReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) Tags() []string
- func (fake *FakeJob) TagsCallCount() int
- func (fake *FakeJob) TagsCalls(stub func() []string)
- func (fake *FakeJob) TagsReturns(result1 []string)
- func (fake *FakeJob) TagsReturnsOnCall(i int, result1 []string)
- func (fake *FakeJob) TeamID() int
- func (fake *FakeJob) TeamIDCallCount() int
- func (fake *FakeJob) TeamIDCalls(stub func() int)
- func (fake *FakeJob) TeamIDReturns(result1 int)
- func (fake *FakeJob) TeamIDReturnsOnCall(i int, result1 int)
- func (fake *FakeJob) TeamName() string
- func (fake *FakeJob) TeamNameCallCount() int
- func (fake *FakeJob) TeamNameCalls(stub func() string)
- func (fake *FakeJob) TeamNameReturns(result1 string)
- func (fake *FakeJob) TeamNameReturnsOnCall(i int, result1 string)
- func (fake *FakeJob) Unpause() error
- func (fake *FakeJob) UnpauseCallCount() int
- func (fake *FakeJob) UnpauseCalls(stub func() error)
- func (fake *FakeJob) UnpauseReturns(result1 error)
- func (fake *FakeJob) UnpauseReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) UpdateFirstLoggedBuildID(arg1 int) error
- func (fake *FakeJob) UpdateFirstLoggedBuildIDArgsForCall(i int) int
- func (fake *FakeJob) UpdateFirstLoggedBuildIDCallCount() int
- func (fake *FakeJob) UpdateFirstLoggedBuildIDCalls(stub func(int) error)
- func (fake *FakeJob) UpdateFirstLoggedBuildIDReturns(result1 error)
- func (fake *FakeJob) UpdateFirstLoggedBuildIDReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) UpdateLastScheduled(arg1 time.Time) error
- func (fake *FakeJob) UpdateLastScheduledArgsForCall(i int) time.Time
- func (fake *FakeJob) UpdateLastScheduledCallCount() int
- func (fake *FakeJob) UpdateLastScheduledCalls(stub func(time.Time) error)
- func (fake *FakeJob) UpdateLastScheduledReturns(result1 error)
- func (fake *FakeJob) UpdateLastScheduledReturnsOnCall(i int, result1 error)
- type FakeJobFactory
- func (fake *FakeJobFactory) AllActiveJobs() (atc.Dashboard, error)
- func (fake *FakeJobFactory) AllActiveJobsCallCount() int
- func (fake *FakeJobFactory) AllActiveJobsCalls(stub func() (atc.Dashboard, error))
- func (fake *FakeJobFactory) AllActiveJobsReturns(result1 atc.Dashboard, result2 error)
- func (fake *FakeJobFactory) AllActiveJobsReturnsOnCall(i int, result1 atc.Dashboard, result2 error)
- func (fake *FakeJobFactory) Invocations() map[string][][]interface{}
- func (fake *FakeJobFactory) JobsToSchedule() (db.SchedulerJobs, error)
- func (fake *FakeJobFactory) JobsToScheduleCallCount() int
- func (fake *FakeJobFactory) JobsToScheduleCalls(stub func() (db.SchedulerJobs, error))
- func (fake *FakeJobFactory) JobsToScheduleReturns(result1 db.SchedulerJobs, result2 error)
- func (fake *FakeJobFactory) JobsToScheduleReturnsOnCall(i int, result1 db.SchedulerJobs, result2 error)
- func (fake *FakeJobFactory) VisibleJobs(arg1 []string) (atc.Dashboard, error)
- func (fake *FakeJobFactory) VisibleJobsArgsForCall(i int) []string
- func (fake *FakeJobFactory) VisibleJobsCallCount() int
- func (fake *FakeJobFactory) VisibleJobsCalls(stub func([]string) (atc.Dashboard, error))
- func (fake *FakeJobFactory) VisibleJobsReturns(result1 atc.Dashboard, result2 error)
- func (fake *FakeJobFactory) VisibleJobsReturnsOnCall(i int, result1 atc.Dashboard, result2 error)
- type FakeListener
- func (fake *FakeListener) Close() error
- func (fake *FakeListener) CloseCallCount() int
- func (fake *FakeListener) CloseCalls(stub func() error)
- func (fake *FakeListener) CloseReturns(result1 error)
- func (fake *FakeListener) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeListener) Invocations() map[string][][]interface{}
- func (fake *FakeListener) Listen(arg1 string) error
- func (fake *FakeListener) ListenArgsForCall(i int) string
- func (fake *FakeListener) ListenCallCount() int
- func (fake *FakeListener) ListenCalls(stub func(string) error)
- func (fake *FakeListener) ListenReturns(result1 error)
- func (fake *FakeListener) ListenReturnsOnCall(i int, result1 error)
- func (fake *FakeListener) NotificationChannel() <-chan *pq.Notification
- func (fake *FakeListener) NotificationChannelCallCount() int
- func (fake *FakeListener) NotificationChannelCalls(stub func() <-chan *pq.Notification)
- func (fake *FakeListener) NotificationChannelReturns(result1 <-chan *pq.Notification)
- func (fake *FakeListener) NotificationChannelReturnsOnCall(i int, result1 <-chan *pq.Notification)
- func (fake *FakeListener) Unlisten(arg1 string) error
- func (fake *FakeListener) UnlistenArgsForCall(i int) string
- func (fake *FakeListener) UnlistenCallCount() int
- func (fake *FakeListener) UnlistenCalls(stub func(string) error)
- func (fake *FakeListener) UnlistenReturns(result1 error)
- func (fake *FakeListener) UnlistenReturnsOnCall(i int, result1 error)
- type FakeNotifier
- func (fake *FakeNotifier) Close() error
- func (fake *FakeNotifier) CloseCallCount() int
- func (fake *FakeNotifier) CloseCalls(stub func() error)
- func (fake *FakeNotifier) CloseReturns(result1 error)
- func (fake *FakeNotifier) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeNotifier) Invocations() map[string][][]interface{}
- func (fake *FakeNotifier) Notify() <-chan struct{}
- func (fake *FakeNotifier) NotifyCallCount() int
- func (fake *FakeNotifier) NotifyCalls(stub func() <-chan struct{})
- func (fake *FakeNotifier) NotifyReturns(result1 <-chan struct{})
- func (fake *FakeNotifier) NotifyReturnsOnCall(i int, result1 <-chan struct{})
- type FakePipeline
- func (fake *FakePipeline) Archive() error
- func (fake *FakePipeline) ArchiveCallCount() int
- func (fake *FakePipeline) ArchiveCalls(stub func() error)
- func (fake *FakePipeline) ArchiveReturns(result1 error)
- func (fake *FakePipeline) ArchiveReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) Archived() bool
- func (fake *FakePipeline) ArchivedCallCount() int
- func (fake *FakePipeline) ArchivedCalls(stub func() bool)
- func (fake *FakePipeline) ArchivedReturns(result1 bool)
- func (fake *FakePipeline) ArchivedReturnsOnCall(i int, result1 bool)
- func (fake *FakePipeline) Builds(arg1 db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakePipeline) BuildsArgsForCall(i int) db.Page
- func (fake *FakePipeline) BuildsCallCount() int
- func (fake *FakePipeline) BuildsCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))
- func (fake *FakePipeline) BuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakePipeline) BuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakePipeline) BuildsWithTime(arg1 db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakePipeline) BuildsWithTimeArgsForCall(i int) db.Page
- func (fake *FakePipeline) BuildsWithTimeCallCount() int
- func (fake *FakePipeline) BuildsWithTimeCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))
- func (fake *FakePipeline) BuildsWithTimeReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakePipeline) BuildsWithTimeReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakePipeline) Causality(arg1 int) ([]db.Cause, error)
- func (fake *FakePipeline) CausalityArgsForCall(i int) int
- func (fake *FakePipeline) CausalityCallCount() int
- func (fake *FakePipeline) CausalityCalls(stub func(int) ([]db.Cause, error))
- func (fake *FakePipeline) CausalityReturns(result1 []db.Cause, result2 error)
- func (fake *FakePipeline) CausalityReturnsOnCall(i int, result1 []db.Cause, result2 error)
- func (fake *FakePipeline) CheckPaused() (bool, error)
- func (fake *FakePipeline) CheckPausedCallCount() int
- func (fake *FakePipeline) CheckPausedCalls(stub func() (bool, error))
- func (fake *FakePipeline) CheckPausedReturns(result1 bool, result2 error)
- func (fake *FakePipeline) CheckPausedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakePipeline) Config() (atc.Config, error)
- func (fake *FakePipeline) ConfigCallCount() int
- func (fake *FakePipeline) ConfigCalls(stub func() (atc.Config, error))
- func (fake *FakePipeline) ConfigReturns(result1 atc.Config, result2 error)
- func (fake *FakePipeline) ConfigReturnsOnCall(i int, result1 atc.Config, result2 error)
- func (fake *FakePipeline) ConfigVersion() db.ConfigVersion
- func (fake *FakePipeline) ConfigVersionCallCount() int
- func (fake *FakePipeline) ConfigVersionCalls(stub func() db.ConfigVersion)
- func (fake *FakePipeline) ConfigVersionReturns(result1 db.ConfigVersion)
- func (fake *FakePipeline) ConfigVersionReturnsOnCall(i int, result1 db.ConfigVersion)
- func (fake *FakePipeline) CreateOneOffBuild() (db.Build, error)
- func (fake *FakePipeline) CreateOneOffBuildCallCount() int
- func (fake *FakePipeline) CreateOneOffBuildCalls(stub func() (db.Build, error))
- func (fake *FakePipeline) CreateOneOffBuildReturns(result1 db.Build, result2 error)
- func (fake *FakePipeline) CreateOneOffBuildReturnsOnCall(i int, result1 db.Build, result2 error)
- func (fake *FakePipeline) CreateStartedBuild(arg1 atc.Plan) (db.Build, error)
- func (fake *FakePipeline) CreateStartedBuildArgsForCall(i int) atc.Plan
- func (fake *FakePipeline) CreateStartedBuildCallCount() int
- func (fake *FakePipeline) CreateStartedBuildCalls(stub func(atc.Plan) (db.Build, error))
- func (fake *FakePipeline) CreateStartedBuildReturns(result1 db.Build, result2 error)
- func (fake *FakePipeline) CreateStartedBuildReturnsOnCall(i int, result1 db.Build, result2 error)
- func (fake *FakePipeline) Dashboard() (atc.Dashboard, error)
- func (fake *FakePipeline) DashboardCallCount() int
- func (fake *FakePipeline) DashboardCalls(stub func() (atc.Dashboard, error))
- func (fake *FakePipeline) DashboardReturns(result1 atc.Dashboard, result2 error)
- func (fake *FakePipeline) DashboardReturnsOnCall(i int, result1 atc.Dashboard, result2 error)
- func (fake *FakePipeline) DeleteBuildEventsByBuildIDs(arg1 []int) error
- func (fake *FakePipeline) DeleteBuildEventsByBuildIDsArgsForCall(i int) []int
- func (fake *FakePipeline) DeleteBuildEventsByBuildIDsCallCount() int
- func (fake *FakePipeline) DeleteBuildEventsByBuildIDsCalls(stub func([]int) error)
- func (fake *FakePipeline) DeleteBuildEventsByBuildIDsReturns(result1 error)
- func (fake *FakePipeline) DeleteBuildEventsByBuildIDsReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) Destroy() error
- func (fake *FakePipeline) DestroyCallCount() int
- func (fake *FakePipeline) DestroyCalls(stub func() error)
- func (fake *FakePipeline) DestroyReturns(result1 error)
- func (fake *FakePipeline) DestroyReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) Expose() error
- func (fake *FakePipeline) ExposeCallCount() int
- func (fake *FakePipeline) ExposeCalls(stub func() error)
- func (fake *FakePipeline) ExposeReturns(result1 error)
- func (fake *FakePipeline) ExposeReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) GetBuildsWithVersionAsInput(arg1 int, arg2 int) ([]db.Build, error)
- func (fake *FakePipeline) GetBuildsWithVersionAsInputArgsForCall(i int) (int, int)
- func (fake *FakePipeline) GetBuildsWithVersionAsInputCallCount() int
- func (fake *FakePipeline) GetBuildsWithVersionAsInputCalls(stub func(int, int) ([]db.Build, error))
- func (fake *FakePipeline) GetBuildsWithVersionAsInputReturns(result1 []db.Build, result2 error)
- func (fake *FakePipeline) GetBuildsWithVersionAsInputReturnsOnCall(i int, result1 []db.Build, result2 error)
- func (fake *FakePipeline) GetBuildsWithVersionAsOutput(arg1 int, arg2 int) ([]db.Build, error)
- func (fake *FakePipeline) GetBuildsWithVersionAsOutputArgsForCall(i int) (int, int)
- func (fake *FakePipeline) GetBuildsWithVersionAsOutputCallCount() int
- func (fake *FakePipeline) GetBuildsWithVersionAsOutputCalls(stub func(int, int) ([]db.Build, error))
- func (fake *FakePipeline) GetBuildsWithVersionAsOutputReturns(result1 []db.Build, result2 error)
- func (fake *FakePipeline) GetBuildsWithVersionAsOutputReturnsOnCall(i int, result1 []db.Build, result2 error)
- func (fake *FakePipeline) Groups() atc.GroupConfigs
- func (fake *FakePipeline) GroupsCallCount() int
- func (fake *FakePipeline) GroupsCalls(stub func() atc.GroupConfigs)
- func (fake *FakePipeline) GroupsReturns(result1 atc.GroupConfigs)
- func (fake *FakePipeline) GroupsReturnsOnCall(i int, result1 atc.GroupConfigs)
- func (fake *FakePipeline) Hide() error
- func (fake *FakePipeline) HideCallCount() int
- func (fake *FakePipeline) HideCalls(stub func() error)
- func (fake *FakePipeline) HideReturns(result1 error)
- func (fake *FakePipeline) HideReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) ID() int
- func (fake *FakePipeline) IDCallCount() int
- func (fake *FakePipeline) IDCalls(stub func() int)
- func (fake *FakePipeline) IDReturns(result1 int)
- func (fake *FakePipeline) IDReturnsOnCall(i int, result1 int)
- func (fake *FakePipeline) Invocations() map[string][][]interface{}
- func (fake *FakePipeline) Job(arg1 string) (db.Job, bool, error)
- func (fake *FakePipeline) JobArgsForCall(i int) string
- func (fake *FakePipeline) JobCallCount() int
- func (fake *FakePipeline) JobCalls(stub func(string) (db.Job, bool, error))
- func (fake *FakePipeline) JobReturns(result1 db.Job, result2 bool, result3 error)
- func (fake *FakePipeline) JobReturnsOnCall(i int, result1 db.Job, result2 bool, result3 error)
- func (fake *FakePipeline) Jobs() (db.Jobs, error)
- func (fake *FakePipeline) JobsCallCount() int
- func (fake *FakePipeline) JobsCalls(stub func() (db.Jobs, error))
- func (fake *FakePipeline) JobsReturns(result1 db.Jobs, result2 error)
- func (fake *FakePipeline) JobsReturnsOnCall(i int, result1 db.Jobs, result2 error)
- func (fake *FakePipeline) LastUpdated() time.Time
- func (fake *FakePipeline) LastUpdatedCallCount() int
- func (fake *FakePipeline) LastUpdatedCalls(stub func() time.Time)
- func (fake *FakePipeline) LastUpdatedReturns(result1 time.Time)
- func (fake *FakePipeline) LastUpdatedReturnsOnCall(i int, result1 time.Time)
- func (fake *FakePipeline) LoadDebugVersionsDB() (*atc.DebugVersionsDB, error)
- func (fake *FakePipeline) LoadDebugVersionsDBCallCount() int
- func (fake *FakePipeline) LoadDebugVersionsDBCalls(stub func() (*atc.DebugVersionsDB, error))
- func (fake *FakePipeline) LoadDebugVersionsDBReturns(result1 *atc.DebugVersionsDB, result2 error)
- func (fake *FakePipeline) LoadDebugVersionsDBReturnsOnCall(i int, result1 *atc.DebugVersionsDB, result2 error)
- func (fake *FakePipeline) Name() string
- func (fake *FakePipeline) NameCallCount() int
- func (fake *FakePipeline) NameCalls(stub func() string)
- func (fake *FakePipeline) NameReturns(result1 string)
- func (fake *FakePipeline) NameReturnsOnCall(i int, result1 string)
- func (fake *FakePipeline) ParentBuildID() int
- func (fake *FakePipeline) ParentBuildIDCallCount() int
- func (fake *FakePipeline) ParentBuildIDCalls(stub func() int)
- func (fake *FakePipeline) ParentBuildIDReturns(result1 int)
- func (fake *FakePipeline) ParentBuildIDReturnsOnCall(i int, result1 int)
- func (fake *FakePipeline) ParentJobID() int
- func (fake *FakePipeline) ParentJobIDCallCount() int
- func (fake *FakePipeline) ParentJobIDCalls(stub func() int)
- func (fake *FakePipeline) ParentJobIDReturns(result1 int)
- func (fake *FakePipeline) ParentJobIDReturnsOnCall(i int, result1 int)
- func (fake *FakePipeline) Pause() error
- func (fake *FakePipeline) PauseCallCount() int
- func (fake *FakePipeline) PauseCalls(stub func() error)
- func (fake *FakePipeline) PauseReturns(result1 error)
- func (fake *FakePipeline) PauseReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) Paused() bool
- func (fake *FakePipeline) PausedCallCount() int
- func (fake *FakePipeline) PausedCalls(stub func() bool)
- func (fake *FakePipeline) PausedReturns(result1 bool)
- func (fake *FakePipeline) PausedReturnsOnCall(i int, result1 bool)
- func (fake *FakePipeline) Public() bool
- func (fake *FakePipeline) PublicCallCount() int
- func (fake *FakePipeline) PublicCalls(stub func() bool)
- func (fake *FakePipeline) PublicReturns(result1 bool)
- func (fake *FakePipeline) PublicReturnsOnCall(i int, result1 bool)
- func (fake *FakePipeline) Reload() (bool, error)
- func (fake *FakePipeline) ReloadCallCount() int
- func (fake *FakePipeline) ReloadCalls(stub func() (bool, error))
- func (fake *FakePipeline) ReloadReturns(result1 bool, result2 error)
- func (fake *FakePipeline) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakePipeline) Rename(arg1 string) error
- func (fake *FakePipeline) RenameArgsForCall(i int) string
- func (fake *FakePipeline) RenameCallCount() int
- func (fake *FakePipeline) RenameCalls(stub func(string) error)
- func (fake *FakePipeline) RenameReturns(result1 error)
- func (fake *FakePipeline) RenameReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) Resource(arg1 string) (db.Resource, bool, error)
- func (fake *FakePipeline) ResourceArgsForCall(i int) string
- func (fake *FakePipeline) ResourceByID(arg1 int) (db.Resource, bool, error)
- func (fake *FakePipeline) ResourceByIDArgsForCall(i int) int
- func (fake *FakePipeline) ResourceByIDCallCount() int
- func (fake *FakePipeline) ResourceByIDCalls(stub func(int) (db.Resource, bool, error))
- func (fake *FakePipeline) ResourceByIDReturns(result1 db.Resource, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceByIDReturnsOnCall(i int, result1 db.Resource, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceCallCount() int
- func (fake *FakePipeline) ResourceCalls(stub func(string) (db.Resource, bool, error))
- func (fake *FakePipeline) ResourceReturns(result1 db.Resource, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceReturnsOnCall(i int, result1 db.Resource, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceType(arg1 string) (db.ResourceType, bool, error)
- func (fake *FakePipeline) ResourceTypeArgsForCall(i int) string
- func (fake *FakePipeline) ResourceTypeByID(arg1 int) (db.ResourceType, bool, error)
- func (fake *FakePipeline) ResourceTypeByIDArgsForCall(i int) int
- func (fake *FakePipeline) ResourceTypeByIDCallCount() int
- func (fake *FakePipeline) ResourceTypeByIDCalls(stub func(int) (db.ResourceType, bool, error))
- func (fake *FakePipeline) ResourceTypeByIDReturns(result1 db.ResourceType, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceTypeByIDReturnsOnCall(i int, result1 db.ResourceType, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceTypeCallCount() int
- func (fake *FakePipeline) ResourceTypeCalls(stub func(string) (db.ResourceType, bool, error))
- func (fake *FakePipeline) ResourceTypeReturns(result1 db.ResourceType, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceTypeReturnsOnCall(i int, result1 db.ResourceType, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceTypes() (db.ResourceTypes, error)
- func (fake *FakePipeline) ResourceTypesCallCount() int
- func (fake *FakePipeline) ResourceTypesCalls(stub func() (db.ResourceTypes, error))
- func (fake *FakePipeline) ResourceTypesReturns(result1 db.ResourceTypes, result2 error)
- func (fake *FakePipeline) ResourceTypesReturnsOnCall(i int, result1 db.ResourceTypes, result2 error)
- func (fake *FakePipeline) ResourceVersion(arg1 int) (atc.ResourceVersion, bool, error)
- func (fake *FakePipeline) ResourceVersionArgsForCall(i int) int
- func (fake *FakePipeline) ResourceVersionCallCount() int
- func (fake *FakePipeline) ResourceVersionCalls(stub func(int) (atc.ResourceVersion, bool, error))
- func (fake *FakePipeline) ResourceVersionReturns(result1 atc.ResourceVersion, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceVersionReturnsOnCall(i int, result1 atc.ResourceVersion, result2 bool, result3 error)
- func (fake *FakePipeline) Resources() (db.Resources, error)
- func (fake *FakePipeline) ResourcesCallCount() int
- func (fake *FakePipeline) ResourcesCalls(stub func() (db.Resources, error))
- func (fake *FakePipeline) ResourcesReturns(result1 db.Resources, result2 error)
- func (fake *FakePipeline) ResourcesReturnsOnCall(i int, result1 db.Resources, result2 error)
- func (fake *FakePipeline) SetParentIDs(arg1 int, arg2 int) error
- func (fake *FakePipeline) SetParentIDsArgsForCall(i int) (int, int)
- func (fake *FakePipeline) SetParentIDsCallCount() int
- func (fake *FakePipeline) SetParentIDsCalls(stub func(int, int) error)
- func (fake *FakePipeline) SetParentIDsReturns(result1 error)
- func (fake *FakePipeline) SetParentIDsReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) TeamID() int
- func (fake *FakePipeline) TeamIDCallCount() int
- func (fake *FakePipeline) TeamIDCalls(stub func() int)
- func (fake *FakePipeline) TeamIDReturns(result1 int)
- func (fake *FakePipeline) TeamIDReturnsOnCall(i int, result1 int)
- func (fake *FakePipeline) TeamName() string
- func (fake *FakePipeline) TeamNameCallCount() int
- func (fake *FakePipeline) TeamNameCalls(stub func() string)
- func (fake *FakePipeline) TeamNameReturns(result1 string)
- func (fake *FakePipeline) TeamNameReturnsOnCall(i int, result1 string)
- func (fake *FakePipeline) Unpause() error
- func (fake *FakePipeline) UnpauseCallCount() int
- func (fake *FakePipeline) UnpauseCalls(stub func() error)
- func (fake *FakePipeline) UnpauseReturns(result1 error)
- func (fake *FakePipeline) UnpauseReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) VarSources() atc.VarSourceConfigs
- func (fake *FakePipeline) VarSourcesCallCount() int
- func (fake *FakePipeline) VarSourcesCalls(stub func() atc.VarSourceConfigs)
- func (fake *FakePipeline) VarSourcesReturns(result1 atc.VarSourceConfigs)
- func (fake *FakePipeline) VarSourcesReturnsOnCall(i int, result1 atc.VarSourceConfigs)
- func (fake *FakePipeline) Variables(arg1 lager.Logger, arg2 creds.Secrets, arg3 creds.VarSourcePool) (vars.Variables, error)
- func (fake *FakePipeline) VariablesArgsForCall(i int) (lager.Logger, creds.Secrets, creds.VarSourcePool)
- func (fake *FakePipeline) VariablesCallCount() int
- func (fake *FakePipeline) VariablesCalls(...)
- func (fake *FakePipeline) VariablesReturns(result1 vars.Variables, result2 error)
- func (fake *FakePipeline) VariablesReturnsOnCall(i int, result1 vars.Variables, result2 error)
- type FakePipelineFactory
- func (fake *FakePipelineFactory) AllPipelines() ([]db.Pipeline, error)
- func (fake *FakePipelineFactory) AllPipelinesCallCount() int
- func (fake *FakePipelineFactory) AllPipelinesCalls(stub func() ([]db.Pipeline, error))
- func (fake *FakePipelineFactory) AllPipelinesReturns(result1 []db.Pipeline, result2 error)
- func (fake *FakePipelineFactory) AllPipelinesReturnsOnCall(i int, result1 []db.Pipeline, result2 error)
- func (fake *FakePipelineFactory) Invocations() map[string][][]interface{}
- func (fake *FakePipelineFactory) PipelinesToSchedule() ([]db.Pipeline, error)
- func (fake *FakePipelineFactory) PipelinesToScheduleCallCount() int
- func (fake *FakePipelineFactory) PipelinesToScheduleCalls(stub func() ([]db.Pipeline, error))
- func (fake *FakePipelineFactory) PipelinesToScheduleReturns(result1 []db.Pipeline, result2 error)
- func (fake *FakePipelineFactory) PipelinesToScheduleReturnsOnCall(i int, result1 []db.Pipeline, result2 error)
- func (fake *FakePipelineFactory) VisiblePipelines(arg1 []string) ([]db.Pipeline, error)
- func (fake *FakePipelineFactory) VisiblePipelinesArgsForCall(i int) []string
- func (fake *FakePipelineFactory) VisiblePipelinesCallCount() int
- func (fake *FakePipelineFactory) VisiblePipelinesCalls(stub func([]string) ([]db.Pipeline, error))
- func (fake *FakePipelineFactory) VisiblePipelinesReturns(result1 []db.Pipeline, result2 error)
- func (fake *FakePipelineFactory) VisiblePipelinesReturnsOnCall(i int, result1 []db.Pipeline, result2 error)
- type FakePipelineLifecycle
- func (fake *FakePipelineLifecycle) ArchiveAbandonedPipelines() error
- func (fake *FakePipelineLifecycle) ArchiveAbandonedPipelinesCallCount() int
- func (fake *FakePipelineLifecycle) ArchiveAbandonedPipelinesCalls(stub func() error)
- func (fake *FakePipelineLifecycle) ArchiveAbandonedPipelinesReturns(result1 error)
- func (fake *FakePipelineLifecycle) ArchiveAbandonedPipelinesReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineLifecycle) Invocations() map[string][][]interface{}
- type FakeResource
- func (fake *FakeResource) APIPinnedVersion() atc.Version
- func (fake *FakeResource) APIPinnedVersionCallCount() int
- func (fake *FakeResource) APIPinnedVersionCalls(stub func() atc.Version)
- func (fake *FakeResource) APIPinnedVersionReturns(result1 atc.Version)
- func (fake *FakeResource) APIPinnedVersionReturnsOnCall(i int, result1 atc.Version)
- func (fake *FakeResource) CheckError() error
- func (fake *FakeResource) CheckErrorCallCount() int
- func (fake *FakeResource) CheckErrorCalls(stub func() error)
- func (fake *FakeResource) CheckErrorReturns(result1 error)
- func (fake *FakeResource) CheckErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeResource) CheckEvery() string
- func (fake *FakeResource) CheckEveryCallCount() int
- func (fake *FakeResource) CheckEveryCalls(stub func() string)
- func (fake *FakeResource) CheckEveryReturns(result1 string)
- func (fake *FakeResource) CheckEveryReturnsOnCall(i int, result1 string)
- func (fake *FakeResource) CheckSetupError() error
- func (fake *FakeResource) CheckSetupErrorCallCount() int
- func (fake *FakeResource) CheckSetupErrorCalls(stub func() error)
- func (fake *FakeResource) CheckSetupErrorReturns(result1 error)
- func (fake *FakeResource) CheckSetupErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeResource) CheckTimeout() string
- func (fake *FakeResource) CheckTimeoutCallCount() int
- func (fake *FakeResource) CheckTimeoutCalls(stub func() string)
- func (fake *FakeResource) CheckTimeoutReturns(result1 string)
- func (fake *FakeResource) CheckTimeoutReturnsOnCall(i int, result1 string)
- func (fake *FakeResource) Config() atc.ResourceConfig
- func (fake *FakeResource) ConfigCallCount() int
- func (fake *FakeResource) ConfigCalls(stub func() atc.ResourceConfig)
- func (fake *FakeResource) ConfigPinnedVersion() atc.Version
- func (fake *FakeResource) ConfigPinnedVersionCallCount() int
- func (fake *FakeResource) ConfigPinnedVersionCalls(stub func() atc.Version)
- func (fake *FakeResource) ConfigPinnedVersionReturns(result1 atc.Version)
- func (fake *FakeResource) ConfigPinnedVersionReturnsOnCall(i int, result1 atc.Version)
- func (fake *FakeResource) ConfigReturns(result1 atc.ResourceConfig)
- func (fake *FakeResource) ConfigReturnsOnCall(i int, result1 atc.ResourceConfig)
- func (fake *FakeResource) CurrentPinnedVersion() atc.Version
- func (fake *FakeResource) CurrentPinnedVersionCallCount() int
- func (fake *FakeResource) CurrentPinnedVersionCalls(stub func() atc.Version)
- func (fake *FakeResource) CurrentPinnedVersionReturns(result1 atc.Version)
- func (fake *FakeResource) CurrentPinnedVersionReturnsOnCall(i int, result1 atc.Version)
- func (fake *FakeResource) DisableVersion(arg1 int) error
- func (fake *FakeResource) DisableVersionArgsForCall(i int) int
- func (fake *FakeResource) DisableVersionCallCount() int
- func (fake *FakeResource) DisableVersionCalls(stub func(int) error)
- func (fake *FakeResource) DisableVersionReturns(result1 error)
- func (fake *FakeResource) DisableVersionReturnsOnCall(i int, result1 error)
- func (fake *FakeResource) EnableVersion(arg1 int) error
- func (fake *FakeResource) EnableVersionArgsForCall(i int) int
- func (fake *FakeResource) EnableVersionCallCount() int
- func (fake *FakeResource) EnableVersionCalls(stub func(int) error)
- func (fake *FakeResource) EnableVersionReturns(result1 error)
- func (fake *FakeResource) EnableVersionReturnsOnCall(i int, result1 error)
- func (fake *FakeResource) HasWebhook() bool
- func (fake *FakeResource) HasWebhookCallCount() int
- func (fake *FakeResource) HasWebhookCalls(stub func() bool)
- func (fake *FakeResource) HasWebhookReturns(result1 bool)
- func (fake *FakeResource) HasWebhookReturnsOnCall(i int, result1 bool)
- func (fake *FakeResource) ID() int
- func (fake *FakeResource) IDCallCount() int
- func (fake *FakeResource) IDCalls(stub func() int)
- func (fake *FakeResource) IDReturns(result1 int)
- func (fake *FakeResource) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeResource) Icon() string
- func (fake *FakeResource) IconCallCount() int
- func (fake *FakeResource) IconCalls(stub func() string)
- func (fake *FakeResource) IconReturns(result1 string)
- func (fake *FakeResource) IconReturnsOnCall(i int, result1 string)
- func (fake *FakeResource) Invocations() map[string][][]interface{}
- func (fake *FakeResource) LastCheckEndTime() time.Time
- func (fake *FakeResource) LastCheckEndTimeCallCount() int
- func (fake *FakeResource) LastCheckEndTimeCalls(stub func() time.Time)
- func (fake *FakeResource) LastCheckEndTimeReturns(result1 time.Time)
- func (fake *FakeResource) LastCheckEndTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeResource) LastCheckStartTime() time.Time
- func (fake *FakeResource) LastCheckStartTimeCallCount() int
- func (fake *FakeResource) LastCheckStartTimeCalls(stub func() time.Time)
- func (fake *FakeResource) LastCheckStartTimeReturns(result1 time.Time)
- func (fake *FakeResource) LastCheckStartTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeResource) Name() string
- func (fake *FakeResource) NameCallCount() int
- func (fake *FakeResource) NameCalls(stub func() string)
- func (fake *FakeResource) NameReturns(result1 string)
- func (fake *FakeResource) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeResource) NotifyScan() error
- func (fake *FakeResource) NotifyScanCallCount() int
- func (fake *FakeResource) NotifyScanCalls(stub func() error)
- func (fake *FakeResource) NotifyScanReturns(result1 error)
- func (fake *FakeResource) NotifyScanReturnsOnCall(i int, result1 error)
- func (fake *FakeResource) PinComment() string
- func (fake *FakeResource) PinCommentCallCount() int
- func (fake *FakeResource) PinCommentCalls(stub func() string)
- func (fake *FakeResource) PinCommentReturns(result1 string)
- func (fake *FakeResource) PinCommentReturnsOnCall(i int, result1 string)
- func (fake *FakeResource) PinVersion(arg1 int) (bool, error)
- func (fake *FakeResource) PinVersionArgsForCall(i int) int
- func (fake *FakeResource) PinVersionCallCount() int
- func (fake *FakeResource) PinVersionCalls(stub func(int) (bool, error))
- func (fake *FakeResource) PinVersionReturns(result1 bool, result2 error)
- func (fake *FakeResource) PinVersionReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeResource) Pipeline() (db.Pipeline, bool, error)
- func (fake *FakeResource) PipelineCallCount() int
- func (fake *FakeResource) PipelineCalls(stub func() (db.Pipeline, bool, error))
- func (fake *FakeResource) PipelineID() int
- func (fake *FakeResource) PipelineIDCallCount() int
- func (fake *FakeResource) PipelineIDCalls(stub func() int)
- func (fake *FakeResource) PipelineIDReturns(result1 int)
- func (fake *FakeResource) PipelineIDReturnsOnCall(i int, result1 int)
- func (fake *FakeResource) PipelineName() string
- func (fake *FakeResource) PipelineNameCallCount() int
- func (fake *FakeResource) PipelineNameCalls(stub func() string)
- func (fake *FakeResource) PipelineNameReturns(result1 string)
- func (fake *FakeResource) PipelineNameReturnsOnCall(i int, result1 string)
- func (fake *FakeResource) PipelineReturns(result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeResource) PipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeResource) Public() bool
- func (fake *FakeResource) PublicCallCount() int
- func (fake *FakeResource) PublicCalls(stub func() bool)
- func (fake *FakeResource) PublicReturns(result1 bool)
- func (fake *FakeResource) PublicReturnsOnCall(i int, result1 bool)
- func (fake *FakeResource) Reload() (bool, error)
- func (fake *FakeResource) ReloadCallCount() int
- func (fake *FakeResource) ReloadCalls(stub func() (bool, error))
- func (fake *FakeResource) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeResource) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeResource) ResourceConfigID() int
- func (fake *FakeResource) ResourceConfigIDCallCount() int
- func (fake *FakeResource) ResourceConfigIDCalls(stub func() int)
- func (fake *FakeResource) ResourceConfigIDReturns(result1 int)
- func (fake *FakeResource) ResourceConfigIDReturnsOnCall(i int, result1 int)
- func (fake *FakeResource) ResourceConfigScopeID() int
- func (fake *FakeResource) ResourceConfigScopeIDCallCount() int
- func (fake *FakeResource) ResourceConfigScopeIDCalls(stub func() int)
- func (fake *FakeResource) ResourceConfigScopeIDReturns(result1 int)
- func (fake *FakeResource) ResourceConfigScopeIDReturnsOnCall(i int, result1 int)
- func (fake *FakeResource) ResourceConfigVersionID(arg1 atc.Version) (int, bool, error)
- func (fake *FakeResource) ResourceConfigVersionIDArgsForCall(i int) atc.Version
- func (fake *FakeResource) ResourceConfigVersionIDCallCount() int
- func (fake *FakeResource) ResourceConfigVersionIDCalls(stub func(atc.Version) (int, bool, error))
- func (fake *FakeResource) ResourceConfigVersionIDReturns(result1 int, result2 bool, result3 error)
- func (fake *FakeResource) ResourceConfigVersionIDReturnsOnCall(i int, result1 int, result2 bool, result3 error)
- func (fake *FakeResource) SaveUncheckedVersion(arg1 atc.Version, arg2 db.ResourceConfigMetadataFields, arg3 db.ResourceConfig, ...) (bool, error)
- func (fake *FakeResource) SaveUncheckedVersionArgsForCall(i int) (atc.Version, db.ResourceConfigMetadataFields, db.ResourceConfig, ...)
- func (fake *FakeResource) SaveUncheckedVersionCallCount() int
- func (fake *FakeResource) SaveUncheckedVersionCalls(...)
- func (fake *FakeResource) SaveUncheckedVersionReturns(result1 bool, result2 error)
- func (fake *FakeResource) SaveUncheckedVersionReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeResource) SetCheckSetupError(arg1 error) error
- func (fake *FakeResource) SetCheckSetupErrorArgsForCall(i int) error
- func (fake *FakeResource) SetCheckSetupErrorCallCount() int
- func (fake *FakeResource) SetCheckSetupErrorCalls(stub func(error) error)
- func (fake *FakeResource) SetCheckSetupErrorReturns(result1 error)
- func (fake *FakeResource) SetCheckSetupErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeResource) SetPinComment(arg1 string) error
- func (fake *FakeResource) SetPinCommentArgsForCall(i int) string
- func (fake *FakeResource) SetPinCommentCallCount() int
- func (fake *FakeResource) SetPinCommentCalls(stub func(string) error)
- func (fake *FakeResource) SetPinCommentReturns(result1 error)
- func (fake *FakeResource) SetPinCommentReturnsOnCall(i int, result1 error)
- func (fake *FakeResource) SetResourceConfig(arg1 atc.Source, arg2 atc.VersionedResourceTypes) (db.ResourceConfigScope, error)
- func (fake *FakeResource) SetResourceConfigArgsForCall(i int) (atc.Source, atc.VersionedResourceTypes)
- func (fake *FakeResource) SetResourceConfigCallCount() int
- func (fake *FakeResource) SetResourceConfigCalls(...)
- func (fake *FakeResource) SetResourceConfigReturns(result1 db.ResourceConfigScope, result2 error)
- func (fake *FakeResource) SetResourceConfigReturnsOnCall(i int, result1 db.ResourceConfigScope, result2 error)
- func (fake *FakeResource) Source() atc.Source
- func (fake *FakeResource) SourceCallCount() int
- func (fake *FakeResource) SourceCalls(stub func() atc.Source)
- func (fake *FakeResource) SourceReturns(result1 atc.Source)
- func (fake *FakeResource) SourceReturnsOnCall(i int, result1 atc.Source)
- func (fake *FakeResource) Tags() atc.Tags
- func (fake *FakeResource) TagsCallCount() int
- func (fake *FakeResource) TagsCalls(stub func() atc.Tags)
- func (fake *FakeResource) TagsReturns(result1 atc.Tags)
- func (fake *FakeResource) TagsReturnsOnCall(i int, result1 atc.Tags)
- func (fake *FakeResource) TeamID() int
- func (fake *FakeResource) TeamIDCallCount() int
- func (fake *FakeResource) TeamIDCalls(stub func() int)
- func (fake *FakeResource) TeamIDReturns(result1 int)
- func (fake *FakeResource) TeamIDReturnsOnCall(i int, result1 int)
- func (fake *FakeResource) TeamName() string
- func (fake *FakeResource) TeamNameCallCount() int
- func (fake *FakeResource) TeamNameCalls(stub func() string)
- func (fake *FakeResource) TeamNameReturns(result1 string)
- func (fake *FakeResource) TeamNameReturnsOnCall(i int, result1 string)
- func (fake *FakeResource) Type() string
- func (fake *FakeResource) TypeCallCount() int
- func (fake *FakeResource) TypeCalls(stub func() string)
- func (fake *FakeResource) TypeReturns(result1 string)
- func (fake *FakeResource) TypeReturnsOnCall(i int, result1 string)
- func (fake *FakeResource) UnpinVersion() error
- func (fake *FakeResource) UnpinVersionCallCount() int
- func (fake *FakeResource) UnpinVersionCalls(stub func() error)
- func (fake *FakeResource) UnpinVersionReturns(result1 error)
- func (fake *FakeResource) UnpinVersionReturnsOnCall(i int, result1 error)
- func (fake *FakeResource) UpdateMetadata(arg1 atc.Version, arg2 db.ResourceConfigMetadataFields) (bool, error)
- func (fake *FakeResource) UpdateMetadataArgsForCall(i int) (atc.Version, db.ResourceConfigMetadataFields)
- func (fake *FakeResource) UpdateMetadataCallCount() int
- func (fake *FakeResource) UpdateMetadataCalls(stub func(atc.Version, db.ResourceConfigMetadataFields) (bool, error))
- func (fake *FakeResource) UpdateMetadataReturns(result1 bool, result2 error)
- func (fake *FakeResource) UpdateMetadataReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeResource) Versions(arg1 db.Page, arg2 atc.Version) ([]atc.ResourceVersion, db.Pagination, bool, error)
- func (fake *FakeResource) VersionsArgsForCall(i int) (db.Page, atc.Version)
- func (fake *FakeResource) VersionsCallCount() int
- func (fake *FakeResource) VersionsCalls(...)
- func (fake *FakeResource) VersionsReturns(result1 []atc.ResourceVersion, result2 db.Pagination, result3 bool, ...)
- func (fake *FakeResource) VersionsReturnsOnCall(i int, result1 []atc.ResourceVersion, result2 db.Pagination, result3 bool, ...)
- func (fake *FakeResource) WebhookToken() string
- func (fake *FakeResource) WebhookTokenCallCount() int
- func (fake *FakeResource) WebhookTokenCalls(stub func() string)
- func (fake *FakeResource) WebhookTokenReturns(result1 string)
- func (fake *FakeResource) WebhookTokenReturnsOnCall(i int, result1 string)
- type FakeResourceCacheFactory
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCache(arg1 db.ResourceCacheUser, arg2 string, arg3 atc.Version, arg4 atc.Source, ...) (db.UsedResourceCache, error)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheArgsForCall(i int) (db.ResourceCacheUser, string, atc.Version, atc.Source, atc.Params, ...)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheCallCount() int
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheCalls(...)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturns(result1 db.UsedResourceCache, result2 error)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturnsOnCall(i int, result1 db.UsedResourceCache, result2 error)
- func (fake *FakeResourceCacheFactory) FindResourceCacheByID(arg1 int) (db.UsedResourceCache, bool, error)
- func (fake *FakeResourceCacheFactory) FindResourceCacheByIDArgsForCall(i int) int
- func (fake *FakeResourceCacheFactory) FindResourceCacheByIDCallCount() int
- func (fake *FakeResourceCacheFactory) FindResourceCacheByIDCalls(stub func(int) (db.UsedResourceCache, bool, error))
- func (fake *FakeResourceCacheFactory) FindResourceCacheByIDReturns(result1 db.UsedResourceCache, result2 bool, result3 error)
- func (fake *FakeResourceCacheFactory) FindResourceCacheByIDReturnsOnCall(i int, result1 db.UsedResourceCache, result2 bool, result3 error)
- func (fake *FakeResourceCacheFactory) Invocations() map[string][][]interface{}
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadata(arg1 db.UsedResourceCache) (db.ResourceConfigMetadataFields, error)
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadataArgsForCall(i int) db.UsedResourceCache
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadataCallCount() int
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadataCalls(stub func(db.UsedResourceCache) (db.ResourceConfigMetadataFields, error))
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadataReturns(result1 db.ResourceConfigMetadataFields, result2 error)
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadataReturnsOnCall(i int, result1 db.ResourceConfigMetadataFields, result2 error)
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadata(arg1 db.UsedResourceCache, arg2 []atc.MetadataField) error
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataArgsForCall(i int) (db.UsedResourceCache, []atc.MetadataField)
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataCallCount() int
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataCalls(stub func(db.UsedResourceCache, []atc.MetadataField) error)
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataReturns(result1 error)
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataReturnsOnCall(i int, result1 error)
- type FakeResourceCacheLifecycle
- func (fake *FakeResourceCacheLifecycle) CleanBuildImageResourceCaches(arg1 lager.Logger) error
- func (fake *FakeResourceCacheLifecycle) CleanBuildImageResourceCachesArgsForCall(i int) lager.Logger
- func (fake *FakeResourceCacheLifecycle) CleanBuildImageResourceCachesCallCount() int
- func (fake *FakeResourceCacheLifecycle) CleanBuildImageResourceCachesCalls(stub func(lager.Logger) error)
- func (fake *FakeResourceCacheLifecycle) CleanBuildImageResourceCachesReturns(result1 error)
- func (fake *FakeResourceCacheLifecycle) CleanBuildImageResourceCachesReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceCacheLifecycle) CleanUpInvalidCaches(arg1 lager.Logger) error
- func (fake *FakeResourceCacheLifecycle) CleanUpInvalidCachesArgsForCall(i int) lager.Logger
- func (fake *FakeResourceCacheLifecycle) CleanUpInvalidCachesCallCount() int
- func (fake *FakeResourceCacheLifecycle) CleanUpInvalidCachesCalls(stub func(lager.Logger) error)
- func (fake *FakeResourceCacheLifecycle) CleanUpInvalidCachesReturns(result1 error)
- func (fake *FakeResourceCacheLifecycle) CleanUpInvalidCachesReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceCacheLifecycle) CleanUsesForFinishedBuilds(arg1 lager.Logger) error
- func (fake *FakeResourceCacheLifecycle) CleanUsesForFinishedBuildsArgsForCall(i int) lager.Logger
- func (fake *FakeResourceCacheLifecycle) CleanUsesForFinishedBuildsCallCount() int
- func (fake *FakeResourceCacheLifecycle) CleanUsesForFinishedBuildsCalls(stub func(lager.Logger) error)
- func (fake *FakeResourceCacheLifecycle) CleanUsesForFinishedBuildsReturns(result1 error)
- func (fake *FakeResourceCacheLifecycle) CleanUsesForFinishedBuildsReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceCacheLifecycle) Invocations() map[string][][]interface{}
- type FakeResourceConfig
- func (fake *FakeResourceConfig) CreatedByBaseResourceType() *db.UsedBaseResourceType
- func (fake *FakeResourceConfig) CreatedByBaseResourceTypeCallCount() int
- func (fake *FakeResourceConfig) CreatedByBaseResourceTypeCalls(stub func() *db.UsedBaseResourceType)
- func (fake *FakeResourceConfig) CreatedByBaseResourceTypeReturns(result1 *db.UsedBaseResourceType)
- func (fake *FakeResourceConfig) CreatedByBaseResourceTypeReturnsOnCall(i int, result1 *db.UsedBaseResourceType)
- func (fake *FakeResourceConfig) CreatedByResourceCache() db.UsedResourceCache
- func (fake *FakeResourceConfig) CreatedByResourceCacheCallCount() int
- func (fake *FakeResourceConfig) CreatedByResourceCacheCalls(stub func() db.UsedResourceCache)
- func (fake *FakeResourceConfig) CreatedByResourceCacheReturns(result1 db.UsedResourceCache)
- func (fake *FakeResourceConfig) CreatedByResourceCacheReturnsOnCall(i int, result1 db.UsedResourceCache)
- func (fake *FakeResourceConfig) FindResourceConfigScopeByID(arg1 int, arg2 db.Resource) (db.ResourceConfigScope, bool, error)
- func (fake *FakeResourceConfig) FindResourceConfigScopeByIDArgsForCall(i int) (int, db.Resource)
- func (fake *FakeResourceConfig) FindResourceConfigScopeByIDCallCount() int
- func (fake *FakeResourceConfig) FindResourceConfigScopeByIDCalls(stub func(int, db.Resource) (db.ResourceConfigScope, bool, error))
- func (fake *FakeResourceConfig) FindResourceConfigScopeByIDReturns(result1 db.ResourceConfigScope, result2 bool, result3 error)
- func (fake *FakeResourceConfig) FindResourceConfigScopeByIDReturnsOnCall(i int, result1 db.ResourceConfigScope, result2 bool, result3 error)
- func (fake *FakeResourceConfig) ID() int
- func (fake *FakeResourceConfig) IDCallCount() int
- func (fake *FakeResourceConfig) IDCalls(stub func() int)
- func (fake *FakeResourceConfig) IDReturns(result1 int)
- func (fake *FakeResourceConfig) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeResourceConfig) Invocations() map[string][][]interface{}
- func (fake *FakeResourceConfig) OriginBaseResourceType() *db.UsedBaseResourceType
- func (fake *FakeResourceConfig) OriginBaseResourceTypeCallCount() int
- func (fake *FakeResourceConfig) OriginBaseResourceTypeCalls(stub func() *db.UsedBaseResourceType)
- func (fake *FakeResourceConfig) OriginBaseResourceTypeReturns(result1 *db.UsedBaseResourceType)
- func (fake *FakeResourceConfig) OriginBaseResourceTypeReturnsOnCall(i int, result1 *db.UsedBaseResourceType)
- type FakeResourceConfigCheckSessionLifecycle
- func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessions() error
- func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsCallCount() int
- func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsCalls(stub func() error)
- func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsReturns(result1 error)
- func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceConfigCheckSessionLifecycle) CleanInactiveResourceConfigCheckSessions() error
- func (fake *FakeResourceConfigCheckSessionLifecycle) CleanInactiveResourceConfigCheckSessionsCallCount() int
- func (fake *FakeResourceConfigCheckSessionLifecycle) CleanInactiveResourceConfigCheckSessionsCalls(stub func() error)
- func (fake *FakeResourceConfigCheckSessionLifecycle) CleanInactiveResourceConfigCheckSessionsReturns(result1 error)
- func (fake *FakeResourceConfigCheckSessionLifecycle) CleanInactiveResourceConfigCheckSessionsReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceConfigCheckSessionLifecycle) Invocations() map[string][][]interface{}
- type FakeResourceConfigFactory
- func (fake *FakeResourceConfigFactory) CleanUnreferencedConfigs() error
- func (fake *FakeResourceConfigFactory) CleanUnreferencedConfigsCallCount() int
- func (fake *FakeResourceConfigFactory) CleanUnreferencedConfigsCalls(stub func() error)
- func (fake *FakeResourceConfigFactory) CleanUnreferencedConfigsReturns(result1 error)
- func (fake *FakeResourceConfigFactory) CleanUnreferencedConfigsReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfig(arg1 string, arg2 atc.Source, arg3 atc.VersionedResourceTypes) (db.ResourceConfig, error)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigArgsForCall(i int) (string, atc.Source, atc.VersionedResourceTypes)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigCallCount() int
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigCalls(...)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturns(result1 db.ResourceConfig, result2 error)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturnsOnCall(i int, result1 db.ResourceConfig, result2 error)
- func (fake *FakeResourceConfigFactory) FindResourceConfigByID(arg1 int) (db.ResourceConfig, bool, error)
- func (fake *FakeResourceConfigFactory) FindResourceConfigByIDArgsForCall(i int) int
- func (fake *FakeResourceConfigFactory) FindResourceConfigByIDCallCount() int
- func (fake *FakeResourceConfigFactory) FindResourceConfigByIDCalls(stub func(int) (db.ResourceConfig, bool, error))
- func (fake *FakeResourceConfigFactory) FindResourceConfigByIDReturns(result1 db.ResourceConfig, result2 bool, result3 error)
- func (fake *FakeResourceConfigFactory) FindResourceConfigByIDReturnsOnCall(i int, result1 db.ResourceConfig, result2 bool, result3 error)
- func (fake *FakeResourceConfigFactory) Invocations() map[string][][]interface{}
- type FakeResourceConfigScope
- func (fake *FakeResourceConfigScope) AcquireResourceCheckingLock(arg1 lager.Logger) (lock.Lock, bool, error)
- func (fake *FakeResourceConfigScope) AcquireResourceCheckingLockArgsForCall(i int) lager.Logger
- func (fake *FakeResourceConfigScope) AcquireResourceCheckingLockCallCount() int
- func (fake *FakeResourceConfigScope) AcquireResourceCheckingLockCalls(stub func(lager.Logger) (lock.Lock, bool, error))
- func (fake *FakeResourceConfigScope) AcquireResourceCheckingLockReturns(result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeResourceConfigScope) AcquireResourceCheckingLockReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeResourceConfigScope) CheckError() error
- func (fake *FakeResourceConfigScope) CheckErrorCallCount() int
- func (fake *FakeResourceConfigScope) CheckErrorCalls(stub func() error)
- func (fake *FakeResourceConfigScope) CheckErrorReturns(result1 error)
- func (fake *FakeResourceConfigScope) CheckErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceConfigScope) FindVersion(arg1 atc.Version) (db.ResourceConfigVersion, bool, error)
- func (fake *FakeResourceConfigScope) FindVersionArgsForCall(i int) atc.Version
- func (fake *FakeResourceConfigScope) FindVersionCallCount() int
- func (fake *FakeResourceConfigScope) FindVersionCalls(stub func(atc.Version) (db.ResourceConfigVersion, bool, error))
- func (fake *FakeResourceConfigScope) FindVersionReturns(result1 db.ResourceConfigVersion, result2 bool, result3 error)
- func (fake *FakeResourceConfigScope) FindVersionReturnsOnCall(i int, result1 db.ResourceConfigVersion, result2 bool, result3 error)
- func (fake *FakeResourceConfigScope) ID() int
- func (fake *FakeResourceConfigScope) IDCallCount() int
- func (fake *FakeResourceConfigScope) IDCalls(stub func() int)
- func (fake *FakeResourceConfigScope) IDReturns(result1 int)
- func (fake *FakeResourceConfigScope) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeResourceConfigScope) Invocations() map[string][][]interface{}
- func (fake *FakeResourceConfigScope) LatestVersion() (db.ResourceConfigVersion, bool, error)
- func (fake *FakeResourceConfigScope) LatestVersionCallCount() int
- func (fake *FakeResourceConfigScope) LatestVersionCalls(stub func() (db.ResourceConfigVersion, bool, error))
- func (fake *FakeResourceConfigScope) LatestVersionReturns(result1 db.ResourceConfigVersion, result2 bool, result3 error)
- func (fake *FakeResourceConfigScope) LatestVersionReturnsOnCall(i int, result1 db.ResourceConfigVersion, result2 bool, result3 error)
- func (fake *FakeResourceConfigScope) Resource() db.Resource
- func (fake *FakeResourceConfigScope) ResourceCallCount() int
- func (fake *FakeResourceConfigScope) ResourceCalls(stub func() db.Resource)
- func (fake *FakeResourceConfigScope) ResourceConfig() db.ResourceConfig
- func (fake *FakeResourceConfigScope) ResourceConfigCallCount() int
- func (fake *FakeResourceConfigScope) ResourceConfigCalls(stub func() db.ResourceConfig)
- func (fake *FakeResourceConfigScope) ResourceConfigReturns(result1 db.ResourceConfig)
- func (fake *FakeResourceConfigScope) ResourceConfigReturnsOnCall(i int, result1 db.ResourceConfig)
- func (fake *FakeResourceConfigScope) ResourceReturns(result1 db.Resource)
- func (fake *FakeResourceConfigScope) ResourceReturnsOnCall(i int, result1 db.Resource)
- func (fake *FakeResourceConfigScope) SaveVersions(arg1 db.SpanContext, arg2 []atc.Version) error
- func (fake *FakeResourceConfigScope) SaveVersionsArgsForCall(i int) (db.SpanContext, []atc.Version)
- func (fake *FakeResourceConfigScope) SaveVersionsCallCount() int
- func (fake *FakeResourceConfigScope) SaveVersionsCalls(stub func(db.SpanContext, []atc.Version) error)
- func (fake *FakeResourceConfigScope) SaveVersionsReturns(result1 error)
- func (fake *FakeResourceConfigScope) SaveVersionsReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceConfigScope) SetCheckError(arg1 error) error
- func (fake *FakeResourceConfigScope) SetCheckErrorArgsForCall(i int) error
- func (fake *FakeResourceConfigScope) SetCheckErrorCallCount() int
- func (fake *FakeResourceConfigScope) SetCheckErrorCalls(stub func(error) error)
- func (fake *FakeResourceConfigScope) SetCheckErrorReturns(result1 error)
- func (fake *FakeResourceConfigScope) SetCheckErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceConfigScope) UpdateLastCheckEndTime() (bool, error)
- func (fake *FakeResourceConfigScope) UpdateLastCheckEndTimeCallCount() int
- func (fake *FakeResourceConfigScope) UpdateLastCheckEndTimeCalls(stub func() (bool, error))
- func (fake *FakeResourceConfigScope) UpdateLastCheckEndTimeReturns(result1 bool, result2 error)
- func (fake *FakeResourceConfigScope) UpdateLastCheckEndTimeReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeResourceConfigScope) UpdateLastCheckStartTime(arg1 time.Duration, arg2 bool) (bool, error)
- func (fake *FakeResourceConfigScope) UpdateLastCheckStartTimeArgsForCall(i int) (time.Duration, bool)
- func (fake *FakeResourceConfigScope) UpdateLastCheckStartTimeCallCount() int
- func (fake *FakeResourceConfigScope) UpdateLastCheckStartTimeCalls(stub func(time.Duration, bool) (bool, error))
- func (fake *FakeResourceConfigScope) UpdateLastCheckStartTimeReturns(result1 bool, result2 error)
- func (fake *FakeResourceConfigScope) UpdateLastCheckStartTimeReturnsOnCall(i int, result1 bool, result2 error)
- type FakeResourceConfigVersion
- func (fake *FakeResourceConfigVersion) CheckOrder() int
- func (fake *FakeResourceConfigVersion) CheckOrderCallCount() int
- func (fake *FakeResourceConfigVersion) CheckOrderCalls(stub func() int)
- func (fake *FakeResourceConfigVersion) CheckOrderReturns(result1 int)
- func (fake *FakeResourceConfigVersion) CheckOrderReturnsOnCall(i int, result1 int)
- func (fake *FakeResourceConfigVersion) ID() int
- func (fake *FakeResourceConfigVersion) IDCallCount() int
- func (fake *FakeResourceConfigVersion) IDCalls(stub func() int)
- func (fake *FakeResourceConfigVersion) IDReturns(result1 int)
- func (fake *FakeResourceConfigVersion) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeResourceConfigVersion) Invocations() map[string][][]interface{}
- func (fake *FakeResourceConfigVersion) Metadata() db.ResourceConfigMetadataFields
- func (fake *FakeResourceConfigVersion) MetadataCallCount() int
- func (fake *FakeResourceConfigVersion) MetadataCalls(stub func() db.ResourceConfigMetadataFields)
- func (fake *FakeResourceConfigVersion) MetadataReturns(result1 db.ResourceConfigMetadataFields)
- func (fake *FakeResourceConfigVersion) MetadataReturnsOnCall(i int, result1 db.ResourceConfigMetadataFields)
- func (fake *FakeResourceConfigVersion) Reload() (bool, error)
- func (fake *FakeResourceConfigVersion) ReloadCallCount() int
- func (fake *FakeResourceConfigVersion) ReloadCalls(stub func() (bool, error))
- func (fake *FakeResourceConfigVersion) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeResourceConfigVersion) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeResourceConfigVersion) ResourceConfigScope() db.ResourceConfigScope
- func (fake *FakeResourceConfigVersion) ResourceConfigScopeCallCount() int
- func (fake *FakeResourceConfigVersion) ResourceConfigScopeCalls(stub func() db.ResourceConfigScope)
- func (fake *FakeResourceConfigVersion) ResourceConfigScopeReturns(result1 db.ResourceConfigScope)
- func (fake *FakeResourceConfigVersion) ResourceConfigScopeReturnsOnCall(i int, result1 db.ResourceConfigScope)
- func (fake *FakeResourceConfigVersion) SpanContext() propagators.Supplier
- func (fake *FakeResourceConfigVersion) SpanContextCallCount() int
- func (fake *FakeResourceConfigVersion) SpanContextCalls(stub func() propagators.Supplier)
- func (fake *FakeResourceConfigVersion) SpanContextReturns(result1 propagators.Supplier)
- func (fake *FakeResourceConfigVersion) SpanContextReturnsOnCall(i int, result1 propagators.Supplier)
- func (fake *FakeResourceConfigVersion) Version() db.Version
- func (fake *FakeResourceConfigVersion) VersionCallCount() int
- func (fake *FakeResourceConfigVersion) VersionCalls(stub func() db.Version)
- func (fake *FakeResourceConfigVersion) VersionReturns(result1 db.Version)
- func (fake *FakeResourceConfigVersion) VersionReturnsOnCall(i int, result1 db.Version)
- type FakeResourceFactory
- func (fake *FakeResourceFactory) AllResources() ([]db.Resource, error)
- func (fake *FakeResourceFactory) AllResourcesCallCount() int
- func (fake *FakeResourceFactory) AllResourcesCalls(stub func() ([]db.Resource, error))
- func (fake *FakeResourceFactory) AllResourcesReturns(result1 []db.Resource, result2 error)
- func (fake *FakeResourceFactory) AllResourcesReturnsOnCall(i int, result1 []db.Resource, result2 error)
- func (fake *FakeResourceFactory) Invocations() map[string][][]interface{}
- func (fake *FakeResourceFactory) Resource(arg1 int) (db.Resource, bool, error)
- func (fake *FakeResourceFactory) ResourceArgsForCall(i int) int
- func (fake *FakeResourceFactory) ResourceCallCount() int
- func (fake *FakeResourceFactory) ResourceCalls(stub func(int) (db.Resource, bool, error))
- func (fake *FakeResourceFactory) ResourceReturns(result1 db.Resource, result2 bool, result3 error)
- func (fake *FakeResourceFactory) ResourceReturnsOnCall(i int, result1 db.Resource, result2 bool, result3 error)
- func (fake *FakeResourceFactory) VisibleResources(arg1 []string) ([]db.Resource, error)
- func (fake *FakeResourceFactory) VisibleResourcesArgsForCall(i int) []string
- func (fake *FakeResourceFactory) VisibleResourcesCallCount() int
- func (fake *FakeResourceFactory) VisibleResourcesCalls(stub func([]string) ([]db.Resource, error))
- func (fake *FakeResourceFactory) VisibleResourcesReturns(result1 []db.Resource, result2 error)
- func (fake *FakeResourceFactory) VisibleResourcesReturnsOnCall(i int, result1 []db.Resource, result2 error)
- type FakeResourceType
- func (fake *FakeResourceType) CheckError() error
- func (fake *FakeResourceType) CheckErrorCallCount() int
- func (fake *FakeResourceType) CheckErrorCalls(stub func() error)
- func (fake *FakeResourceType) CheckErrorReturns(result1 error)
- func (fake *FakeResourceType) CheckErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceType) CheckEvery() string
- func (fake *FakeResourceType) CheckEveryCallCount() int
- func (fake *FakeResourceType) CheckEveryCalls(stub func() string)
- func (fake *FakeResourceType) CheckEveryReturns(result1 string)
- func (fake *FakeResourceType) CheckEveryReturnsOnCall(i int, result1 string)
- func (fake *FakeResourceType) CheckSetupError() error
- func (fake *FakeResourceType) CheckSetupErrorCallCount() int
- func (fake *FakeResourceType) CheckSetupErrorCalls(stub func() error)
- func (fake *FakeResourceType) CheckSetupErrorReturns(result1 error)
- func (fake *FakeResourceType) CheckSetupErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceType) CheckTimeout() string
- func (fake *FakeResourceType) CheckTimeoutCallCount() int
- func (fake *FakeResourceType) CheckTimeoutCalls(stub func() string)
- func (fake *FakeResourceType) CheckTimeoutReturns(result1 string)
- func (fake *FakeResourceType) CheckTimeoutReturnsOnCall(i int, result1 string)
- func (fake *FakeResourceType) CurrentPinnedVersion() atc.Version
- func (fake *FakeResourceType) CurrentPinnedVersionCallCount() int
- func (fake *FakeResourceType) CurrentPinnedVersionCalls(stub func() atc.Version)
- func (fake *FakeResourceType) CurrentPinnedVersionReturns(result1 atc.Version)
- func (fake *FakeResourceType) CurrentPinnedVersionReturnsOnCall(i int, result1 atc.Version)
- func (fake *FakeResourceType) HasWebhook() bool
- func (fake *FakeResourceType) HasWebhookCallCount() int
- func (fake *FakeResourceType) HasWebhookCalls(stub func() bool)
- func (fake *FakeResourceType) HasWebhookReturns(result1 bool)
- func (fake *FakeResourceType) HasWebhookReturnsOnCall(i int, result1 bool)
- func (fake *FakeResourceType) ID() int
- func (fake *FakeResourceType) IDCallCount() int
- func (fake *FakeResourceType) IDCalls(stub func() int)
- func (fake *FakeResourceType) IDReturns(result1 int)
- func (fake *FakeResourceType) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeResourceType) Invocations() map[string][][]interface{}
- func (fake *FakeResourceType) LastCheckEndTime() time.Time
- func (fake *FakeResourceType) LastCheckEndTimeCallCount() int
- func (fake *FakeResourceType) LastCheckEndTimeCalls(stub func() time.Time)
- func (fake *FakeResourceType) LastCheckEndTimeReturns(result1 time.Time)
- func (fake *FakeResourceType) LastCheckEndTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeResourceType) LastCheckStartTime() time.Time
- func (fake *FakeResourceType) LastCheckStartTimeCallCount() int
- func (fake *FakeResourceType) LastCheckStartTimeCalls(stub func() time.Time)
- func (fake *FakeResourceType) LastCheckStartTimeReturns(result1 time.Time)
- func (fake *FakeResourceType) LastCheckStartTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeResourceType) Name() string
- func (fake *FakeResourceType) NameCallCount() int
- func (fake *FakeResourceType) NameCalls(stub func() string)
- func (fake *FakeResourceType) NameReturns(result1 string)
- func (fake *FakeResourceType) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeResourceType) Params() atc.Params
- func (fake *FakeResourceType) ParamsCallCount() int
- func (fake *FakeResourceType) ParamsCalls(stub func() atc.Params)
- func (fake *FakeResourceType) ParamsReturns(result1 atc.Params)
- func (fake *FakeResourceType) ParamsReturnsOnCall(i int, result1 atc.Params)
- func (fake *FakeResourceType) Pipeline() (db.Pipeline, bool, error)
- func (fake *FakeResourceType) PipelineCallCount() int
- func (fake *FakeResourceType) PipelineCalls(stub func() (db.Pipeline, bool, error))
- func (fake *FakeResourceType) PipelineID() int
- func (fake *FakeResourceType) PipelineIDCallCount() int
- func (fake *FakeResourceType) PipelineIDCalls(stub func() int)
- func (fake *FakeResourceType) PipelineIDReturns(result1 int)
- func (fake *FakeResourceType) PipelineIDReturnsOnCall(i int, result1 int)
- func (fake *FakeResourceType) PipelineName() string
- func (fake *FakeResourceType) PipelineNameCallCount() int
- func (fake *FakeResourceType) PipelineNameCalls(stub func() string)
- func (fake *FakeResourceType) PipelineNameReturns(result1 string)
- func (fake *FakeResourceType) PipelineNameReturnsOnCall(i int, result1 string)
- func (fake *FakeResourceType) PipelineReturns(result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeResourceType) PipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeResourceType) Privileged() bool
- func (fake *FakeResourceType) PrivilegedCallCount() int
- func (fake *FakeResourceType) PrivilegedCalls(stub func() bool)
- func (fake *FakeResourceType) PrivilegedReturns(result1 bool)
- func (fake *FakeResourceType) PrivilegedReturnsOnCall(i int, result1 bool)
- func (fake *FakeResourceType) Reload() (bool, error)
- func (fake *FakeResourceType) ReloadCallCount() int
- func (fake *FakeResourceType) ReloadCalls(stub func() (bool, error))
- func (fake *FakeResourceType) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeResourceType) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeResourceType) ResourceConfigScopeID() int
- func (fake *FakeResourceType) ResourceConfigScopeIDCallCount() int
- func (fake *FakeResourceType) ResourceConfigScopeIDCalls(stub func() int)
- func (fake *FakeResourceType) ResourceConfigScopeIDReturns(result1 int)
- func (fake *FakeResourceType) ResourceConfigScopeIDReturnsOnCall(i int, result1 int)
- func (fake *FakeResourceType) SetCheckSetupError(arg1 error) error
- func (fake *FakeResourceType) SetCheckSetupErrorArgsForCall(i int) error
- func (fake *FakeResourceType) SetCheckSetupErrorCallCount() int
- func (fake *FakeResourceType) SetCheckSetupErrorCalls(stub func(error) error)
- func (fake *FakeResourceType) SetCheckSetupErrorReturns(result1 error)
- func (fake *FakeResourceType) SetCheckSetupErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceType) SetResourceConfig(arg1 atc.Source, arg2 atc.VersionedResourceTypes) (db.ResourceConfigScope, error)
- func (fake *FakeResourceType) SetResourceConfigArgsForCall(i int) (atc.Source, atc.VersionedResourceTypes)
- func (fake *FakeResourceType) SetResourceConfigCallCount() int
- func (fake *FakeResourceType) SetResourceConfigCalls(...)
- func (fake *FakeResourceType) SetResourceConfigReturns(result1 db.ResourceConfigScope, result2 error)
- func (fake *FakeResourceType) SetResourceConfigReturnsOnCall(i int, result1 db.ResourceConfigScope, result2 error)
- func (fake *FakeResourceType) Source() atc.Source
- func (fake *FakeResourceType) SourceCallCount() int
- func (fake *FakeResourceType) SourceCalls(stub func() atc.Source)
- func (fake *FakeResourceType) SourceReturns(result1 atc.Source)
- func (fake *FakeResourceType) SourceReturnsOnCall(i int, result1 atc.Source)
- func (fake *FakeResourceType) Tags() atc.Tags
- func (fake *FakeResourceType) TagsCallCount() int
- func (fake *FakeResourceType) TagsCalls(stub func() atc.Tags)
- func (fake *FakeResourceType) TagsReturns(result1 atc.Tags)
- func (fake *FakeResourceType) TagsReturnsOnCall(i int, result1 atc.Tags)
- func (fake *FakeResourceType) TeamID() int
- func (fake *FakeResourceType) TeamIDCallCount() int
- func (fake *FakeResourceType) TeamIDCalls(stub func() int)
- func (fake *FakeResourceType) TeamIDReturns(result1 int)
- func (fake *FakeResourceType) TeamIDReturnsOnCall(i int, result1 int)
- func (fake *FakeResourceType) TeamName() string
- func (fake *FakeResourceType) TeamNameCallCount() int
- func (fake *FakeResourceType) TeamNameCalls(stub func() string)
- func (fake *FakeResourceType) TeamNameReturns(result1 string)
- func (fake *FakeResourceType) TeamNameReturnsOnCall(i int, result1 string)
- func (fake *FakeResourceType) Type() string
- func (fake *FakeResourceType) TypeCallCount() int
- func (fake *FakeResourceType) TypeCalls(stub func() string)
- func (fake *FakeResourceType) TypeReturns(result1 string)
- func (fake *FakeResourceType) TypeReturnsOnCall(i int, result1 string)
- func (fake *FakeResourceType) UniqueVersionHistory() bool
- func (fake *FakeResourceType) UniqueVersionHistoryCallCount() int
- func (fake *FakeResourceType) UniqueVersionHistoryCalls(stub func() bool)
- func (fake *FakeResourceType) UniqueVersionHistoryReturns(result1 bool)
- func (fake *FakeResourceType) UniqueVersionHistoryReturnsOnCall(i int, result1 bool)
- func (fake *FakeResourceType) Version() atc.Version
- func (fake *FakeResourceType) VersionCallCount() int
- func (fake *FakeResourceType) VersionCalls(stub func() atc.Version)
- func (fake *FakeResourceType) VersionReturns(result1 atc.Version)
- func (fake *FakeResourceType) VersionReturnsOnCall(i int, result1 atc.Version)
- type FakeTaskCacheFactory
- func (fake *FakeTaskCacheFactory) Find(arg1 int, arg2 string, arg3 string) (db.UsedTaskCache, bool, error)
- func (fake *FakeTaskCacheFactory) FindArgsForCall(i int) (int, string, string)
- func (fake *FakeTaskCacheFactory) FindCallCount() int
- func (fake *FakeTaskCacheFactory) FindCalls(stub func(int, string, string) (db.UsedTaskCache, bool, error))
- func (fake *FakeTaskCacheFactory) FindOrCreate(arg1 int, arg2 string, arg3 string) (db.UsedTaskCache, error)
- func (fake *FakeTaskCacheFactory) FindOrCreateArgsForCall(i int) (int, string, string)
- func (fake *FakeTaskCacheFactory) FindOrCreateCallCount() int
- func (fake *FakeTaskCacheFactory) FindOrCreateCalls(stub func(int, string, string) (db.UsedTaskCache, error))
- func (fake *FakeTaskCacheFactory) FindOrCreateReturns(result1 db.UsedTaskCache, result2 error)
- func (fake *FakeTaskCacheFactory) FindOrCreateReturnsOnCall(i int, result1 db.UsedTaskCache, result2 error)
- func (fake *FakeTaskCacheFactory) FindReturns(result1 db.UsedTaskCache, result2 bool, result3 error)
- func (fake *FakeTaskCacheFactory) FindReturnsOnCall(i int, result1 db.UsedTaskCache, result2 bool, result3 error)
- func (fake *FakeTaskCacheFactory) Invocations() map[string][][]interface{}
- type FakeTeam
- func (fake *FakeTeam) Admin() bool
- func (fake *FakeTeam) AdminCallCount() int
- func (fake *FakeTeam) AdminCalls(stub func() bool)
- func (fake *FakeTeam) AdminReturns(result1 bool)
- func (fake *FakeTeam) AdminReturnsOnCall(i int, result1 bool)
- func (fake *FakeTeam) Auth() atc.TeamAuth
- func (fake *FakeTeam) AuthCallCount() int
- func (fake *FakeTeam) AuthCalls(stub func() atc.TeamAuth)
- func (fake *FakeTeam) AuthReturns(result1 atc.TeamAuth)
- func (fake *FakeTeam) AuthReturnsOnCall(i int, result1 atc.TeamAuth)
- func (fake *FakeTeam) Builds(arg1 db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakeTeam) BuildsArgsForCall(i int) db.Page
- func (fake *FakeTeam) BuildsCallCount() int
- func (fake *FakeTeam) BuildsCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))
- func (fake *FakeTeam) BuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeTeam) BuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeTeam) BuildsWithTime(arg1 db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakeTeam) BuildsWithTimeArgsForCall(i int) db.Page
- func (fake *FakeTeam) BuildsWithTimeCallCount() int
- func (fake *FakeTeam) BuildsWithTimeCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))
- func (fake *FakeTeam) BuildsWithTimeReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeTeam) BuildsWithTimeReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeTeam) Containers() ([]db.Container, error)
- func (fake *FakeTeam) ContainersCallCount() int
- func (fake *FakeTeam) ContainersCalls(stub func() ([]db.Container, error))
- func (fake *FakeTeam) ContainersReturns(result1 []db.Container, result2 error)
- func (fake *FakeTeam) ContainersReturnsOnCall(i int, result1 []db.Container, result2 error)
- func (fake *FakeTeam) CreateOneOffBuild() (db.Build, error)
- func (fake *FakeTeam) CreateOneOffBuildCallCount() int
- func (fake *FakeTeam) CreateOneOffBuildCalls(stub func() (db.Build, error))
- func (fake *FakeTeam) CreateOneOffBuildReturns(result1 db.Build, result2 error)
- func (fake *FakeTeam) CreateOneOffBuildReturnsOnCall(i int, result1 db.Build, result2 error)
- func (fake *FakeTeam) CreateStartedBuild(arg1 atc.Plan) (db.Build, error)
- func (fake *FakeTeam) CreateStartedBuildArgsForCall(i int) atc.Plan
- func (fake *FakeTeam) CreateStartedBuildCallCount() int
- func (fake *FakeTeam) CreateStartedBuildCalls(stub func(atc.Plan) (db.Build, error))
- func (fake *FakeTeam) CreateStartedBuildReturns(result1 db.Build, result2 error)
- func (fake *FakeTeam) CreateStartedBuildReturnsOnCall(i int, result1 db.Build, result2 error)
- func (fake *FakeTeam) Delete() error
- func (fake *FakeTeam) DeleteCallCount() int
- func (fake *FakeTeam) DeleteCalls(stub func() error)
- func (fake *FakeTeam) DeleteReturns(result1 error)
- func (fake *FakeTeam) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeTeam) FindCheckContainers(arg1 lager.Logger, arg2 string, arg3 string, arg4 creds.Secrets, ...) ([]db.Container, map[int]time.Time, error)
- func (fake *FakeTeam) FindCheckContainersArgsForCall(i int) (lager.Logger, string, string, creds.Secrets, creds.VarSourcePool)
- func (fake *FakeTeam) FindCheckContainersCallCount() int
- func (fake *FakeTeam) FindCheckContainersCalls(...)
- func (fake *FakeTeam) FindCheckContainersReturns(result1 []db.Container, result2 map[int]time.Time, result3 error)
- func (fake *FakeTeam) FindCheckContainersReturnsOnCall(i int, result1 []db.Container, result2 map[int]time.Time, result3 error)
- func (fake *FakeTeam) FindContainerByHandle(arg1 string) (db.Container, bool, error)
- func (fake *FakeTeam) FindContainerByHandleArgsForCall(i int) string
- func (fake *FakeTeam) FindContainerByHandleCallCount() int
- func (fake *FakeTeam) FindContainerByHandleCalls(stub func(string) (db.Container, bool, error))
- func (fake *FakeTeam) FindContainerByHandleReturns(result1 db.Container, result2 bool, result3 error)
- func (fake *FakeTeam) FindContainerByHandleReturnsOnCall(i int, result1 db.Container, result2 bool, result3 error)
- func (fake *FakeTeam) FindContainersByMetadata(arg1 db.ContainerMetadata) ([]db.Container, error)
- func (fake *FakeTeam) FindContainersByMetadataArgsForCall(i int) db.ContainerMetadata
- func (fake *FakeTeam) FindContainersByMetadataCallCount() int
- func (fake *FakeTeam) FindContainersByMetadataCalls(stub func(db.ContainerMetadata) ([]db.Container, error))
- func (fake *FakeTeam) FindContainersByMetadataReturns(result1 []db.Container, result2 error)
- func (fake *FakeTeam) FindContainersByMetadataReturnsOnCall(i int, result1 []db.Container, result2 error)
- func (fake *FakeTeam) FindCreatedContainerByHandle(arg1 string) (db.CreatedContainer, bool, error)
- func (fake *FakeTeam) FindCreatedContainerByHandleArgsForCall(i int) string
- func (fake *FakeTeam) FindCreatedContainerByHandleCallCount() int
- func (fake *FakeTeam) FindCreatedContainerByHandleCalls(stub func(string) (db.CreatedContainer, bool, error))
- func (fake *FakeTeam) FindCreatedContainerByHandleReturns(result1 db.CreatedContainer, result2 bool, result3 error)
- func (fake *FakeTeam) FindCreatedContainerByHandleReturnsOnCall(i int, result1 db.CreatedContainer, result2 bool, result3 error)
- func (fake *FakeTeam) FindVolumeForWorkerArtifact(arg1 int) (db.CreatedVolume, bool, error)
- func (fake *FakeTeam) FindVolumeForWorkerArtifactArgsForCall(i int) int
- func (fake *FakeTeam) FindVolumeForWorkerArtifactCallCount() int
- func (fake *FakeTeam) FindVolumeForWorkerArtifactCalls(stub func(int) (db.CreatedVolume, bool, error))
- func (fake *FakeTeam) FindVolumeForWorkerArtifactReturns(result1 db.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeTeam) FindVolumeForWorkerArtifactReturnsOnCall(i int, result1 db.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForContainer(arg1 string) (db.Worker, bool, error)
- func (fake *FakeTeam) FindWorkerForContainerArgsForCall(i int) string
- func (fake *FakeTeam) FindWorkerForContainerCallCount() int
- func (fake *FakeTeam) FindWorkerForContainerCalls(stub func(string) (db.Worker, bool, error))
- func (fake *FakeTeam) FindWorkerForContainerReturns(result1 db.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForContainerReturnsOnCall(i int, result1 db.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForVolume(arg1 string) (db.Worker, bool, error)
- func (fake *FakeTeam) FindWorkerForVolumeArgsForCall(i int) string
- func (fake *FakeTeam) FindWorkerForVolumeCallCount() int
- func (fake *FakeTeam) FindWorkerForVolumeCalls(stub func(string) (db.Worker, bool, error))
- func (fake *FakeTeam) FindWorkerForVolumeReturns(result1 db.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForVolumeReturnsOnCall(i int, result1 db.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) ID() int
- func (fake *FakeTeam) IDCallCount() int
- func (fake *FakeTeam) IDCalls(stub func() int)
- func (fake *FakeTeam) IDReturns(result1 int)
- func (fake *FakeTeam) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeTeam) Invocations() map[string][][]interface{}
- func (fake *FakeTeam) IsCheckContainer(arg1 string) (bool, error)
- func (fake *FakeTeam) IsCheckContainerArgsForCall(i int) string
- func (fake *FakeTeam) IsCheckContainerCallCount() int
- func (fake *FakeTeam) IsCheckContainerCalls(stub func(string) (bool, error))
- func (fake *FakeTeam) IsCheckContainerReturns(result1 bool, result2 error)
- func (fake *FakeTeam) IsCheckContainerReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeTeam) IsContainerWithinTeam(arg1 string, arg2 bool) (bool, error)
- func (fake *FakeTeam) IsContainerWithinTeamArgsForCall(i int) (string, bool)
- func (fake *FakeTeam) IsContainerWithinTeamCallCount() int
- func (fake *FakeTeam) IsContainerWithinTeamCalls(stub func(string, bool) (bool, error))
- func (fake *FakeTeam) IsContainerWithinTeamReturns(result1 bool, result2 error)
- func (fake *FakeTeam) IsContainerWithinTeamReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeTeam) Name() string
- func (fake *FakeTeam) NameCallCount() int
- func (fake *FakeTeam) NameCalls(stub func() string)
- func (fake *FakeTeam) NameReturns(result1 string)
- func (fake *FakeTeam) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeTeam) OrderPipelines(arg1 []string) error
- func (fake *FakeTeam) OrderPipelinesArgsForCall(i int) []string
- func (fake *FakeTeam) OrderPipelinesCallCount() int
- func (fake *FakeTeam) OrderPipelinesCalls(stub func([]string) error)
- func (fake *FakeTeam) OrderPipelinesReturns(result1 error)
- func (fake *FakeTeam) OrderPipelinesReturnsOnCall(i int, result1 error)
- func (fake *FakeTeam) Pipeline(arg1 string) (db.Pipeline, bool, error)
- func (fake *FakeTeam) PipelineArgsForCall(i int) string
- func (fake *FakeTeam) PipelineCallCount() int
- func (fake *FakeTeam) PipelineCalls(stub func(string) (db.Pipeline, bool, error))
- func (fake *FakeTeam) PipelineReturns(result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) PipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) Pipelines() ([]db.Pipeline, error)
- func (fake *FakeTeam) PipelinesCallCount() int
- func (fake *FakeTeam) PipelinesCalls(stub func() ([]db.Pipeline, error))
- func (fake *FakeTeam) PipelinesReturns(result1 []db.Pipeline, result2 error)
- func (fake *FakeTeam) PipelinesReturnsOnCall(i int, result1 []db.Pipeline, result2 error)
- func (fake *FakeTeam) PrivateAndPublicBuilds(arg1 db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakeTeam) PrivateAndPublicBuildsArgsForCall(i int) db.Page
- func (fake *FakeTeam) PrivateAndPublicBuildsCallCount() int
- func (fake *FakeTeam) PrivateAndPublicBuildsCalls(stub func(db.Page) ([]db.Build, db.Pagination, error))
- func (fake *FakeTeam) PrivateAndPublicBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeTeam) PrivateAndPublicBuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeTeam) PublicPipelines() ([]db.Pipeline, error)
- func (fake *FakeTeam) PublicPipelinesCallCount() int
- func (fake *FakeTeam) PublicPipelinesCalls(stub func() ([]db.Pipeline, error))
- func (fake *FakeTeam) PublicPipelinesReturns(result1 []db.Pipeline, result2 error)
- func (fake *FakeTeam) PublicPipelinesReturnsOnCall(i int, result1 []db.Pipeline, result2 error)
- func (fake *FakeTeam) Rename(arg1 string) error
- func (fake *FakeTeam) RenameArgsForCall(i int) string
- func (fake *FakeTeam) RenameCallCount() int
- func (fake *FakeTeam) RenameCalls(stub func(string) error)
- func (fake *FakeTeam) RenameReturns(result1 error)
- func (fake *FakeTeam) RenameReturnsOnCall(i int, result1 error)
- func (fake *FakeTeam) SavePipeline(arg1 string, arg2 atc.Config, arg3 db.ConfigVersion, arg4 bool) (db.Pipeline, bool, error)
- func (fake *FakeTeam) SavePipelineArgsForCall(i int) (string, atc.Config, db.ConfigVersion, bool)
- func (fake *FakeTeam) SavePipelineCallCount() int
- func (fake *FakeTeam) SavePipelineCalls(...)
- func (fake *FakeTeam) SavePipelineReturns(result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) SavePipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) SaveWorker(arg1 atc.Worker, arg2 time.Duration) (db.Worker, error)
- func (fake *FakeTeam) SaveWorkerArgsForCall(i int) (atc.Worker, time.Duration)
- func (fake *FakeTeam) SaveWorkerCallCount() int
- func (fake *FakeTeam) SaveWorkerCalls(stub func(atc.Worker, time.Duration) (db.Worker, error))
- func (fake *FakeTeam) SaveWorkerReturns(result1 db.Worker, result2 error)
- func (fake *FakeTeam) SaveWorkerReturnsOnCall(i int, result1 db.Worker, result2 error)
- func (fake *FakeTeam) UpdateProviderAuth(arg1 atc.TeamAuth) error
- func (fake *FakeTeam) UpdateProviderAuthArgsForCall(i int) atc.TeamAuth
- func (fake *FakeTeam) UpdateProviderAuthCallCount() int
- func (fake *FakeTeam) UpdateProviderAuthCalls(stub func(atc.TeamAuth) error)
- func (fake *FakeTeam) UpdateProviderAuthReturns(result1 error)
- func (fake *FakeTeam) UpdateProviderAuthReturnsOnCall(i int, result1 error)
- func (fake *FakeTeam) Workers() ([]db.Worker, error)
- func (fake *FakeTeam) WorkersCallCount() int
- func (fake *FakeTeam) WorkersCalls(stub func() ([]db.Worker, error))
- func (fake *FakeTeam) WorkersReturns(result1 []db.Worker, result2 error)
- func (fake *FakeTeam) WorkersReturnsOnCall(i int, result1 []db.Worker, result2 error)
- type FakeTeamFactory
- func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExists() (db.Team, error)
- func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExistsCallCount() int
- func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExistsCalls(stub func() (db.Team, error))
- func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExistsReturns(result1 db.Team, result2 error)
- func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExistsReturnsOnCall(i int, result1 db.Team, result2 error)
- func (fake *FakeTeamFactory) CreateTeam(arg1 atc.Team) (db.Team, error)
- func (fake *FakeTeamFactory) CreateTeamArgsForCall(i int) atc.Team
- func (fake *FakeTeamFactory) CreateTeamCallCount() int
- func (fake *FakeTeamFactory) CreateTeamCalls(stub func(atc.Team) (db.Team, error))
- func (fake *FakeTeamFactory) CreateTeamReturns(result1 db.Team, result2 error)
- func (fake *FakeTeamFactory) CreateTeamReturnsOnCall(i int, result1 db.Team, result2 error)
- func (fake *FakeTeamFactory) FindTeam(arg1 string) (db.Team, bool, error)
- func (fake *FakeTeamFactory) FindTeamArgsForCall(i int) string
- func (fake *FakeTeamFactory) FindTeamCallCount() int
- func (fake *FakeTeamFactory) FindTeamCalls(stub func(string) (db.Team, bool, error))
- func (fake *FakeTeamFactory) FindTeamReturns(result1 db.Team, result2 bool, result3 error)
- func (fake *FakeTeamFactory) FindTeamReturnsOnCall(i int, result1 db.Team, result2 bool, result3 error)
- func (fake *FakeTeamFactory) GetByID(arg1 int) db.Team
- func (fake *FakeTeamFactory) GetByIDArgsForCall(i int) int
- func (fake *FakeTeamFactory) GetByIDCallCount() int
- func (fake *FakeTeamFactory) GetByIDCalls(stub func(int) db.Team)
- func (fake *FakeTeamFactory) GetByIDReturns(result1 db.Team)
- func (fake *FakeTeamFactory) GetByIDReturnsOnCall(i int, result1 db.Team)
- func (fake *FakeTeamFactory) GetTeams() ([]db.Team, error)
- func (fake *FakeTeamFactory) GetTeamsCallCount() int
- func (fake *FakeTeamFactory) GetTeamsCalls(stub func() ([]db.Team, error))
- func (fake *FakeTeamFactory) GetTeamsReturns(result1 []db.Team, result2 error)
- func (fake *FakeTeamFactory) GetTeamsReturnsOnCall(i int, result1 []db.Team, result2 error)
- func (fake *FakeTeamFactory) Invocations() map[string][][]interface{}
- func (fake *FakeTeamFactory) NotifyCacher() error
- func (fake *FakeTeamFactory) NotifyCacherCallCount() int
- func (fake *FakeTeamFactory) NotifyCacherCalls(stub func() error)
- func (fake *FakeTeamFactory) NotifyCacherReturns(result1 error)
- func (fake *FakeTeamFactory) NotifyCacherReturnsOnCall(i int, result1 error)
- func (fake *FakeTeamFactory) NotifyResourceScanner() error
- func (fake *FakeTeamFactory) NotifyResourceScannerCallCount() int
- func (fake *FakeTeamFactory) NotifyResourceScannerCalls(stub func() error)
- func (fake *FakeTeamFactory) NotifyResourceScannerReturns(result1 error)
- func (fake *FakeTeamFactory) NotifyResourceScannerReturnsOnCall(i int, result1 error)
- type FakeTx
- func (fake *FakeTx) Commit() error
- func (fake *FakeTx) CommitCallCount() int
- func (fake *FakeTx) CommitCalls(stub func() error)
- func (fake *FakeTx) CommitReturns(result1 error)
- func (fake *FakeTx) CommitReturnsOnCall(i int, result1 error)
- func (fake *FakeTx) EncryptionStrategy() encryption.Strategy
- func (fake *FakeTx) EncryptionStrategyCallCount() int
- func (fake *FakeTx) EncryptionStrategyCalls(stub func() encryption.Strategy)
- func (fake *FakeTx) EncryptionStrategyReturns(result1 encryption.Strategy)
- func (fake *FakeTx) EncryptionStrategyReturnsOnCall(i int, result1 encryption.Strategy)
- func (fake *FakeTx) Exec(arg1 string, arg2 ...interface{}) (sql.Result, error)
- func (fake *FakeTx) ExecArgsForCall(i int) (string, []interface{})
- func (fake *FakeTx) ExecCallCount() int
- func (fake *FakeTx) ExecCalls(stub func(string, ...interface{}) (sql.Result, error))
- func (fake *FakeTx) ExecContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (sql.Result, error)
- func (fake *FakeTx) ExecContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakeTx) ExecContextCallCount() int
- func (fake *FakeTx) ExecContextCalls(stub func(context.Context, string, ...interface{}) (sql.Result, error))
- func (fake *FakeTx) ExecContextReturns(result1 sql.Result, result2 error)
- func (fake *FakeTx) ExecContextReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakeTx) ExecReturns(result1 sql.Result, result2 error)
- func (fake *FakeTx) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakeTx) Invocations() map[string][][]interface{}
- func (fake *FakeTx) Prepare(arg1 string) (*sql.Stmt, error)
- func (fake *FakeTx) PrepareArgsForCall(i int) string
- func (fake *FakeTx) PrepareCallCount() int
- func (fake *FakeTx) PrepareCalls(stub func(string) (*sql.Stmt, error))
- func (fake *FakeTx) PrepareContext(arg1 context.Context, arg2 string) (*sql.Stmt, error)
- func (fake *FakeTx) PrepareContextArgsForCall(i int) (context.Context, string)
- func (fake *FakeTx) PrepareContextCallCount() int
- func (fake *FakeTx) PrepareContextCalls(stub func(context.Context, string) (*sql.Stmt, error))
- func (fake *FakeTx) PrepareContextReturns(result1 *sql.Stmt, result2 error)
- func (fake *FakeTx) PrepareContextReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
- func (fake *FakeTx) PrepareReturns(result1 *sql.Stmt, result2 error)
- func (fake *FakeTx) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
- func (fake *FakeTx) Query(arg1 string, arg2 ...interface{}) (*sql.Rows, error)
- func (fake *FakeTx) QueryArgsForCall(i int) (string, []interface{})
- func (fake *FakeTx) QueryCallCount() int
- func (fake *FakeTx) QueryCalls(stub func(string, ...interface{}) (*sql.Rows, error))
- func (fake *FakeTx) QueryContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (*sql.Rows, error)
- func (fake *FakeTx) QueryContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakeTx) QueryContextCallCount() int
- func (fake *FakeTx) QueryContextCalls(stub func(context.Context, string, ...interface{}) (*sql.Rows, error))
- func (fake *FakeTx) QueryContextReturns(result1 *sql.Rows, result2 error)
- func (fake *FakeTx) QueryContextReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakeTx) QueryReturns(result1 *sql.Rows, result2 error)
- func (fake *FakeTx) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakeTx) QueryRow(arg1 string, arg2 ...interface{}) squirrel.RowScanner
- func (fake *FakeTx) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *FakeTx) QueryRowCallCount() int
- func (fake *FakeTx) QueryRowCalls(stub func(string, ...interface{}) squirrel.RowScanner)
- func (fake *FakeTx) QueryRowContext(arg1 context.Context, arg2 string, arg3 ...interface{}) squirrel.RowScanner
- func (fake *FakeTx) QueryRowContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakeTx) QueryRowContextCallCount() int
- func (fake *FakeTx) QueryRowContextCalls(stub func(context.Context, string, ...interface{}) squirrel.RowScanner)
- func (fake *FakeTx) QueryRowContextReturns(result1 squirrel.RowScanner)
- func (fake *FakeTx) QueryRowContextReturnsOnCall(i int, result1 squirrel.RowScanner)
- func (fake *FakeTx) QueryRowReturns(result1 squirrel.RowScanner)
- func (fake *FakeTx) QueryRowReturnsOnCall(i int, result1 squirrel.RowScanner)
- func (fake *FakeTx) Rollback() error
- func (fake *FakeTx) RollbackCallCount() int
- func (fake *FakeTx) RollbackCalls(stub func() error)
- func (fake *FakeTx) RollbackReturns(result1 error)
- func (fake *FakeTx) RollbackReturnsOnCall(i int, result1 error)
- func (fake *FakeTx) Stmt(arg1 *sql.Stmt) *sql.Stmt
- func (fake *FakeTx) StmtArgsForCall(i int) *sql.Stmt
- func (fake *FakeTx) StmtCallCount() int
- func (fake *FakeTx) StmtCalls(stub func(*sql.Stmt) *sql.Stmt)
- func (fake *FakeTx) StmtReturns(result1 *sql.Stmt)
- func (fake *FakeTx) StmtReturnsOnCall(i int, result1 *sql.Stmt)
- type FakeUsedResourceCache
- func (fake *FakeUsedResourceCache) BaseResourceType() *db.UsedBaseResourceType
- func (fake *FakeUsedResourceCache) BaseResourceTypeCallCount() int
- func (fake *FakeUsedResourceCache) BaseResourceTypeCalls(stub func() *db.UsedBaseResourceType)
- func (fake *FakeUsedResourceCache) BaseResourceTypeReturns(result1 *db.UsedBaseResourceType)
- func (fake *FakeUsedResourceCache) BaseResourceTypeReturnsOnCall(i int, result1 *db.UsedBaseResourceType)
- func (fake *FakeUsedResourceCache) Destroy(arg1 db.Tx) (bool, error)
- func (fake *FakeUsedResourceCache) DestroyArgsForCall(i int) db.Tx
- func (fake *FakeUsedResourceCache) DestroyCallCount() int
- func (fake *FakeUsedResourceCache) DestroyCalls(stub func(db.Tx) (bool, error))
- func (fake *FakeUsedResourceCache) DestroyReturns(result1 bool, result2 error)
- func (fake *FakeUsedResourceCache) DestroyReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeUsedResourceCache) ID() int
- func (fake *FakeUsedResourceCache) IDCallCount() int
- func (fake *FakeUsedResourceCache) IDCalls(stub func() int)
- func (fake *FakeUsedResourceCache) IDReturns(result1 int)
- func (fake *FakeUsedResourceCache) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeUsedResourceCache) Invocations() map[string][][]interface{}
- func (fake *FakeUsedResourceCache) ResourceConfig() db.ResourceConfig
- func (fake *FakeUsedResourceCache) ResourceConfigCallCount() int
- func (fake *FakeUsedResourceCache) ResourceConfigCalls(stub func() db.ResourceConfig)
- func (fake *FakeUsedResourceCache) ResourceConfigReturns(result1 db.ResourceConfig)
- func (fake *FakeUsedResourceCache) ResourceConfigReturnsOnCall(i int, result1 db.ResourceConfig)
- func (fake *FakeUsedResourceCache) Version() atc.Version
- func (fake *FakeUsedResourceCache) VersionCallCount() int
- func (fake *FakeUsedResourceCache) VersionCalls(stub func() atc.Version)
- func (fake *FakeUsedResourceCache) VersionReturns(result1 atc.Version)
- func (fake *FakeUsedResourceCache) VersionReturnsOnCall(i int, result1 atc.Version)
- type FakeUser
- func (fake *FakeUser) Connector() string
- func (fake *FakeUser) ConnectorCallCount() int
- func (fake *FakeUser) ConnectorCalls(stub func() string)
- func (fake *FakeUser) ConnectorReturns(result1 string)
- func (fake *FakeUser) ConnectorReturnsOnCall(i int, result1 string)
- func (fake *FakeUser) ID() int
- func (fake *FakeUser) IDCallCount() int
- func (fake *FakeUser) IDCalls(stub func() int)
- func (fake *FakeUser) IDReturns(result1 int)
- func (fake *FakeUser) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeUser) Invocations() map[string][][]interface{}
- func (fake *FakeUser) LastLogin() time.Time
- func (fake *FakeUser) LastLoginCallCount() int
- func (fake *FakeUser) LastLoginCalls(stub func() time.Time)
- func (fake *FakeUser) LastLoginReturns(result1 time.Time)
- func (fake *FakeUser) LastLoginReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeUser) Name() string
- func (fake *FakeUser) NameCallCount() int
- func (fake *FakeUser) NameCalls(stub func() string)
- func (fake *FakeUser) NameReturns(result1 string)
- func (fake *FakeUser) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeUser) Sub() string
- func (fake *FakeUser) SubCallCount() int
- func (fake *FakeUser) SubCalls(stub func() string)
- func (fake *FakeUser) SubReturns(result1 string)
- func (fake *FakeUser) SubReturnsOnCall(i int, result1 string)
- type FakeUserFactory
- func (fake *FakeUserFactory) CreateOrUpdateUser(arg1 string, arg2 string, arg3 string) error
- func (fake *FakeUserFactory) CreateOrUpdateUserArgsForCall(i int) (string, string, string)
- func (fake *FakeUserFactory) CreateOrUpdateUserCallCount() int
- func (fake *FakeUserFactory) CreateOrUpdateUserCalls(stub func(string, string, string) error)
- func (fake *FakeUserFactory) CreateOrUpdateUserReturns(result1 error)
- func (fake *FakeUserFactory) CreateOrUpdateUserReturnsOnCall(i int, result1 error)
- func (fake *FakeUserFactory) GetAllUsers() ([]db.User, error)
- func (fake *FakeUserFactory) GetAllUsersByLoginDate(arg1 time.Time) ([]db.User, error)
- func (fake *FakeUserFactory) GetAllUsersByLoginDateArgsForCall(i int) time.Time
- func (fake *FakeUserFactory) GetAllUsersByLoginDateCallCount() int
- func (fake *FakeUserFactory) GetAllUsersByLoginDateCalls(stub func(time.Time) ([]db.User, error))
- func (fake *FakeUserFactory) GetAllUsersByLoginDateReturns(result1 []db.User, result2 error)
- func (fake *FakeUserFactory) GetAllUsersByLoginDateReturnsOnCall(i int, result1 []db.User, result2 error)
- func (fake *FakeUserFactory) GetAllUsersCallCount() int
- func (fake *FakeUserFactory) GetAllUsersCalls(stub func() ([]db.User, error))
- func (fake *FakeUserFactory) GetAllUsersReturns(result1 []db.User, result2 error)
- func (fake *FakeUserFactory) GetAllUsersReturnsOnCall(i int, result1 []db.User, result2 error)
- func (fake *FakeUserFactory) Invocations() map[string][][]interface{}
- type FakeVolumeRepository
- func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolume(arg1 *db.UsedWorkerBaseResourceType) (db.CreatingVolume, error)
- func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolumeArgsForCall(i int) *db.UsedWorkerBaseResourceType
- func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolumeCallCount() int
- func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolumeCalls(stub func(*db.UsedWorkerBaseResourceType) (db.CreatingVolume, error))
- func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolumeReturns(result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeRepository) CreateBaseResourceTypeVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeRepository) CreateContainerVolume(arg1 int, arg2 string, arg3 db.CreatingContainer, arg4 string) (db.CreatingVolume, error)
- func (fake *FakeVolumeRepository) CreateContainerVolumeArgsForCall(i int) (int, string, db.CreatingContainer, string)
- func (fake *FakeVolumeRepository) CreateContainerVolumeCallCount() int
- func (fake *FakeVolumeRepository) CreateContainerVolumeCalls(...)
- func (fake *FakeVolumeRepository) CreateContainerVolumeReturns(result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeRepository) CreateContainerVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeRepository) CreateResourceCertsVolume(arg1 string, arg2 *db.UsedWorkerResourceCerts) (db.CreatingVolume, error)
- func (fake *FakeVolumeRepository) CreateResourceCertsVolumeArgsForCall(i int) (string, *db.UsedWorkerResourceCerts)
- func (fake *FakeVolumeRepository) CreateResourceCertsVolumeCallCount() int
- func (fake *FakeVolumeRepository) CreateResourceCertsVolumeCalls(stub func(string, *db.UsedWorkerResourceCerts) (db.CreatingVolume, error))
- func (fake *FakeVolumeRepository) CreateResourceCertsVolumeReturns(result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeRepository) CreateResourceCertsVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeRepository) CreateTaskCacheVolume(arg1 int, arg2 *db.UsedWorkerTaskCache) (db.CreatingVolume, error)
- func (fake *FakeVolumeRepository) CreateTaskCacheVolumeArgsForCall(i int) (int, *db.UsedWorkerTaskCache)
- func (fake *FakeVolumeRepository) CreateTaskCacheVolumeCallCount() int
- func (fake *FakeVolumeRepository) CreateTaskCacheVolumeCalls(stub func(int, *db.UsedWorkerTaskCache) (db.CreatingVolume, error))
- func (fake *FakeVolumeRepository) CreateTaskCacheVolumeReturns(result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeRepository) CreateTaskCacheVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeRepository) CreateVolume(arg1 int, arg2 string, arg3 db.VolumeType) (db.CreatingVolume, error)
- func (fake *FakeVolumeRepository) CreateVolumeArgsForCall(i int) (int, string, db.VolumeType)
- func (fake *FakeVolumeRepository) CreateVolumeCallCount() int
- func (fake *FakeVolumeRepository) CreateVolumeCalls(stub func(int, string, db.VolumeType) (db.CreatingVolume, error))
- func (fake *FakeVolumeRepository) CreateVolumeReturns(result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeRepository) CreateVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeRepository) DestroyFailedVolumes() (int, error)
- func (fake *FakeVolumeRepository) DestroyFailedVolumesCallCount() int
- func (fake *FakeVolumeRepository) DestroyFailedVolumesCalls(stub func() (int, error))
- func (fake *FakeVolumeRepository) DestroyFailedVolumesReturns(result1 int, result2 error)
- func (fake *FakeVolumeRepository) DestroyFailedVolumesReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeVolumeRepository) DestroyUnknownVolumes(arg1 string, arg2 []string) (int, error)
- func (fake *FakeVolumeRepository) DestroyUnknownVolumesArgsForCall(i int) (string, []string)
- func (fake *FakeVolumeRepository) DestroyUnknownVolumesCallCount() int
- func (fake *FakeVolumeRepository) DestroyUnknownVolumesCalls(stub func(string, []string) (int, error))
- func (fake *FakeVolumeRepository) DestroyUnknownVolumesReturns(result1 int, result2 error)
- func (fake *FakeVolumeRepository) DestroyUnknownVolumesReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeVolumeRepository) FindBaseResourceTypeVolume(arg1 *db.UsedWorkerBaseResourceType) (db.CreatingVolume, db.CreatedVolume, error)
- func (fake *FakeVolumeRepository) FindBaseResourceTypeVolumeArgsForCall(i int) *db.UsedWorkerBaseResourceType
- func (fake *FakeVolumeRepository) FindBaseResourceTypeVolumeCallCount() int
- func (fake *FakeVolumeRepository) FindBaseResourceTypeVolumeCalls(...)
- func (fake *FakeVolumeRepository) FindBaseResourceTypeVolumeReturns(result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
- func (fake *FakeVolumeRepository) FindBaseResourceTypeVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
- func (fake *FakeVolumeRepository) FindContainerVolume(arg1 int, arg2 string, arg3 db.CreatingContainer, arg4 string) (db.CreatingVolume, db.CreatedVolume, error)
- func (fake *FakeVolumeRepository) FindContainerVolumeArgsForCall(i int) (int, string, db.CreatingContainer, string)
- func (fake *FakeVolumeRepository) FindContainerVolumeCallCount() int
- func (fake *FakeVolumeRepository) FindContainerVolumeCalls(...)
- func (fake *FakeVolumeRepository) FindContainerVolumeReturns(result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
- func (fake *FakeVolumeRepository) FindContainerVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
- func (fake *FakeVolumeRepository) FindCreatedVolume(arg1 string) (db.CreatedVolume, bool, error)
- func (fake *FakeVolumeRepository) FindCreatedVolumeArgsForCall(i int) string
- func (fake *FakeVolumeRepository) FindCreatedVolumeCallCount() int
- func (fake *FakeVolumeRepository) FindCreatedVolumeCalls(stub func(string) (db.CreatedVolume, bool, error))
- func (fake *FakeVolumeRepository) FindCreatedVolumeReturns(result1 db.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeRepository) FindCreatedVolumeReturnsOnCall(i int, result1 db.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeRepository) FindResourceCacheVolume(arg1 string, arg2 db.UsedResourceCache) (db.CreatedVolume, bool, error)
- func (fake *FakeVolumeRepository) FindResourceCacheVolumeArgsForCall(i int) (string, db.UsedResourceCache)
- func (fake *FakeVolumeRepository) FindResourceCacheVolumeCallCount() int
- func (fake *FakeVolumeRepository) FindResourceCacheVolumeCalls(stub func(string, db.UsedResourceCache) (db.CreatedVolume, bool, error))
- func (fake *FakeVolumeRepository) FindResourceCacheVolumeReturns(result1 db.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeRepository) FindResourceCacheVolumeReturnsOnCall(i int, result1 db.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeRepository) FindResourceCertsVolume(arg1 string, arg2 *db.UsedWorkerResourceCerts) (db.CreatingVolume, db.CreatedVolume, error)
- func (fake *FakeVolumeRepository) FindResourceCertsVolumeArgsForCall(i int) (string, *db.UsedWorkerResourceCerts)
- func (fake *FakeVolumeRepository) FindResourceCertsVolumeCallCount() int
- func (fake *FakeVolumeRepository) FindResourceCertsVolumeCalls(...)
- func (fake *FakeVolumeRepository) FindResourceCertsVolumeReturns(result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
- func (fake *FakeVolumeRepository) FindResourceCertsVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
- func (fake *FakeVolumeRepository) FindTaskCacheVolume(arg1 int, arg2 string, arg3 db.UsedTaskCache) (db.CreatedVolume, bool, error)
- func (fake *FakeVolumeRepository) FindTaskCacheVolumeArgsForCall(i int) (int, string, db.UsedTaskCache)
- func (fake *FakeVolumeRepository) FindTaskCacheVolumeCallCount() int
- func (fake *FakeVolumeRepository) FindTaskCacheVolumeCalls(stub func(int, string, db.UsedTaskCache) (db.CreatedVolume, bool, error))
- func (fake *FakeVolumeRepository) FindTaskCacheVolumeReturns(result1 db.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeRepository) FindTaskCacheVolumeReturnsOnCall(i int, result1 db.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeRepository) FindVolumesForContainer(arg1 db.CreatedContainer) ([]db.CreatedVolume, error)
- func (fake *FakeVolumeRepository) FindVolumesForContainerArgsForCall(i int) db.CreatedContainer
- func (fake *FakeVolumeRepository) FindVolumesForContainerCallCount() int
- func (fake *FakeVolumeRepository) FindVolumesForContainerCalls(stub func(db.CreatedContainer) ([]db.CreatedVolume, error))
- func (fake *FakeVolumeRepository) FindVolumesForContainerReturns(result1 []db.CreatedVolume, result2 error)
- func (fake *FakeVolumeRepository) FindVolumesForContainerReturnsOnCall(i int, result1 []db.CreatedVolume, result2 error)
- func (fake *FakeVolumeRepository) GetDestroyingVolumes(arg1 string) ([]string, error)
- func (fake *FakeVolumeRepository) GetDestroyingVolumesArgsForCall(i int) string
- func (fake *FakeVolumeRepository) GetDestroyingVolumesCallCount() int
- func (fake *FakeVolumeRepository) GetDestroyingVolumesCalls(stub func(string) ([]string, error))
- func (fake *FakeVolumeRepository) GetDestroyingVolumesReturns(result1 []string, result2 error)
- func (fake *FakeVolumeRepository) GetDestroyingVolumesReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeVolumeRepository) GetOrphanedVolumes() ([]db.CreatedVolume, error)
- func (fake *FakeVolumeRepository) GetOrphanedVolumesCallCount() int
- func (fake *FakeVolumeRepository) GetOrphanedVolumesCalls(stub func() ([]db.CreatedVolume, error))
- func (fake *FakeVolumeRepository) GetOrphanedVolumesReturns(result1 []db.CreatedVolume, result2 error)
- func (fake *FakeVolumeRepository) GetOrphanedVolumesReturnsOnCall(i int, result1 []db.CreatedVolume, result2 error)
- func (fake *FakeVolumeRepository) GetTeamVolumes(arg1 int) ([]db.CreatedVolume, error)
- func (fake *FakeVolumeRepository) GetTeamVolumesArgsForCall(i int) int
- func (fake *FakeVolumeRepository) GetTeamVolumesCallCount() int
- func (fake *FakeVolumeRepository) GetTeamVolumesCalls(stub func(int) ([]db.CreatedVolume, error))
- func (fake *FakeVolumeRepository) GetTeamVolumesReturns(result1 []db.CreatedVolume, result2 error)
- func (fake *FakeVolumeRepository) GetTeamVolumesReturnsOnCall(i int, result1 []db.CreatedVolume, result2 error)
- func (fake *FakeVolumeRepository) Invocations() map[string][][]interface{}
- func (fake *FakeVolumeRepository) RemoveDestroyingVolumes(arg1 string, arg2 []string) (int, error)
- func (fake *FakeVolumeRepository) RemoveDestroyingVolumesArgsForCall(i int) (string, []string)
- func (fake *FakeVolumeRepository) RemoveDestroyingVolumesCallCount() int
- func (fake *FakeVolumeRepository) RemoveDestroyingVolumesCalls(stub func(string, []string) (int, error))
- func (fake *FakeVolumeRepository) RemoveDestroyingVolumesReturns(result1 int, result2 error)
- func (fake *FakeVolumeRepository) RemoveDestroyingVolumesReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeVolumeRepository) RemoveMissingVolumes(arg1 time.Duration) (int, error)
- func (fake *FakeVolumeRepository) RemoveMissingVolumesArgsForCall(i int) time.Duration
- func (fake *FakeVolumeRepository) RemoveMissingVolumesCallCount() int
- func (fake *FakeVolumeRepository) RemoveMissingVolumesCalls(stub func(time.Duration) (int, error))
- func (fake *FakeVolumeRepository) RemoveMissingVolumesReturns(result1 int, result2 error)
- func (fake *FakeVolumeRepository) RemoveMissingVolumesReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeVolumeRepository) UpdateVolumesMissingSince(arg1 string, arg2 []string) error
- func (fake *FakeVolumeRepository) UpdateVolumesMissingSinceArgsForCall(i int) (string, []string)
- func (fake *FakeVolumeRepository) UpdateVolumesMissingSinceCallCount() int
- func (fake *FakeVolumeRepository) UpdateVolumesMissingSinceCalls(stub func(string, []string) error)
- func (fake *FakeVolumeRepository) UpdateVolumesMissingSinceReturns(result1 error)
- func (fake *FakeVolumeRepository) UpdateVolumesMissingSinceReturnsOnCall(i int, result1 error)
- type FakeWall
- func (fake *FakeWall) Clear() error
- func (fake *FakeWall) ClearCallCount() int
- func (fake *FakeWall) ClearCalls(stub func() error)
- func (fake *FakeWall) ClearReturns(result1 error)
- func (fake *FakeWall) ClearReturnsOnCall(i int, result1 error)
- func (fake *FakeWall) GetWall() (atc.Wall, error)
- func (fake *FakeWall) GetWallCallCount() int
- func (fake *FakeWall) GetWallCalls(stub func() (atc.Wall, error))
- func (fake *FakeWall) GetWallReturns(result1 atc.Wall, result2 error)
- func (fake *FakeWall) GetWallReturnsOnCall(i int, result1 atc.Wall, result2 error)
- func (fake *FakeWall) Invocations() map[string][][]interface{}
- func (fake *FakeWall) SetWall(arg1 atc.Wall) error
- func (fake *FakeWall) SetWallArgsForCall(i int) atc.Wall
- func (fake *FakeWall) SetWallCallCount() int
- func (fake *FakeWall) SetWallCalls(stub func(atc.Wall) error)
- func (fake *FakeWall) SetWallReturns(result1 error)
- func (fake *FakeWall) SetWallReturnsOnCall(i int, result1 error)
- type FakeWorker
- func (fake *FakeWorker) ActiveContainers() int
- func (fake *FakeWorker) ActiveContainersCallCount() int
- func (fake *FakeWorker) ActiveContainersCalls(stub func() int)
- func (fake *FakeWorker) ActiveContainersReturns(result1 int)
- func (fake *FakeWorker) ActiveContainersReturnsOnCall(i int, result1 int)
- func (fake *FakeWorker) ActiveTasks() (int, error)
- func (fake *FakeWorker) ActiveTasksCallCount() int
- func (fake *FakeWorker) ActiveTasksCalls(stub func() (int, error))
- func (fake *FakeWorker) ActiveTasksReturns(result1 int, result2 error)
- func (fake *FakeWorker) ActiveTasksReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeWorker) ActiveVolumes() int
- func (fake *FakeWorker) ActiveVolumesCallCount() int
- func (fake *FakeWorker) ActiveVolumesCalls(stub func() int)
- func (fake *FakeWorker) ActiveVolumesReturns(result1 int)
- func (fake *FakeWorker) ActiveVolumesReturnsOnCall(i int, result1 int)
- func (fake *FakeWorker) BaggageclaimURL() *string
- func (fake *FakeWorker) BaggageclaimURLCallCount() int
- func (fake *FakeWorker) BaggageclaimURLCalls(stub func() *string)
- func (fake *FakeWorker) BaggageclaimURLReturns(result1 *string)
- func (fake *FakeWorker) BaggageclaimURLReturnsOnCall(i int, result1 *string)
- func (fake *FakeWorker) CertsPath() *string
- func (fake *FakeWorker) CertsPathCallCount() int
- func (fake *FakeWorker) CertsPathCalls(stub func() *string)
- func (fake *FakeWorker) CertsPathReturns(result1 *string)
- func (fake *FakeWorker) CertsPathReturnsOnCall(i int, result1 *string)
- func (fake *FakeWorker) CreateContainer(arg1 db.ContainerOwner, arg2 db.ContainerMetadata) (db.CreatingContainer, error)
- func (fake *FakeWorker) CreateContainerArgsForCall(i int) (db.ContainerOwner, db.ContainerMetadata)
- func (fake *FakeWorker) CreateContainerCallCount() int
- func (fake *FakeWorker) CreateContainerCalls(...)
- func (fake *FakeWorker) CreateContainerReturns(result1 db.CreatingContainer, result2 error)
- func (fake *FakeWorker) CreateContainerReturnsOnCall(i int, result1 db.CreatingContainer, result2 error)
- func (fake *FakeWorker) DecreaseActiveTasks() error
- func (fake *FakeWorker) DecreaseActiveTasksCallCount() int
- func (fake *FakeWorker) DecreaseActiveTasksCalls(stub func() error)
- func (fake *FakeWorker) DecreaseActiveTasksReturns(result1 error)
- func (fake *FakeWorker) DecreaseActiveTasksReturnsOnCall(i int, result1 error)
- func (fake *FakeWorker) Delete() error
- func (fake *FakeWorker) DeleteCallCount() int
- func (fake *FakeWorker) DeleteCalls(stub func() error)
- func (fake *FakeWorker) DeleteReturns(result1 error)
- func (fake *FakeWorker) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeWorker) Ephemeral() bool
- func (fake *FakeWorker) EphemeralCallCount() int
- func (fake *FakeWorker) EphemeralCalls(stub func() bool)
- func (fake *FakeWorker) EphemeralReturns(result1 bool)
- func (fake *FakeWorker) EphemeralReturnsOnCall(i int, result1 bool)
- func (fake *FakeWorker) ExpiresAt() time.Time
- func (fake *FakeWorker) ExpiresAtCallCount() int
- func (fake *FakeWorker) ExpiresAtCalls(stub func() time.Time)
- func (fake *FakeWorker) ExpiresAtReturns(result1 time.Time)
- func (fake *FakeWorker) ExpiresAtReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeWorker) FindContainer(arg1 db.ContainerOwner) (db.CreatingContainer, db.CreatedContainer, error)
- func (fake *FakeWorker) FindContainerArgsForCall(i int) db.ContainerOwner
- func (fake *FakeWorker) FindContainerCallCount() int
- func (fake *FakeWorker) FindContainerCalls(...)
- func (fake *FakeWorker) FindContainerReturns(result1 db.CreatingContainer, result2 db.CreatedContainer, result3 error)
- func (fake *FakeWorker) FindContainerReturnsOnCall(i int, result1 db.CreatingContainer, result2 db.CreatedContainer, ...)
- func (fake *FakeWorker) GardenAddr() *string
- func (fake *FakeWorker) GardenAddrCallCount() int
- func (fake *FakeWorker) GardenAddrCalls(stub func() *string)
- func (fake *FakeWorker) GardenAddrReturns(result1 *string)
- func (fake *FakeWorker) GardenAddrReturnsOnCall(i int, result1 *string)
- func (fake *FakeWorker) HTTPProxyURL() string
- func (fake *FakeWorker) HTTPProxyURLCallCount() int
- func (fake *FakeWorker) HTTPProxyURLCalls(stub func() string)
- func (fake *FakeWorker) HTTPProxyURLReturns(result1 string)
- func (fake *FakeWorker) HTTPProxyURLReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) HTTPSProxyURL() string
- func (fake *FakeWorker) HTTPSProxyURLCallCount() int
- func (fake *FakeWorker) HTTPSProxyURLCalls(stub func() string)
- func (fake *FakeWorker) HTTPSProxyURLReturns(result1 string)
- func (fake *FakeWorker) HTTPSProxyURLReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) IncreaseActiveTasks() error
- func (fake *FakeWorker) IncreaseActiveTasksCallCount() int
- func (fake *FakeWorker) IncreaseActiveTasksCalls(stub func() error)
- func (fake *FakeWorker) IncreaseActiveTasksReturns(result1 error)
- func (fake *FakeWorker) IncreaseActiveTasksReturnsOnCall(i int, result1 error)
- func (fake *FakeWorker) Invocations() map[string][][]interface{}
- func (fake *FakeWorker) Land() error
- func (fake *FakeWorker) LandCallCount() int
- func (fake *FakeWorker) LandCalls(stub func() error)
- func (fake *FakeWorker) LandReturns(result1 error)
- func (fake *FakeWorker) LandReturnsOnCall(i int, result1 error)
- func (fake *FakeWorker) Name() string
- func (fake *FakeWorker) NameCallCount() int
- func (fake *FakeWorker) NameCalls(stub func() string)
- func (fake *FakeWorker) NameReturns(result1 string)
- func (fake *FakeWorker) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) NoProxy() string
- func (fake *FakeWorker) NoProxyCallCount() int
- func (fake *FakeWorker) NoProxyCalls(stub func() string)
- func (fake *FakeWorker) NoProxyReturns(result1 string)
- func (fake *FakeWorker) NoProxyReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) Platform() string
- func (fake *FakeWorker) PlatformCallCount() int
- func (fake *FakeWorker) PlatformCalls(stub func() string)
- func (fake *FakeWorker) PlatformReturns(result1 string)
- func (fake *FakeWorker) PlatformReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) Prune() error
- func (fake *FakeWorker) PruneCallCount() int
- func (fake *FakeWorker) PruneCalls(stub func() error)
- func (fake *FakeWorker) PruneReturns(result1 error)
- func (fake *FakeWorker) PruneReturnsOnCall(i int, result1 error)
- func (fake *FakeWorker) Reload() (bool, error)
- func (fake *FakeWorker) ReloadCallCount() int
- func (fake *FakeWorker) ReloadCalls(stub func() (bool, error))
- func (fake *FakeWorker) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeWorker) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeWorker) ResourceCerts() (*db.UsedWorkerResourceCerts, bool, error)
- func (fake *FakeWorker) ResourceCertsCallCount() int
- func (fake *FakeWorker) ResourceCertsCalls(stub func() (*db.UsedWorkerResourceCerts, bool, error))
- func (fake *FakeWorker) ResourceCertsReturns(result1 *db.UsedWorkerResourceCerts, result2 bool, result3 error)
- func (fake *FakeWorker) ResourceCertsReturnsOnCall(i int, result1 *db.UsedWorkerResourceCerts, result2 bool, result3 error)
- func (fake *FakeWorker) ResourceTypes() []atc.WorkerResourceType
- func (fake *FakeWorker) ResourceTypesCallCount() int
- func (fake *FakeWorker) ResourceTypesCalls(stub func() []atc.WorkerResourceType)
- func (fake *FakeWorker) ResourceTypesReturns(result1 []atc.WorkerResourceType)
- func (fake *FakeWorker) ResourceTypesReturnsOnCall(i int, result1 []atc.WorkerResourceType)
- func (fake *FakeWorker) Retire() error
- func (fake *FakeWorker) RetireCallCount() int
- func (fake *FakeWorker) RetireCalls(stub func() error)
- func (fake *FakeWorker) RetireReturns(result1 error)
- func (fake *FakeWorker) RetireReturnsOnCall(i int, result1 error)
- func (fake *FakeWorker) StartTime() time.Time
- func (fake *FakeWorker) StartTimeCallCount() int
- func (fake *FakeWorker) StartTimeCalls(stub func() time.Time)
- func (fake *FakeWorker) StartTimeReturns(result1 time.Time)
- func (fake *FakeWorker) StartTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeWorker) State() db.WorkerState
- func (fake *FakeWorker) StateCallCount() int
- func (fake *FakeWorker) StateCalls(stub func() db.WorkerState)
- func (fake *FakeWorker) StateReturns(result1 db.WorkerState)
- func (fake *FakeWorker) StateReturnsOnCall(i int, result1 db.WorkerState)
- func (fake *FakeWorker) Tags() []string
- func (fake *FakeWorker) TagsCallCount() int
- func (fake *FakeWorker) TagsCalls(stub func() []string)
- func (fake *FakeWorker) TagsReturns(result1 []string)
- func (fake *FakeWorker) TagsReturnsOnCall(i int, result1 []string)
- func (fake *FakeWorker) TeamID() int
- func (fake *FakeWorker) TeamIDCallCount() int
- func (fake *FakeWorker) TeamIDCalls(stub func() int)
- func (fake *FakeWorker) TeamIDReturns(result1 int)
- func (fake *FakeWorker) TeamIDReturnsOnCall(i int, result1 int)
- func (fake *FakeWorker) TeamName() string
- func (fake *FakeWorker) TeamNameCallCount() int
- func (fake *FakeWorker) TeamNameCalls(stub func() string)
- func (fake *FakeWorker) TeamNameReturns(result1 string)
- func (fake *FakeWorker) TeamNameReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) Version() *string
- func (fake *FakeWorker) VersionCallCount() int
- func (fake *FakeWorker) VersionCalls(stub func() *string)
- func (fake *FakeWorker) VersionReturns(result1 *string)
- func (fake *FakeWorker) VersionReturnsOnCall(i int, result1 *string)
- type FakeWorkerArtifact
- func (fake *FakeWorkerArtifact) BuildID() int
- func (fake *FakeWorkerArtifact) BuildIDCallCount() int
- func (fake *FakeWorkerArtifact) BuildIDCalls(stub func() int)
- func (fake *FakeWorkerArtifact) BuildIDReturns(result1 int)
- func (fake *FakeWorkerArtifact) BuildIDReturnsOnCall(i int, result1 int)
- func (fake *FakeWorkerArtifact) CreatedAt() time.Time
- func (fake *FakeWorkerArtifact) CreatedAtCallCount() int
- func (fake *FakeWorkerArtifact) CreatedAtCalls(stub func() time.Time)
- func (fake *FakeWorkerArtifact) CreatedAtReturns(result1 time.Time)
- func (fake *FakeWorkerArtifact) CreatedAtReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeWorkerArtifact) ID() int
- func (fake *FakeWorkerArtifact) IDCallCount() int
- func (fake *FakeWorkerArtifact) IDCalls(stub func() int)
- func (fake *FakeWorkerArtifact) IDReturns(result1 int)
- func (fake *FakeWorkerArtifact) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeWorkerArtifact) Invocations() map[string][][]interface{}
- func (fake *FakeWorkerArtifact) Name() string
- func (fake *FakeWorkerArtifact) NameCallCount() int
- func (fake *FakeWorkerArtifact) NameCalls(stub func() string)
- func (fake *FakeWorkerArtifact) NameReturns(result1 string)
- func (fake *FakeWorkerArtifact) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeWorkerArtifact) Volume(arg1 int) (db.CreatedVolume, bool, error)
- func (fake *FakeWorkerArtifact) VolumeArgsForCall(i int) int
- func (fake *FakeWorkerArtifact) VolumeCallCount() int
- func (fake *FakeWorkerArtifact) VolumeCalls(stub func(int) (db.CreatedVolume, bool, error))
- func (fake *FakeWorkerArtifact) VolumeReturns(result1 db.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeWorkerArtifact) VolumeReturnsOnCall(i int, result1 db.CreatedVolume, result2 bool, result3 error)
- type FakeWorkerArtifactLifecycle
- func (fake *FakeWorkerArtifactLifecycle) Invocations() map[string][][]interface{}
- func (fake *FakeWorkerArtifactLifecycle) RemoveExpiredArtifacts() error
- func (fake *FakeWorkerArtifactLifecycle) RemoveExpiredArtifactsCallCount() int
- func (fake *FakeWorkerArtifactLifecycle) RemoveExpiredArtifactsCalls(stub func() error)
- func (fake *FakeWorkerArtifactLifecycle) RemoveExpiredArtifactsReturns(result1 error)
- func (fake *FakeWorkerArtifactLifecycle) RemoveExpiredArtifactsReturnsOnCall(i int, result1 error)
- type FakeWorkerBaseResourceTypeFactory
- func (fake *FakeWorkerBaseResourceTypeFactory) Find(arg1 string, arg2 db.Worker) (*db.UsedWorkerBaseResourceType, bool, error)
- func (fake *FakeWorkerBaseResourceTypeFactory) FindArgsForCall(i int) (string, db.Worker)
- func (fake *FakeWorkerBaseResourceTypeFactory) FindCallCount() int
- func (fake *FakeWorkerBaseResourceTypeFactory) FindCalls(stub func(string, db.Worker) (*db.UsedWorkerBaseResourceType, bool, error))
- func (fake *FakeWorkerBaseResourceTypeFactory) FindReturns(result1 *db.UsedWorkerBaseResourceType, result2 bool, result3 error)
- func (fake *FakeWorkerBaseResourceTypeFactory) FindReturnsOnCall(i int, result1 *db.UsedWorkerBaseResourceType, result2 bool, result3 error)
- func (fake *FakeWorkerBaseResourceTypeFactory) Invocations() map[string][][]interface{}
- type FakeWorkerFactory
- func (fake *FakeWorkerFactory) BuildContainersCountPerWorker() (map[string]int, error)
- func (fake *FakeWorkerFactory) BuildContainersCountPerWorkerCallCount() int
- func (fake *FakeWorkerFactory) BuildContainersCountPerWorkerCalls(stub func() (map[string]int, error))
- func (fake *FakeWorkerFactory) BuildContainersCountPerWorkerReturns(result1 map[string]int, result2 error)
- func (fake *FakeWorkerFactory) BuildContainersCountPerWorkerReturnsOnCall(i int, result1 map[string]int, result2 error)
- func (fake *FakeWorkerFactory) FindWorkersForContainerByOwner(arg1 db.ContainerOwner) ([]db.Worker, error)
- func (fake *FakeWorkerFactory) FindWorkersForContainerByOwnerArgsForCall(i int) db.ContainerOwner
- func (fake *FakeWorkerFactory) FindWorkersForContainerByOwnerCallCount() int
- func (fake *FakeWorkerFactory) FindWorkersForContainerByOwnerCalls(stub func(db.ContainerOwner) ([]db.Worker, error))
- func (fake *FakeWorkerFactory) FindWorkersForContainerByOwnerReturns(result1 []db.Worker, result2 error)
- func (fake *FakeWorkerFactory) FindWorkersForContainerByOwnerReturnsOnCall(i int, result1 []db.Worker, result2 error)
- func (fake *FakeWorkerFactory) GetWorker(arg1 string) (db.Worker, bool, error)
- func (fake *FakeWorkerFactory) GetWorkerArgsForCall(i int) string
- func (fake *FakeWorkerFactory) GetWorkerCallCount() int
- func (fake *FakeWorkerFactory) GetWorkerCalls(stub func(string) (db.Worker, bool, error))
- func (fake *FakeWorkerFactory) GetWorkerReturns(result1 db.Worker, result2 bool, result3 error)
- func (fake *FakeWorkerFactory) GetWorkerReturnsOnCall(i int, result1 db.Worker, result2 bool, result3 error)
- func (fake *FakeWorkerFactory) HeartbeatWorker(arg1 atc.Worker, arg2 time.Duration) (db.Worker, error)
- func (fake *FakeWorkerFactory) HeartbeatWorkerArgsForCall(i int) (atc.Worker, time.Duration)
- func (fake *FakeWorkerFactory) HeartbeatWorkerCallCount() int
- func (fake *FakeWorkerFactory) HeartbeatWorkerCalls(stub func(atc.Worker, time.Duration) (db.Worker, error))
- func (fake *FakeWorkerFactory) HeartbeatWorkerReturns(result1 db.Worker, result2 error)
- func (fake *FakeWorkerFactory) HeartbeatWorkerReturnsOnCall(i int, result1 db.Worker, result2 error)
- func (fake *FakeWorkerFactory) Invocations() map[string][][]interface{}
- func (fake *FakeWorkerFactory) SaveWorker(arg1 atc.Worker, arg2 time.Duration) (db.Worker, error)
- func (fake *FakeWorkerFactory) SaveWorkerArgsForCall(i int) (atc.Worker, time.Duration)
- func (fake *FakeWorkerFactory) SaveWorkerCallCount() int
- func (fake *FakeWorkerFactory) SaveWorkerCalls(stub func(atc.Worker, time.Duration) (db.Worker, error))
- func (fake *FakeWorkerFactory) SaveWorkerReturns(result1 db.Worker, result2 error)
- func (fake *FakeWorkerFactory) SaveWorkerReturnsOnCall(i int, result1 db.Worker, result2 error)
- func (fake *FakeWorkerFactory) VisibleWorkers(arg1 []string) ([]db.Worker, error)
- func (fake *FakeWorkerFactory) VisibleWorkersArgsForCall(i int) []string
- func (fake *FakeWorkerFactory) VisibleWorkersCallCount() int
- func (fake *FakeWorkerFactory) VisibleWorkersCalls(stub func([]string) ([]db.Worker, error))
- func (fake *FakeWorkerFactory) VisibleWorkersReturns(result1 []db.Worker, result2 error)
- func (fake *FakeWorkerFactory) VisibleWorkersReturnsOnCall(i int, result1 []db.Worker, result2 error)
- func (fake *FakeWorkerFactory) Workers() ([]db.Worker, error)
- func (fake *FakeWorkerFactory) WorkersCallCount() int
- func (fake *FakeWorkerFactory) WorkersCalls(stub func() ([]db.Worker, error))
- func (fake *FakeWorkerFactory) WorkersReturns(result1 []db.Worker, result2 error)
- func (fake *FakeWorkerFactory) WorkersReturnsOnCall(i int, result1 []db.Worker, result2 error)
- type FakeWorkerLifecycle
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkers() ([]string, error)
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersCallCount() int
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersCalls(stub func() ([]string, error))
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturns(result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) DeleteUnresponsiveEphemeralWorkers() ([]string, error)
- func (fake *FakeWorkerLifecycle) DeleteUnresponsiveEphemeralWorkersCallCount() int
- func (fake *FakeWorkerLifecycle) DeleteUnresponsiveEphemeralWorkersCalls(stub func() ([]string, error))
- func (fake *FakeWorkerLifecycle) DeleteUnresponsiveEphemeralWorkersReturns(result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) DeleteUnresponsiveEphemeralWorkersReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) GetWorkerStateByName() (map[string]db.WorkerState, error)
- func (fake *FakeWorkerLifecycle) GetWorkerStateByNameCallCount() int
- func (fake *FakeWorkerLifecycle) GetWorkerStateByNameCalls(stub func() (map[string]db.WorkerState, error))
- func (fake *FakeWorkerLifecycle) GetWorkerStateByNameReturns(result1 map[string]db.WorkerState, result2 error)
- func (fake *FakeWorkerLifecycle) GetWorkerStateByNameReturnsOnCall(i int, result1 map[string]db.WorkerState, result2 error)
- func (fake *FakeWorkerLifecycle) Invocations() map[string][][]interface{}
- func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkers() ([]string, error)
- func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersCallCount() int
- func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersCalls(stub func() ([]string, error))
- func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersReturns(result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkers() ([]string, error)
- func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersCallCount() int
- func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersCalls(stub func() ([]string, error))
- func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersReturns(result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersReturnsOnCall(i int, result1 []string, result2 error)
- type FakeWorkerTaskCacheFactory
- func (fake *FakeWorkerTaskCacheFactory) Find(arg1 db.WorkerTaskCache) (*db.UsedWorkerTaskCache, bool, error)
- func (fake *FakeWorkerTaskCacheFactory) FindArgsForCall(i int) db.WorkerTaskCache
- func (fake *FakeWorkerTaskCacheFactory) FindCallCount() int
- func (fake *FakeWorkerTaskCacheFactory) FindCalls(stub func(db.WorkerTaskCache) (*db.UsedWorkerTaskCache, bool, error))
- func (fake *FakeWorkerTaskCacheFactory) FindOrCreate(arg1 db.WorkerTaskCache) (*db.UsedWorkerTaskCache, error)
- func (fake *FakeWorkerTaskCacheFactory) FindOrCreateArgsForCall(i int) db.WorkerTaskCache
- func (fake *FakeWorkerTaskCacheFactory) FindOrCreateCallCount() int
- func (fake *FakeWorkerTaskCacheFactory) FindOrCreateCalls(stub func(db.WorkerTaskCache) (*db.UsedWorkerTaskCache, error))
- func (fake *FakeWorkerTaskCacheFactory) FindOrCreateReturns(result1 *db.UsedWorkerTaskCache, result2 error)
- func (fake *FakeWorkerTaskCacheFactory) FindOrCreateReturnsOnCall(i int, result1 *db.UsedWorkerTaskCache, result2 error)
- func (fake *FakeWorkerTaskCacheFactory) FindReturns(result1 *db.UsedWorkerTaskCache, result2 bool, result3 error)
- func (fake *FakeWorkerTaskCacheFactory) FindReturnsOnCall(i int, result1 *db.UsedWorkerTaskCache, result2 bool, result3 error)
- func (fake *FakeWorkerTaskCacheFactory) Invocations() map[string][][]interface{}
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) AbortNotifierCallCount ¶
func (*FakeBuild) AbortNotifierCalls ¶
func (*FakeBuild) AbortNotifierReturns ¶
func (*FakeBuild) AbortNotifierReturnsOnCall ¶
func (*FakeBuild) AcquireTrackingLock ¶
func (*FakeBuild) AcquireTrackingLockArgsForCall ¶
func (*FakeBuild) AcquireTrackingLockCallCount ¶
func (*FakeBuild) AcquireTrackingLockCalls ¶
func (*FakeBuild) AcquireTrackingLockReturns ¶
func (*FakeBuild) AcquireTrackingLockReturnsOnCall ¶
func (*FakeBuild) AdoptInputsAndPipes ¶
func (fake *FakeBuild) AdoptInputsAndPipes() ([]db.BuildInput, bool, error)
func (*FakeBuild) AdoptInputsAndPipesCallCount ¶
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 (*FakeBuild) AdoptRerunInputsAndPipes ¶
func (fake *FakeBuild) AdoptRerunInputsAndPipes() ([]db.BuildInput, bool, error)
func (*FakeBuild) AdoptRerunInputsAndPipesCallCount ¶
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 (*FakeBuild) ArtifactArgsForCall ¶
func (*FakeBuild) ArtifactCallCount ¶
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) ArtifactsCallCount ¶
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) DeleteCallCount ¶
func (*FakeBuild) DeleteCalls ¶
func (*FakeBuild) DeleteReturns ¶
func (*FakeBuild) DeleteReturnsOnCall ¶
func (*FakeBuild) EndTimeCallCount ¶
func (*FakeBuild) EndTimeCalls ¶
func (*FakeBuild) EndTimeReturns ¶
func (*FakeBuild) EndTimeReturnsOnCall ¶
func (*FakeBuild) EventsArgsForCall ¶
func (*FakeBuild) EventsCallCount ¶
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) FinishArgsForCall ¶
func (fake *FakeBuild) FinishArgsForCall(i int) db.BuildStatus
func (*FakeBuild) FinishCallCount ¶
func (*FakeBuild) FinishCalls ¶
func (fake *FakeBuild) FinishCalls(stub func(db.BuildStatus) error)
func (*FakeBuild) FinishReturns ¶
func (*FakeBuild) FinishReturnsOnCall ¶
func (*FakeBuild) HasPlanCallCount ¶
func (*FakeBuild) HasPlanCalls ¶
func (*FakeBuild) HasPlanReturns ¶
func (*FakeBuild) HasPlanReturnsOnCall ¶
func (*FakeBuild) IDCallCount ¶
func (*FakeBuild) IDReturnsOnCall ¶
func (*FakeBuild) InputsReady ¶
func (*FakeBuild) InputsReadyCallCount ¶
func (*FakeBuild) InputsReadyCalls ¶
func (*FakeBuild) InputsReadyReturns ¶
func (*FakeBuild) InputsReadyReturnsOnCall ¶
func (*FakeBuild) Interceptible ¶
func (*FakeBuild) InterceptibleCallCount ¶
func (*FakeBuild) InterceptibleCalls ¶
func (*FakeBuild) InterceptibleReturns ¶
func (*FakeBuild) InterceptibleReturnsOnCall ¶
func (*FakeBuild) Invocations ¶
func (*FakeBuild) IsAbortedCallCount ¶
func (*FakeBuild) IsAbortedCalls ¶
func (*FakeBuild) IsAbortedReturns ¶
func (*FakeBuild) IsAbortedReturnsOnCall ¶
func (*FakeBuild) IsCompleted ¶
func (*FakeBuild) IsCompletedCallCount ¶
func (*FakeBuild) IsCompletedCalls ¶
func (*FakeBuild) IsCompletedReturns ¶
func (*FakeBuild) IsCompletedReturnsOnCall ¶
func (*FakeBuild) IsDrainedCallCount ¶
func (*FakeBuild) IsDrainedCalls ¶
func (*FakeBuild) IsDrainedReturns ¶
func (*FakeBuild) IsDrainedReturnsOnCall ¶
func (*FakeBuild) IsManuallyTriggered ¶
func (*FakeBuild) IsManuallyTriggeredCallCount ¶
func (*FakeBuild) IsManuallyTriggeredCalls ¶
func (*FakeBuild) IsManuallyTriggeredReturns ¶
func (*FakeBuild) IsManuallyTriggeredReturnsOnCall ¶
func (*FakeBuild) IsNewerThanLastCheckOf ¶
func (*FakeBuild) IsNewerThanLastCheckOfArgsForCall ¶
func (*FakeBuild) IsNewerThanLastCheckOfCallCount ¶
func (*FakeBuild) IsNewerThanLastCheckOfCalls ¶
func (*FakeBuild) IsNewerThanLastCheckOfReturns ¶
func (*FakeBuild) IsNewerThanLastCheckOfReturnsOnCall ¶
func (*FakeBuild) IsRunningCallCount ¶
func (*FakeBuild) IsRunningCalls ¶
func (*FakeBuild) IsRunningReturns ¶
func (*FakeBuild) IsRunningReturnsOnCall ¶
func (*FakeBuild) IsScheduled ¶
func (*FakeBuild) IsScheduledCallCount ¶
func (*FakeBuild) IsScheduledCalls ¶
func (*FakeBuild) IsScheduledReturns ¶
func (*FakeBuild) IsScheduledReturnsOnCall ¶
func (*FakeBuild) JobIDCallCount ¶
func (*FakeBuild) JobIDCalls ¶
func (*FakeBuild) JobIDReturns ¶
func (*FakeBuild) JobIDReturnsOnCall ¶
func (*FakeBuild) JobNameCallCount ¶
func (*FakeBuild) JobNameCalls ¶
func (*FakeBuild) JobNameReturns ¶
func (*FakeBuild) JobNameReturnsOnCall ¶
func (*FakeBuild) MarkAsAborted ¶
func (*FakeBuild) MarkAsAbortedCallCount ¶
func (*FakeBuild) MarkAsAbortedCalls ¶
func (*FakeBuild) MarkAsAbortedReturns ¶
func (*FakeBuild) MarkAsAbortedReturnsOnCall ¶
func (*FakeBuild) NameCallCount ¶
func (*FakeBuild) NameReturns ¶
func (*FakeBuild) NameReturnsOnCall ¶
func (*FakeBuild) PipelineCallCount ¶
func (*FakeBuild) PipelineCalls ¶
func (*FakeBuild) PipelineID ¶
func (*FakeBuild) PipelineIDCallCount ¶
func (*FakeBuild) PipelineIDCalls ¶
func (*FakeBuild) PipelineIDReturns ¶
func (*FakeBuild) PipelineIDReturnsOnCall ¶
func (*FakeBuild) PipelineName ¶
func (*FakeBuild) PipelineNameCallCount ¶
func (*FakeBuild) PipelineNameCalls ¶
func (*FakeBuild) PipelineNameReturns ¶
func (*FakeBuild) PipelineNameReturnsOnCall ¶
func (*FakeBuild) PipelineReturns ¶
func (*FakeBuild) PipelineReturnsOnCall ¶
func (*FakeBuild) Preparation ¶
func (fake *FakeBuild) Preparation() (db.BuildPreparation, bool, error)
func (*FakeBuild) PreparationCallCount ¶
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 (*FakeBuild) PrivatePlan ¶
func (*FakeBuild) PrivatePlanCallCount ¶
func (*FakeBuild) PrivatePlanCalls ¶
func (*FakeBuild) PrivatePlanReturns ¶
func (*FakeBuild) PrivatePlanReturnsOnCall ¶
func (*FakeBuild) PublicPlan ¶
func (fake *FakeBuild) PublicPlan() *json.RawMessage
func (*FakeBuild) PublicPlanCallCount ¶
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) ReapTimeCallCount ¶
func (*FakeBuild) ReapTimeCalls ¶
func (*FakeBuild) ReapTimeReturns ¶
func (*FakeBuild) ReapTimeReturnsOnCall ¶
func (*FakeBuild) ReloadCallCount ¶
func (*FakeBuild) ReloadCalls ¶
func (*FakeBuild) ReloadReturns ¶
func (*FakeBuild) ReloadReturnsOnCall ¶
func (*FakeBuild) RerunNumber ¶
func (*FakeBuild) RerunNumberCallCount ¶
func (*FakeBuild) RerunNumberCalls ¶
func (*FakeBuild) RerunNumberReturns ¶
func (*FakeBuild) RerunNumberReturnsOnCall ¶
func (*FakeBuild) RerunOfCallCount ¶
func (*FakeBuild) RerunOfCalls ¶
func (*FakeBuild) RerunOfName ¶
func (*FakeBuild) RerunOfNameCallCount ¶
func (*FakeBuild) RerunOfNameCalls ¶
func (*FakeBuild) RerunOfNameReturns ¶
func (*FakeBuild) RerunOfNameReturnsOnCall ¶
func (*FakeBuild) RerunOfReturns ¶
func (*FakeBuild) RerunOfReturnsOnCall ¶
func (*FakeBuild) Resources ¶
func (fake *FakeBuild) Resources() ([]db.BuildInput, []db.BuildOutput, error)
func (*FakeBuild) ResourcesCallCount ¶
func (*FakeBuild) ResourcesCalls ¶
func (fake *FakeBuild) ResourcesCalls(stub func() ([]db.BuildInput, []db.BuildOutput, error))
func (*FakeBuild) ResourcesChecked ¶
func (*FakeBuild) ResourcesCheckedCallCount ¶
func (*FakeBuild) ResourcesCheckedCalls ¶
func (*FakeBuild) ResourcesCheckedReturns ¶
func (*FakeBuild) ResourcesCheckedReturnsOnCall ¶
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) SaveEventArgsForCall ¶
func (*FakeBuild) SaveEventCallCount ¶
func (*FakeBuild) SaveEventCalls ¶
func (*FakeBuild) SaveEventReturns ¶
func (*FakeBuild) SaveEventReturnsOnCall ¶
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 (*FakeBuild) SaveImageResourceVersionCalls ¶
func (fake *FakeBuild) SaveImageResourceVersionCalls(stub func(db.UsedResourceCache) error)
func (*FakeBuild) SaveImageResourceVersionReturns ¶
func (*FakeBuild) SaveImageResourceVersionReturnsOnCall ¶
func (*FakeBuild) SaveOutput ¶
func (*FakeBuild) SaveOutputArgsForCall ¶
func (*FakeBuild) SaveOutputCallCount ¶
func (*FakeBuild) SaveOutputCalls ¶
func (*FakeBuild) SaveOutputReturns ¶
func (*FakeBuild) SaveOutputReturnsOnCall ¶
func (*FakeBuild) SavePipeline ¶
func (*FakeBuild) SavePipelineArgsForCall ¶
func (*FakeBuild) SavePipelineCallCount ¶
func (*FakeBuild) SavePipelineCalls ¶
func (*FakeBuild) SavePipelineReturns ¶
func (*FakeBuild) SavePipelineReturnsOnCall ¶
func (*FakeBuild) SchemaCallCount ¶
func (*FakeBuild) SchemaCalls ¶
func (*FakeBuild) SchemaReturns ¶
func (*FakeBuild) SchemaReturnsOnCall ¶
func (*FakeBuild) SetDrained ¶
func (*FakeBuild) SetDrainedArgsForCall ¶
func (*FakeBuild) SetDrainedCallCount ¶
func (*FakeBuild) SetDrainedCalls ¶
func (*FakeBuild) SetDrainedReturns ¶
func (*FakeBuild) SetDrainedReturnsOnCall ¶
func (*FakeBuild) SetInterceptible ¶
func (*FakeBuild) SetInterceptibleArgsForCall ¶
func (*FakeBuild) SetInterceptibleCallCount ¶
func (*FakeBuild) SetInterceptibleCalls ¶
func (*FakeBuild) SetInterceptibleReturns ¶
func (*FakeBuild) SetInterceptibleReturnsOnCall ¶
func (*FakeBuild) SpanContext ¶
func (fake *FakeBuild) SpanContext() propagators.Supplier
func (*FakeBuild) SpanContextCallCount ¶
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) StartCallCount ¶
func (*FakeBuild) StartReturns ¶
func (*FakeBuild) StartReturnsOnCall ¶
func (*FakeBuild) StartTimeCallCount ¶
func (*FakeBuild) StartTimeCalls ¶
func (*FakeBuild) StartTimeReturns ¶
func (*FakeBuild) StartTimeReturnsOnCall ¶
func (*FakeBuild) Status ¶
func (fake *FakeBuild) Status() db.BuildStatus
func (*FakeBuild) StatusCallCount ¶
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) TeamIDCallCount ¶
func (*FakeBuild) TeamIDCalls ¶
func (*FakeBuild) TeamIDReturns ¶
func (*FakeBuild) TeamIDReturnsOnCall ¶
func (*FakeBuild) TeamNameCallCount ¶
func (*FakeBuild) TeamNameCalls ¶
func (*FakeBuild) TeamNameReturns ¶
func (*FakeBuild) TeamNameReturnsOnCall ¶
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) BuildArgsForCall ¶
func (fake *FakeBuildFactory) BuildArgsForCall(i int) int
func (*FakeBuildFactory) BuildCallCount ¶
func (fake *FakeBuildFactory) BuildCallCount() int
func (*FakeBuildFactory) BuildCalls ¶
func (*FakeBuildFactory) BuildReturns ¶
func (fake *FakeBuildFactory) BuildReturns(result1 db.Build, result2 bool, result3 error)
func (*FakeBuildFactory) BuildReturnsOnCall ¶
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 (*FakeCheck) AcquireTrackingLockArgsForCall ¶
func (*FakeCheck) AcquireTrackingLockCallCount ¶
func (*FakeCheck) AcquireTrackingLockCalls ¶
func (*FakeCheck) AcquireTrackingLockReturns ¶
func (*FakeCheck) AcquireTrackingLockReturnsOnCall ¶
func (*FakeCheck) AllCheckablesCallCount ¶
func (*FakeCheck) AllCheckablesCalls ¶
func (*FakeCheck) AllCheckablesReturns ¶
func (*FakeCheck) AllCheckablesReturnsOnCall ¶
func (*FakeCheck) BaseResourceTypeID ¶
func (*FakeCheck) BaseResourceTypeIDCallCount ¶
func (*FakeCheck) BaseResourceTypeIDCalls ¶
func (*FakeCheck) BaseResourceTypeIDReturns ¶
func (*FakeCheck) BaseResourceTypeIDReturnsOnCall ¶
func (*FakeCheck) CheckError ¶
func (*FakeCheck) CheckErrorCallCount ¶
func (*FakeCheck) CheckErrorCalls ¶
func (*FakeCheck) CheckErrorReturns ¶
func (*FakeCheck) CheckErrorReturnsOnCall ¶
func (*FakeCheck) CreateTime ¶
func (*FakeCheck) CreateTimeCallCount ¶
func (*FakeCheck) CreateTimeCalls ¶
func (*FakeCheck) CreateTimeReturns ¶
func (*FakeCheck) CreateTimeReturnsOnCall ¶
func (*FakeCheck) EndTimeCallCount ¶
func (*FakeCheck) EndTimeCalls ¶
func (*FakeCheck) EndTimeReturns ¶
func (*FakeCheck) EndTimeReturnsOnCall ¶
func (*FakeCheck) FinishCallCount ¶
func (*FakeCheck) FinishCalls ¶
func (*FakeCheck) FinishReturns ¶
func (*FakeCheck) FinishReturnsOnCall ¶
func (*FakeCheck) FinishWithError ¶
func (*FakeCheck) FinishWithErrorArgsForCall ¶
func (*FakeCheck) FinishWithErrorCallCount ¶
func (*FakeCheck) FinishWithErrorCalls ¶
func (*FakeCheck) FinishWithErrorReturns ¶
func (*FakeCheck) FinishWithErrorReturnsOnCall ¶
func (*FakeCheck) IDCallCount ¶
func (*FakeCheck) IDReturnsOnCall ¶
func (*FakeCheck) Invocations ¶
func (*FakeCheck) ManuallyTriggered ¶
func (*FakeCheck) ManuallyTriggeredCallCount ¶
func (*FakeCheck) ManuallyTriggeredCalls ¶
func (*FakeCheck) ManuallyTriggeredReturns ¶
func (*FakeCheck) ManuallyTriggeredReturnsOnCall ¶
func (*FakeCheck) PipelineCallCount ¶
func (*FakeCheck) PipelineCalls ¶
func (*FakeCheck) PipelineID ¶
func (*FakeCheck) PipelineIDCallCount ¶
func (*FakeCheck) PipelineIDCalls ¶
func (*FakeCheck) PipelineIDReturns ¶
func (*FakeCheck) PipelineIDReturnsOnCall ¶
func (*FakeCheck) PipelineName ¶
func (*FakeCheck) PipelineNameCallCount ¶
func (*FakeCheck) PipelineNameCalls ¶
func (*FakeCheck) PipelineNameReturns ¶
func (*FakeCheck) PipelineNameReturnsOnCall ¶
func (*FakeCheck) PipelineReturns ¶
func (*FakeCheck) PipelineReturnsOnCall ¶
func (*FakeCheck) PlanCallCount ¶
func (*FakeCheck) PlanReturns ¶
func (*FakeCheck) PlanReturnsOnCall ¶
func (*FakeCheck) ReloadCallCount ¶
func (*FakeCheck) ReloadCalls ¶
func (*FakeCheck) ReloadReturns ¶
func (*FakeCheck) ReloadReturnsOnCall ¶
func (*FakeCheck) ResourceConfigID ¶
func (*FakeCheck) ResourceConfigIDCallCount ¶
func (*FakeCheck) ResourceConfigIDCalls ¶
func (*FakeCheck) ResourceConfigIDReturns ¶
func (*FakeCheck) ResourceConfigIDReturnsOnCall ¶
func (*FakeCheck) ResourceConfigScopeID ¶
func (*FakeCheck) ResourceConfigScopeIDCallCount ¶
func (*FakeCheck) ResourceConfigScopeIDCalls ¶
func (*FakeCheck) ResourceConfigScopeIDReturns ¶
func (*FakeCheck) ResourceConfigScopeIDReturnsOnCall ¶
func (*FakeCheck) SaveVersions ¶
func (*FakeCheck) SaveVersionsArgsForCall ¶
func (*FakeCheck) SaveVersionsCallCount ¶
func (*FakeCheck) SaveVersionsCalls ¶
func (*FakeCheck) SaveVersionsReturns ¶
func (*FakeCheck) SaveVersionsReturnsOnCall ¶
func (*FakeCheck) SchemaCallCount ¶
func (*FakeCheck) SchemaCalls ¶
func (*FakeCheck) SchemaReturns ¶
func (*FakeCheck) SchemaReturnsOnCall ¶
func (*FakeCheck) SpanContext ¶
func (fake *FakeCheck) SpanContext() propagators.Supplier
func (*FakeCheck) SpanContextCallCount ¶
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) StartCallCount ¶
func (*FakeCheck) StartCalls ¶
func (*FakeCheck) StartReturns ¶
func (*FakeCheck) StartReturnsOnCall ¶
func (*FakeCheck) StartTimeCallCount ¶
func (*FakeCheck) StartTimeCalls ¶
func (*FakeCheck) StartTimeReturns ¶
func (*FakeCheck) StartTimeReturnsOnCall ¶
func (*FakeCheck) Status ¶
func (fake *FakeCheck) Status() db.CheckStatus
func (*FakeCheck) StatusCallCount ¶
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) TeamIDCallCount ¶
func (*FakeCheck) TeamIDCalls ¶
func (*FakeCheck) TeamIDReturns ¶
func (*FakeCheck) TeamIDReturnsOnCall ¶
func (*FakeCheck) TeamNameCallCount ¶
func (*FakeCheck) TeamNameCalls ¶
func (*FakeCheck) TeamNameReturns ¶
func (*FakeCheck) TeamNameReturnsOnCall ¶
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 (*FakeCheckFactory) AcquireScanningLockArgsForCall ¶
func (fake *FakeCheckFactory) AcquireScanningLockArgsForCall(i int) lager.Logger
func (*FakeCheckFactory) AcquireScanningLockCallCount ¶
func (fake *FakeCheckFactory) AcquireScanningLockCallCount() int
func (*FakeCheckFactory) AcquireScanningLockCalls ¶
func (*FakeCheckFactory) AcquireScanningLockReturns ¶
func (fake *FakeCheckFactory) AcquireScanningLockReturns(result1 lock.Lock, result2 bool, result3 error)
func (*FakeCheckFactory) AcquireScanningLockReturnsOnCall ¶
func (*FakeCheckFactory) CheckArgsForCall ¶
func (fake *FakeCheckFactory) CheckArgsForCall(i int) int
func (*FakeCheckFactory) CheckCallCount ¶
func (fake *FakeCheckFactory) CheckCallCount() int
func (*FakeCheckFactory) CheckCalls ¶
func (*FakeCheckFactory) CheckReturns ¶
func (fake *FakeCheckFactory) CheckReturns(result1 db.Check, result2 bool, result3 error)
func (*FakeCheckFactory) CheckReturnsOnCall ¶
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 (*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 (*FakeCheckFactory) TryCreateCheckArgsForCall ¶
func (*FakeCheckFactory) TryCreateCheckCallCount ¶
func (fake *FakeCheckFactory) TryCreateCheckCallCount() int
func (*FakeCheckFactory) TryCreateCheckCalls ¶
func (*FakeCheckFactory) TryCreateCheckReturns ¶
func (fake *FakeCheckFactory) TryCreateCheckReturns(result1 db.Check, result2 bool, result3 error)
func (*FakeCheckFactory) TryCreateCheckReturnsOnCall ¶
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) 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 (*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 (*FakeClock) NowCallCount ¶
func (*FakeClock) NowReturns ¶
func (*FakeClock) NowReturnsOnCall ¶
func (*FakeClock) UntilCallCount ¶
func (*FakeClock) UntilCalls ¶
func (*FakeClock) UntilReturns ¶
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 (*FakeComponentFactory) CreateOrUpdateArgsForCall ¶
func (fake *FakeComponentFactory) CreateOrUpdateArgsForCall(i int) atc.Component
func (*FakeComponentFactory) CreateOrUpdateCallCount ¶
func (fake *FakeComponentFactory) CreateOrUpdateCallCount() int
func (*FakeComponentFactory) CreateOrUpdateCalls ¶
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) FindArgsForCall ¶
func (fake *FakeComponentFactory) FindArgsForCall(i int) string
func (*FakeComponentFactory) FindCallCount ¶
func (fake *FakeComponentFactory) FindCallCount() int
func (*FakeComponentFactory) FindReturns ¶
func (fake *FakeComponentFactory) FindReturns(result1 db.Component, result2 bool, result3 error)
func (*FakeComponentFactory) FindReturnsOnCall ¶
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) BeginCallCount ¶
func (*FakeConn) BeginReturnsOnCall ¶
func (*FakeConn) BeginTxArgsForCall ¶
func (*FakeConn) BeginTxCallCount ¶
func (*FakeConn) BeginTxCalls ¶
func (*FakeConn) BeginTxReturns ¶
func (*FakeConn) BeginTxReturnsOnCall ¶
func (*FakeConn) Bus ¶
func (fake *FakeConn) Bus() db.NotificationsBus
func (*FakeConn) BusCallCount ¶
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) CloseCallCount ¶
func (*FakeConn) CloseCalls ¶
func (*FakeConn) CloseReturns ¶
func (*FakeConn) CloseReturnsOnCall ¶
func (*FakeConn) DriverCallCount ¶
func (*FakeConn) DriverCalls ¶
func (*FakeConn) DriverReturns ¶
func (*FakeConn) DriverReturnsOnCall ¶
func (*FakeConn) EncryptionStrategy ¶
func (fake *FakeConn) EncryptionStrategy() encryption.Strategy
func (*FakeConn) EncryptionStrategyCallCount ¶
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) ExecArgsForCall ¶
func (*FakeConn) ExecCallCount ¶
func (*FakeConn) ExecContext ¶
func (*FakeConn) ExecContextArgsForCall ¶
func (*FakeConn) ExecContextCallCount ¶
func (*FakeConn) ExecContextCalls ¶
func (*FakeConn) ExecContextReturns ¶
func (*FakeConn) ExecContextReturnsOnCall ¶
func (*FakeConn) ExecReturnsOnCall ¶
func (*FakeConn) Invocations ¶
func (*FakeConn) NameCallCount ¶
func (*FakeConn) NameReturns ¶
func (*FakeConn) NameReturnsOnCall ¶
func (*FakeConn) PingCallCount ¶
func (*FakeConn) PingReturns ¶
func (*FakeConn) PingReturnsOnCall ¶
func (*FakeConn) PrepareArgsForCall ¶
func (*FakeConn) PrepareCallCount ¶
func (*FakeConn) PrepareCalls ¶
func (*FakeConn) PrepareContext ¶
func (*FakeConn) PrepareContextArgsForCall ¶
func (*FakeConn) PrepareContextCallCount ¶
func (*FakeConn) PrepareContextCalls ¶
func (*FakeConn) PrepareContextReturns ¶
func (*FakeConn) PrepareContextReturnsOnCall ¶
func (*FakeConn) PrepareReturns ¶
func (*FakeConn) PrepareReturnsOnCall ¶
func (*FakeConn) QueryArgsForCall ¶
func (*FakeConn) QueryCallCount ¶
func (*FakeConn) QueryCalls ¶
func (*FakeConn) QueryContext ¶
func (*FakeConn) QueryContextArgsForCall ¶
func (*FakeConn) QueryContextCallCount ¶
func (*FakeConn) QueryContextCalls ¶
func (*FakeConn) QueryContextReturns ¶
func (*FakeConn) QueryContextReturnsOnCall ¶
func (*FakeConn) QueryReturns ¶
func (*FakeConn) QueryReturnsOnCall ¶
func (*FakeConn) QueryRow ¶
func (fake *FakeConn) QueryRow(arg1 string, arg2 ...interface{}) squirrel.RowScanner
func (*FakeConn) QueryRowArgsForCall ¶
func (*FakeConn) QueryRowCallCount ¶
func (*FakeConn) QueryRowCalls ¶
func (fake *FakeConn) QueryRowCalls(stub func(string, ...interface{}) squirrel.RowScanner)
func (*FakeConn) QueryRowContext ¶
func (*FakeConn) QueryRowContextArgsForCall ¶
func (*FakeConn) QueryRowContextCallCount ¶
func (*FakeConn) QueryRowContextCalls ¶
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 (*FakeConn) SetMaxIdleConnsArgsForCall ¶
func (*FakeConn) SetMaxIdleConnsCallCount ¶
func (*FakeConn) SetMaxIdleConnsCalls ¶
func (*FakeConn) SetMaxOpenConns ¶
func (*FakeConn) SetMaxOpenConnsArgsForCall ¶
func (*FakeConn) SetMaxOpenConnsCallCount ¶
func (*FakeConn) SetMaxOpenConnsCalls ¶
func (*FakeConn) StatsCallCount ¶
func (*FakeConn) StatsCalls ¶
func (*FakeConn) StatsReturns ¶
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) CreateArgsForCall ¶
func (fake *FakeContainerOwner) CreateArgsForCall(i int) (db.Tx, string)
func (*FakeContainerOwner) CreateCallCount ¶
func (fake *FakeContainerOwner) CreateCallCount() int
func (*FakeContainerOwner) CreateCalls ¶
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) FindArgsForCall ¶
func (fake *FakeContainerOwner) FindArgsForCall(i int) db.Conn
func (*FakeContainerOwner) FindCallCount ¶
func (fake *FakeContainerOwner) FindCallCount() int
func (*FakeContainerOwner) FindReturns ¶
func (fake *FakeContainerOwner) FindReturns(result1 squirrel.Eq, result2 bool, result3 error)
func (*FakeContainerOwner) FindReturnsOnCall ¶
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 (*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) 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 (*FakeJob) AcquireSchedulingLockArgsForCall ¶
func (*FakeJob) AcquireSchedulingLockCallCount ¶
func (*FakeJob) AcquireSchedulingLockCalls ¶
func (*FakeJob) AcquireSchedulingLockReturns ¶
func (*FakeJob) AcquireSchedulingLockReturnsOnCall ¶
func (*FakeJob) AlgorithmInputs ¶
func (fake *FakeJob) AlgorithmInputs() (db.InputConfigs, error)
func (*FakeJob) AlgorithmInputsCallCount ¶
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) BuildArgsForCall ¶
func (*FakeJob) BuildCallCount ¶
func (*FakeJob) BuildCalls ¶
func (*FakeJob) BuildReturns ¶
func (*FakeJob) BuildReturnsOnCall ¶
func (*FakeJob) BuildsCallCount ¶
func (*FakeJob) BuildsCalls ¶
func (*FakeJob) BuildsReturns ¶
func (*FakeJob) BuildsReturnsOnCall ¶
func (*FakeJob) BuildsWithTime ¶
func (*FakeJob) BuildsWithTimeArgsForCall ¶
func (*FakeJob) BuildsWithTimeCallCount ¶
func (*FakeJob) BuildsWithTimeCalls ¶
func (*FakeJob) BuildsWithTimeReturns ¶
func (*FakeJob) BuildsWithTimeReturnsOnCall ¶
func (*FakeJob) ClearTaskCache ¶
func (*FakeJob) ClearTaskCacheArgsForCall ¶
func (*FakeJob) ClearTaskCacheCallCount ¶
func (*FakeJob) ClearTaskCacheCalls ¶
func (*FakeJob) ClearTaskCacheReturns ¶
func (*FakeJob) ClearTaskCacheReturnsOnCall ¶
func (*FakeJob) ConfigCallCount ¶
func (*FakeJob) ConfigReturns ¶
func (*FakeJob) ConfigReturnsOnCall ¶
func (*FakeJob) CreateBuildCallCount ¶
func (*FakeJob) CreateBuildCalls ¶
func (*FakeJob) CreateBuildReturns ¶
func (*FakeJob) CreateBuildReturnsOnCall ¶
func (*FakeJob) DisableManualTrigger ¶
func (*FakeJob) DisableManualTriggerCallCount ¶
func (*FakeJob) DisableManualTriggerCalls ¶
func (*FakeJob) DisableManualTriggerReturns ¶
func (*FakeJob) DisableManualTriggerReturnsOnCall ¶
func (*FakeJob) EnsurePendingBuildExists ¶
func (*FakeJob) EnsurePendingBuildExistsArgsForCall ¶
func (*FakeJob) EnsurePendingBuildExistsCallCount ¶
func (*FakeJob) EnsurePendingBuildExistsCalls ¶
func (*FakeJob) EnsurePendingBuildExistsReturns ¶
func (*FakeJob) EnsurePendingBuildExistsReturnsOnCall ¶
func (*FakeJob) FinishedAndNextBuild ¶
func (*FakeJob) FinishedAndNextBuildCallCount ¶
func (*FakeJob) FinishedAndNextBuildCalls ¶
func (*FakeJob) FinishedAndNextBuildReturns ¶
func (*FakeJob) FinishedAndNextBuildReturnsOnCall ¶
func (*FakeJob) FirstLoggedBuildID ¶
func (*FakeJob) FirstLoggedBuildIDCallCount ¶
func (*FakeJob) FirstLoggedBuildIDCalls ¶
func (*FakeJob) FirstLoggedBuildIDReturns ¶
func (*FakeJob) FirstLoggedBuildIDReturnsOnCall ¶
func (*FakeJob) GetFullNextBuildInputs ¶
func (fake *FakeJob) GetFullNextBuildInputs() ([]db.BuildInput, bool, error)
func (*FakeJob) GetFullNextBuildInputsCallCount ¶
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 (*FakeJob) GetNextBuildInputs ¶
func (fake *FakeJob) GetNextBuildInputs() ([]db.BuildInput, error)
func (*FakeJob) GetNextBuildInputsCallCount ¶
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) GetPendingBuildsCallCount ¶
func (*FakeJob) GetPendingBuildsCalls ¶
func (*FakeJob) GetPendingBuildsReturns ¶
func (*FakeJob) GetPendingBuildsReturnsOnCall ¶
func (*FakeJob) HasNewInputs ¶
func (*FakeJob) HasNewInputsCallCount ¶
func (*FakeJob) HasNewInputsCalls ¶
func (*FakeJob) HasNewInputsReturns ¶
func (*FakeJob) HasNewInputsReturnsOnCall ¶
func (*FakeJob) IDCallCount ¶
func (*FakeJob) IDReturnsOnCall ¶
func (*FakeJob) InputsCallCount ¶
func (*FakeJob) InputsReturns ¶
func (*FakeJob) InputsReturnsOnCall ¶
func (*FakeJob) Invocations ¶
func (*FakeJob) MaxInFlight ¶
func (*FakeJob) MaxInFlightCallCount ¶
func (*FakeJob) MaxInFlightCalls ¶
func (*FakeJob) MaxInFlightReturns ¶
func (*FakeJob) MaxInFlightReturnsOnCall ¶
func (*FakeJob) NameCallCount ¶
func (*FakeJob) NameReturns ¶
func (*FakeJob) NameReturnsOnCall ¶
func (*FakeJob) OutputsCallCount ¶
func (*FakeJob) OutputsCalls ¶
func (*FakeJob) OutputsReturns ¶
func (*FakeJob) OutputsReturnsOnCall ¶
func (*FakeJob) PauseCallCount ¶
func (*FakeJob) PauseCalls ¶
func (*FakeJob) PauseReturns ¶
func (*FakeJob) PauseReturnsOnCall ¶
func (*FakeJob) PausedCallCount ¶
func (*FakeJob) PausedCalls ¶
func (*FakeJob) PausedReturns ¶
func (*FakeJob) PausedReturnsOnCall ¶
func (*FakeJob) PipelineCallCount ¶
func (*FakeJob) PipelineCalls ¶
func (*FakeJob) PipelineID ¶
func (*FakeJob) PipelineIDCallCount ¶
func (*FakeJob) PipelineIDCalls ¶
func (*FakeJob) PipelineIDReturns ¶
func (*FakeJob) PipelineIDReturnsOnCall ¶
func (*FakeJob) PipelineName ¶
func (*FakeJob) PipelineNameCallCount ¶
func (*FakeJob) PipelineNameCalls ¶
func (*FakeJob) PipelineNameReturns ¶
func (*FakeJob) PipelineNameReturnsOnCall ¶
func (*FakeJob) PipelineReturns ¶
func (*FakeJob) PipelineReturnsOnCall ¶
func (*FakeJob) PublicCallCount ¶
func (*FakeJob) PublicCalls ¶
func (*FakeJob) PublicReturns ¶
func (*FakeJob) PublicReturnsOnCall ¶
func (*FakeJob) ReloadCallCount ¶
func (*FakeJob) ReloadCalls ¶
func (*FakeJob) ReloadReturns ¶
func (*FakeJob) ReloadReturnsOnCall ¶
func (*FakeJob) RequestSchedule ¶
func (*FakeJob) RequestScheduleCallCount ¶
func (*FakeJob) RequestScheduleCalls ¶
func (*FakeJob) RequestScheduleReturns ¶
func (*FakeJob) RequestScheduleReturnsOnCall ¶
func (*FakeJob) RerunBuildCallCount ¶
func (*FakeJob) RerunBuildCalls ¶
func (*FakeJob) RerunBuildReturns ¶
func (*FakeJob) RerunBuildReturnsOnCall ¶
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 (*FakeJob) SaveNextInputMappingCalls ¶
func (fake *FakeJob) SaveNextInputMappingCalls(stub func(db.InputMapping, bool) error)
func (*FakeJob) SaveNextInputMappingReturns ¶
func (*FakeJob) SaveNextInputMappingReturnsOnCall ¶
func (*FakeJob) ScheduleBuildArgsForCall ¶
func (*FakeJob) ScheduleBuildCallCount ¶
func (*FakeJob) ScheduleBuildCalls ¶
func (*FakeJob) ScheduleBuildReturns ¶
func (*FakeJob) ScheduleBuildReturnsOnCall ¶
func (*FakeJob) ScheduleRequestedTime ¶
func (*FakeJob) ScheduleRequestedTimeCallCount ¶
func (*FakeJob) ScheduleRequestedTimeCalls ¶
func (*FakeJob) ScheduleRequestedTimeReturns ¶
func (*FakeJob) ScheduleRequestedTimeReturnsOnCall ¶
func (*FakeJob) SetHasNewInputs ¶
func (*FakeJob) SetHasNewInputsArgsForCall ¶
func (*FakeJob) SetHasNewInputsCallCount ¶
func (*FakeJob) SetHasNewInputsCalls ¶
func (*FakeJob) SetHasNewInputsReturns ¶
func (*FakeJob) SetHasNewInputsReturnsOnCall ¶
func (*FakeJob) TagsCallCount ¶
func (*FakeJob) TagsReturns ¶
func (*FakeJob) TagsReturnsOnCall ¶
func (*FakeJob) TeamIDCallCount ¶
func (*FakeJob) TeamIDCalls ¶
func (*FakeJob) TeamIDReturns ¶
func (*FakeJob) TeamIDReturnsOnCall ¶
func (*FakeJob) TeamNameCallCount ¶
func (*FakeJob) TeamNameCalls ¶
func (*FakeJob) TeamNameReturns ¶
func (*FakeJob) TeamNameReturnsOnCall ¶
func (*FakeJob) UnpauseCallCount ¶
func (*FakeJob) UnpauseCalls ¶
func (*FakeJob) UnpauseReturns ¶
func (*FakeJob) UnpauseReturnsOnCall ¶
func (*FakeJob) UpdateFirstLoggedBuildID ¶
func (*FakeJob) UpdateFirstLoggedBuildIDArgsForCall ¶
func (*FakeJob) UpdateFirstLoggedBuildIDCallCount ¶
func (*FakeJob) UpdateFirstLoggedBuildIDCalls ¶
func (*FakeJob) UpdateFirstLoggedBuildIDReturns ¶
func (*FakeJob) UpdateFirstLoggedBuildIDReturnsOnCall ¶
func (*FakeJob) UpdateLastScheduled ¶
func (*FakeJob) UpdateLastScheduledArgsForCall ¶
func (*FakeJob) UpdateLastScheduledCallCount ¶
func (*FakeJob) UpdateLastScheduledCalls ¶
func (*FakeJob) UpdateLastScheduledReturns ¶
func (*FakeJob) UpdateLastScheduledReturnsOnCall ¶
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) 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) 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 (*FakePipeline) CreateStartedBuildArgsForCall ¶
func (fake *FakePipeline) CreateStartedBuildArgsForCall(i int) atc.Plan
func (*FakePipeline) CreateStartedBuildCallCount ¶
func (fake *FakePipeline) CreateStartedBuildCallCount() int
func (*FakePipeline) CreateStartedBuildCalls ¶
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) 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 (*FakePipeline) GetBuildsWithVersionAsInputArgsForCall ¶
func (fake *FakePipeline) GetBuildsWithVersionAsInputArgsForCall(i int) (int, int)
func (*FakePipeline) GetBuildsWithVersionAsInputCallCount ¶
func (fake *FakePipeline) GetBuildsWithVersionAsInputCallCount() int
func (*FakePipeline) GetBuildsWithVersionAsInputCalls ¶
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 (*FakePipeline) GetBuildsWithVersionAsOutputArgsForCall ¶
func (fake *FakePipeline) GetBuildsWithVersionAsOutputArgsForCall(i int) (int, int)
func (*FakePipeline) GetBuildsWithVersionAsOutputCallCount ¶
func (fake *FakePipeline) GetBuildsWithVersionAsOutputCallCount() int
func (*FakePipeline) GetBuildsWithVersionAsOutputCalls ¶
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) JobArgsForCall ¶
func (fake *FakePipeline) JobArgsForCall(i int) string
func (*FakePipeline) JobCallCount ¶
func (fake *FakePipeline) JobCallCount() int
func (*FakePipeline) JobReturns ¶
func (fake *FakePipeline) JobReturns(result1 db.Job, result2 bool, result3 error)
func (*FakePipeline) JobReturnsOnCall ¶
func (*FakePipeline) JobsCallCount ¶
func (fake *FakePipeline) JobsCallCount() int
func (*FakePipeline) JobsReturns ¶
func (fake *FakePipeline) JobsReturns(result1 db.Jobs, result2 error)
func (*FakePipeline) JobsReturnsOnCall ¶
func (fake *FakePipeline) JobsReturnsOnCall(i int, result1 db.Jobs, result2 error)
func (*FakePipeline) 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) ResourceArgsForCall ¶
func (fake *FakePipeline) ResourceArgsForCall(i int) string
func (*FakePipeline) ResourceByID ¶
func (*FakePipeline) ResourceByIDArgsForCall ¶
func (fake *FakePipeline) ResourceByIDArgsForCall(i int) int
func (*FakePipeline) ResourceByIDCallCount ¶
func (fake *FakePipeline) ResourceByIDCallCount() int
func (*FakePipeline) ResourceByIDCalls ¶
func (*FakePipeline) ResourceByIDReturns ¶
func (fake *FakePipeline) ResourceByIDReturns(result1 db.Resource, result2 bool, result3 error)
func (*FakePipeline) ResourceByIDReturnsOnCall ¶
func (*FakePipeline) ResourceCallCount ¶
func (fake *FakePipeline) ResourceCallCount() int
func (*FakePipeline) ResourceCalls ¶
func (*FakePipeline) ResourceReturns ¶
func (fake *FakePipeline) ResourceReturns(result1 db.Resource, result2 bool, result3 error)
func (*FakePipeline) ResourceReturnsOnCall ¶
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) 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) 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 (*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 (*FakeResource) ResourceConfigVersionIDArgsForCall ¶
func (fake *FakeResource) ResourceConfigVersionIDArgsForCall(i int) atc.Version
func (*FakeResource) ResourceConfigVersionIDCallCount ¶
func (fake *FakeResource) ResourceConfigVersionIDCallCount() int
func (*FakeResource) ResourceConfigVersionIDCalls ¶
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 (*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 (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheCalls(stub func(db.ResourceCacheUser, string, atc.Version, atc.Source, atc.Params, atc.VersionedResourceTypes) (db.UsedResourceCache, error))
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 (fake *FakeResourceCacheFactory) ResourceCacheMetadata(arg1 db.UsedResourceCache) (db.ResourceConfigMetadataFields, error)
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 (*FakeResourceConfigScope) AcquireResourceCheckingLockArgsForCall ¶
func (fake *FakeResourceConfigScope) AcquireResourceCheckingLockArgsForCall(i int) lager.Logger
func (*FakeResourceConfigScope) AcquireResourceCheckingLockCallCount ¶
func (fake *FakeResourceConfigScope) AcquireResourceCheckingLockCallCount() int
func (*FakeResourceConfigScope) AcquireResourceCheckingLockCalls ¶
func (*FakeResourceConfigScope) AcquireResourceCheckingLockReturns ¶
func (fake *FakeResourceConfigScope) AcquireResourceCheckingLockReturns(result1 lock.Lock, result2 bool, result3 error)
func (*FakeResourceConfigScope) AcquireResourceCheckingLockReturnsOnCall ¶
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 (fake *FakeResourceConfigScope) FindVersion(arg1 atc.Version) (db.ResourceConfigVersion, bool, error)
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 (*FakeResourceConfigScope) UpdateLastCheckStartTimeArgsForCall ¶
func (fake *FakeResourceConfigScope) UpdateLastCheckStartTimeArgsForCall(i int) (time.Duration, bool)
func (*FakeResourceConfigScope) UpdateLastCheckStartTimeCallCount ¶
func (fake *FakeResourceConfigScope) UpdateLastCheckStartTimeCallCount() int
func (*FakeResourceConfigScope) UpdateLastCheckStartTimeCalls ¶
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 (fake *FakeResourceConfigVersion) Metadata() db.ResourceConfigMetadataFields
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) ResourceArgsForCall ¶
func (fake *FakeResourceFactory) ResourceArgsForCall(i int) int
func (*FakeResourceFactory) ResourceCallCount ¶
func (fake *FakeResourceFactory) ResourceCallCount() int
func (*FakeResourceFactory) ResourceCalls ¶
func (*FakeResourceFactory) ResourceReturns ¶
func (fake *FakeResourceFactory) ResourceReturns(result1 db.Resource, result2 bool, result3 error)
func (*FakeResourceFactory) ResourceReturnsOnCall ¶
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 (*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) AdminCallCount ¶
func (*FakeTeam) AdminCalls ¶
func (*FakeTeam) AdminReturns ¶
func (*FakeTeam) AdminReturnsOnCall ¶
func (*FakeTeam) AuthCallCount ¶
func (*FakeTeam) AuthReturns ¶
func (*FakeTeam) AuthReturnsOnCall ¶
func (*FakeTeam) BuildsCallCount ¶
func (*FakeTeam) BuildsCalls ¶
func (*FakeTeam) BuildsReturns ¶
func (*FakeTeam) BuildsReturnsOnCall ¶
func (*FakeTeam) BuildsWithTime ¶
func (*FakeTeam) BuildsWithTimeArgsForCall ¶
func (*FakeTeam) BuildsWithTimeCallCount ¶
func (*FakeTeam) BuildsWithTimeCalls ¶
func (*FakeTeam) BuildsWithTimeReturns ¶
func (*FakeTeam) BuildsWithTimeReturnsOnCall ¶
func (*FakeTeam) ContainersCallCount ¶
func (*FakeTeam) ContainersCalls ¶
func (*FakeTeam) ContainersReturns ¶
func (*FakeTeam) ContainersReturnsOnCall ¶
func (*FakeTeam) CreateOneOffBuildCallCount ¶
func (*FakeTeam) CreateOneOffBuildCalls ¶
func (*FakeTeam) CreateOneOffBuildReturns ¶
func (*FakeTeam) CreateOneOffBuildReturnsOnCall ¶
func (*FakeTeam) CreateStartedBuild ¶
func (*FakeTeam) CreateStartedBuildArgsForCall ¶
func (*FakeTeam) CreateStartedBuildCallCount ¶
func (*FakeTeam) CreateStartedBuildCalls ¶
func (*FakeTeam) CreateStartedBuildReturns ¶
func (*FakeTeam) CreateStartedBuildReturnsOnCall ¶
func (*FakeTeam) DeleteCallCount ¶
func (*FakeTeam) DeleteCalls ¶
func (*FakeTeam) DeleteReturns ¶
func (*FakeTeam) DeleteReturnsOnCall ¶
func (*FakeTeam) FindCheckContainers ¶
func (*FakeTeam) FindCheckContainersArgsForCall ¶
func (*FakeTeam) FindCheckContainersCallCount ¶
func (*FakeTeam) FindCheckContainersCalls ¶
func (*FakeTeam) FindCheckContainersReturns ¶
func (*FakeTeam) FindCheckContainersReturnsOnCall ¶
func (*FakeTeam) FindContainerByHandle ¶
func (*FakeTeam) FindContainerByHandleArgsForCall ¶
func (*FakeTeam) FindContainerByHandleCallCount ¶
func (*FakeTeam) FindContainerByHandleCalls ¶
func (*FakeTeam) FindContainerByHandleReturns ¶
func (*FakeTeam) FindContainerByHandleReturnsOnCall ¶
func (*FakeTeam) FindContainersByMetadata ¶
func (*FakeTeam) FindContainersByMetadataArgsForCall ¶
func (fake *FakeTeam) FindContainersByMetadataArgsForCall(i int) db.ContainerMetadata
func (*FakeTeam) FindContainersByMetadataCallCount ¶
func (*FakeTeam) FindContainersByMetadataCalls ¶
func (*FakeTeam) FindContainersByMetadataReturns ¶
func (*FakeTeam) FindContainersByMetadataReturnsOnCall ¶
func (*FakeTeam) FindCreatedContainerByHandle ¶
func (*FakeTeam) FindCreatedContainerByHandleArgsForCall ¶
func (*FakeTeam) FindCreatedContainerByHandleCallCount ¶
func (*FakeTeam) FindCreatedContainerByHandleCalls ¶
func (*FakeTeam) FindCreatedContainerByHandleReturns ¶
func (fake *FakeTeam) FindCreatedContainerByHandleReturns(result1 db.CreatedContainer, result2 bool, result3 error)
func (*FakeTeam) FindCreatedContainerByHandleReturnsOnCall ¶
func (*FakeTeam) FindVolumeForWorkerArtifact ¶
func (*FakeTeam) FindVolumeForWorkerArtifactArgsForCall ¶
func (*FakeTeam) FindVolumeForWorkerArtifactCallCount ¶
func (*FakeTeam) FindVolumeForWorkerArtifactCalls ¶
func (*FakeTeam) FindVolumeForWorkerArtifactReturns ¶
func (fake *FakeTeam) FindVolumeForWorkerArtifactReturns(result1 db.CreatedVolume, result2 bool, result3 error)
func (*FakeTeam) FindVolumeForWorkerArtifactReturnsOnCall ¶
func (*FakeTeam) FindWorkerForContainer ¶
func (*FakeTeam) FindWorkerForContainerArgsForCall ¶
func (*FakeTeam) FindWorkerForContainerCallCount ¶
func (*FakeTeam) FindWorkerForContainerCalls ¶
func (*FakeTeam) FindWorkerForContainerReturns ¶
func (*FakeTeam) FindWorkerForContainerReturnsOnCall ¶
func (*FakeTeam) FindWorkerForVolume ¶
func (*FakeTeam) FindWorkerForVolumeArgsForCall ¶
func (*FakeTeam) FindWorkerForVolumeCallCount ¶
func (*FakeTeam) FindWorkerForVolumeCalls ¶
func (*FakeTeam) FindWorkerForVolumeReturns ¶
func (*FakeTeam) FindWorkerForVolumeReturnsOnCall ¶
func (*FakeTeam) IDCallCount ¶
func (*FakeTeam) IDReturnsOnCall ¶
func (*FakeTeam) Invocations ¶
func (*FakeTeam) IsCheckContainer ¶
func (*FakeTeam) IsCheckContainerArgsForCall ¶
func (*FakeTeam) IsCheckContainerCallCount ¶
func (*FakeTeam) IsCheckContainerCalls ¶
func (*FakeTeam) IsCheckContainerReturns ¶
func (*FakeTeam) IsCheckContainerReturnsOnCall ¶
func (*FakeTeam) IsContainerWithinTeam ¶
func (*FakeTeam) IsContainerWithinTeamArgsForCall ¶
func (*FakeTeam) IsContainerWithinTeamCallCount ¶
func (*FakeTeam) IsContainerWithinTeamCalls ¶
func (*FakeTeam) IsContainerWithinTeamReturns ¶
func (*FakeTeam) IsContainerWithinTeamReturnsOnCall ¶
func (*FakeTeam) NameCallCount ¶
func (*FakeTeam) NameReturns ¶
func (*FakeTeam) NameReturnsOnCall ¶
func (*FakeTeam) OrderPipelines ¶
func (*FakeTeam) OrderPipelinesArgsForCall ¶
func (*FakeTeam) OrderPipelinesCallCount ¶
func (*FakeTeam) OrderPipelinesCalls ¶
func (*FakeTeam) OrderPipelinesReturns ¶
func (*FakeTeam) OrderPipelinesReturnsOnCall ¶
func (*FakeTeam) PipelineArgsForCall ¶
func (*FakeTeam) PipelineCallCount ¶
func (*FakeTeam) PipelineCalls ¶
func (*FakeTeam) PipelineReturns ¶
func (*FakeTeam) PipelineReturnsOnCall ¶
func (*FakeTeam) PipelinesCallCount ¶
func (*FakeTeam) PipelinesCalls ¶
func (*FakeTeam) PipelinesReturns ¶
func (*FakeTeam) PipelinesReturnsOnCall ¶
func (*FakeTeam) PrivateAndPublicBuilds ¶
func (*FakeTeam) PrivateAndPublicBuildsArgsForCall ¶
func (*FakeTeam) PrivateAndPublicBuildsCallCount ¶
func (*FakeTeam) PrivateAndPublicBuildsCalls ¶
func (*FakeTeam) PrivateAndPublicBuildsReturns ¶
func (*FakeTeam) PrivateAndPublicBuildsReturnsOnCall ¶
func (*FakeTeam) PublicPipelinesCallCount ¶
func (*FakeTeam) PublicPipelinesCalls ¶
func (*FakeTeam) PublicPipelinesReturns ¶
func (*FakeTeam) PublicPipelinesReturnsOnCall ¶
func (*FakeTeam) RenameArgsForCall ¶
func (*FakeTeam) RenameCallCount ¶
func (*FakeTeam) RenameCalls ¶
func (*FakeTeam) RenameReturns ¶
func (*FakeTeam) RenameReturnsOnCall ¶
func (*FakeTeam) SavePipeline ¶
func (*FakeTeam) SavePipelineArgsForCall ¶
func (*FakeTeam) SavePipelineCallCount ¶
func (*FakeTeam) SavePipelineCalls ¶
func (*FakeTeam) SavePipelineReturns ¶
func (*FakeTeam) SavePipelineReturnsOnCall ¶
func (*FakeTeam) SaveWorker ¶
func (*FakeTeam) SaveWorkerArgsForCall ¶
func (*FakeTeam) SaveWorkerCallCount ¶
func (*FakeTeam) SaveWorkerCalls ¶
func (*FakeTeam) SaveWorkerReturns ¶
func (*FakeTeam) SaveWorkerReturnsOnCall ¶
func (*FakeTeam) UpdateProviderAuth ¶
func (*FakeTeam) UpdateProviderAuthArgsForCall ¶
func (*FakeTeam) UpdateProviderAuthCallCount ¶
func (*FakeTeam) UpdateProviderAuthCalls ¶
func (*FakeTeam) UpdateProviderAuthReturns ¶
func (*FakeTeam) UpdateProviderAuthReturnsOnCall ¶
func (*FakeTeam) WorkersCallCount ¶
func (*FakeTeam) WorkersCalls ¶
func (*FakeTeam) WorkersReturns ¶
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 (*FakeTeamFactory) CreateTeamArgsForCall ¶
func (fake *FakeTeamFactory) CreateTeamArgsForCall(i int) atc.Team
func (*FakeTeamFactory) CreateTeamCallCount ¶
func (fake *FakeTeamFactory) CreateTeamCallCount() int
func (*FakeTeamFactory) CreateTeamCalls ¶
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) FindTeamArgsForCall ¶
func (fake *FakeTeamFactory) FindTeamArgsForCall(i int) string
func (*FakeTeamFactory) FindTeamCallCount ¶
func (fake *FakeTeamFactory) FindTeamCallCount() int
func (*FakeTeamFactory) FindTeamCalls ¶
func (*FakeTeamFactory) FindTeamReturns ¶
func (fake *FakeTeamFactory) FindTeamReturns(result1 db.Team, result2 bool, result3 error)
func (*FakeTeamFactory) FindTeamReturnsOnCall ¶
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) 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) CommitCallCount ¶
func (*FakeTx) CommitCalls ¶
func (*FakeTx) CommitReturns ¶
func (*FakeTx) CommitReturnsOnCall ¶
func (*FakeTx) EncryptionStrategy ¶
func (fake *FakeTx) EncryptionStrategy() encryption.Strategy
func (*FakeTx) EncryptionStrategyCallCount ¶
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) ExecArgsForCall ¶
func (*FakeTx) ExecCallCount ¶
func (*FakeTx) ExecContext ¶
func (*FakeTx) ExecContextArgsForCall ¶
func (*FakeTx) ExecContextCallCount ¶
func (*FakeTx) ExecContextCalls ¶
func (*FakeTx) ExecContextReturns ¶
func (*FakeTx) ExecContextReturnsOnCall ¶
func (*FakeTx) ExecReturnsOnCall ¶
func (*FakeTx) Invocations ¶
func (*FakeTx) PrepareArgsForCall ¶
func (*FakeTx) PrepareCallCount ¶
func (*FakeTx) PrepareCalls ¶
func (*FakeTx) PrepareContext ¶
func (*FakeTx) PrepareContextArgsForCall ¶
func (*FakeTx) PrepareContextCallCount ¶
func (*FakeTx) PrepareContextCalls ¶
func (*FakeTx) PrepareContextReturns ¶
func (*FakeTx) PrepareContextReturnsOnCall ¶
func (*FakeTx) PrepareReturns ¶
func (*FakeTx) PrepareReturnsOnCall ¶
func (*FakeTx) QueryArgsForCall ¶
func (*FakeTx) QueryCallCount ¶
func (*FakeTx) QueryCalls ¶
func (*FakeTx) QueryContext ¶
func (*FakeTx) QueryContextArgsForCall ¶
func (*FakeTx) QueryContextCallCount ¶
func (*FakeTx) QueryContextCalls ¶
func (*FakeTx) QueryContextReturns ¶
func (*FakeTx) QueryContextReturnsOnCall ¶
func (*FakeTx) QueryReturnsOnCall ¶
func (*FakeTx) QueryRow ¶
func (fake *FakeTx) QueryRow(arg1 string, arg2 ...interface{}) squirrel.RowScanner
func (*FakeTx) QueryRowArgsForCall ¶
func (*FakeTx) QueryRowCallCount ¶
func (*FakeTx) QueryRowCalls ¶
func (fake *FakeTx) QueryRowCalls(stub func(string, ...interface{}) squirrel.RowScanner)
func (*FakeTx) QueryRowContext ¶
func (*FakeTx) QueryRowContextArgsForCall ¶
func (*FakeTx) QueryRowContextCallCount ¶
func (*FakeTx) QueryRowContextCalls ¶
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) RollbackCallCount ¶
func (*FakeTx) RollbackCalls ¶
func (*FakeTx) RollbackReturns ¶
func (*FakeTx) RollbackReturnsOnCall ¶
func (*FakeTx) StmtCallCount ¶
func (*FakeTx) StmtReturns ¶
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) ConnectorCallCount ¶
func (*FakeUser) ConnectorCalls ¶
func (*FakeUser) ConnectorReturns ¶
func (*FakeUser) ConnectorReturnsOnCall ¶
func (*FakeUser) IDCallCount ¶
func (*FakeUser) IDReturnsOnCall ¶
func (*FakeUser) Invocations ¶
func (*FakeUser) LastLoginCallCount ¶
func (*FakeUser) LastLoginCalls ¶
func (*FakeUser) LastLoginReturns ¶
func (*FakeUser) LastLoginReturnsOnCall ¶
func (*FakeUser) NameCallCount ¶
func (*FakeUser) NameReturns ¶
func (*FakeUser) NameReturnsOnCall ¶
func (*FakeUser) SubCallCount ¶
func (*FakeUser) SubReturns ¶
func (*FakeUser) SubReturnsOnCall ¶
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 (*FakeUserFactory) GetAllUsersByLoginDateArgsForCall ¶
func (fake *FakeUserFactory) GetAllUsersByLoginDateArgsForCall(i int) time.Time
func (*FakeUserFactory) GetAllUsersByLoginDateCallCount ¶
func (fake *FakeUserFactory) GetAllUsersByLoginDateCallCount() int
func (*FakeUserFactory) GetAllUsersByLoginDateCalls ¶
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) ClearCallCount ¶
func (*FakeWall) ClearCalls ¶
func (*FakeWall) ClearReturns ¶
func (*FakeWall) ClearReturnsOnCall ¶
func (*FakeWall) GetWallCallCount ¶
func (*FakeWall) GetWallReturns ¶
func (*FakeWall) GetWallReturnsOnCall ¶
func (*FakeWall) Invocations ¶
func (*FakeWall) SetWallCallCount ¶
func (*FakeWall) SetWallReturns ¶
func (*FakeWall) SetWallReturnsOnCall ¶
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 (fake *FakeWorkerBaseResourceTypeFactory) Find(arg1 string, arg2 db.Worker) (*db.UsedWorkerBaseResourceType, bool, error)
func (*FakeWorkerBaseResourceTypeFactory) FindArgsForCall ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindArgsForCall(i int) (string, db.Worker)
func (*FakeWorkerBaseResourceTypeFactory) FindCallCount ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindCallCount() int
func (*FakeWorkerBaseResourceTypeFactory) FindCalls ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindCalls(stub func(string, db.Worker) (*db.UsedWorkerBaseResourceType, bool, error))
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) GetWorkerArgsForCall ¶
func (fake *FakeWorkerFactory) GetWorkerArgsForCall(i int) string
func (*FakeWorkerFactory) GetWorkerCallCount ¶
func (fake *FakeWorkerFactory) GetWorkerCallCount() int
func (*FakeWorkerFactory) GetWorkerCalls ¶
func (*FakeWorkerFactory) GetWorkerReturns ¶
func (fake *FakeWorkerFactory) GetWorkerReturns(result1 db.Worker, result2 bool, result3 error)
func (*FakeWorkerFactory) GetWorkerReturnsOnCall ¶
func (*FakeWorkerFactory) HeartbeatWorker ¶
func (*FakeWorkerFactory) HeartbeatWorkerArgsForCall ¶
func (*FakeWorkerFactory) HeartbeatWorkerCallCount ¶
func (fake *FakeWorkerFactory) HeartbeatWorkerCallCount() int
func (*FakeWorkerFactory) HeartbeatWorkerCalls ¶
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 (*FakeWorkerFactory) SaveWorkerArgsForCall ¶
func (*FakeWorkerFactory) SaveWorkerCallCount ¶
func (fake *FakeWorkerFactory) SaveWorkerCallCount() int
func (*FakeWorkerFactory) SaveWorkerCalls ¶
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) 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 (fake *FakeWorkerTaskCacheFactory) Find(arg1 db.WorkerTaskCache) (*db.UsedWorkerTaskCache, bool, error)
func (*FakeWorkerTaskCacheFactory) FindArgsForCall ¶
func (fake *FakeWorkerTaskCacheFactory) FindArgsForCall(i int) db.WorkerTaskCache
func (*FakeWorkerTaskCacheFactory) FindCallCount ¶
func (fake *FakeWorkerTaskCacheFactory) FindCallCount() int
func (*FakeWorkerTaskCacheFactory) FindCalls ¶
func (fake *FakeWorkerTaskCacheFactory) FindCalls(stub func(db.WorkerTaskCache) (*db.UsedWorkerTaskCache, bool, error))
func (*FakeWorkerTaskCacheFactory) FindOrCreate ¶
func (fake *FakeWorkerTaskCacheFactory) FindOrCreate(arg1 db.WorkerTaskCache) (*db.UsedWorkerTaskCache, error)
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{}
Source Files ¶
- fake_access_token_factory.go
- fake_access_token_lifecycle.go
- fake_build.go
- fake_build_factory.go
- fake_check.go
- fake_check_factory.go
- fake_check_lifecycle.go
- fake_checkable.go
- fake_clock.go
- fake_component.go
- fake_component_factory.go
- fake_conn.go
- fake_container.go
- fake_container_owner.go
- fake_container_repository.go
- fake_created_container.go
- fake_created_volume.go
- fake_creating_container.go
- fake_creating_volume.go
- fake_destroying_container.go
- fake_destroying_volume.go
- fake_event_source.go
- fake_executor.go
- fake_failed_container.go
- fake_job.go
- fake_job_factory.go
- fake_listener.go
- fake_notifier.go
- fake_pipeline.go
- fake_pipeline_factory.go
- fake_pipeline_lifecycle.go
- fake_resource.go
- fake_resource_cache_factory.go
- fake_resource_cache_lifecycle.go
- fake_resource_config.go
- fake_resource_config_check_session_lifecycle.go
- fake_resource_config_factory.go
- fake_resource_config_scope.go
- fake_resource_config_version.go
- fake_resource_factory.go
- fake_resource_type.go
- fake_task_cache_factory.go
- fake_team.go
- fake_team_factory.go
- fake_tx.go
- fake_used_resource_cache.go
- fake_user.go
- fake_user_factory.go
- fake_volume_repository.go
- fake_wall.go
- fake_worker.go
- fake_worker_artifact.go
- fake_worker_artifact_lifecycle.go
- fake_worker_base_resource_type_factory.go
- fake_worker_factory.go
- fake_worker_lifecycle.go
- fake_worker_task_cache_factory.go