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.
Index ¶
- type FakeBaseResourceTypeFactory
- func (fake *FakeBaseResourceTypeFactory) Find(name string) (*dbng.UsedBaseResourceType, bool, error)
- func (fake *FakeBaseResourceTypeFactory) FindArgsForCall(i int) string
- func (fake *FakeBaseResourceTypeFactory) FindCallCount() int
- func (fake *FakeBaseResourceTypeFactory) FindReturns(result1 *dbng.UsedBaseResourceType, result2 bool, result3 error)
- func (fake *FakeBaseResourceTypeFactory) FindReturnsOnCall(i int, result1 *dbng.UsedBaseResourceType, result2 bool, result3 error)
- func (fake *FakeBaseResourceTypeFactory) Invocations() map[string][][]interface{}
- type FakeBuild
- func (fake *FakeBuild) Abort() error
- func (fake *FakeBuild) AbortCallCount() int
- func (fake *FakeBuild) AbortNotifier() (dbng.Notifier, error)
- func (fake *FakeBuild) AbortNotifierCallCount() int
- func (fake *FakeBuild) AbortNotifierReturns(result1 dbng.Notifier, result2 error)
- func (fake *FakeBuild) AbortNotifierReturnsOnCall(i int, result1 dbng.Notifier, result2 error)
- func (fake *FakeBuild) AbortReturns(result1 error)
- func (fake *FakeBuild) AbortReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) AcquireTrackingLock(logger lager.Logger, interval time.Duration) (lock.Lock, bool, error)
- func (fake *FakeBuild) AcquireTrackingLockArgsForCall(i int) (lager.Logger, time.Duration)
- func (fake *FakeBuild) AcquireTrackingLockCallCount() int
- 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) Delete() (bool, error)
- func (fake *FakeBuild) DeleteCallCount() int
- 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) EndTimeReturns(result1 time.Time)
- func (fake *FakeBuild) EndTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeBuild) Engine() string
- func (fake *FakeBuild) EngineCallCount() int
- func (fake *FakeBuild) EngineMetadata() string
- func (fake *FakeBuild) EngineMetadataCallCount() int
- func (fake *FakeBuild) EngineMetadataReturns(result1 string)
- func (fake *FakeBuild) EngineMetadataReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) EngineReturns(result1 string)
- func (fake *FakeBuild) EngineReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) Events(arg1 uint) (dbng.EventSource, error)
- func (fake *FakeBuild) EventsArgsForCall(i int) uint
- func (fake *FakeBuild) EventsCallCount() int
- func (fake *FakeBuild) EventsReturns(result1 dbng.EventSource, result2 error)
- func (fake *FakeBuild) EventsReturnsOnCall(i int, result1 dbng.EventSource, result2 error)
- func (fake *FakeBuild) Finish(s dbng.BuildStatus) error
- func (fake *FakeBuild) FinishArgsForCall(i int) dbng.BuildStatus
- func (fake *FakeBuild) FinishCallCount() int
- func (fake *FakeBuild) FinishReturns(result1 error)
- func (fake *FakeBuild) FinishReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) GetVersionedResources() (dbng.SavedVersionedResources, error)
- func (fake *FakeBuild) GetVersionedResourcesCallCount() int
- func (fake *FakeBuild) GetVersionedResourcesReturns(result1 dbng.SavedVersionedResources, result2 error)
- func (fake *FakeBuild) GetVersionedResourcesReturnsOnCall(i int, result1 dbng.SavedVersionedResources, result2 error)
- func (fake *FakeBuild) ID() int
- func (fake *FakeBuild) IDCallCount() int
- func (fake *FakeBuild) IDReturns(result1 int)
- func (fake *FakeBuild) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeBuild) Interceptible() (bool, error)
- func (fake *FakeBuild) InterceptibleCallCount() int
- 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) IsManuallyTriggered() bool
- func (fake *FakeBuild) IsManuallyTriggeredCallCount() int
- func (fake *FakeBuild) IsManuallyTriggeredReturns(result1 bool)
- func (fake *FakeBuild) IsManuallyTriggeredReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) IsRunning() bool
- func (fake *FakeBuild) IsRunningCallCount() int
- 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) IsScheduledReturns(result1 bool)
- func (fake *FakeBuild) IsScheduledReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) JobID() int
- func (fake *FakeBuild) JobIDCallCount() 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) JobNameReturns(result1 string)
- func (fake *FakeBuild) JobNameReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) MarkAsFailed(cause error) error
- func (fake *FakeBuild) MarkAsFailedArgsForCall(i int) error
- func (fake *FakeBuild) MarkAsFailedCallCount() int
- func (fake *FakeBuild) MarkAsFailedReturns(result1 error)
- func (fake *FakeBuild) MarkAsFailedReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) Name() string
- func (fake *FakeBuild) NameCallCount() int
- func (fake *FakeBuild) NameReturns(result1 string)
- func (fake *FakeBuild) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) Pipeline() (dbng.Pipeline, bool, error)
- func (fake *FakeBuild) PipelineCallCount() int
- func (fake *FakeBuild) PipelineID() int
- func (fake *FakeBuild) PipelineIDCallCount() 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) PipelineNameReturns(result1 string)
- func (fake *FakeBuild) PipelineNameReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) PipelineReturns(result1 dbng.Pipeline, result2 bool, result3 error)
- func (fake *FakeBuild) PipelineReturnsOnCall(i int, result1 dbng.Pipeline, result2 bool, result3 error)
- func (fake *FakeBuild) Preparation() (dbng.BuildPreparation, bool, error)
- func (fake *FakeBuild) PreparationCallCount() int
- func (fake *FakeBuild) PreparationReturns(result1 dbng.BuildPreparation, result2 bool, result3 error)
- func (fake *FakeBuild) PreparationReturnsOnCall(i int, result1 dbng.BuildPreparation, result2 bool, result3 error)
- func (fake *FakeBuild) ReapTime() time.Time
- func (fake *FakeBuild) ReapTimeCallCount() int
- 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) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeBuild) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeBuild) Resources() ([]dbng.BuildInput, []dbng.BuildOutput, error)
- func (fake *FakeBuild) ResourcesCallCount() int
- func (fake *FakeBuild) ResourcesReturns(result1 []dbng.BuildInput, result2 []dbng.BuildOutput, result3 error)
- func (fake *FakeBuild) ResourcesReturnsOnCall(i int, result1 []dbng.BuildInput, result2 []dbng.BuildOutput, result3 error)
- func (fake *FakeBuild) SaveEvent(event atc.Event) error
- func (fake *FakeBuild) SaveEventArgsForCall(i int) atc.Event
- func (fake *FakeBuild) SaveEventCallCount() int
- func (fake *FakeBuild) SaveEventReturns(result1 error)
- func (fake *FakeBuild) SaveEventReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) SaveImageResourceVersion(planID atc.PlanID, resourceVersion atc.Version, resourceHash string) error
- func (fake *FakeBuild) SaveImageResourceVersionArgsForCall(i int) (atc.PlanID, atc.Version, string)
- func (fake *FakeBuild) SaveImageResourceVersionCallCount() int
- func (fake *FakeBuild) SaveImageResourceVersionReturns(result1 error)
- func (fake *FakeBuild) SaveImageResourceVersionReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) SaveInput(input dbng.BuildInput) error
- func (fake *FakeBuild) SaveInputArgsForCall(i int) dbng.BuildInput
- func (fake *FakeBuild) SaveInputCallCount() int
- func (fake *FakeBuild) SaveInputReturns(result1 error)
- func (fake *FakeBuild) SaveInputReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) SaveOutput(vr dbng.VersionedResource, explicit bool) error
- func (fake *FakeBuild) SaveOutputArgsForCall(i int) (dbng.VersionedResource, bool)
- func (fake *FakeBuild) SaveOutputCallCount() int
- func (fake *FakeBuild) SaveOutputReturns(result1 error)
- func (fake *FakeBuild) SaveOutputReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) SaveStatus(s dbng.BuildStatus) error
- func (fake *FakeBuild) SaveStatusArgsForCall(i int) dbng.BuildStatus
- func (fake *FakeBuild) SaveStatusCallCount() int
- func (fake *FakeBuild) SaveStatusReturns(result1 error)
- func (fake *FakeBuild) SaveStatusReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) Schedule() (bool, error)
- func (fake *FakeBuild) ScheduleCallCount() int
- func (fake *FakeBuild) ScheduleReturns(result1 bool, result2 error)
- func (fake *FakeBuild) ScheduleReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeBuild) SetInterceptible(arg1 bool) error
- func (fake *FakeBuild) SetInterceptibleArgsForCall(i int) bool
- func (fake *FakeBuild) SetInterceptibleCallCount() int
- func (fake *FakeBuild) SetInterceptibleReturns(result1 error)
- func (fake *FakeBuild) SetInterceptibleReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) Start(arg1 string, arg2 string) (bool, error)
- func (fake *FakeBuild) StartArgsForCall(i int) (string, string)
- func (fake *FakeBuild) StartCallCount() int
- 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) StartTimeReturns(result1 time.Time)
- func (fake *FakeBuild) StartTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeBuild) Status() dbng.BuildStatus
- func (fake *FakeBuild) StatusCallCount() int
- func (fake *FakeBuild) StatusReturns(result1 dbng.BuildStatus)
- func (fake *FakeBuild) StatusReturnsOnCall(i int, result1 dbng.BuildStatus)
- func (fake *FakeBuild) TeamID() int
- func (fake *FakeBuild) TeamIDCallCount() 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) TeamNameReturns(result1 string)
- func (fake *FakeBuild) TeamNameReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) UseInputs(inputs []dbng.BuildInput) error
- func (fake *FakeBuild) UseInputsArgsForCall(i int) []dbng.BuildInput
- func (fake *FakeBuild) UseInputsCallCount() int
- func (fake *FakeBuild) UseInputsReturns(result1 error)
- func (fake *FakeBuild) UseInputsReturnsOnCall(i int, result1 error)
- type FakeBuildFactory
- func (fake *FakeBuildFactory) Build(arg1 int) (dbng.Build, bool, error)
- func (fake *FakeBuildFactory) BuildArgsForCall(i int) int
- func (fake *FakeBuildFactory) BuildCallCount() int
- func (fake *FakeBuildFactory) BuildReturns(result1 dbng.Build, result2 bool, result3 error)
- func (fake *FakeBuildFactory) BuildReturnsOnCall(i int, result1 dbng.Build, result2 bool, result3 error)
- func (fake *FakeBuildFactory) GetAllStartedBuilds() ([]dbng.Build, error)
- func (fake *FakeBuildFactory) GetAllStartedBuildsCallCount() int
- func (fake *FakeBuildFactory) GetAllStartedBuildsReturns(result1 []dbng.Build, result2 error)
- func (fake *FakeBuildFactory) GetAllStartedBuildsReturnsOnCall(i int, result1 []dbng.Build, result2 error)
- func (fake *FakeBuildFactory) Invocations() map[string][][]interface{}
- func (fake *FakeBuildFactory) MarkNonInterceptibleBuilds() error
- func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsCallCount() int
- func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsReturns(result1 error)
- func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsReturnsOnCall(i int, result1 error)
- func (fake *FakeBuildFactory) PublicBuilds(arg1 dbng.Page) ([]dbng.Build, dbng.Pagination, error)
- func (fake *FakeBuildFactory) PublicBuildsArgsForCall(i int) dbng.Page
- func (fake *FakeBuildFactory) PublicBuildsCallCount() int
- func (fake *FakeBuildFactory) PublicBuildsReturns(result1 []dbng.Build, result2 dbng.Pagination, result3 error)
- func (fake *FakeBuildFactory) PublicBuildsReturnsOnCall(i int, result1 []dbng.Build, result2 dbng.Pagination, result3 error)
- type FakeConn
- func (fake *FakeConn) Begin() (dbng.Tx, error)
- func (fake *FakeConn) BeginCallCount() int
- func (fake *FakeConn) BeginReturns(result1 dbng.Tx, result2 error)
- func (fake *FakeConn) BeginReturnsOnCall(i int, result1 dbng.Tx, result2 error)
- func (fake *FakeConn) Bus() dbng.NotificationsBus
- func (fake *FakeConn) BusCallCount() int
- func (fake *FakeConn) BusReturns(result1 dbng.NotificationsBus)
- func (fake *FakeConn) BusReturnsOnCall(i int, result1 dbng.NotificationsBus)
- func (fake *FakeConn) Close() error
- func (fake *FakeConn) CloseCallCount() int
- 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) DriverReturns(result1 driver.Driver)
- func (fake *FakeConn) DriverReturnsOnCall(i int, result1 driver.Driver)
- func (fake *FakeConn) EncryptionStrategy() dbng.EncryptionStrategy
- func (fake *FakeConn) EncryptionStrategyCallCount() int
- func (fake *FakeConn) EncryptionStrategyReturns(result1 dbng.EncryptionStrategy)
- func (fake *FakeConn) EncryptionStrategyReturnsOnCall(i int, result1 dbng.EncryptionStrategy)
- func (fake *FakeConn) Exec(query string, args ...interface{}) (sql.Result, error)
- func (fake *FakeConn) ExecArgsForCall(i int) (string, []interface{})
- func (fake *FakeConn) ExecCallCount() int
- 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) Ping() error
- func (fake *FakeConn) PingCallCount() int
- func (fake *FakeConn) PingReturns(result1 error)
- func (fake *FakeConn) PingReturnsOnCall(i int, result1 error)
- func (fake *FakeConn) Prepare(query string) (*sql.Stmt, error)
- func (fake *FakeConn) PrepareArgsForCall(i int) string
- func (fake *FakeConn) PrepareCallCount() int
- func (fake *FakeConn) PrepareReturns(result1 *sql.Stmt, result2 error)
- func (fake *FakeConn) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
- func (fake *FakeConn) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (fake *FakeConn) QueryArgsForCall(i int) (string, []interface{})
- func (fake *FakeConn) QueryCallCount() int
- func (fake *FakeConn) QueryReturns(result1 *sql.Rows, result2 error)
- func (fake *FakeConn) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakeConn) QueryRow(query string, args ...interface{}) squirrel.RowScanner
- func (fake *FakeConn) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *FakeConn) QueryRowCallCount() int
- func (fake *FakeConn) QueryRowReturns(result1 squirrel.RowScanner)
- func (fake *FakeConn) QueryRowReturnsOnCall(i int, result1 squirrel.RowScanner)
- func (fake *FakeConn) SetMaxIdleConns(n int)
- func (fake *FakeConn) SetMaxIdleConnsArgsForCall(i int) int
- func (fake *FakeConn) SetMaxIdleConnsCallCount() int
- func (fake *FakeConn) SetMaxOpenConns(n int)
- func (fake *FakeConn) SetMaxOpenConnsArgsForCall(i int) int
- func (fake *FakeConn) SetMaxOpenConnsCallCount() int
- func (fake *FakeConn) Stats() sql.DBStats
- func (fake *FakeConn) StatsCallCount() int
- 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) HandleReturns(result1 string)
- func (fake *FakeContainer) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeContainer) ID() int
- func (fake *FakeContainer) IDCallCount() 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() dbng.ContainerMetadata
- func (fake *FakeContainer) MetadataCallCount() int
- func (fake *FakeContainer) MetadataReturns(result1 dbng.ContainerMetadata)
- func (fake *FakeContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
- func (fake *FakeContainer) WorkerName() string
- func (fake *FakeContainer) WorkerNameCallCount() int
- func (fake *FakeContainer) WorkerNameReturns(result1 string)
- func (fake *FakeContainer) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeContainerFactory
- func (fake *FakeContainerFactory) FindContainersForDeletion() ([]dbng.CreatingContainer, []dbng.CreatedContainer, []dbng.DestroyingContainer, ...)
- func (fake *FakeContainerFactory) FindContainersForDeletionCallCount() int
- func (fake *FakeContainerFactory) FindContainersForDeletionReturns(result1 []dbng.CreatingContainer, result2 []dbng.CreatedContainer, ...)
- func (fake *FakeContainerFactory) FindContainersForDeletionReturnsOnCall(i int, result1 []dbng.CreatingContainer, result2 []dbng.CreatedContainer, ...)
- func (fake *FakeContainerFactory) Invocations() map[string][][]interface{}
- type FakeCreatedContainer
- func (fake *FakeCreatedContainer) Destroying() (dbng.DestroyingContainer, error)
- func (fake *FakeCreatedContainer) DestroyingCallCount() int
- func (fake *FakeCreatedContainer) DestroyingReturns(result1 dbng.DestroyingContainer, result2 error)
- func (fake *FakeCreatedContainer) DestroyingReturnsOnCall(i int, result1 dbng.DestroyingContainer, result2 error)
- func (fake *FakeCreatedContainer) Discontinue() (dbng.DestroyingContainer, error)
- func (fake *FakeCreatedContainer) DiscontinueCallCount() int
- func (fake *FakeCreatedContainer) DiscontinueReturns(result1 dbng.DestroyingContainer, result2 error)
- func (fake *FakeCreatedContainer) DiscontinueReturnsOnCall(i int, result1 dbng.DestroyingContainer, result2 error)
- func (fake *FakeCreatedContainer) Handle() string
- func (fake *FakeCreatedContainer) HandleCallCount() int
- 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) IDReturns(result1 int)
- func (fake *FakeCreatedContainer) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeCreatedContainer) Invocations() map[string][][]interface{}
- func (fake *FakeCreatedContainer) IsHijacked() bool
- func (fake *FakeCreatedContainer) IsHijackedCallCount() int
- func (fake *FakeCreatedContainer) IsHijackedReturns(result1 bool)
- func (fake *FakeCreatedContainer) IsHijackedReturnsOnCall(i int, result1 bool)
- func (fake *FakeCreatedContainer) MarkAsHijacked() error
- func (fake *FakeCreatedContainer) MarkAsHijackedCallCount() int
- func (fake *FakeCreatedContainer) MarkAsHijackedReturns(result1 error)
- func (fake *FakeCreatedContainer) MarkAsHijackedReturnsOnCall(i int, result1 error)
- func (fake *FakeCreatedContainer) Metadata() dbng.ContainerMetadata
- func (fake *FakeCreatedContainer) MetadataCallCount() int
- func (fake *FakeCreatedContainer) MetadataReturns(result1 dbng.ContainerMetadata)
- func (fake *FakeCreatedContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
- func (fake *FakeCreatedContainer) WorkerName() string
- func (fake *FakeCreatedContainer) WorkerNameCallCount() int
- func (fake *FakeCreatedContainer) WorkerNameReturns(result1 string)
- func (fake *FakeCreatedContainer) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeCreatedVolume
- func (fake *FakeCreatedVolume) BaseResourceType() (*dbng.UsedWorkerBaseResourceType, error)
- func (fake *FakeCreatedVolume) BaseResourceTypeCallCount() int
- func (fake *FakeCreatedVolume) BaseResourceTypeReturns(result1 *dbng.UsedWorkerBaseResourceType, result2 error)
- func (fake *FakeCreatedVolume) BaseResourceTypeReturnsOnCall(i int, result1 *dbng.UsedWorkerBaseResourceType, result2 error)
- func (fake *FakeCreatedVolume) ContainerHandle() string
- func (fake *FakeCreatedVolume) ContainerHandleCallCount() int
- func (fake *FakeCreatedVolume) ContainerHandleReturns(result1 string)
- func (fake *FakeCreatedVolume) ContainerHandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedVolume) CreateChildForContainer(arg1 dbng.CreatingContainer, arg2 string) (dbng.CreatingVolume, error)
- func (fake *FakeCreatedVolume) CreateChildForContainerArgsForCall(i int) (dbng.CreatingContainer, string)
- func (fake *FakeCreatedVolume) CreateChildForContainerCallCount() int
- func (fake *FakeCreatedVolume) CreateChildForContainerReturns(result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeCreatedVolume) CreateChildForContainerReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeCreatedVolume) Destroying() (dbng.DestroyingVolume, error)
- func (fake *FakeCreatedVolume) DestroyingCallCount() int
- func (fake *FakeCreatedVolume) DestroyingReturns(result1 dbng.DestroyingVolume, result2 error)
- func (fake *FakeCreatedVolume) DestroyingReturnsOnCall(i int, result1 dbng.DestroyingVolume, result2 error)
- func (fake *FakeCreatedVolume) Handle() string
- func (fake *FakeCreatedVolume) HandleCallCount() int
- func (fake *FakeCreatedVolume) HandleReturns(result1 string)
- func (fake *FakeCreatedVolume) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedVolume) Initialize() error
- func (fake *FakeCreatedVolume) InitializeCallCount() int
- func (fake *FakeCreatedVolume) InitializeReturns(result1 error)
- func (fake *FakeCreatedVolume) InitializeReturnsOnCall(i int, result1 error)
- func (fake *FakeCreatedVolume) Invocations() map[string][][]interface{}
- func (fake *FakeCreatedVolume) IsInitialized() (bool, error)
- func (fake *FakeCreatedVolume) IsInitializedCallCount() int
- func (fake *FakeCreatedVolume) IsInitializedReturns(result1 bool, result2 error)
- func (fake *FakeCreatedVolume) IsInitializedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeCreatedVolume) ParentHandle() string
- func (fake *FakeCreatedVolume) ParentHandleCallCount() int
- 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) PathReturns(result1 string)
- func (fake *FakeCreatedVolume) PathReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedVolume) ResourceType() (*dbng.VolumeResourceType, error)
- func (fake *FakeCreatedVolume) ResourceTypeCallCount() int
- func (fake *FakeCreatedVolume) ResourceTypeReturns(result1 *dbng.VolumeResourceType, result2 error)
- func (fake *FakeCreatedVolume) ResourceTypeReturnsOnCall(i int, result1 *dbng.VolumeResourceType, result2 error)
- func (fake *FakeCreatedVolume) SizeInBytes() int64
- func (fake *FakeCreatedVolume) SizeInBytesCallCount() int
- func (fake *FakeCreatedVolume) SizeInBytesReturns(result1 int64)
- func (fake *FakeCreatedVolume) SizeInBytesReturnsOnCall(i int, result1 int64)
- func (fake *FakeCreatedVolume) Type() dbng.VolumeType
- func (fake *FakeCreatedVolume) TypeCallCount() int
- func (fake *FakeCreatedVolume) TypeReturns(result1 dbng.VolumeType)
- func (fake *FakeCreatedVolume) TypeReturnsOnCall(i int, result1 dbng.VolumeType)
- func (fake *FakeCreatedVolume) Worker() dbng.Worker
- func (fake *FakeCreatedVolume) WorkerCallCount() int
- func (fake *FakeCreatedVolume) WorkerReturns(result1 dbng.Worker)
- func (fake *FakeCreatedVolume) WorkerReturnsOnCall(i int, result1 dbng.Worker)
- type FakeCreatingContainer
- func (fake *FakeCreatingContainer) Created() (dbng.CreatedContainer, error)
- func (fake *FakeCreatingContainer) CreatedCallCount() int
- func (fake *FakeCreatingContainer) CreatedReturns(result1 dbng.CreatedContainer, result2 error)
- func (fake *FakeCreatingContainer) CreatedReturnsOnCall(i int, result1 dbng.CreatedContainer, result2 error)
- func (fake *FakeCreatingContainer) Handle() string
- func (fake *FakeCreatingContainer) HandleCallCount() int
- 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) IDReturns(result1 int)
- func (fake *FakeCreatingContainer) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeCreatingContainer) Invocations() map[string][][]interface{}
- func (fake *FakeCreatingContainer) Metadata() dbng.ContainerMetadata
- func (fake *FakeCreatingContainer) MetadataCallCount() int
- func (fake *FakeCreatingContainer) MetadataReturns(result1 dbng.ContainerMetadata)
- func (fake *FakeCreatingContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
- func (fake *FakeCreatingContainer) WorkerName() string
- func (fake *FakeCreatingContainer) WorkerNameCallCount() int
- func (fake *FakeCreatingContainer) WorkerNameReturns(result1 string)
- func (fake *FakeCreatingContainer) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeCreatingVolume
- func (fake *FakeCreatingVolume) Created() (dbng.CreatedVolume, error)
- func (fake *FakeCreatingVolume) CreatedCallCount() int
- func (fake *FakeCreatingVolume) CreatedReturns(result1 dbng.CreatedVolume, result2 error)
- func (fake *FakeCreatingVolume) CreatedReturnsOnCall(i int, result1 dbng.CreatedVolume, result2 error)
- func (fake *FakeCreatingVolume) Handle() string
- func (fake *FakeCreatingVolume) HandleCallCount() int
- 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) 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) 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) HandleReturns(result1 string)
- func (fake *FakeDestroyingContainer) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeDestroyingContainer) ID() int
- func (fake *FakeDestroyingContainer) IDCallCount() 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) IsDiscontinued() bool
- func (fake *FakeDestroyingContainer) IsDiscontinuedCallCount() int
- func (fake *FakeDestroyingContainer) IsDiscontinuedReturns(result1 bool)
- func (fake *FakeDestroyingContainer) IsDiscontinuedReturnsOnCall(i int, result1 bool)
- func (fake *FakeDestroyingContainer) Metadata() dbng.ContainerMetadata
- func (fake *FakeDestroyingContainer) MetadataCallCount() int
- func (fake *FakeDestroyingContainer) MetadataReturns(result1 dbng.ContainerMetadata)
- func (fake *FakeDestroyingContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
- func (fake *FakeDestroyingContainer) WorkerName() string
- func (fake *FakeDestroyingContainer) WorkerNameCallCount() int
- func (fake *FakeDestroyingContainer) WorkerNameReturns(result1 string)
- func (fake *FakeDestroyingContainer) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeEncryptionStrategy
- func (fake *FakeEncryptionStrategy) Decrypt(arg1 string, arg2 *string) ([]byte, error)
- func (fake *FakeEncryptionStrategy) DecryptArgsForCall(i int) (string, *string)
- func (fake *FakeEncryptionStrategy) DecryptCallCount() int
- func (fake *FakeEncryptionStrategy) DecryptReturns(result1 []byte, result2 error)
- func (fake *FakeEncryptionStrategy) DecryptReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeEncryptionStrategy) Encrypt(arg1 []byte) (string, *string, error)
- func (fake *FakeEncryptionStrategy) EncryptArgsForCall(i int) []byte
- func (fake *FakeEncryptionStrategy) EncryptCallCount() int
- func (fake *FakeEncryptionStrategy) EncryptReturns(result1 string, result2 *string, result3 error)
- func (fake *FakeEncryptionStrategy) EncryptReturnsOnCall(i int, result1 string, result2 *string, result3 error)
- func (fake *FakeEncryptionStrategy) Invocations() map[string][][]interface{}
- type FakeEventSource
- func (fake *FakeEventSource) Close() error
- func (fake *FakeEventSource) CloseCallCount() int
- 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) NextReturns(result1 event.Envelope, result2 error)
- func (fake *FakeEventSource) NextReturnsOnCall(i int, result1 event.Envelope, result2 error)
- type FakeJob
- func (fake *FakeJob) Build(name string) (dbng.Build, bool, error)
- func (fake *FakeJob) BuildArgsForCall(i int) string
- func (fake *FakeJob) BuildCallCount() int
- func (fake *FakeJob) BuildReturns(result1 dbng.Build, result2 bool, result3 error)
- func (fake *FakeJob) BuildReturnsOnCall(i int, result1 dbng.Build, result2 bool, result3 error)
- func (fake *FakeJob) Builds(page dbng.Page) ([]dbng.Build, dbng.Pagination, error)
- func (fake *FakeJob) BuildsArgsForCall(i int) dbng.Page
- func (fake *FakeJob) BuildsCallCount() int
- func (fake *FakeJob) BuildsReturns(result1 []dbng.Build, result2 dbng.Pagination, result3 error)
- func (fake *FakeJob) BuildsReturnsOnCall(i int, result1 []dbng.Build, result2 dbng.Pagination, result3 error)
- func (fake *FakeJob) Config() atc.JobConfig
- func (fake *FakeJob) ConfigCallCount() int
- func (fake *FakeJob) ConfigReturns(result1 atc.JobConfig)
- func (fake *FakeJob) ConfigReturnsOnCall(i int, result1 atc.JobConfig)
- func (fake *FakeJob) CreateBuild() (dbng.Build, error)
- func (fake *FakeJob) CreateBuildCallCount() int
- func (fake *FakeJob) CreateBuildReturns(result1 dbng.Build, result2 error)
- func (fake *FakeJob) CreateBuildReturnsOnCall(i int, result1 dbng.Build, result2 error)
- func (fake *FakeJob) DeleteNextInputMapping() error
- func (fake *FakeJob) DeleteNextInputMappingCallCount() int
- func (fake *FakeJob) DeleteNextInputMappingReturns(result1 error)
- func (fake *FakeJob) DeleteNextInputMappingReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) EnsurePendingBuildExists() error
- func (fake *FakeJob) EnsurePendingBuildExistsCallCount() int
- func (fake *FakeJob) EnsurePendingBuildExistsReturns(result1 error)
- func (fake *FakeJob) EnsurePendingBuildExistsReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) FinishedAndNextBuild() (dbng.Build, dbng.Build, error)
- func (fake *FakeJob) FinishedAndNextBuildCallCount() int
- func (fake *FakeJob) FinishedAndNextBuildReturns(result1 dbng.Build, result2 dbng.Build, result3 error)
- func (fake *FakeJob) FinishedAndNextBuildReturnsOnCall(i int, result1 dbng.Build, result2 dbng.Build, result3 error)
- func (fake *FakeJob) FirstLoggedBuildID() int
- func (fake *FakeJob) FirstLoggedBuildIDCallCount() int
- func (fake *FakeJob) FirstLoggedBuildIDReturns(result1 int)
- func (fake *FakeJob) FirstLoggedBuildIDReturnsOnCall(i int, result1 int)
- func (fake *FakeJob) GetIndependentBuildInputs() ([]dbng.BuildInput, error)
- func (fake *FakeJob) GetIndependentBuildInputsCallCount() int
- func (fake *FakeJob) GetIndependentBuildInputsReturns(result1 []dbng.BuildInput, result2 error)
- func (fake *FakeJob) GetIndependentBuildInputsReturnsOnCall(i int, result1 []dbng.BuildInput, result2 error)
- func (fake *FakeJob) GetNextBuildInputs() ([]dbng.BuildInput, bool, error)
- func (fake *FakeJob) GetNextBuildInputsCallCount() int
- func (fake *FakeJob) GetNextBuildInputsReturns(result1 []dbng.BuildInput, result2 bool, result3 error)
- func (fake *FakeJob) GetNextBuildInputsReturnsOnCall(i int, result1 []dbng.BuildInput, result2 bool, result3 error)
- func (fake *FakeJob) GetNextPendingBuildBySerialGroup(serialGroups []string) (dbng.Build, bool, error)
- func (fake *FakeJob) GetNextPendingBuildBySerialGroupArgsForCall(i int) []string
- func (fake *FakeJob) GetNextPendingBuildBySerialGroupCallCount() int
- func (fake *FakeJob) GetNextPendingBuildBySerialGroupReturns(result1 dbng.Build, result2 bool, result3 error)
- func (fake *FakeJob) GetNextPendingBuildBySerialGroupReturnsOnCall(i int, result1 dbng.Build, result2 bool, result3 error)
- func (fake *FakeJob) GetPendingBuilds() ([]dbng.Build, error)
- func (fake *FakeJob) GetPendingBuildsCallCount() int
- func (fake *FakeJob) GetPendingBuildsReturns(result1 []dbng.Build, result2 error)
- func (fake *FakeJob) GetPendingBuildsReturnsOnCall(i int, result1 []dbng.Build, result2 error)
- func (fake *FakeJob) GetRunningBuildsBySerialGroup(serialGroups []string) ([]dbng.Build, error)
- func (fake *FakeJob) GetRunningBuildsBySerialGroupArgsForCall(i int) []string
- func (fake *FakeJob) GetRunningBuildsBySerialGroupCallCount() int
- func (fake *FakeJob) GetRunningBuildsBySerialGroupReturns(result1 []dbng.Build, result2 error)
- func (fake *FakeJob) GetRunningBuildsBySerialGroupReturnsOnCall(i int, result1 []dbng.Build, result2 error)
- func (fake *FakeJob) ID() int
- func (fake *FakeJob) IDCallCount() int
- func (fake *FakeJob) IDReturns(result1 int)
- func (fake *FakeJob) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeJob) Invocations() map[string][][]interface{}
- func (fake *FakeJob) Name() string
- func (fake *FakeJob) NameCallCount() int
- func (fake *FakeJob) NameReturns(result1 string)
- func (fake *FakeJob) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeJob) Pause() error
- func (fake *FakeJob) PauseCallCount() int
- 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) PausedReturns(result1 bool)
- func (fake *FakeJob) PausedReturnsOnCall(i int, result1 bool)
- func (fake *FakeJob) PipelineID() int
- func (fake *FakeJob) PipelineIDCallCount() 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) PipelineNameReturns(result1 string)
- func (fake *FakeJob) PipelineNameReturnsOnCall(i int, result1 string)
- func (fake *FakeJob) Reload() (bool, error)
- func (fake *FakeJob) ReloadCallCount() int
- func (fake *FakeJob) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeJob) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeJob) SaveIndependentInputMapping(inputMapping algorithm.InputMapping) error
- func (fake *FakeJob) SaveIndependentInputMappingArgsForCall(i int) algorithm.InputMapping
- func (fake *FakeJob) SaveIndependentInputMappingCallCount() int
- func (fake *FakeJob) SaveIndependentInputMappingReturns(result1 error)
- func (fake *FakeJob) SaveIndependentInputMappingReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) SaveNextInputMapping(inputMapping algorithm.InputMapping) error
- func (fake *FakeJob) SaveNextInputMappingArgsForCall(i int) algorithm.InputMapping
- func (fake *FakeJob) SaveNextInputMappingCallCount() int
- func (fake *FakeJob) SaveNextInputMappingReturns(result1 error)
- func (fake *FakeJob) SaveNextInputMappingReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) SetMaxInFlightReached(arg1 bool) error
- func (fake *FakeJob) SetMaxInFlightReachedArgsForCall(i int) bool
- func (fake *FakeJob) SetMaxInFlightReachedCallCount() int
- func (fake *FakeJob) SetMaxInFlightReachedReturns(result1 error)
- func (fake *FakeJob) SetMaxInFlightReachedReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) TeamID() int
- func (fake *FakeJob) TeamIDCallCount() 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) TeamNameReturns(result1 string)
- func (fake *FakeJob) TeamNameReturnsOnCall(i int, result1 string)
- func (fake *FakeJob) Unpause() error
- func (fake *FakeJob) UnpauseCallCount() int
- func (fake *FakeJob) UnpauseReturns(result1 error)
- func (fake *FakeJob) UnpauseReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) UpdateFirstLoggedBuildID(newFirstLoggedBuildID int) error
- func (fake *FakeJob) UpdateFirstLoggedBuildIDArgsForCall(i int) int
- func (fake *FakeJob) UpdateFirstLoggedBuildIDCallCount() int
- func (fake *FakeJob) UpdateFirstLoggedBuildIDReturns(result1 error)
- func (fake *FakeJob) UpdateFirstLoggedBuildIDReturnsOnCall(i int, result1 error)
- type FakeNotifier
- func (fake *FakeNotifier) Close() error
- func (fake *FakeNotifier) CloseCallCount() int
- 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) NotifyReturns(result1 <-chan struct{})
- func (fake *FakeNotifier) NotifyReturnsOnCall(i int, result1 <-chan struct{})
- type FakePipeline
- func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheck(logger lager.Logger, resource dbng.Resource, interval time.Duration, ...) (lock.Lock, bool, error)
- func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheckArgsForCall(i int) (lager.Logger, dbng.Resource, time.Duration, bool)
- func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheckCallCount() int
- func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheckReturns(result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheckReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheck(logger lager.Logger, resourceTypeName string, interval time.Duration, ...) (lock.Lock, bool, error)
- func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckArgsForCall(i int) (lager.Logger, string, time.Duration, bool)
- func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckCallCount() int
- func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckReturns(result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakePipeline) AcquireSchedulingLock(arg1 lager.Logger, arg2 time.Duration) (lock.Lock, bool, error)
- func (fake *FakePipeline) AcquireSchedulingLockArgsForCall(i int) (lager.Logger, time.Duration)
- func (fake *FakePipeline) AcquireSchedulingLockCallCount() int
- func (fake *FakePipeline) AcquireSchedulingLockReturns(result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakePipeline) AcquireSchedulingLockReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakePipeline) CheckPaused() (bool, error)
- func (fake *FakePipeline) CheckPausedCallCount() int
- func (fake *FakePipeline) CheckPausedReturns(result1 bool, result2 error)
- func (fake *FakePipeline) CheckPausedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakePipeline) Config() (atc.Config, atc.RawConfig, dbng.ConfigVersion, error)
- func (fake *FakePipeline) ConfigCallCount() int
- func (fake *FakePipeline) ConfigReturns(result1 atc.Config, result2 atc.RawConfig, result3 dbng.ConfigVersion, ...)
- func (fake *FakePipeline) ConfigReturnsOnCall(i int, result1 atc.Config, result2 atc.RawConfig, result3 dbng.ConfigVersion, ...)
- func (fake *FakePipeline) ConfigVersion() dbng.ConfigVersion
- func (fake *FakePipeline) ConfigVersionCallCount() int
- func (fake *FakePipeline) ConfigVersionReturns(result1 dbng.ConfigVersion)
- func (fake *FakePipeline) ConfigVersionReturnsOnCall(i int, result1 dbng.ConfigVersion)
- func (fake *FakePipeline) CreateJobBuild(jobName string) (dbng.Build, error)
- func (fake *FakePipeline) CreateJobBuildArgsForCall(i int) string
- func (fake *FakePipeline) CreateJobBuildCallCount() int
- func (fake *FakePipeline) CreateJobBuildReturns(result1 dbng.Build, result2 error)
- func (fake *FakePipeline) CreateJobBuildReturnsOnCall(i int, result1 dbng.Build, result2 error)
- func (fake *FakePipeline) Dashboard() (dbng.Dashboard, atc.GroupConfigs, error)
- func (fake *FakePipeline) DashboardCallCount() int
- func (fake *FakePipeline) DashboardReturns(result1 dbng.Dashboard, result2 atc.GroupConfigs, result3 error)
- func (fake *FakePipeline) DashboardReturnsOnCall(i int, result1 dbng.Dashboard, result2 atc.GroupConfigs, result3 error)
- func (fake *FakePipeline) DeleteBuildEventsByBuildIDs(buildIDs []int) error
- func (fake *FakePipeline) DeleteBuildEventsByBuildIDsArgsForCall(i int) []int
- func (fake *FakePipeline) DeleteBuildEventsByBuildIDsCallCount() int
- func (fake *FakePipeline) DeleteBuildEventsByBuildIDsReturns(result1 error)
- func (fake *FakePipeline) DeleteBuildEventsByBuildIDsReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) DeleteNextInputMapping(jobName string) error
- func (fake *FakePipeline) DeleteNextInputMappingArgsForCall(i int) string
- func (fake *FakePipeline) DeleteNextInputMappingCallCount() int
- func (fake *FakePipeline) DeleteNextInputMappingReturns(result1 error)
- func (fake *FakePipeline) DeleteNextInputMappingReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) Destroy() error
- func (fake *FakePipeline) DestroyCallCount() int
- func (fake *FakePipeline) DestroyReturns(result1 error)
- func (fake *FakePipeline) DestroyReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) DisableVersionedResource(versionedResourceID int) error
- func (fake *FakePipeline) DisableVersionedResourceArgsForCall(i int) int
- func (fake *FakePipeline) DisableVersionedResourceCallCount() int
- func (fake *FakePipeline) DisableVersionedResourceReturns(result1 error)
- func (fake *FakePipeline) DisableVersionedResourceReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) EnableVersionedResource(versionedResourceID int) error
- func (fake *FakePipeline) EnableVersionedResourceArgsForCall(i int) int
- func (fake *FakePipeline) EnableVersionedResourceCallCount() int
- func (fake *FakePipeline) EnableVersionedResourceReturns(result1 error)
- func (fake *FakePipeline) EnableVersionedResourceReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) EnsurePendingBuildExists(jobName string) error
- func (fake *FakePipeline) EnsurePendingBuildExistsArgsForCall(i int) string
- func (fake *FakePipeline) EnsurePendingBuildExistsCallCount() int
- func (fake *FakePipeline) EnsurePendingBuildExistsReturns(result1 error)
- func (fake *FakePipeline) EnsurePendingBuildExistsReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) Expose() error
- func (fake *FakePipeline) ExposeCallCount() int
- func (fake *FakePipeline) ExposeReturns(result1 error)
- func (fake *FakePipeline) ExposeReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) GetAllPendingBuilds() (map[string][]dbng.Build, error)
- func (fake *FakePipeline) GetAllPendingBuildsCallCount() int
- func (fake *FakePipeline) GetAllPendingBuildsReturns(result1 map[string][]dbng.Build, result2 error)
- func (fake *FakePipeline) GetAllPendingBuildsReturnsOnCall(i int, result1 map[string][]dbng.Build, result2 error)
- func (fake *FakePipeline) GetBuildsWithVersionAsInput(versionedResourceID int) ([]dbng.Build, error)
- func (fake *FakePipeline) GetBuildsWithVersionAsInputArgsForCall(i int) int
- func (fake *FakePipeline) GetBuildsWithVersionAsInputCallCount() int
- func (fake *FakePipeline) GetBuildsWithVersionAsInputReturns(result1 []dbng.Build, result2 error)
- func (fake *FakePipeline) GetBuildsWithVersionAsInputReturnsOnCall(i int, result1 []dbng.Build, result2 error)
- func (fake *FakePipeline) GetBuildsWithVersionAsOutput(versionedResourceID int) ([]dbng.Build, error)
- func (fake *FakePipeline) GetBuildsWithVersionAsOutputArgsForCall(i int) int
- func (fake *FakePipeline) GetBuildsWithVersionAsOutputCallCount() int
- func (fake *FakePipeline) GetBuildsWithVersionAsOutputReturns(result1 []dbng.Build, result2 error)
- func (fake *FakePipeline) GetBuildsWithVersionAsOutputReturnsOnCall(i int, result1 []dbng.Build, result2 error)
- func (fake *FakePipeline) GetIndependentBuildInputs(jobName string) ([]dbng.BuildInput, error)
- func (fake *FakePipeline) GetIndependentBuildInputsArgsForCall(i int) string
- func (fake *FakePipeline) GetIndependentBuildInputsCallCount() int
- func (fake *FakePipeline) GetIndependentBuildInputsReturns(result1 []dbng.BuildInput, result2 error)
- func (fake *FakePipeline) GetIndependentBuildInputsReturnsOnCall(i int, result1 []dbng.BuildInput, result2 error)
- func (fake *FakePipeline) GetLatestVersionedResource(resourceName string) (dbng.SavedVersionedResource, bool, error)
- func (fake *FakePipeline) GetLatestVersionedResourceArgsForCall(i int) string
- func (fake *FakePipeline) GetLatestVersionedResourceCallCount() int
- func (fake *FakePipeline) GetLatestVersionedResourceReturns(result1 dbng.SavedVersionedResource, result2 bool, result3 error)
- func (fake *FakePipeline) GetLatestVersionedResourceReturnsOnCall(i int, result1 dbng.SavedVersionedResource, result2 bool, result3 error)
- func (fake *FakePipeline) GetNextBuildInputs(jobName string) ([]dbng.BuildInput, bool, error)
- func (fake *FakePipeline) GetNextBuildInputsArgsForCall(i int) string
- func (fake *FakePipeline) GetNextBuildInputsCallCount() int
- func (fake *FakePipeline) GetNextBuildInputsReturns(result1 []dbng.BuildInput, result2 bool, result3 error)
- func (fake *FakePipeline) GetNextBuildInputsReturnsOnCall(i int, result1 []dbng.BuildInput, result2 bool, result3 error)
- func (fake *FakePipeline) GetPendingBuildsForJob(jobName string) ([]dbng.Build, error)
- func (fake *FakePipeline) GetPendingBuildsForJobArgsForCall(i int) string
- func (fake *FakePipeline) GetPendingBuildsForJobCallCount() int
- func (fake *FakePipeline) GetPendingBuildsForJobReturns(result1 []dbng.Build, result2 error)
- func (fake *FakePipeline) GetPendingBuildsForJobReturnsOnCall(i int, result1 []dbng.Build, result2 error)
- func (fake *FakePipeline) GetResourceVersions(resourceName string, page dbng.Page) ([]dbng.SavedVersionedResource, dbng.Pagination, bool, error)
- func (fake *FakePipeline) GetResourceVersionsArgsForCall(i int) (string, dbng.Page)
- func (fake *FakePipeline) GetResourceVersionsCallCount() int
- func (fake *FakePipeline) GetResourceVersionsReturns(result1 []dbng.SavedVersionedResource, result2 dbng.Pagination, result3 bool, ...)
- func (fake *FakePipeline) GetResourceVersionsReturnsOnCall(i int, result1 []dbng.SavedVersionedResource, result2 dbng.Pagination, ...)
- func (fake *FakePipeline) GetVersionedResourceByVersion(atcVersion atc.Version, resourceName string) (dbng.SavedVersionedResource, bool, error)
- func (fake *FakePipeline) GetVersionedResourceByVersionArgsForCall(i int) (atc.Version, string)
- func (fake *FakePipeline) GetVersionedResourceByVersionCallCount() int
- func (fake *FakePipeline) GetVersionedResourceByVersionReturns(result1 dbng.SavedVersionedResource, result2 bool, result3 error)
- func (fake *FakePipeline) GetVersionedResourceByVersionReturnsOnCall(i int, result1 dbng.SavedVersionedResource, result2 bool, result3 error)
- func (fake *FakePipeline) Hide() error
- func (fake *FakePipeline) HideCallCount() int
- 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) IDReturns(result1 int)
- func (fake *FakePipeline) IDReturnsOnCall(i int, result1 int)
- func (fake *FakePipeline) Invocations() map[string][][]interface{}
- func (fake *FakePipeline) Job(name string) (dbng.Job, bool, error)
- func (fake *FakePipeline) JobArgsForCall(i int) string
- func (fake *FakePipeline) JobCallCount() int
- func (fake *FakePipeline) JobReturns(result1 dbng.Job, result2 bool, result3 error)
- func (fake *FakePipeline) JobReturnsOnCall(i int, result1 dbng.Job, result2 bool, result3 error)
- func (fake *FakePipeline) Jobs() ([]dbng.Job, error)
- func (fake *FakePipeline) JobsCallCount() int
- func (fake *FakePipeline) JobsReturns(result1 []dbng.Job, result2 error)
- func (fake *FakePipeline) JobsReturnsOnCall(i int, result1 []dbng.Job, result2 error)
- func (fake *FakePipeline) LoadVersionsDB() (*algorithm.VersionsDB, error)
- func (fake *FakePipeline) LoadVersionsDBCallCount() int
- func (fake *FakePipeline) LoadVersionsDBReturns(result1 *algorithm.VersionsDB, result2 error)
- func (fake *FakePipeline) LoadVersionsDBReturnsOnCall(i int, result1 *algorithm.VersionsDB, result2 error)
- func (fake *FakePipeline) Name() string
- func (fake *FakePipeline) NameCallCount() int
- func (fake *FakePipeline) NameReturns(result1 string)
- func (fake *FakePipeline) NameReturnsOnCall(i int, result1 string)
- func (fake *FakePipeline) NextBuildInputs(jobName string) ([]dbng.BuildInput, bool, error)
- func (fake *FakePipeline) NextBuildInputsArgsForCall(i int) string
- func (fake *FakePipeline) NextBuildInputsCallCount() int
- func (fake *FakePipeline) NextBuildInputsReturns(result1 []dbng.BuildInput, result2 bool, result3 error)
- func (fake *FakePipeline) NextBuildInputsReturnsOnCall(i int, result1 []dbng.BuildInput, result2 bool, result3 error)
- func (fake *FakePipeline) Pause() error
- func (fake *FakePipeline) PauseCallCount() int
- 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) PausedReturns(result1 bool)
- func (fake *FakePipeline) PausedReturnsOnCall(i int, result1 bool)
- func (fake *FakePipeline) Public() bool
- func (fake *FakePipeline) PublicCallCount() int
- 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) 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) RenameReturns(result1 error)
- func (fake *FakePipeline) RenameReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) Resource(name string) (dbng.Resource, bool, error)
- func (fake *FakePipeline) ResourceArgsForCall(i int) string
- func (fake *FakePipeline) ResourceCallCount() int
- func (fake *FakePipeline) ResourceReturns(result1 dbng.Resource, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceReturnsOnCall(i int, result1 dbng.Resource, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceType(name string) (dbng.ResourceType, bool, error)
- func (fake *FakePipeline) ResourceTypeArgsForCall(i int) string
- func (fake *FakePipeline) ResourceTypeCallCount() int
- func (fake *FakePipeline) ResourceTypeReturns(result1 dbng.ResourceType, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceTypeReturnsOnCall(i int, result1 dbng.ResourceType, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceTypes() (dbng.ResourceTypes, error)
- func (fake *FakePipeline) ResourceTypesCallCount() int
- func (fake *FakePipeline) ResourceTypesReturns(result1 dbng.ResourceTypes, result2 error)
- func (fake *FakePipeline) ResourceTypesReturnsOnCall(i int, result1 dbng.ResourceTypes, result2 error)
- func (fake *FakePipeline) Resources() (dbng.Resources, error)
- func (fake *FakePipeline) ResourcesCallCount() int
- func (fake *FakePipeline) ResourcesReturns(result1 dbng.Resources, result2 error)
- func (fake *FakePipeline) ResourcesReturnsOnCall(i int, result1 dbng.Resources, result2 error)
- func (fake *FakePipeline) SaveIndependentInputMapping(inputMapping algorithm.InputMapping, jobName string) error
- func (fake *FakePipeline) SaveIndependentInputMappingArgsForCall(i int) (algorithm.InputMapping, string)
- func (fake *FakePipeline) SaveIndependentInputMappingCallCount() int
- func (fake *FakePipeline) SaveIndependentInputMappingReturns(result1 error)
- func (fake *FakePipeline) SaveIndependentInputMappingReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) SaveJob(job atc.JobConfig) error
- func (fake *FakePipeline) SaveJobArgsForCall(i int) atc.JobConfig
- func (fake *FakePipeline) SaveJobCallCount() int
- func (fake *FakePipeline) SaveJobReturns(result1 error)
- func (fake *FakePipeline) SaveJobReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) SaveNextInputMapping(inputMapping algorithm.InputMapping, jobName string) error
- func (fake *FakePipeline) SaveNextInputMappingArgsForCall(i int) (algorithm.InputMapping, string)
- func (fake *FakePipeline) SaveNextInputMappingCallCount() int
- func (fake *FakePipeline) SaveNextInputMappingReturns(result1 error)
- func (fake *FakePipeline) SaveNextInputMappingReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) SaveResourceVersions(arg1 atc.ResourceConfig, arg2 []atc.Version) error
- func (fake *FakePipeline) SaveResourceVersionsArgsForCall(i int) (atc.ResourceConfig, []atc.Version)
- func (fake *FakePipeline) SaveResourceVersionsCallCount() int
- func (fake *FakePipeline) SaveResourceVersionsReturns(result1 error)
- func (fake *FakePipeline) SaveResourceVersionsReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) ScopedName(arg1 string) string
- func (fake *FakePipeline) ScopedNameArgsForCall(i int) string
- func (fake *FakePipeline) ScopedNameCallCount() int
- func (fake *FakePipeline) ScopedNameReturns(result1 string)
- func (fake *FakePipeline) ScopedNameReturnsOnCall(i int, result1 string)
- func (fake *FakePipeline) SetResourceCheckError(arg1 dbng.Resource, arg2 error) error
- func (fake *FakePipeline) SetResourceCheckErrorArgsForCall(i int) (dbng.Resource, error)
- func (fake *FakePipeline) SetResourceCheckErrorCallCount() int
- func (fake *FakePipeline) SetResourceCheckErrorReturns(result1 error)
- func (fake *FakePipeline) SetResourceCheckErrorReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) TeamID() int
- func (fake *FakePipeline) TeamIDCallCount() 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) TeamNameReturns(result1 string)
- func (fake *FakePipeline) TeamNameReturnsOnCall(i int, result1 string)
- func (fake *FakePipeline) Unpause() error
- func (fake *FakePipeline) UnpauseCallCount() int
- func (fake *FakePipeline) UnpauseReturns(result1 error)
- func (fake *FakePipeline) UnpauseReturnsOnCall(i int, result1 error)
- type FakePipelineFactory
- func (fake *FakePipelineFactory) AllPipelines() ([]dbng.Pipeline, error)
- func (fake *FakePipelineFactory) AllPipelinesCallCount() int
- func (fake *FakePipelineFactory) AllPipelinesReturns(result1 []dbng.Pipeline, result2 error)
- func (fake *FakePipelineFactory) AllPipelinesReturnsOnCall(i int, result1 []dbng.Pipeline, result2 error)
- func (fake *FakePipelineFactory) Invocations() map[string][][]interface{}
- func (fake *FakePipelineFactory) PublicPipelines() ([]dbng.Pipeline, error)
- func (fake *FakePipelineFactory) PublicPipelinesCallCount() int
- func (fake *FakePipelineFactory) PublicPipelinesReturns(result1 []dbng.Pipeline, result2 error)
- func (fake *FakePipelineFactory) PublicPipelinesReturnsOnCall(i int, result1 []dbng.Pipeline, result2 error)
- type FakeResource
- func (fake *FakeResource) CheckError() error
- func (fake *FakeResource) CheckErrorCallCount() int
- 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) CheckEveryReturns(result1 string)
- func (fake *FakeResource) CheckEveryReturnsOnCall(i int, result1 string)
- func (fake *FakeResource) FailingToCheck() bool
- func (fake *FakeResource) FailingToCheckCallCount() int
- func (fake *FakeResource) FailingToCheckReturns(result1 bool)
- func (fake *FakeResource) FailingToCheckReturnsOnCall(i int, result1 bool)
- func (fake *FakeResource) ID() int
- func (fake *FakeResource) IDCallCount() int
- func (fake *FakeResource) IDReturns(result1 int)
- func (fake *FakeResource) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeResource) Invocations() map[string][][]interface{}
- func (fake *FakeResource) Name() string
- func (fake *FakeResource) NameCallCount() int
- func (fake *FakeResource) NameReturns(result1 string)
- func (fake *FakeResource) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeResource) Pause() error
- func (fake *FakeResource) PauseCallCount() int
- func (fake *FakeResource) PauseReturns(result1 error)
- func (fake *FakeResource) PauseReturnsOnCall(i int, result1 error)
- func (fake *FakeResource) Paused() bool
- func (fake *FakeResource) PausedCallCount() int
- func (fake *FakeResource) PausedReturns(result1 bool)
- func (fake *FakeResource) PausedReturnsOnCall(i int, result1 bool)
- func (fake *FakeResource) PipelineName() string
- func (fake *FakeResource) PipelineNameCallCount() int
- func (fake *FakeResource) PipelineNameReturns(result1 string)
- func (fake *FakeResource) PipelineNameReturnsOnCall(i int, result1 string)
- func (fake *FakeResource) Reload() (bool, error)
- func (fake *FakeResource) ReloadCallCount() int
- func (fake *FakeResource) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeResource) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeResource) Source() atc.Source
- func (fake *FakeResource) SourceCallCount() int
- 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) TagsReturns(result1 atc.Tags)
- func (fake *FakeResource) TagsReturnsOnCall(i int, result1 atc.Tags)
- func (fake *FakeResource) Type() string
- func (fake *FakeResource) TypeCallCount() int
- func (fake *FakeResource) TypeReturns(result1 string)
- func (fake *FakeResource) TypeReturnsOnCall(i int, result1 string)
- func (fake *FakeResource) Unpause() error
- func (fake *FakeResource) UnpauseCallCount() int
- func (fake *FakeResource) UnpauseReturns(result1 error)
- func (fake *FakeResource) UnpauseReturnsOnCall(i int, result1 error)
- func (fake *FakeResource) WebhookToken() string
- func (fake *FakeResource) WebhookTokenCallCount() int
- func (fake *FakeResource) WebhookTokenReturns(result1 string)
- func (fake *FakeResource) WebhookTokenReturnsOnCall(i int, result1 string)
- type FakeResourceCacheFactory
- func (fake *FakeResourceCacheFactory) CleanUpInvalidCaches() error
- func (fake *FakeResourceCacheFactory) CleanUpInvalidCachesCallCount() int
- func (fake *FakeResourceCacheFactory) CleanUpInvalidCachesReturns(result1 error)
- func (fake *FakeResourceCacheFactory) CleanUpInvalidCachesReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuilds() error
- func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuildsCallCount() int
- func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuildsReturns(result1 error)
- func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuildsReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypes() error
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesCallCount() int
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesReturns(result1 error)
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResources() error
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourcesCallCount() int
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourcesReturns(result1 error)
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourcesReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceCacheFactory) CleanUsesForPausedPipelineResources() error
- func (fake *FakeResourceCacheFactory) CleanUsesForPausedPipelineResourcesCallCount() int
- func (fake *FakeResourceCacheFactory) CleanUsesForPausedPipelineResourcesReturns(result1 error)
- func (fake *FakeResourceCacheFactory) CleanUsesForPausedPipelineResourcesReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCache(logger lager.Logger, resourceUser dbng.ResourceUser, resourceTypeName string, ...) (*dbng.UsedResourceCache, error)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheArgsForCall(i int) (lager.Logger, dbng.ResourceUser, string, atc.Version, atc.Source, atc.Params, ...)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheCallCount() int
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturns(result1 *dbng.UsedResourceCache, result2 error)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturnsOnCall(i int, result1 *dbng.UsedResourceCache, result2 error)
- func (fake *FakeResourceCacheFactory) Invocations() map[string][][]interface{}
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadata(arg1 *dbng.UsedResourceCache) (dbng.ResourceMetadataFields, error)
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadataArgsForCall(i int) *dbng.UsedResourceCache
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadataCallCount() int
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadataReturns(result1 dbng.ResourceMetadataFields, result2 error)
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadataReturnsOnCall(i int, result1 dbng.ResourceMetadataFields, result2 error)
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadata(arg1 *dbng.UsedResourceCache, arg2 []atc.MetadataField) error
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataArgsForCall(i int) (*dbng.UsedResourceCache, []atc.MetadataField)
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataCallCount() int
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataReturns(result1 error)
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataReturnsOnCall(i int, result1 error)
- type FakeResourceConfigFactory
- func (fake *FakeResourceConfigFactory) AcquireResourceCheckingLock(logger lager.Logger, resourceUser dbng.ResourceUser, resourceType string, ...) (lock.Lock, bool, error)
- func (fake *FakeResourceConfigFactory) AcquireResourceCheckingLockArgsForCall(i int) (lager.Logger, dbng.ResourceUser, string, atc.Source, ...)
- func (fake *FakeResourceConfigFactory) AcquireResourceCheckingLockCallCount() int
- func (fake *FakeResourceConfigFactory) AcquireResourceCheckingLockReturns(result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeResourceConfigFactory) AcquireResourceCheckingLockReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForFinishedBuilds() error
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForFinishedBuildsCallCount() int
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForFinishedBuildsReturns(result1 error)
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForFinishedBuildsReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResourceTypes() error
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResourceTypesCallCount() int
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResourceTypesReturns(result1 error)
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResourceTypesReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResources() error
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResourcesCallCount() int
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResourcesReturns(result1 error)
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResourcesReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForOutdatedResourceConfigs() error
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForOutdatedResourceConfigsCallCount() int
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForOutdatedResourceConfigsReturns(result1 error)
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForOutdatedResourceConfigsReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForPausedPipelinesResources() error
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForPausedPipelinesResourcesCallCount() int
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForPausedPipelinesResourcesReturns(result1 error)
- func (fake *FakeResourceConfigFactory) CleanConfigUsesForPausedPipelinesResourcesReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceConfigFactory) CleanUselessConfigs() error
- func (fake *FakeResourceConfigFactory) CleanUselessConfigsCallCount() int
- func (fake *FakeResourceConfigFactory) CleanUselessConfigsReturns(result1 error)
- func (fake *FakeResourceConfigFactory) CleanUselessConfigsReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfig(logger lager.Logger, user dbng.ResourceUser, resourceType string, ...) (*dbng.UsedResourceConfig, error)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigArgsForCall(i int) (lager.Logger, dbng.ResourceUser, string, atc.Source, ...)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigCallCount() int
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturns(result1 *dbng.UsedResourceConfig, result2 error)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturnsOnCall(i int, result1 *dbng.UsedResourceConfig, result2 error)
- func (fake *FakeResourceConfigFactory) FindResourceConfig(logger lager.Logger, resourceType string, source atc.Source, ...) (*dbng.UsedResourceConfig, bool, error)
- func (fake *FakeResourceConfigFactory) FindResourceConfigArgsForCall(i int) (lager.Logger, string, atc.Source, atc.VersionedResourceTypes)
- func (fake *FakeResourceConfigFactory) FindResourceConfigCallCount() int
- func (fake *FakeResourceConfigFactory) FindResourceConfigReturns(result1 *dbng.UsedResourceConfig, result2 bool, result3 error)
- func (fake *FakeResourceConfigFactory) FindResourceConfigReturnsOnCall(i int, result1 *dbng.UsedResourceConfig, result2 bool, result3 error)
- func (fake *FakeResourceConfigFactory) Invocations() map[string][][]interface{}
- type FakeResourceType
- func (fake *FakeResourceType) ID() int
- func (fake *FakeResourceType) IDCallCount() 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) Name() string
- func (fake *FakeResourceType) NameCallCount() int
- func (fake *FakeResourceType) NameReturns(result1 string)
- func (fake *FakeResourceType) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeResourceType) Reload() (bool, error)
- func (fake *FakeResourceType) ReloadCallCount() int
- func (fake *FakeResourceType) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeResourceType) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeResourceType) SaveVersion(arg1 atc.Version) error
- func (fake *FakeResourceType) SaveVersionArgsForCall(i int) atc.Version
- func (fake *FakeResourceType) SaveVersionCallCount() int
- func (fake *FakeResourceType) SaveVersionReturns(result1 error)
- func (fake *FakeResourceType) SaveVersionReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceType) Source() atc.Source
- func (fake *FakeResourceType) SourceCallCount() int
- func (fake *FakeResourceType) SourceReturns(result1 atc.Source)
- func (fake *FakeResourceType) SourceReturnsOnCall(i int, result1 atc.Source)
- func (fake *FakeResourceType) Type() string
- func (fake *FakeResourceType) TypeCallCount() int
- func (fake *FakeResourceType) TypeReturns(result1 string)
- func (fake *FakeResourceType) TypeReturnsOnCall(i int, result1 string)
- func (fake *FakeResourceType) Version() atc.Version
- func (fake *FakeResourceType) VersionCallCount() int
- func (fake *FakeResourceType) VersionReturns(result1 atc.Version)
- func (fake *FakeResourceType) VersionReturnsOnCall(i int, result1 atc.Version)
- type FakeTeam
- func (fake *FakeTeam) Admin() bool
- func (fake *FakeTeam) AdminCallCount() int
- func (fake *FakeTeam) AdminReturns(result1 bool)
- func (fake *FakeTeam) AdminReturnsOnCall(i int, result1 bool)
- func (fake *FakeTeam) Auth() map[string]*json.RawMessage
- func (fake *FakeTeam) AuthCallCount() int
- func (fake *FakeTeam) AuthReturns(result1 map[string]*json.RawMessage)
- func (fake *FakeTeam) AuthReturnsOnCall(i int, result1 map[string]*json.RawMessage)
- func (fake *FakeTeam) BasicAuth() *atc.BasicAuth
- func (fake *FakeTeam) BasicAuthCallCount() int
- func (fake *FakeTeam) BasicAuthReturns(result1 *atc.BasicAuth)
- func (fake *FakeTeam) BasicAuthReturnsOnCall(i int, result1 *atc.BasicAuth)
- func (fake *FakeTeam) CreateBuildContainer(workerName string, buildID int, planID atc.PlanID, meta dbng.ContainerMetadata) (dbng.CreatingContainer, error)
- func (fake *FakeTeam) CreateBuildContainerArgsForCall(i int) (string, int, atc.PlanID, dbng.ContainerMetadata)
- func (fake *FakeTeam) CreateBuildContainerCallCount() int
- func (fake *FakeTeam) CreateBuildContainerReturns(result1 dbng.CreatingContainer, result2 error)
- func (fake *FakeTeam) CreateBuildContainerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 error)
- func (fake *FakeTeam) CreateOneOffBuild() (dbng.Build, error)
- func (fake *FakeTeam) CreateOneOffBuildCallCount() int
- func (fake *FakeTeam) CreateOneOffBuildReturns(result1 dbng.Build, result2 error)
- func (fake *FakeTeam) CreateOneOffBuildReturnsOnCall(i int, result1 dbng.Build, result2 error)
- func (fake *FakeTeam) CreateResourceCheckContainer(workerName string, resourceConfig *dbng.UsedResourceConfig, ...) (dbng.CreatingContainer, error)
- func (fake *FakeTeam) CreateResourceCheckContainerArgsForCall(i int) (string, *dbng.UsedResourceConfig, dbng.ContainerMetadata)
- func (fake *FakeTeam) CreateResourceCheckContainerCallCount() int
- func (fake *FakeTeam) CreateResourceCheckContainerReturns(result1 dbng.CreatingContainer, result2 error)
- func (fake *FakeTeam) CreateResourceCheckContainerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 error)
- func (fake *FakeTeam) CreateResourceGetContainer(workerName string, resourceConfig *dbng.UsedResourceCache, ...) (dbng.CreatingContainer, error)
- func (fake *FakeTeam) CreateResourceGetContainerArgsForCall(i int) (string, *dbng.UsedResourceCache, dbng.ContainerMetadata)
- func (fake *FakeTeam) CreateResourceGetContainerCallCount() int
- func (fake *FakeTeam) CreateResourceGetContainerReturns(result1 dbng.CreatingContainer, result2 error)
- func (fake *FakeTeam) CreateResourceGetContainerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 error)
- func (fake *FakeTeam) Delete() error
- func (fake *FakeTeam) DeleteCallCount() int
- func (fake *FakeTeam) DeleteReturns(result1 error)
- func (fake *FakeTeam) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeTeam) FindBuildContainerOnWorker(workerName string, buildID int, planID atc.PlanID) (dbng.CreatingContainer, dbng.CreatedContainer, error)
- func (fake *FakeTeam) FindBuildContainerOnWorkerArgsForCall(i int) (string, int, atc.PlanID)
- func (fake *FakeTeam) FindBuildContainerOnWorkerCallCount() int
- func (fake *FakeTeam) FindBuildContainerOnWorkerReturns(result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, result3 error)
- func (fake *FakeTeam) FindBuildContainerOnWorkerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, ...)
- func (fake *FakeTeam) FindCheckContainers(arg1 lager.Logger, arg2 string, arg3 string) ([]dbng.Container, error)
- func (fake *FakeTeam) FindCheckContainersArgsForCall(i int) (lager.Logger, string, string)
- func (fake *FakeTeam) FindCheckContainersCallCount() int
- func (fake *FakeTeam) FindCheckContainersReturns(result1 []dbng.Container, result2 error)
- func (fake *FakeTeam) FindCheckContainersReturnsOnCall(i int, result1 []dbng.Container, result2 error)
- func (fake *FakeTeam) FindContainerByHandle(arg1 string) (dbng.Container, bool, error)
- func (fake *FakeTeam) FindContainerByHandleArgsForCall(i int) string
- func (fake *FakeTeam) FindContainerByHandleCallCount() int
- func (fake *FakeTeam) FindContainerByHandleReturns(result1 dbng.Container, result2 bool, result3 error)
- func (fake *FakeTeam) FindContainerByHandleReturnsOnCall(i int, result1 dbng.Container, result2 bool, result3 error)
- func (fake *FakeTeam) FindContainersByMetadata(arg1 dbng.ContainerMetadata) ([]dbng.Container, error)
- func (fake *FakeTeam) FindContainersByMetadataArgsForCall(i int) dbng.ContainerMetadata
- func (fake *FakeTeam) FindContainersByMetadataCallCount() int
- func (fake *FakeTeam) FindContainersByMetadataReturns(result1 []dbng.Container, result2 error)
- func (fake *FakeTeam) FindContainersByMetadataReturnsOnCall(i int, result1 []dbng.Container, result2 error)
- func (fake *FakeTeam) FindCreatedContainerByHandle(arg1 string) (dbng.CreatedContainer, bool, error)
- func (fake *FakeTeam) FindCreatedContainerByHandleArgsForCall(i int) string
- func (fake *FakeTeam) FindCreatedContainerByHandleCallCount() int
- func (fake *FakeTeam) FindCreatedContainerByHandleReturns(result1 dbng.CreatedContainer, result2 bool, result3 error)
- func (fake *FakeTeam) FindCreatedContainerByHandleReturnsOnCall(i int, result1 dbng.CreatedContainer, result2 bool, result3 error)
- func (fake *FakeTeam) FindResourceCheckContainerOnWorker(workerName string, resourceConfig *dbng.UsedResourceConfig) (dbng.CreatingContainer, dbng.CreatedContainer, error)
- func (fake *FakeTeam) FindResourceCheckContainerOnWorkerArgsForCall(i int) (string, *dbng.UsedResourceConfig)
- func (fake *FakeTeam) FindResourceCheckContainerOnWorkerCallCount() int
- func (fake *FakeTeam) FindResourceCheckContainerOnWorkerReturns(result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, result3 error)
- func (fake *FakeTeam) FindResourceCheckContainerOnWorkerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, ...)
- func (fake *FakeTeam) FindWorkerForBuildContainer(buildID int, planID atc.PlanID) (dbng.Worker, bool, error)
- func (fake *FakeTeam) FindWorkerForBuildContainerArgsForCall(i int) (int, atc.PlanID)
- func (fake *FakeTeam) FindWorkerForBuildContainerCallCount() int
- func (fake *FakeTeam) FindWorkerForBuildContainerReturns(result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForBuildContainerReturnsOnCall(i int, result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForContainer(handle string) (dbng.Worker, bool, error)
- func (fake *FakeTeam) FindWorkerForContainerArgsForCall(i int) string
- func (fake *FakeTeam) FindWorkerForContainerCallCount() int
- func (fake *FakeTeam) FindWorkerForContainerReturns(result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForContainerReturnsOnCall(i int, result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForResourceCheckContainer(resourceConfig *dbng.UsedResourceConfig) (dbng.Worker, bool, error)
- func (fake *FakeTeam) FindWorkerForResourceCheckContainerArgsForCall(i int) *dbng.UsedResourceConfig
- func (fake *FakeTeam) FindWorkerForResourceCheckContainerCallCount() int
- func (fake *FakeTeam) FindWorkerForResourceCheckContainerReturns(result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForResourceCheckContainerReturnsOnCall(i int, result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) ID() int
- func (fake *FakeTeam) IDCallCount() 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) Name() string
- func (fake *FakeTeam) NameCallCount() int
- 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) OrderPipelinesReturns(result1 error)
- func (fake *FakeTeam) OrderPipelinesReturnsOnCall(i int, result1 error)
- func (fake *FakeTeam) Pipeline(pipelineName string) (dbng.Pipeline, bool, error)
- func (fake *FakeTeam) PipelineArgsForCall(i int) string
- func (fake *FakeTeam) PipelineCallCount() int
- func (fake *FakeTeam) PipelineReturns(result1 dbng.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) PipelineReturnsOnCall(i int, result1 dbng.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) Pipelines() ([]dbng.Pipeline, error)
- func (fake *FakeTeam) PipelinesCallCount() int
- func (fake *FakeTeam) PipelinesReturns(result1 []dbng.Pipeline, result2 error)
- func (fake *FakeTeam) PipelinesReturnsOnCall(i int, result1 []dbng.Pipeline, result2 error)
- func (fake *FakeTeam) PrivateAndPublicBuilds(arg1 dbng.Page) ([]dbng.Build, dbng.Pagination, error)
- func (fake *FakeTeam) PrivateAndPublicBuildsArgsForCall(i int) dbng.Page
- func (fake *FakeTeam) PrivateAndPublicBuildsCallCount() int
- func (fake *FakeTeam) PrivateAndPublicBuildsReturns(result1 []dbng.Build, result2 dbng.Pagination, result3 error)
- func (fake *FakeTeam) PrivateAndPublicBuildsReturnsOnCall(i int, result1 []dbng.Build, result2 dbng.Pagination, result3 error)
- func (fake *FakeTeam) PublicPipelines() ([]dbng.Pipeline, error)
- func (fake *FakeTeam) PublicPipelinesCallCount() int
- func (fake *FakeTeam) PublicPipelinesReturns(result1 []dbng.Pipeline, result2 error)
- func (fake *FakeTeam) PublicPipelinesReturnsOnCall(i int, result1 []dbng.Pipeline, result2 error)
- func (fake *FakeTeam) SavePipeline(pipelineName string, config atc.Config, from dbng.ConfigVersion, ...) (dbng.Pipeline, bool, error)
- func (fake *FakeTeam) SavePipelineArgsForCall(i int) (string, atc.Config, dbng.ConfigVersion, dbng.PipelinePausedState)
- func (fake *FakeTeam) SavePipelineCallCount() int
- func (fake *FakeTeam) SavePipelineReturns(result1 dbng.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) SavePipelineReturnsOnCall(i int, result1 dbng.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) SaveWorker(atcWorker atc.Worker, ttl time.Duration) (dbng.Worker, error)
- func (fake *FakeTeam) SaveWorkerArgsForCall(i int) (atc.Worker, time.Duration)
- func (fake *FakeTeam) SaveWorkerCallCount() int
- func (fake *FakeTeam) SaveWorkerReturns(result1 dbng.Worker, result2 error)
- func (fake *FakeTeam) SaveWorkerReturnsOnCall(i int, result1 dbng.Worker, result2 error)
- func (fake *FakeTeam) UpdateBasicAuth(basicAuth *atc.BasicAuth) error
- func (fake *FakeTeam) UpdateBasicAuthArgsForCall(i int) *atc.BasicAuth
- func (fake *FakeTeam) UpdateBasicAuthCallCount() int
- func (fake *FakeTeam) UpdateBasicAuthReturns(result1 error)
- func (fake *FakeTeam) UpdateBasicAuthReturnsOnCall(i int, result1 error)
- func (fake *FakeTeam) UpdateProviderAuth(auth map[string]*json.RawMessage) error
- func (fake *FakeTeam) UpdateProviderAuthArgsForCall(i int) map[string]*json.RawMessage
- func (fake *FakeTeam) UpdateProviderAuthCallCount() int
- func (fake *FakeTeam) UpdateProviderAuthReturns(result1 error)
- func (fake *FakeTeam) UpdateProviderAuthReturnsOnCall(i int, result1 error)
- func (fake *FakeTeam) VisiblePipelines() ([]dbng.Pipeline, error)
- func (fake *FakeTeam) VisiblePipelinesCallCount() int
- func (fake *FakeTeam) VisiblePipelinesReturns(result1 []dbng.Pipeline, result2 error)
- func (fake *FakeTeam) VisiblePipelinesReturnsOnCall(i int, result1 []dbng.Pipeline, result2 error)
- func (fake *FakeTeam) Workers() ([]dbng.Worker, error)
- func (fake *FakeTeam) WorkersCallCount() int
- func (fake *FakeTeam) WorkersReturns(result1 []dbng.Worker, result2 error)
- func (fake *FakeTeam) WorkersReturnsOnCall(i int, result1 []dbng.Worker, result2 error)
- type FakeTeamFactory
- func (fake *FakeTeamFactory) CreateTeam(arg1 atc.Team) (dbng.Team, error)
- func (fake *FakeTeamFactory) CreateTeamArgsForCall(i int) atc.Team
- func (fake *FakeTeamFactory) CreateTeamCallCount() int
- func (fake *FakeTeamFactory) CreateTeamReturns(result1 dbng.Team, result2 error)
- func (fake *FakeTeamFactory) CreateTeamReturnsOnCall(i int, result1 dbng.Team, result2 error)
- func (fake *FakeTeamFactory) FindTeam(arg1 string) (dbng.Team, bool, error)
- func (fake *FakeTeamFactory) FindTeamArgsForCall(i int) string
- func (fake *FakeTeamFactory) FindTeamCallCount() int
- func (fake *FakeTeamFactory) FindTeamReturns(result1 dbng.Team, result2 bool, result3 error)
- func (fake *FakeTeamFactory) FindTeamReturnsOnCall(i int, result1 dbng.Team, result2 bool, result3 error)
- func (fake *FakeTeamFactory) GetByID(teamID int) dbng.Team
- func (fake *FakeTeamFactory) GetByIDArgsForCall(i int) int
- func (fake *FakeTeamFactory) GetByIDCallCount() int
- func (fake *FakeTeamFactory) GetByIDReturns(result1 dbng.Team)
- func (fake *FakeTeamFactory) GetByIDReturnsOnCall(i int, result1 dbng.Team)
- func (fake *FakeTeamFactory) GetTeams() ([]dbng.Team, error)
- func (fake *FakeTeamFactory) GetTeamsCallCount() int
- func (fake *FakeTeamFactory) GetTeamsReturns(result1 []dbng.Team, result2 error)
- func (fake *FakeTeamFactory) GetTeamsReturnsOnCall(i int, result1 []dbng.Team, result2 error)
- func (fake *FakeTeamFactory) Invocations() map[string][][]interface{}
- type FakeTx
- func (fake *FakeTx) Commit() error
- func (fake *FakeTx) CommitCallCount() int
- func (fake *FakeTx) CommitReturns(result1 error)
- func (fake *FakeTx) CommitReturnsOnCall(i int, result1 error)
- func (fake *FakeTx) Exec(query string, args ...interface{}) (sql.Result, error)
- func (fake *FakeTx) ExecArgsForCall(i int) (string, []interface{})
- func (fake *FakeTx) ExecCallCount() int
- 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(query string) (*sql.Stmt, error)
- func (fake *FakeTx) PrepareArgsForCall(i int) string
- func (fake *FakeTx) PrepareCallCount() int
- func (fake *FakeTx) PrepareReturns(result1 *sql.Stmt, result2 error)
- func (fake *FakeTx) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
- func (fake *FakeTx) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (fake *FakeTx) QueryArgsForCall(i int) (string, []interface{})
- func (fake *FakeTx) QueryCallCount() int
- func (fake *FakeTx) QueryReturns(result1 *sql.Rows, result2 error)
- func (fake *FakeTx) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakeTx) QueryRow(query string, args ...interface{}) squirrel.RowScanner
- func (fake *FakeTx) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *FakeTx) QueryRowCallCount() int
- 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) RollbackReturns(result1 error)
- func (fake *FakeTx) RollbackReturnsOnCall(i int, result1 error)
- func (fake *FakeTx) Stmt(stmt *sql.Stmt) *sql.Stmt
- func (fake *FakeTx) StmtArgsForCall(i int) *sql.Stmt
- func (fake *FakeTx) StmtCallCount() int
- func (fake *FakeTx) StmtReturns(result1 *sql.Stmt)
- func (fake *FakeTx) StmtReturnsOnCall(i int, result1 *sql.Stmt)
- type FakeVolumeFactory
- func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolume(arg1 int, arg2 *dbng.UsedWorkerBaseResourceType) (dbng.CreatingVolume, error)
- func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeArgsForCall(i int) (int, *dbng.UsedWorkerBaseResourceType)
- func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeCallCount() int
- func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeReturns(result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateContainerVolume(arg1 int, arg2 dbng.Worker, arg3 dbng.CreatingContainer, arg4 string) (dbng.CreatingVolume, error)
- func (fake *FakeVolumeFactory) CreateContainerVolumeArgsForCall(i int) (int, dbng.Worker, dbng.CreatingContainer, string)
- func (fake *FakeVolumeFactory) CreateContainerVolumeCallCount() int
- func (fake *FakeVolumeFactory) CreateContainerVolumeReturns(result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateContainerVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateResourceCacheVolume(arg1 dbng.Worker, arg2 *dbng.UsedResourceCache) (dbng.CreatingVolume, error)
- func (fake *FakeVolumeFactory) CreateResourceCacheVolumeArgsForCall(i int) (dbng.Worker, *dbng.UsedResourceCache)
- func (fake *FakeVolumeFactory) CreateResourceCacheVolumeCallCount() int
- func (fake *FakeVolumeFactory) CreateResourceCacheVolumeReturns(result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateResourceCacheVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolume(arg1 int, arg2 *dbng.UsedWorkerBaseResourceType) (dbng.CreatingVolume, dbng.CreatedVolume, error)
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeArgsForCall(i int) (int, *dbng.UsedWorkerBaseResourceType)
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeReturns(result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindContainerVolume(arg1 int, arg2 dbng.Worker, arg3 dbng.CreatingContainer, arg4 string) (dbng.CreatingVolume, dbng.CreatedVolume, error)
- func (fake *FakeVolumeFactory) FindContainerVolumeArgsForCall(i int) (int, dbng.Worker, dbng.CreatingContainer, string)
- func (fake *FakeVolumeFactory) FindContainerVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindContainerVolumeReturns(result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindContainerVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindCreatedVolume(handle string) (dbng.CreatedVolume, bool, error)
- func (fake *FakeVolumeFactory) FindCreatedVolumeArgsForCall(i int) string
- func (fake *FakeVolumeFactory) FindCreatedVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindCreatedVolumeReturns(result1 dbng.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeFactory) FindCreatedVolumeReturnsOnCall(i int, result1 dbng.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolume(arg1 dbng.Worker, arg2 *dbng.UsedResourceCache) (dbng.CreatedVolume, bool, error)
- func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeArgsForCall(i int) (dbng.Worker, *dbng.UsedResourceCache)
- func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeReturns(result1 dbng.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeReturnsOnCall(i int, result1 dbng.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeFactory) FindResourceCacheVolume(arg1 dbng.Worker, arg2 *dbng.UsedResourceCache) (dbng.CreatingVolume, dbng.CreatedVolume, error)
- func (fake *FakeVolumeFactory) FindResourceCacheVolumeArgsForCall(i int) (dbng.Worker, *dbng.UsedResourceCache)
- func (fake *FakeVolumeFactory) FindResourceCacheVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindResourceCacheVolumeReturns(result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindResourceCacheVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindVolumesForContainer(arg1 dbng.CreatedContainer) ([]dbng.CreatedVolume, error)
- func (fake *FakeVolumeFactory) FindVolumesForContainerArgsForCall(i int) dbng.CreatedContainer
- func (fake *FakeVolumeFactory) FindVolumesForContainerCallCount() int
- func (fake *FakeVolumeFactory) FindVolumesForContainerReturns(result1 []dbng.CreatedVolume, result2 error)
- func (fake *FakeVolumeFactory) FindVolumesForContainerReturnsOnCall(i int, result1 []dbng.CreatedVolume, result2 error)
- func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumes() ([]dbng.CreatingVolume, []dbng.CreatedVolume, []dbng.DestroyingVolume, error)
- func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumesCallCount() int
- func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumesReturns(result1 []dbng.CreatingVolume, result2 []dbng.CreatedVolume, ...)
- func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumesReturnsOnCall(i int, result1 []dbng.CreatingVolume, result2 []dbng.CreatedVolume, ...)
- func (fake *FakeVolumeFactory) GetOrphanedVolumes() ([]dbng.CreatedVolume, []dbng.DestroyingVolume, error)
- func (fake *FakeVolumeFactory) GetOrphanedVolumesCallCount() int
- func (fake *FakeVolumeFactory) GetOrphanedVolumesReturns(result1 []dbng.CreatedVolume, result2 []dbng.DestroyingVolume, result3 error)
- func (fake *FakeVolumeFactory) GetOrphanedVolumesReturnsOnCall(i int, result1 []dbng.CreatedVolume, result2 []dbng.DestroyingVolume, ...)
- func (fake *FakeVolumeFactory) GetTeamVolumes(teamID int) ([]dbng.CreatedVolume, error)
- func (fake *FakeVolumeFactory) GetTeamVolumesArgsForCall(i int) int
- func (fake *FakeVolumeFactory) GetTeamVolumesCallCount() int
- func (fake *FakeVolumeFactory) GetTeamVolumesReturns(result1 []dbng.CreatedVolume, result2 error)
- func (fake *FakeVolumeFactory) GetTeamVolumesReturnsOnCall(i int, result1 []dbng.CreatedVolume, result2 error)
- func (fake *FakeVolumeFactory) Invocations() map[string][][]interface{}
- type FakeWorker
- func (fake *FakeWorker) ActiveContainers() int
- func (fake *FakeWorker) ActiveContainersCallCount() int
- func (fake *FakeWorker) ActiveContainersReturns(result1 int)
- func (fake *FakeWorker) ActiveContainersReturnsOnCall(i int, result1 int)
- func (fake *FakeWorker) BaggageclaimURL() *string
- func (fake *FakeWorker) BaggageclaimURLCallCount() int
- func (fake *FakeWorker) BaggageclaimURLReturns(result1 *string)
- func (fake *FakeWorker) BaggageclaimURLReturnsOnCall(i int, result1 *string)
- func (fake *FakeWorker) Delete() error
- func (fake *FakeWorker) DeleteCallCount() int
- func (fake *FakeWorker) DeleteReturns(result1 error)
- func (fake *FakeWorker) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeWorker) ExpiresAt() time.Time
- func (fake *FakeWorker) ExpiresAtCallCount() int
- func (fake *FakeWorker) ExpiresAtReturns(result1 time.Time)
- func (fake *FakeWorker) ExpiresAtReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeWorker) GardenAddr() *string
- func (fake *FakeWorker) GardenAddrCallCount() int
- 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) HTTPProxyURLReturns(result1 string)
- func (fake *FakeWorker) HTTPProxyURLReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) HTTPSProxyURL() string
- func (fake *FakeWorker) HTTPSProxyURLCallCount() int
- func (fake *FakeWorker) HTTPSProxyURLReturns(result1 string)
- func (fake *FakeWorker) HTTPSProxyURLReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) Invocations() map[string][][]interface{}
- func (fake *FakeWorker) Land() error
- func (fake *FakeWorker) LandCallCount() int
- 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) NameReturns(result1 string)
- func (fake *FakeWorker) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) NoProxy() string
- func (fake *FakeWorker) NoProxyCallCount() int
- 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) PlatformReturns(result1 string)
- func (fake *FakeWorker) PlatformReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) Prune() error
- func (fake *FakeWorker) PruneCallCount() int
- 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) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeWorker) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeWorker) ResourceTypes() []atc.WorkerResourceType
- func (fake *FakeWorker) ResourceTypesCallCount() int
- 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) RetireReturns(result1 error)
- func (fake *FakeWorker) RetireReturnsOnCall(i int, result1 error)
- func (fake *FakeWorker) StartTime() int64
- func (fake *FakeWorker) StartTimeCallCount() int
- func (fake *FakeWorker) StartTimeReturns(result1 int64)
- func (fake *FakeWorker) StartTimeReturnsOnCall(i int, result1 int64)
- func (fake *FakeWorker) State() dbng.WorkerState
- func (fake *FakeWorker) StateCallCount() int
- func (fake *FakeWorker) StateReturns(result1 dbng.WorkerState)
- func (fake *FakeWorker) StateReturnsOnCall(i int, result1 dbng.WorkerState)
- func (fake *FakeWorker) Tags() []string
- func (fake *FakeWorker) TagsCallCount() int
- 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) TeamIDReturns(result1 int)
- func (fake *FakeWorker) TeamIDReturnsOnCall(i int, result1 int)
- func (fake *FakeWorker) TeamName() string
- func (fake *FakeWorker) TeamNameCallCount() int
- 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) VersionReturns(result1 *string)
- func (fake *FakeWorker) VersionReturnsOnCall(i int, result1 *string)
- type FakeWorkerBaseResourceTypeFactory
- func (fake *FakeWorkerBaseResourceTypeFactory) Find(name string, worker dbng.Worker) (*dbng.UsedWorkerBaseResourceType, bool, error)
- func (fake *FakeWorkerBaseResourceTypeFactory) FindArgsForCall(i int) (string, dbng.Worker)
- func (fake *FakeWorkerBaseResourceTypeFactory) FindCallCount() int
- func (fake *FakeWorkerBaseResourceTypeFactory) FindReturns(result1 *dbng.UsedWorkerBaseResourceType, result2 bool, result3 error)
- func (fake *FakeWorkerBaseResourceTypeFactory) FindReturnsOnCall(i int, result1 *dbng.UsedWorkerBaseResourceType, result2 bool, result3 error)
- func (fake *FakeWorkerBaseResourceTypeFactory) Invocations() map[string][][]interface{}
- type FakeWorkerFactory
- func (fake *FakeWorkerFactory) GetWorker(name string) (dbng.Worker, bool, error)
- func (fake *FakeWorkerFactory) GetWorkerArgsForCall(i int) string
- func (fake *FakeWorkerFactory) GetWorkerCallCount() int
- func (fake *FakeWorkerFactory) GetWorkerReturns(result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeWorkerFactory) GetWorkerReturnsOnCall(i int, result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeWorkerFactory) HeartbeatWorker(worker atc.Worker, ttl time.Duration) (dbng.Worker, error)
- func (fake *FakeWorkerFactory) HeartbeatWorkerArgsForCall(i int) (atc.Worker, time.Duration)
- func (fake *FakeWorkerFactory) HeartbeatWorkerCallCount() int
- func (fake *FakeWorkerFactory) HeartbeatWorkerReturns(result1 dbng.Worker, result2 error)
- func (fake *FakeWorkerFactory) HeartbeatWorkerReturnsOnCall(i int, result1 dbng.Worker, result2 error)
- func (fake *FakeWorkerFactory) Invocations() map[string][][]interface{}
- func (fake *FakeWorkerFactory) SaveWorker(atcWorker atc.Worker, ttl time.Duration) (dbng.Worker, error)
- func (fake *FakeWorkerFactory) SaveWorkerArgsForCall(i int) (atc.Worker, time.Duration)
- func (fake *FakeWorkerFactory) SaveWorkerCallCount() int
- func (fake *FakeWorkerFactory) SaveWorkerReturns(result1 dbng.Worker, result2 error)
- func (fake *FakeWorkerFactory) SaveWorkerReturnsOnCall(i int, result1 dbng.Worker, result2 error)
- func (fake *FakeWorkerFactory) Workers() ([]dbng.Worker, error)
- func (fake *FakeWorkerFactory) WorkersCallCount() int
- func (fake *FakeWorkerFactory) WorkersReturns(result1 []dbng.Worker, result2 error)
- func (fake *FakeWorkerFactory) WorkersReturnsOnCall(i int, result1 []dbng.Worker, result2 error)
- type FakeWorkerLifecycle
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkers() ([]string, error)
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersCallCount() int
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturns(result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) Invocations() map[string][][]interface{}
- func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkers() ([]string, error)
- func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersCallCount() int
- 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) StallUnresponsiveWorkersReturns(result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersReturnsOnCall(i int, result1 []string, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBaseResourceTypeFactory ¶
type FakeBaseResourceTypeFactory struct { FindStub func(name string) (*dbng.UsedBaseResourceType, bool, error) // contains filtered or unexported fields }
func (*FakeBaseResourceTypeFactory) Find ¶
func (fake *FakeBaseResourceTypeFactory) Find(name string) (*dbng.UsedBaseResourceType, bool, error)
func (*FakeBaseResourceTypeFactory) FindArgsForCall ¶
func (fake *FakeBaseResourceTypeFactory) FindArgsForCall(i int) string
func (*FakeBaseResourceTypeFactory) FindCallCount ¶
func (fake *FakeBaseResourceTypeFactory) FindCallCount() int
func (*FakeBaseResourceTypeFactory) FindReturns ¶
func (fake *FakeBaseResourceTypeFactory) FindReturns(result1 *dbng.UsedBaseResourceType, result2 bool, result3 error)
func (*FakeBaseResourceTypeFactory) FindReturnsOnCall ¶
func (fake *FakeBaseResourceTypeFactory) FindReturnsOnCall(i int, result1 *dbng.UsedBaseResourceType, result2 bool, result3 error)
func (*FakeBaseResourceTypeFactory) Invocations ¶
func (fake *FakeBaseResourceTypeFactory) Invocations() map[string][][]interface{}
type FakeBuild ¶
type FakeBuild struct { IDStub func() int NameStub func() string JobIDStub func() int JobNameStub func() string PipelineIDStub func() int PipelineNameStub func() string TeamIDStub func() int TeamNameStub func() string EngineStub func() string EngineMetadataStub func() string StatusStub func() dbng.BuildStatus StartTimeStub func() time.Time EndTimeStub func() time.Time ReapTimeStub func() time.Time IsManuallyTriggeredStub func() bool IsScheduledStub func() bool IsRunningStub func() bool ReloadStub func() (bool, error) InterceptibleStub func() (bool, error) AcquireTrackingLockStub func(logger lager.Logger, interval time.Duration) (lock.Lock, bool, error) PreparationStub func() (dbng.BuildPreparation, bool, error) StartStub func(string, string) (bool, error) SaveStatusStub func(s dbng.BuildStatus) error SetInterceptibleStub func(bool) error MarkAsFailedStub func(cause error) error EventsStub func(uint) (dbng.EventSource, error) SaveEventStub func(event atc.Event) error SaveInputStub func(input dbng.BuildInput) error SaveOutputStub func(vr dbng.VersionedResource, explicit bool) error UseInputsStub func(inputs []dbng.BuildInput) error ResourcesStub func() ([]dbng.BuildInput, []dbng.BuildOutput, error) GetVersionedResourcesStub func() (dbng.SavedVersionedResources, error) SaveImageResourceVersionStub func(planID atc.PlanID, resourceVersion atc.Version, resourceHash string) error PipelineStub func() (dbng.Pipeline, bool, error) FinishStub func(s dbng.BuildStatus) error DeleteStub func() (bool, error) AbortStub func() error AbortNotifierStub func() (dbng.Notifier, error) ScheduleStub func() (bool, error) // contains filtered or unexported fields }
func (*FakeBuild) AbortCallCount ¶
func (*FakeBuild) AbortNotifierCallCount ¶
func (*FakeBuild) AbortNotifierReturns ¶
func (*FakeBuild) AbortNotifierReturnsOnCall ¶
func (*FakeBuild) AbortReturns ¶
func (*FakeBuild) AbortReturnsOnCall ¶
func (*FakeBuild) AcquireTrackingLock ¶
func (*FakeBuild) AcquireTrackingLockArgsForCall ¶
func (*FakeBuild) AcquireTrackingLockCallCount ¶
func (*FakeBuild) AcquireTrackingLockReturns ¶
func (*FakeBuild) AcquireTrackingLockReturnsOnCall ¶
func (*FakeBuild) DeleteCallCount ¶
func (*FakeBuild) DeleteReturns ¶
func (*FakeBuild) DeleteReturnsOnCall ¶
func (*FakeBuild) EndTimeCallCount ¶
func (*FakeBuild) EndTimeReturns ¶
func (*FakeBuild) EndTimeReturnsOnCall ¶
func (*FakeBuild) EngineCallCount ¶
func (*FakeBuild) EngineMetadata ¶
func (*FakeBuild) EngineMetadataCallCount ¶
func (*FakeBuild) EngineMetadataReturns ¶
func (*FakeBuild) EngineMetadataReturnsOnCall ¶
func (*FakeBuild) EngineReturns ¶
func (*FakeBuild) EngineReturnsOnCall ¶
func (*FakeBuild) EventsArgsForCall ¶
func (*FakeBuild) EventsCallCount ¶
func (*FakeBuild) EventsReturns ¶
func (fake *FakeBuild) EventsReturns(result1 dbng.EventSource, result2 error)
func (*FakeBuild) EventsReturnsOnCall ¶
func (fake *FakeBuild) EventsReturnsOnCall(i int, result1 dbng.EventSource, result2 error)
func (*FakeBuild) FinishArgsForCall ¶
func (fake *FakeBuild) FinishArgsForCall(i int) dbng.BuildStatus
func (*FakeBuild) FinishCallCount ¶
func (*FakeBuild) FinishReturns ¶
func (*FakeBuild) FinishReturnsOnCall ¶
func (*FakeBuild) GetVersionedResources ¶
func (fake *FakeBuild) GetVersionedResources() (dbng.SavedVersionedResources, error)
func (*FakeBuild) GetVersionedResourcesCallCount ¶
func (*FakeBuild) GetVersionedResourcesReturns ¶
func (fake *FakeBuild) GetVersionedResourcesReturns(result1 dbng.SavedVersionedResources, result2 error)
func (*FakeBuild) GetVersionedResourcesReturnsOnCall ¶
func (fake *FakeBuild) GetVersionedResourcesReturnsOnCall(i int, result1 dbng.SavedVersionedResources, result2 error)
func (*FakeBuild) IDCallCount ¶
func (*FakeBuild) IDReturnsOnCall ¶
func (*FakeBuild) Interceptible ¶
func (*FakeBuild) InterceptibleCallCount ¶
func (*FakeBuild) InterceptibleReturns ¶
func (*FakeBuild) InterceptibleReturnsOnCall ¶
func (*FakeBuild) Invocations ¶
func (*FakeBuild) IsManuallyTriggered ¶
func (*FakeBuild) IsManuallyTriggeredCallCount ¶
func (*FakeBuild) IsManuallyTriggeredReturns ¶
func (*FakeBuild) IsManuallyTriggeredReturnsOnCall ¶
func (*FakeBuild) IsRunningCallCount ¶
func (*FakeBuild) IsRunningReturns ¶
func (*FakeBuild) IsRunningReturnsOnCall ¶
func (*FakeBuild) IsScheduled ¶
func (*FakeBuild) IsScheduledCallCount ¶
func (*FakeBuild) IsScheduledReturns ¶
func (*FakeBuild) IsScheduledReturnsOnCall ¶
func (*FakeBuild) JobIDCallCount ¶
func (*FakeBuild) JobIDReturns ¶
func (*FakeBuild) JobIDReturnsOnCall ¶
func (*FakeBuild) JobNameCallCount ¶
func (*FakeBuild) JobNameReturns ¶
func (*FakeBuild) JobNameReturnsOnCall ¶
func (*FakeBuild) MarkAsFailed ¶
func (*FakeBuild) MarkAsFailedArgsForCall ¶
func (*FakeBuild) MarkAsFailedCallCount ¶
func (*FakeBuild) MarkAsFailedReturns ¶
func (*FakeBuild) MarkAsFailedReturnsOnCall ¶
func (*FakeBuild) NameCallCount ¶
func (*FakeBuild) NameReturns ¶
func (*FakeBuild) NameReturnsOnCall ¶
func (*FakeBuild) PipelineCallCount ¶
func (*FakeBuild) PipelineID ¶
func (*FakeBuild) PipelineIDCallCount ¶
func (*FakeBuild) PipelineIDReturns ¶
func (*FakeBuild) PipelineIDReturnsOnCall ¶
func (*FakeBuild) PipelineName ¶
func (*FakeBuild) PipelineNameCallCount ¶
func (*FakeBuild) PipelineNameReturns ¶
func (*FakeBuild) PipelineNameReturnsOnCall ¶
func (*FakeBuild) PipelineReturns ¶
func (*FakeBuild) PipelineReturnsOnCall ¶
func (*FakeBuild) Preparation ¶
func (fake *FakeBuild) Preparation() (dbng.BuildPreparation, bool, error)
func (*FakeBuild) PreparationCallCount ¶
func (*FakeBuild) PreparationReturns ¶
func (fake *FakeBuild) PreparationReturns(result1 dbng.BuildPreparation, result2 bool, result3 error)
func (*FakeBuild) PreparationReturnsOnCall ¶
func (*FakeBuild) ReapTimeCallCount ¶
func (*FakeBuild) ReapTimeReturns ¶
func (*FakeBuild) ReapTimeReturnsOnCall ¶
func (*FakeBuild) ReloadCallCount ¶
func (*FakeBuild) ReloadReturns ¶
func (*FakeBuild) ReloadReturnsOnCall ¶
func (*FakeBuild) Resources ¶
func (fake *FakeBuild) Resources() ([]dbng.BuildInput, []dbng.BuildOutput, error)
func (*FakeBuild) ResourcesCallCount ¶
func (*FakeBuild) ResourcesReturns ¶
func (fake *FakeBuild) ResourcesReturns(result1 []dbng.BuildInput, result2 []dbng.BuildOutput, result3 error)
func (*FakeBuild) ResourcesReturnsOnCall ¶
func (fake *FakeBuild) ResourcesReturnsOnCall(i int, result1 []dbng.BuildInput, result2 []dbng.BuildOutput, result3 error)
func (*FakeBuild) SaveEventArgsForCall ¶
func (*FakeBuild) SaveEventCallCount ¶
func (*FakeBuild) SaveEventReturns ¶
func (*FakeBuild) SaveEventReturnsOnCall ¶
func (*FakeBuild) SaveImageResourceVersion ¶
func (*FakeBuild) SaveImageResourceVersionArgsForCall ¶
func (*FakeBuild) SaveImageResourceVersionCallCount ¶
func (*FakeBuild) SaveImageResourceVersionReturns ¶
func (*FakeBuild) SaveImageResourceVersionReturnsOnCall ¶
func (*FakeBuild) SaveInputArgsForCall ¶
func (fake *FakeBuild) SaveInputArgsForCall(i int) dbng.BuildInput
func (*FakeBuild) SaveInputCallCount ¶
func (*FakeBuild) SaveInputReturns ¶
func (*FakeBuild) SaveInputReturnsOnCall ¶
func (*FakeBuild) SaveOutput ¶
func (fake *FakeBuild) SaveOutput(vr dbng.VersionedResource, explicit bool) error
func (*FakeBuild) SaveOutputArgsForCall ¶
func (fake *FakeBuild) SaveOutputArgsForCall(i int) (dbng.VersionedResource, bool)
func (*FakeBuild) SaveOutputCallCount ¶
func (*FakeBuild) SaveOutputReturns ¶
func (*FakeBuild) SaveOutputReturnsOnCall ¶
func (*FakeBuild) SaveStatus ¶
func (fake *FakeBuild) SaveStatus(s dbng.BuildStatus) error
func (*FakeBuild) SaveStatusArgsForCall ¶
func (fake *FakeBuild) SaveStatusArgsForCall(i int) dbng.BuildStatus
func (*FakeBuild) SaveStatusCallCount ¶
func (*FakeBuild) SaveStatusReturns ¶
func (*FakeBuild) SaveStatusReturnsOnCall ¶
func (*FakeBuild) ScheduleCallCount ¶
func (*FakeBuild) ScheduleReturns ¶
func (*FakeBuild) ScheduleReturnsOnCall ¶
func (*FakeBuild) SetInterceptible ¶
func (*FakeBuild) SetInterceptibleArgsForCall ¶
func (*FakeBuild) SetInterceptibleCallCount ¶
func (*FakeBuild) SetInterceptibleReturns ¶
func (*FakeBuild) SetInterceptibleReturnsOnCall ¶
func (*FakeBuild) StartArgsForCall ¶
func (*FakeBuild) StartCallCount ¶
func (*FakeBuild) StartReturns ¶
func (*FakeBuild) StartReturnsOnCall ¶
func (*FakeBuild) StartTimeCallCount ¶
func (*FakeBuild) StartTimeReturns ¶
func (*FakeBuild) StartTimeReturnsOnCall ¶
func (*FakeBuild) Status ¶
func (fake *FakeBuild) Status() dbng.BuildStatus
func (*FakeBuild) StatusCallCount ¶
func (*FakeBuild) StatusReturns ¶
func (fake *FakeBuild) StatusReturns(result1 dbng.BuildStatus)
func (*FakeBuild) StatusReturnsOnCall ¶
func (fake *FakeBuild) StatusReturnsOnCall(i int, result1 dbng.BuildStatus)
func (*FakeBuild) TeamIDCallCount ¶
func (*FakeBuild) TeamIDReturns ¶
func (*FakeBuild) TeamIDReturnsOnCall ¶
func (*FakeBuild) TeamNameCallCount ¶
func (*FakeBuild) TeamNameReturns ¶
func (*FakeBuild) TeamNameReturnsOnCall ¶
func (*FakeBuild) UseInputsArgsForCall ¶
func (fake *FakeBuild) UseInputsArgsForCall(i int) []dbng.BuildInput
func (*FakeBuild) UseInputsCallCount ¶
func (*FakeBuild) UseInputsReturns ¶
func (*FakeBuild) UseInputsReturnsOnCall ¶
type FakeBuildFactory ¶
type FakeBuildFactory struct { BuildStub func(int) (dbng.Build, bool, error) PublicBuildsStub func(dbng.Page) ([]dbng.Build, dbng.Pagination, error) GetAllStartedBuildsStub func() ([]dbng.Build, error) MarkNonInterceptibleBuildsStub func() error // contains filtered or unexported fields }
func (*FakeBuildFactory) BuildArgsForCall ¶
func (fake *FakeBuildFactory) BuildArgsForCall(i int) int
func (*FakeBuildFactory) BuildCallCount ¶
func (fake *FakeBuildFactory) BuildCallCount() int
func (*FakeBuildFactory) BuildReturns ¶
func (fake *FakeBuildFactory) BuildReturns(result1 dbng.Build, result2 bool, result3 error)
func (*FakeBuildFactory) BuildReturnsOnCall ¶
func (*FakeBuildFactory) GetAllStartedBuilds ¶
func (fake *FakeBuildFactory) GetAllStartedBuilds() ([]dbng.Build, error)
func (*FakeBuildFactory) GetAllStartedBuildsCallCount ¶
func (fake *FakeBuildFactory) GetAllStartedBuildsCallCount() int
func (*FakeBuildFactory) GetAllStartedBuildsReturns ¶
func (fake *FakeBuildFactory) GetAllStartedBuildsReturns(result1 []dbng.Build, result2 error)
func (*FakeBuildFactory) GetAllStartedBuildsReturnsOnCall ¶
func (fake *FakeBuildFactory) GetAllStartedBuildsReturnsOnCall(i int, result1 []dbng.Build, result2 error)
func (*FakeBuildFactory) Invocations ¶
func (fake *FakeBuildFactory) Invocations() map[string][][]interface{}
func (*FakeBuildFactory) MarkNonInterceptibleBuilds ¶
func (fake *FakeBuildFactory) MarkNonInterceptibleBuilds() error
func (*FakeBuildFactory) MarkNonInterceptibleBuildsCallCount ¶
func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsCallCount() int
func (*FakeBuildFactory) MarkNonInterceptibleBuildsReturns ¶
func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsReturns(result1 error)
func (*FakeBuildFactory) MarkNonInterceptibleBuildsReturnsOnCall ¶
func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsReturnsOnCall(i int, result1 error)
func (*FakeBuildFactory) PublicBuilds ¶
func (fake *FakeBuildFactory) PublicBuilds(arg1 dbng.Page) ([]dbng.Build, dbng.Pagination, error)
func (*FakeBuildFactory) PublicBuildsArgsForCall ¶
func (fake *FakeBuildFactory) PublicBuildsArgsForCall(i int) dbng.Page
func (*FakeBuildFactory) PublicBuildsCallCount ¶
func (fake *FakeBuildFactory) PublicBuildsCallCount() int
func (*FakeBuildFactory) PublicBuildsReturns ¶
func (fake *FakeBuildFactory) PublicBuildsReturns(result1 []dbng.Build, result2 dbng.Pagination, result3 error)
func (*FakeBuildFactory) PublicBuildsReturnsOnCall ¶
func (fake *FakeBuildFactory) PublicBuildsReturnsOnCall(i int, result1 []dbng.Build, result2 dbng.Pagination, result3 error)
type FakeConn ¶
type FakeConn struct { BusStub func() dbng.NotificationsBus EncryptionStrategyStub func() dbng.EncryptionStrategy BeginStub func() (dbng.Tx, error) DriverStub func() driver.Driver ExecStub func(query string, args ...interface{}) (sql.Result, error) PingStub func() error PrepareStub func(query string) (*sql.Stmt, error) QueryStub func(query string, args ...interface{}) (*sql.Rows, error) QueryRowStub func(query string, args ...interface{}) squirrel.RowScanner SetMaxIdleConnsStub func(n int) SetMaxOpenConnsStub func(n int) StatsStub func() sql.DBStats CloseStub func() error // contains filtered or unexported fields }
func (*FakeConn) BeginCallCount ¶
func (*FakeConn) BeginReturnsOnCall ¶
func (*FakeConn) Bus ¶
func (fake *FakeConn) Bus() dbng.NotificationsBus
func (*FakeConn) BusCallCount ¶
func (*FakeConn) BusReturns ¶
func (fake *FakeConn) BusReturns(result1 dbng.NotificationsBus)
func (*FakeConn) BusReturnsOnCall ¶
func (fake *FakeConn) BusReturnsOnCall(i int, result1 dbng.NotificationsBus)
func (*FakeConn) CloseCallCount ¶
func (*FakeConn) CloseReturns ¶
func (*FakeConn) CloseReturnsOnCall ¶
func (*FakeConn) DriverCallCount ¶
func (*FakeConn) DriverReturns ¶
func (*FakeConn) DriverReturnsOnCall ¶
func (*FakeConn) EncryptionStrategy ¶
func (fake *FakeConn) EncryptionStrategy() dbng.EncryptionStrategy
func (*FakeConn) EncryptionStrategyCallCount ¶
func (*FakeConn) EncryptionStrategyReturns ¶
func (fake *FakeConn) EncryptionStrategyReturns(result1 dbng.EncryptionStrategy)
func (*FakeConn) EncryptionStrategyReturnsOnCall ¶
func (fake *FakeConn) EncryptionStrategyReturnsOnCall(i int, result1 dbng.EncryptionStrategy)
func (*FakeConn) ExecArgsForCall ¶
func (*FakeConn) ExecCallCount ¶
func (*FakeConn) ExecReturnsOnCall ¶
func (*FakeConn) Invocations ¶
func (*FakeConn) PingCallCount ¶
func (*FakeConn) PingReturns ¶
func (*FakeConn) PingReturnsOnCall ¶
func (*FakeConn) PrepareArgsForCall ¶
func (*FakeConn) PrepareCallCount ¶
func (*FakeConn) PrepareReturns ¶
func (*FakeConn) PrepareReturnsOnCall ¶
func (*FakeConn) QueryArgsForCall ¶
func (*FakeConn) QueryCallCount ¶
func (*FakeConn) QueryReturns ¶
func (*FakeConn) QueryReturnsOnCall ¶
func (*FakeConn) QueryRow ¶
func (fake *FakeConn) QueryRow(query string, args ...interface{}) squirrel.RowScanner
func (*FakeConn) QueryRowArgsForCall ¶
func (*FakeConn) QueryRowCallCount ¶
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) SetMaxOpenConns ¶
func (*FakeConn) SetMaxOpenConnsArgsForCall ¶
func (*FakeConn) SetMaxOpenConnsCallCount ¶
func (*FakeConn) StatsCallCount ¶
func (*FakeConn) StatsReturns ¶
type FakeContainer ¶
type FakeContainer struct { IDStub func() int HandleStub func() string WorkerNameStub func() string MetadataStub func() dbng.ContainerMetadata // contains filtered or unexported fields }
func (*FakeContainer) Handle ¶
func (fake *FakeContainer) Handle() string
func (*FakeContainer) HandleCallCount ¶
func (fake *FakeContainer) HandleCallCount() int
func (*FakeContainer) HandleReturns ¶
func (fake *FakeContainer) HandleReturns(result1 string)
func (*FakeContainer) HandleReturnsOnCall ¶
func (fake *FakeContainer) HandleReturnsOnCall(i int, result1 string)
func (*FakeContainer) ID ¶
func (fake *FakeContainer) ID() int
func (*FakeContainer) IDCallCount ¶
func (fake *FakeContainer) IDCallCount() int
func (*FakeContainer) IDReturns ¶
func (fake *FakeContainer) IDReturns(result1 int)
func (*FakeContainer) IDReturnsOnCall ¶
func (fake *FakeContainer) IDReturnsOnCall(i int, result1 int)
func (*FakeContainer) Invocations ¶
func (fake *FakeContainer) Invocations() map[string][][]interface{}
func (*FakeContainer) Metadata ¶
func (fake *FakeContainer) Metadata() dbng.ContainerMetadata
func (*FakeContainer) MetadataCallCount ¶
func (fake *FakeContainer) MetadataCallCount() int
func (*FakeContainer) MetadataReturns ¶
func (fake *FakeContainer) MetadataReturns(result1 dbng.ContainerMetadata)
func (*FakeContainer) MetadataReturnsOnCall ¶
func (fake *FakeContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
func (*FakeContainer) WorkerName ¶
func (fake *FakeContainer) WorkerName() string
func (*FakeContainer) WorkerNameCallCount ¶
func (fake *FakeContainer) WorkerNameCallCount() int
func (*FakeContainer) WorkerNameReturns ¶
func (fake *FakeContainer) WorkerNameReturns(result1 string)
func (*FakeContainer) WorkerNameReturnsOnCall ¶
func (fake *FakeContainer) WorkerNameReturnsOnCall(i int, result1 string)
type FakeContainerFactory ¶
type FakeContainerFactory struct { FindContainersForDeletionStub func() ([]dbng.CreatingContainer, []dbng.CreatedContainer, []dbng.DestroyingContainer, error) // contains filtered or unexported fields }
func (*FakeContainerFactory) FindContainersForDeletion ¶
func (fake *FakeContainerFactory) FindContainersForDeletion() ([]dbng.CreatingContainer, []dbng.CreatedContainer, []dbng.DestroyingContainer, error)
func (*FakeContainerFactory) FindContainersForDeletionCallCount ¶
func (fake *FakeContainerFactory) FindContainersForDeletionCallCount() int
func (*FakeContainerFactory) FindContainersForDeletionReturns ¶
func (fake *FakeContainerFactory) FindContainersForDeletionReturns(result1 []dbng.CreatingContainer, result2 []dbng.CreatedContainer, result3 []dbng.DestroyingContainer, result4 error)
func (*FakeContainerFactory) FindContainersForDeletionReturnsOnCall ¶
func (fake *FakeContainerFactory) FindContainersForDeletionReturnsOnCall(i int, result1 []dbng.CreatingContainer, result2 []dbng.CreatedContainer, result3 []dbng.DestroyingContainer, result4 error)
func (*FakeContainerFactory) Invocations ¶
func (fake *FakeContainerFactory) Invocations() map[string][][]interface{}
type FakeCreatedContainer ¶
type FakeCreatedContainer struct { IDStub func() int HandleStub func() string WorkerNameStub func() string MetadataStub func() dbng.ContainerMetadata DiscontinueStub func() (dbng.DestroyingContainer, error) DestroyingStub func() (dbng.DestroyingContainer, error) IsHijackedStub func() bool MarkAsHijackedStub func() error // contains filtered or unexported fields }
func (*FakeCreatedContainer) Destroying ¶
func (fake *FakeCreatedContainer) Destroying() (dbng.DestroyingContainer, error)
func (*FakeCreatedContainer) DestroyingCallCount ¶
func (fake *FakeCreatedContainer) DestroyingCallCount() int
func (*FakeCreatedContainer) DestroyingReturns ¶
func (fake *FakeCreatedContainer) DestroyingReturns(result1 dbng.DestroyingContainer, result2 error)
func (*FakeCreatedContainer) DestroyingReturnsOnCall ¶
func (fake *FakeCreatedContainer) DestroyingReturnsOnCall(i int, result1 dbng.DestroyingContainer, result2 error)
func (*FakeCreatedContainer) Discontinue ¶
func (fake *FakeCreatedContainer) Discontinue() (dbng.DestroyingContainer, error)
func (*FakeCreatedContainer) DiscontinueCallCount ¶
func (fake *FakeCreatedContainer) DiscontinueCallCount() int
func (*FakeCreatedContainer) DiscontinueReturns ¶
func (fake *FakeCreatedContainer) DiscontinueReturns(result1 dbng.DestroyingContainer, result2 error)
func (*FakeCreatedContainer) DiscontinueReturnsOnCall ¶
func (fake *FakeCreatedContainer) DiscontinueReturnsOnCall(i int, result1 dbng.DestroyingContainer, result2 error)
func (*FakeCreatedContainer) Handle ¶
func (fake *FakeCreatedContainer) Handle() string
func (*FakeCreatedContainer) HandleCallCount ¶
func (fake *FakeCreatedContainer) HandleCallCount() int
func (*FakeCreatedContainer) HandleReturns ¶
func (fake *FakeCreatedContainer) HandleReturns(result1 string)
func (*FakeCreatedContainer) HandleReturnsOnCall ¶
func (fake *FakeCreatedContainer) HandleReturnsOnCall(i int, result1 string)
func (*FakeCreatedContainer) ID ¶
func (fake *FakeCreatedContainer) ID() int
func (*FakeCreatedContainer) IDCallCount ¶
func (fake *FakeCreatedContainer) IDCallCount() int
func (*FakeCreatedContainer) IDReturns ¶
func (fake *FakeCreatedContainer) IDReturns(result1 int)
func (*FakeCreatedContainer) IDReturnsOnCall ¶
func (fake *FakeCreatedContainer) IDReturnsOnCall(i int, result1 int)
func (*FakeCreatedContainer) Invocations ¶
func (fake *FakeCreatedContainer) Invocations() map[string][][]interface{}
func (*FakeCreatedContainer) IsHijacked ¶
func (fake *FakeCreatedContainer) IsHijacked() bool
func (*FakeCreatedContainer) IsHijackedCallCount ¶
func (fake *FakeCreatedContainer) IsHijackedCallCount() int
func (*FakeCreatedContainer) IsHijackedReturns ¶
func (fake *FakeCreatedContainer) IsHijackedReturns(result1 bool)
func (*FakeCreatedContainer) IsHijackedReturnsOnCall ¶
func (fake *FakeCreatedContainer) IsHijackedReturnsOnCall(i int, result1 bool)
func (*FakeCreatedContainer) MarkAsHijacked ¶
func (fake *FakeCreatedContainer) MarkAsHijacked() error
func (*FakeCreatedContainer) MarkAsHijackedCallCount ¶
func (fake *FakeCreatedContainer) MarkAsHijackedCallCount() int
func (*FakeCreatedContainer) MarkAsHijackedReturns ¶
func (fake *FakeCreatedContainer) MarkAsHijackedReturns(result1 error)
func (*FakeCreatedContainer) MarkAsHijackedReturnsOnCall ¶
func (fake *FakeCreatedContainer) MarkAsHijackedReturnsOnCall(i int, result1 error)
func (*FakeCreatedContainer) Metadata ¶
func (fake *FakeCreatedContainer) Metadata() dbng.ContainerMetadata
func (*FakeCreatedContainer) MetadataCallCount ¶
func (fake *FakeCreatedContainer) MetadataCallCount() int
func (*FakeCreatedContainer) MetadataReturns ¶
func (fake *FakeCreatedContainer) MetadataReturns(result1 dbng.ContainerMetadata)
func (*FakeCreatedContainer) MetadataReturnsOnCall ¶
func (fake *FakeCreatedContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
func (*FakeCreatedContainer) WorkerName ¶
func (fake *FakeCreatedContainer) WorkerName() string
func (*FakeCreatedContainer) WorkerNameCallCount ¶
func (fake *FakeCreatedContainer) WorkerNameCallCount() int
func (*FakeCreatedContainer) WorkerNameReturns ¶
func (fake *FakeCreatedContainer) WorkerNameReturns(result1 string)
func (*FakeCreatedContainer) WorkerNameReturnsOnCall ¶
func (fake *FakeCreatedContainer) WorkerNameReturnsOnCall(i int, result1 string)
type FakeCreatedVolume ¶
type FakeCreatedVolume struct { HandleStub func() string PathStub func() string TypeStub func() dbng.VolumeType CreateChildForContainerStub func(dbng.CreatingContainer, string) (dbng.CreatingVolume, error) DestroyingStub func() (dbng.DestroyingVolume, error) WorkerStub func() dbng.Worker SizeInBytesStub func() int64 InitializeStub func() error IsInitializedStub func() (bool, error) ContainerHandleStub func() string ParentHandleStub func() string ResourceTypeStub func() (*dbng.VolumeResourceType, error) BaseResourceTypeStub func() (*dbng.UsedWorkerBaseResourceType, error) // contains filtered or unexported fields }
func (*FakeCreatedVolume) BaseResourceType ¶
func (fake *FakeCreatedVolume) BaseResourceType() (*dbng.UsedWorkerBaseResourceType, error)
func (*FakeCreatedVolume) BaseResourceTypeCallCount ¶
func (fake *FakeCreatedVolume) BaseResourceTypeCallCount() int
func (*FakeCreatedVolume) BaseResourceTypeReturns ¶
func (fake *FakeCreatedVolume) BaseResourceTypeReturns(result1 *dbng.UsedWorkerBaseResourceType, result2 error)
func (*FakeCreatedVolume) BaseResourceTypeReturnsOnCall ¶
func (fake *FakeCreatedVolume) BaseResourceTypeReturnsOnCall(i int, result1 *dbng.UsedWorkerBaseResourceType, result2 error)
func (*FakeCreatedVolume) ContainerHandle ¶
func (fake *FakeCreatedVolume) ContainerHandle() string
func (*FakeCreatedVolume) ContainerHandleCallCount ¶
func (fake *FakeCreatedVolume) ContainerHandleCallCount() int
func (*FakeCreatedVolume) ContainerHandleReturns ¶
func (fake *FakeCreatedVolume) ContainerHandleReturns(result1 string)
func (*FakeCreatedVolume) ContainerHandleReturnsOnCall ¶
func (fake *FakeCreatedVolume) ContainerHandleReturnsOnCall(i int, result1 string)
func (*FakeCreatedVolume) CreateChildForContainer ¶
func (fake *FakeCreatedVolume) CreateChildForContainer(arg1 dbng.CreatingContainer, arg2 string) (dbng.CreatingVolume, error)
func (*FakeCreatedVolume) CreateChildForContainerArgsForCall ¶
func (fake *FakeCreatedVolume) CreateChildForContainerArgsForCall(i int) (dbng.CreatingContainer, string)
func (*FakeCreatedVolume) CreateChildForContainerCallCount ¶
func (fake *FakeCreatedVolume) CreateChildForContainerCallCount() int
func (*FakeCreatedVolume) CreateChildForContainerReturns ¶
func (fake *FakeCreatedVolume) CreateChildForContainerReturns(result1 dbng.CreatingVolume, result2 error)
func (*FakeCreatedVolume) CreateChildForContainerReturnsOnCall ¶
func (fake *FakeCreatedVolume) CreateChildForContainerReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
func (*FakeCreatedVolume) Destroying ¶
func (fake *FakeCreatedVolume) Destroying() (dbng.DestroyingVolume, error)
func (*FakeCreatedVolume) DestroyingCallCount ¶
func (fake *FakeCreatedVolume) DestroyingCallCount() int
func (*FakeCreatedVolume) DestroyingReturns ¶
func (fake *FakeCreatedVolume) DestroyingReturns(result1 dbng.DestroyingVolume, result2 error)
func (*FakeCreatedVolume) DestroyingReturnsOnCall ¶
func (fake *FakeCreatedVolume) DestroyingReturnsOnCall(i int, result1 dbng.DestroyingVolume, result2 error)
func (*FakeCreatedVolume) Handle ¶
func (fake *FakeCreatedVolume) Handle() string
func (*FakeCreatedVolume) HandleCallCount ¶
func (fake *FakeCreatedVolume) HandleCallCount() int
func (*FakeCreatedVolume) HandleReturns ¶
func (fake *FakeCreatedVolume) HandleReturns(result1 string)
func (*FakeCreatedVolume) HandleReturnsOnCall ¶
func (fake *FakeCreatedVolume) HandleReturnsOnCall(i int, result1 string)
func (*FakeCreatedVolume) Initialize ¶
func (fake *FakeCreatedVolume) Initialize() error
func (*FakeCreatedVolume) InitializeCallCount ¶
func (fake *FakeCreatedVolume) InitializeCallCount() int
func (*FakeCreatedVolume) InitializeReturns ¶
func (fake *FakeCreatedVolume) InitializeReturns(result1 error)
func (*FakeCreatedVolume) InitializeReturnsOnCall ¶
func (fake *FakeCreatedVolume) InitializeReturnsOnCall(i int, result1 error)
func (*FakeCreatedVolume) Invocations ¶
func (fake *FakeCreatedVolume) Invocations() map[string][][]interface{}
func (*FakeCreatedVolume) IsInitialized ¶
func (fake *FakeCreatedVolume) IsInitialized() (bool, error)
func (*FakeCreatedVolume) IsInitializedCallCount ¶
func (fake *FakeCreatedVolume) IsInitializedCallCount() int
func (*FakeCreatedVolume) IsInitializedReturns ¶
func (fake *FakeCreatedVolume) IsInitializedReturns(result1 bool, result2 error)
func (*FakeCreatedVolume) IsInitializedReturnsOnCall ¶
func (fake *FakeCreatedVolume) IsInitializedReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeCreatedVolume) ParentHandle ¶
func (fake *FakeCreatedVolume) ParentHandle() string
func (*FakeCreatedVolume) ParentHandleCallCount ¶
func (fake *FakeCreatedVolume) ParentHandleCallCount() int
func (*FakeCreatedVolume) ParentHandleReturns ¶
func (fake *FakeCreatedVolume) ParentHandleReturns(result1 string)
func (*FakeCreatedVolume) ParentHandleReturnsOnCall ¶
func (fake *FakeCreatedVolume) ParentHandleReturnsOnCall(i int, result1 string)
func (*FakeCreatedVolume) Path ¶
func (fake *FakeCreatedVolume) Path() string
func (*FakeCreatedVolume) PathCallCount ¶
func (fake *FakeCreatedVolume) PathCallCount() int
func (*FakeCreatedVolume) PathReturns ¶
func (fake *FakeCreatedVolume) PathReturns(result1 string)
func (*FakeCreatedVolume) PathReturnsOnCall ¶
func (fake *FakeCreatedVolume) PathReturnsOnCall(i int, result1 string)
func (*FakeCreatedVolume) ResourceType ¶
func (fake *FakeCreatedVolume) ResourceType() (*dbng.VolumeResourceType, error)
func (*FakeCreatedVolume) ResourceTypeCallCount ¶
func (fake *FakeCreatedVolume) ResourceTypeCallCount() int
func (*FakeCreatedVolume) ResourceTypeReturns ¶
func (fake *FakeCreatedVolume) ResourceTypeReturns(result1 *dbng.VolumeResourceType, result2 error)
func (*FakeCreatedVolume) ResourceTypeReturnsOnCall ¶
func (fake *FakeCreatedVolume) ResourceTypeReturnsOnCall(i int, result1 *dbng.VolumeResourceType, result2 error)
func (*FakeCreatedVolume) SizeInBytes ¶
func (fake *FakeCreatedVolume) SizeInBytes() int64
func (*FakeCreatedVolume) SizeInBytesCallCount ¶
func (fake *FakeCreatedVolume) SizeInBytesCallCount() int
func (*FakeCreatedVolume) SizeInBytesReturns ¶
func (fake *FakeCreatedVolume) SizeInBytesReturns(result1 int64)
func (*FakeCreatedVolume) SizeInBytesReturnsOnCall ¶
func (fake *FakeCreatedVolume) SizeInBytesReturnsOnCall(i int, result1 int64)
func (*FakeCreatedVolume) Type ¶
func (fake *FakeCreatedVolume) Type() dbng.VolumeType
func (*FakeCreatedVolume) TypeCallCount ¶
func (fake *FakeCreatedVolume) TypeCallCount() int
func (*FakeCreatedVolume) TypeReturns ¶
func (fake *FakeCreatedVolume) TypeReturns(result1 dbng.VolumeType)
func (*FakeCreatedVolume) TypeReturnsOnCall ¶
func (fake *FakeCreatedVolume) TypeReturnsOnCall(i int, result1 dbng.VolumeType)
func (*FakeCreatedVolume) Worker ¶
func (fake *FakeCreatedVolume) Worker() dbng.Worker
func (*FakeCreatedVolume) WorkerCallCount ¶
func (fake *FakeCreatedVolume) WorkerCallCount() int
func (*FakeCreatedVolume) WorkerReturns ¶
func (fake *FakeCreatedVolume) WorkerReturns(result1 dbng.Worker)
func (*FakeCreatedVolume) WorkerReturnsOnCall ¶
func (fake *FakeCreatedVolume) WorkerReturnsOnCall(i int, result1 dbng.Worker)
type FakeCreatingContainer ¶
type FakeCreatingContainer struct { IDStub func() int HandleStub func() string WorkerNameStub func() string MetadataStub func() dbng.ContainerMetadata CreatedStub func() (dbng.CreatedContainer, error) // contains filtered or unexported fields }
func (*FakeCreatingContainer) Created ¶
func (fake *FakeCreatingContainer) Created() (dbng.CreatedContainer, error)
func (*FakeCreatingContainer) CreatedCallCount ¶
func (fake *FakeCreatingContainer) CreatedCallCount() int
func (*FakeCreatingContainer) CreatedReturns ¶
func (fake *FakeCreatingContainer) CreatedReturns(result1 dbng.CreatedContainer, result2 error)
func (*FakeCreatingContainer) CreatedReturnsOnCall ¶
func (fake *FakeCreatingContainer) CreatedReturnsOnCall(i int, result1 dbng.CreatedContainer, result2 error)
func (*FakeCreatingContainer) Handle ¶
func (fake *FakeCreatingContainer) Handle() string
func (*FakeCreatingContainer) HandleCallCount ¶
func (fake *FakeCreatingContainer) HandleCallCount() int
func (*FakeCreatingContainer) HandleReturns ¶
func (fake *FakeCreatingContainer) HandleReturns(result1 string)
func (*FakeCreatingContainer) HandleReturnsOnCall ¶
func (fake *FakeCreatingContainer) HandleReturnsOnCall(i int, result1 string)
func (*FakeCreatingContainer) ID ¶
func (fake *FakeCreatingContainer) ID() int
func (*FakeCreatingContainer) IDCallCount ¶
func (fake *FakeCreatingContainer) IDCallCount() int
func (*FakeCreatingContainer) IDReturns ¶
func (fake *FakeCreatingContainer) IDReturns(result1 int)
func (*FakeCreatingContainer) IDReturnsOnCall ¶
func (fake *FakeCreatingContainer) IDReturnsOnCall(i int, result1 int)
func (*FakeCreatingContainer) Invocations ¶
func (fake *FakeCreatingContainer) Invocations() map[string][][]interface{}
func (*FakeCreatingContainer) Metadata ¶
func (fake *FakeCreatingContainer) Metadata() dbng.ContainerMetadata
func (*FakeCreatingContainer) MetadataCallCount ¶
func (fake *FakeCreatingContainer) MetadataCallCount() int
func (*FakeCreatingContainer) MetadataReturns ¶
func (fake *FakeCreatingContainer) MetadataReturns(result1 dbng.ContainerMetadata)
func (*FakeCreatingContainer) MetadataReturnsOnCall ¶
func (fake *FakeCreatingContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
func (*FakeCreatingContainer) WorkerName ¶
func (fake *FakeCreatingContainer) WorkerName() string
func (*FakeCreatingContainer) WorkerNameCallCount ¶
func (fake *FakeCreatingContainer) WorkerNameCallCount() int
func (*FakeCreatingContainer) WorkerNameReturns ¶
func (fake *FakeCreatingContainer) WorkerNameReturns(result1 string)
func (*FakeCreatingContainer) WorkerNameReturnsOnCall ¶
func (fake *FakeCreatingContainer) WorkerNameReturnsOnCall(i int, result1 string)
type FakeCreatingVolume ¶
type FakeCreatingVolume struct { HandleStub func() string IDStub func() int CreatedStub func() (dbng.CreatedVolume, error) // contains filtered or unexported fields }
func (*FakeCreatingVolume) Created ¶
func (fake *FakeCreatingVolume) Created() (dbng.CreatedVolume, error)
func (*FakeCreatingVolume) CreatedCallCount ¶
func (fake *FakeCreatingVolume) CreatedCallCount() int
func (*FakeCreatingVolume) CreatedReturns ¶
func (fake *FakeCreatingVolume) CreatedReturns(result1 dbng.CreatedVolume, result2 error)
func (*FakeCreatingVolume) CreatedReturnsOnCall ¶
func (fake *FakeCreatingVolume) CreatedReturnsOnCall(i int, result1 dbng.CreatedVolume, result2 error)
func (*FakeCreatingVolume) Handle ¶
func (fake *FakeCreatingVolume) Handle() string
func (*FakeCreatingVolume) HandleCallCount ¶
func (fake *FakeCreatingVolume) HandleCallCount() int
func (*FakeCreatingVolume) HandleReturns ¶
func (fake *FakeCreatingVolume) HandleReturns(result1 string)
func (*FakeCreatingVolume) HandleReturnsOnCall ¶
func (fake *FakeCreatingVolume) HandleReturnsOnCall(i int, result1 string)
func (*FakeCreatingVolume) ID ¶
func (fake *FakeCreatingVolume) ID() int
func (*FakeCreatingVolume) IDCallCount ¶
func (fake *FakeCreatingVolume) IDCallCount() int
func (*FakeCreatingVolume) IDReturns ¶
func (fake *FakeCreatingVolume) IDReturns(result1 int)
func (*FakeCreatingVolume) IDReturnsOnCall ¶
func (fake *FakeCreatingVolume) IDReturnsOnCall(i int, result1 int)
func (*FakeCreatingVolume) Invocations ¶
func (fake *FakeCreatingVolume) Invocations() map[string][][]interface{}
type FakeDestroyingContainer ¶
type FakeDestroyingContainer struct { IDStub func() int HandleStub func() string WorkerNameStub func() string MetadataStub func() dbng.ContainerMetadata DestroyStub func() (bool, error) IsDiscontinuedStub func() bool // contains filtered or unexported fields }
func (*FakeDestroyingContainer) Destroy ¶
func (fake *FakeDestroyingContainer) Destroy() (bool, error)
func (*FakeDestroyingContainer) DestroyCallCount ¶
func (fake *FakeDestroyingContainer) DestroyCallCount() int
func (*FakeDestroyingContainer) DestroyReturns ¶
func (fake *FakeDestroyingContainer) DestroyReturns(result1 bool, result2 error)
func (*FakeDestroyingContainer) DestroyReturnsOnCall ¶
func (fake *FakeDestroyingContainer) DestroyReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeDestroyingContainer) Handle ¶
func (fake *FakeDestroyingContainer) Handle() string
func (*FakeDestroyingContainer) HandleCallCount ¶
func (fake *FakeDestroyingContainer) HandleCallCount() int
func (*FakeDestroyingContainer) HandleReturns ¶
func (fake *FakeDestroyingContainer) HandleReturns(result1 string)
func (*FakeDestroyingContainer) HandleReturnsOnCall ¶
func (fake *FakeDestroyingContainer) HandleReturnsOnCall(i int, result1 string)
func (*FakeDestroyingContainer) ID ¶
func (fake *FakeDestroyingContainer) ID() int
func (*FakeDestroyingContainer) IDCallCount ¶
func (fake *FakeDestroyingContainer) IDCallCount() int
func (*FakeDestroyingContainer) IDReturns ¶
func (fake *FakeDestroyingContainer) IDReturns(result1 int)
func (*FakeDestroyingContainer) IDReturnsOnCall ¶
func (fake *FakeDestroyingContainer) IDReturnsOnCall(i int, result1 int)
func (*FakeDestroyingContainer) Invocations ¶
func (fake *FakeDestroyingContainer) Invocations() map[string][][]interface{}
func (*FakeDestroyingContainer) IsDiscontinued ¶
func (fake *FakeDestroyingContainer) IsDiscontinued() bool
func (*FakeDestroyingContainer) IsDiscontinuedCallCount ¶
func (fake *FakeDestroyingContainer) IsDiscontinuedCallCount() int
func (*FakeDestroyingContainer) IsDiscontinuedReturns ¶
func (fake *FakeDestroyingContainer) IsDiscontinuedReturns(result1 bool)
func (*FakeDestroyingContainer) IsDiscontinuedReturnsOnCall ¶
func (fake *FakeDestroyingContainer) IsDiscontinuedReturnsOnCall(i int, result1 bool)
func (*FakeDestroyingContainer) Metadata ¶
func (fake *FakeDestroyingContainer) Metadata() dbng.ContainerMetadata
func (*FakeDestroyingContainer) MetadataCallCount ¶
func (fake *FakeDestroyingContainer) MetadataCallCount() int
func (*FakeDestroyingContainer) MetadataReturns ¶
func (fake *FakeDestroyingContainer) MetadataReturns(result1 dbng.ContainerMetadata)
func (*FakeDestroyingContainer) MetadataReturnsOnCall ¶
func (fake *FakeDestroyingContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
func (*FakeDestroyingContainer) WorkerName ¶
func (fake *FakeDestroyingContainer) WorkerName() string
func (*FakeDestroyingContainer) WorkerNameCallCount ¶
func (fake *FakeDestroyingContainer) WorkerNameCallCount() int
func (*FakeDestroyingContainer) WorkerNameReturns ¶
func (fake *FakeDestroyingContainer) WorkerNameReturns(result1 string)
func (*FakeDestroyingContainer) WorkerNameReturnsOnCall ¶
func (fake *FakeDestroyingContainer) WorkerNameReturnsOnCall(i int, result1 string)
type FakeEncryptionStrategy ¶
type FakeEncryptionStrategy struct { EncryptStub func([]byte) (string, *string, error) DecryptStub func(string, *string) ([]byte, error) // contains filtered or unexported fields }
func (*FakeEncryptionStrategy) Decrypt ¶
func (fake *FakeEncryptionStrategy) Decrypt(arg1 string, arg2 *string) ([]byte, error)
func (*FakeEncryptionStrategy) DecryptArgsForCall ¶
func (fake *FakeEncryptionStrategy) DecryptArgsForCall(i int) (string, *string)
func (*FakeEncryptionStrategy) DecryptCallCount ¶
func (fake *FakeEncryptionStrategy) DecryptCallCount() int
func (*FakeEncryptionStrategy) DecryptReturns ¶
func (fake *FakeEncryptionStrategy) DecryptReturns(result1 []byte, result2 error)
func (*FakeEncryptionStrategy) DecryptReturnsOnCall ¶
func (fake *FakeEncryptionStrategy) DecryptReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeEncryptionStrategy) Encrypt ¶
func (fake *FakeEncryptionStrategy) Encrypt(arg1 []byte) (string, *string, error)
func (*FakeEncryptionStrategy) EncryptArgsForCall ¶
func (fake *FakeEncryptionStrategy) EncryptArgsForCall(i int) []byte
func (*FakeEncryptionStrategy) EncryptCallCount ¶
func (fake *FakeEncryptionStrategy) EncryptCallCount() int
func (*FakeEncryptionStrategy) EncryptReturns ¶
func (fake *FakeEncryptionStrategy) EncryptReturns(result1 string, result2 *string, result3 error)
func (*FakeEncryptionStrategy) EncryptReturnsOnCall ¶
func (fake *FakeEncryptionStrategy) EncryptReturnsOnCall(i int, result1 string, result2 *string, result3 error)
func (*FakeEncryptionStrategy) Invocations ¶
func (fake *FakeEncryptionStrategy) Invocations() map[string][][]interface{}
type FakeEventSource ¶
type FakeEventSource struct { NextStub func() (event.Envelope, error) CloseStub func() error // contains filtered or unexported fields }
func (*FakeEventSource) Close ¶
func (fake *FakeEventSource) Close() error
func (*FakeEventSource) CloseCallCount ¶
func (fake *FakeEventSource) CloseCallCount() int
func (*FakeEventSource) CloseReturns ¶
func (fake *FakeEventSource) CloseReturns(result1 error)
func (*FakeEventSource) CloseReturnsOnCall ¶
func (fake *FakeEventSource) CloseReturnsOnCall(i int, result1 error)
func (*FakeEventSource) Invocations ¶
func (fake *FakeEventSource) Invocations() map[string][][]interface{}
func (*FakeEventSource) NextCallCount ¶
func (fake *FakeEventSource) NextCallCount() int
func (*FakeEventSource) NextReturns ¶
func (fake *FakeEventSource) NextReturns(result1 event.Envelope, result2 error)
func (*FakeEventSource) NextReturnsOnCall ¶
func (fake *FakeEventSource) NextReturnsOnCall(i int, result1 event.Envelope, result2 error)
type FakeJob ¶
type FakeJob struct { IDStub func() int NameStub func() string PausedStub func() bool FirstLoggedBuildIDStub func() int PipelineIDStub func() int PipelineNameStub func() string TeamIDStub func() int TeamNameStub func() string ConfigStub func() atc.JobConfig ReloadStub func() (bool, error) PauseStub func() error UnpauseStub func() error CreateBuildStub func() (dbng.Build, error) BuildsStub func(page dbng.Page) ([]dbng.Build, dbng.Pagination, error) BuildStub func(name string) (dbng.Build, bool, error) FinishedAndNextBuildStub func() (dbng.Build, dbng.Build, error) UpdateFirstLoggedBuildIDStub func(newFirstLoggedBuildID int) error EnsurePendingBuildExistsStub func() error GetPendingBuildsStub func() ([]dbng.Build, error) GetIndependentBuildInputsStub func() ([]dbng.BuildInput, error) GetNextBuildInputsStub func() ([]dbng.BuildInput, bool, error) SaveNextInputMappingStub func(inputMapping algorithm.InputMapping) error SaveIndependentInputMappingStub func(inputMapping algorithm.InputMapping) error DeleteNextInputMappingStub func() error SetMaxInFlightReachedStub func(bool) error GetRunningBuildsBySerialGroupStub func(serialGroups []string) ([]dbng.Build, error) GetNextPendingBuildBySerialGroupStub func(serialGroups []string) (dbng.Build, bool, error) // contains filtered or unexported fields }
func (*FakeJob) BuildArgsForCall ¶
func (*FakeJob) BuildCallCount ¶
func (*FakeJob) BuildReturns ¶
func (*FakeJob) BuildReturnsOnCall ¶
func (*FakeJob) BuildsCallCount ¶
func (*FakeJob) BuildsReturns ¶
func (*FakeJob) BuildsReturnsOnCall ¶
func (*FakeJob) ConfigCallCount ¶
func (*FakeJob) ConfigReturns ¶
func (*FakeJob) ConfigReturnsOnCall ¶
func (*FakeJob) CreateBuildCallCount ¶
func (*FakeJob) CreateBuildReturns ¶
func (*FakeJob) CreateBuildReturnsOnCall ¶
func (*FakeJob) DeleteNextInputMapping ¶
func (*FakeJob) DeleteNextInputMappingCallCount ¶
func (*FakeJob) DeleteNextInputMappingReturns ¶
func (*FakeJob) DeleteNextInputMappingReturnsOnCall ¶
func (*FakeJob) EnsurePendingBuildExists ¶
func (*FakeJob) EnsurePendingBuildExistsCallCount ¶
func (*FakeJob) EnsurePendingBuildExistsReturns ¶
func (*FakeJob) EnsurePendingBuildExistsReturnsOnCall ¶
func (*FakeJob) FinishedAndNextBuild ¶
func (*FakeJob) FinishedAndNextBuildCallCount ¶
func (*FakeJob) FinishedAndNextBuildReturns ¶
func (*FakeJob) FinishedAndNextBuildReturnsOnCall ¶
func (*FakeJob) FirstLoggedBuildID ¶
func (*FakeJob) FirstLoggedBuildIDCallCount ¶
func (*FakeJob) FirstLoggedBuildIDReturns ¶
func (*FakeJob) FirstLoggedBuildIDReturnsOnCall ¶
func (*FakeJob) GetIndependentBuildInputs ¶
func (fake *FakeJob) GetIndependentBuildInputs() ([]dbng.BuildInput, error)
func (*FakeJob) GetIndependentBuildInputsCallCount ¶
func (*FakeJob) GetIndependentBuildInputsReturns ¶
func (fake *FakeJob) GetIndependentBuildInputsReturns(result1 []dbng.BuildInput, result2 error)
func (*FakeJob) GetIndependentBuildInputsReturnsOnCall ¶
func (fake *FakeJob) GetIndependentBuildInputsReturnsOnCall(i int, result1 []dbng.BuildInput, result2 error)
func (*FakeJob) GetNextBuildInputs ¶
func (fake *FakeJob) GetNextBuildInputs() ([]dbng.BuildInput, bool, error)
func (*FakeJob) GetNextBuildInputsCallCount ¶
func (*FakeJob) GetNextBuildInputsReturns ¶
func (fake *FakeJob) GetNextBuildInputsReturns(result1 []dbng.BuildInput, result2 bool, result3 error)
func (*FakeJob) GetNextBuildInputsReturnsOnCall ¶
func (*FakeJob) GetNextPendingBuildBySerialGroup ¶
func (*FakeJob) GetNextPendingBuildBySerialGroupArgsForCall ¶
func (*FakeJob) GetNextPendingBuildBySerialGroupCallCount ¶
func (*FakeJob) GetNextPendingBuildBySerialGroupReturns ¶
func (*FakeJob) GetNextPendingBuildBySerialGroupReturnsOnCall ¶
func (*FakeJob) GetPendingBuildsCallCount ¶
func (*FakeJob) GetPendingBuildsReturns ¶
func (*FakeJob) GetPendingBuildsReturnsOnCall ¶
func (*FakeJob) GetRunningBuildsBySerialGroup ¶
func (*FakeJob) GetRunningBuildsBySerialGroupArgsForCall ¶
func (*FakeJob) GetRunningBuildsBySerialGroupCallCount ¶
func (*FakeJob) GetRunningBuildsBySerialGroupReturns ¶
func (*FakeJob) GetRunningBuildsBySerialGroupReturnsOnCall ¶
func (*FakeJob) IDCallCount ¶
func (*FakeJob) IDReturnsOnCall ¶
func (*FakeJob) Invocations ¶
func (*FakeJob) NameCallCount ¶
func (*FakeJob) NameReturns ¶
func (*FakeJob) NameReturnsOnCall ¶
func (*FakeJob) PauseCallCount ¶
func (*FakeJob) PauseReturns ¶
func (*FakeJob) PauseReturnsOnCall ¶
func (*FakeJob) PausedCallCount ¶
func (*FakeJob) PausedReturns ¶
func (*FakeJob) PausedReturnsOnCall ¶
func (*FakeJob) PipelineID ¶
func (*FakeJob) PipelineIDCallCount ¶
func (*FakeJob) PipelineIDReturns ¶
func (*FakeJob) PipelineIDReturnsOnCall ¶
func (*FakeJob) PipelineName ¶
func (*FakeJob) PipelineNameCallCount ¶
func (*FakeJob) PipelineNameReturns ¶
func (*FakeJob) PipelineNameReturnsOnCall ¶
func (*FakeJob) ReloadCallCount ¶
func (*FakeJob) ReloadReturns ¶
func (*FakeJob) ReloadReturnsOnCall ¶
func (*FakeJob) SaveIndependentInputMapping ¶
func (fake *FakeJob) SaveIndependentInputMapping(inputMapping algorithm.InputMapping) error
func (*FakeJob) SaveIndependentInputMappingArgsForCall ¶
func (fake *FakeJob) SaveIndependentInputMappingArgsForCall(i int) algorithm.InputMapping
func (*FakeJob) SaveIndependentInputMappingCallCount ¶
func (*FakeJob) SaveIndependentInputMappingReturns ¶
func (*FakeJob) SaveIndependentInputMappingReturnsOnCall ¶
func (*FakeJob) SaveNextInputMapping ¶
func (fake *FakeJob) SaveNextInputMapping(inputMapping algorithm.InputMapping) error
func (*FakeJob) SaveNextInputMappingArgsForCall ¶
func (fake *FakeJob) SaveNextInputMappingArgsForCall(i int) algorithm.InputMapping
func (*FakeJob) SaveNextInputMappingCallCount ¶
func (*FakeJob) SaveNextInputMappingReturns ¶
func (*FakeJob) SaveNextInputMappingReturnsOnCall ¶
func (*FakeJob) SetMaxInFlightReached ¶
func (*FakeJob) SetMaxInFlightReachedArgsForCall ¶
func (*FakeJob) SetMaxInFlightReachedCallCount ¶
func (*FakeJob) SetMaxInFlightReachedReturns ¶
func (*FakeJob) SetMaxInFlightReachedReturnsOnCall ¶
func (*FakeJob) TeamIDCallCount ¶
func (*FakeJob) TeamIDReturns ¶
func (*FakeJob) TeamIDReturnsOnCall ¶
func (*FakeJob) TeamNameCallCount ¶
func (*FakeJob) TeamNameReturns ¶
func (*FakeJob) TeamNameReturnsOnCall ¶
func (*FakeJob) UnpauseCallCount ¶
func (*FakeJob) UnpauseReturns ¶
func (*FakeJob) UnpauseReturnsOnCall ¶
func (*FakeJob) UpdateFirstLoggedBuildID ¶
func (*FakeJob) UpdateFirstLoggedBuildIDArgsForCall ¶
func (*FakeJob) UpdateFirstLoggedBuildIDCallCount ¶
func (*FakeJob) UpdateFirstLoggedBuildIDReturns ¶
func (*FakeJob) UpdateFirstLoggedBuildIDReturnsOnCall ¶
type FakeNotifier ¶
type FakeNotifier struct { NotifyStub func() <-chan struct{} CloseStub func() error // contains filtered or unexported fields }
func (*FakeNotifier) Close ¶
func (fake *FakeNotifier) Close() error
func (*FakeNotifier) CloseCallCount ¶
func (fake *FakeNotifier) CloseCallCount() int
func (*FakeNotifier) CloseReturns ¶
func (fake *FakeNotifier) CloseReturns(result1 error)
func (*FakeNotifier) CloseReturnsOnCall ¶
func (fake *FakeNotifier) CloseReturnsOnCall(i int, result1 error)
func (*FakeNotifier) Invocations ¶
func (fake *FakeNotifier) Invocations() map[string][][]interface{}
func (*FakeNotifier) Notify ¶
func (fake *FakeNotifier) Notify() <-chan struct{}
func (*FakeNotifier) NotifyCallCount ¶
func (fake *FakeNotifier) NotifyCallCount() int
func (*FakeNotifier) NotifyReturns ¶
func (fake *FakeNotifier) NotifyReturns(result1 <-chan struct{})
func (*FakeNotifier) NotifyReturnsOnCall ¶
func (fake *FakeNotifier) NotifyReturnsOnCall(i int, result1 <-chan struct{})
type FakePipeline ¶
type FakePipeline struct { IDStub func() int NameStub func() string TeamIDStub func() int TeamNameStub func() string ConfigVersionStub func() dbng.ConfigVersion PublicStub func() bool PausedStub func() bool ScopedNameStub func(string) string ConfigStub func() (atc.Config, atc.RawConfig, dbng.ConfigVersion, error) CheckPausedStub func() (bool, error) ReloadStub func() (bool, error) SaveJobStub func(job atc.JobConfig) error SetResourceCheckErrorStub func(dbng.Resource, error) error GetAllPendingBuildsStub func() (map[string][]dbng.Build, error) SaveResourceVersionsStub func(atc.ResourceConfig, []atc.Version) error GetResourceVersionsStub func(resourceName string, page dbng.Page) ([]dbng.SavedVersionedResource, dbng.Pagination, bool, error) GetLatestVersionedResourceStub func(resourceName string) (dbng.SavedVersionedResource, bool, error) GetVersionedResourceByVersionStub func(atcVersion atc.Version, resourceName string) (dbng.SavedVersionedResource, bool, error) DisableVersionedResourceStub func(versionedResourceID int) error EnableVersionedResourceStub func(versionedResourceID int) error GetBuildsWithVersionAsInputStub func(versionedResourceID int) ([]dbng.Build, error) GetBuildsWithVersionAsOutputStub func(versionedResourceID int) ([]dbng.Build, error) GetIndependentBuildInputsStub func(jobName string) ([]dbng.BuildInput, error) GetPendingBuildsForJobStub func(jobName string) ([]dbng.Build, error) CreateJobBuildStub func(jobName string) (dbng.Build, error) NextBuildInputsStub func(jobName string) ([]dbng.BuildInput, bool, error) SaveNextInputMappingStub func(inputMapping algorithm.InputMapping, jobName string) error SaveIndependentInputMappingStub func(inputMapping algorithm.InputMapping, jobName string) error EnsurePendingBuildExistsStub func(jobName string) error DeleteNextInputMappingStub func(jobName string) error GetNextBuildInputsStub func(jobName string) ([]dbng.BuildInput, bool, error) DeleteBuildEventsByBuildIDsStub func(buildIDs []int) error AcquireSchedulingLockStub func(lager.Logger, time.Duration) (lock.Lock, bool, error) AcquireResourceCheckingLockWithIntervalCheckStub func(logger lager.Logger, resource dbng.Resource, interval time.Duration, immediate bool) (lock.Lock, bool, error) AcquireResourceTypeCheckingLockWithIntervalCheckStub func(logger lager.Logger, resourceTypeName string, interval time.Duration, immediate bool) (lock.Lock, bool, error) LoadVersionsDBStub func() (*algorithm.VersionsDB, error) ResourceStub func(name string) (dbng.Resource, bool, error) ResourcesStub func() (dbng.Resources, error) ResourceTypesStub func() (dbng.ResourceTypes, error) ResourceTypeStub func(name string) (dbng.ResourceType, bool, error) JobStub func(name string) (dbng.Job, bool, error) JobsStub func() ([]dbng.Job, error) DashboardStub func() (dbng.Dashboard, atc.GroupConfigs, error) ExposeStub func() error HideStub func() error PauseStub func() error UnpauseStub func() error DestroyStub func() error RenameStub func(string) error // contains filtered or unexported fields }
func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheck ¶
func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheckArgsForCall ¶
func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheckCallCount ¶
func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheckCallCount() int
func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheckReturns ¶
func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheckReturns(result1 lock.Lock, result2 bool, result3 error)
func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheckReturnsOnCall ¶
func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheck ¶
func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckArgsForCall ¶
func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckCallCount ¶
func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckCallCount() int
func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckReturns ¶
func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckReturns(result1 lock.Lock, result2 bool, result3 error)
func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckReturnsOnCall ¶
func (*FakePipeline) AcquireSchedulingLock ¶
func (*FakePipeline) AcquireSchedulingLockArgsForCall ¶
func (*FakePipeline) AcquireSchedulingLockCallCount ¶
func (fake *FakePipeline) AcquireSchedulingLockCallCount() int
func (*FakePipeline) AcquireSchedulingLockReturns ¶
func (fake *FakePipeline) AcquireSchedulingLockReturns(result1 lock.Lock, result2 bool, result3 error)
func (*FakePipeline) AcquireSchedulingLockReturnsOnCall ¶
func (*FakePipeline) CheckPaused ¶
func (fake *FakePipeline) CheckPaused() (bool, error)
func (*FakePipeline) CheckPausedCallCount ¶
func (fake *FakePipeline) CheckPausedCallCount() int
func (*FakePipeline) CheckPausedReturns ¶
func (fake *FakePipeline) CheckPausedReturns(result1 bool, result2 error)
func (*FakePipeline) CheckPausedReturnsOnCall ¶
func (fake *FakePipeline) CheckPausedReturnsOnCall(i int, result1 bool, result2 error)
func (*FakePipeline) Config ¶
func (fake *FakePipeline) Config() (atc.Config, atc.RawConfig, dbng.ConfigVersion, error)
func (*FakePipeline) ConfigCallCount ¶
func (fake *FakePipeline) ConfigCallCount() int
func (*FakePipeline) ConfigReturns ¶
func (fake *FakePipeline) ConfigReturns(result1 atc.Config, result2 atc.RawConfig, result3 dbng.ConfigVersion, result4 error)
func (*FakePipeline) ConfigReturnsOnCall ¶
func (fake *FakePipeline) ConfigReturnsOnCall(i int, result1 atc.Config, result2 atc.RawConfig, result3 dbng.ConfigVersion, result4 error)
func (*FakePipeline) ConfigVersion ¶
func (fake *FakePipeline) ConfigVersion() dbng.ConfigVersion
func (*FakePipeline) ConfigVersionCallCount ¶
func (fake *FakePipeline) ConfigVersionCallCount() int
func (*FakePipeline) ConfigVersionReturns ¶
func (fake *FakePipeline) ConfigVersionReturns(result1 dbng.ConfigVersion)
func (*FakePipeline) ConfigVersionReturnsOnCall ¶
func (fake *FakePipeline) ConfigVersionReturnsOnCall(i int, result1 dbng.ConfigVersion)
func (*FakePipeline) CreateJobBuild ¶
func (fake *FakePipeline) CreateJobBuild(jobName string) (dbng.Build, error)
func (*FakePipeline) CreateJobBuildArgsForCall ¶
func (fake *FakePipeline) CreateJobBuildArgsForCall(i int) string
func (*FakePipeline) CreateJobBuildCallCount ¶
func (fake *FakePipeline) CreateJobBuildCallCount() int
func (*FakePipeline) CreateJobBuildReturns ¶
func (fake *FakePipeline) CreateJobBuildReturns(result1 dbng.Build, result2 error)
func (*FakePipeline) CreateJobBuildReturnsOnCall ¶
func (fake *FakePipeline) CreateJobBuildReturnsOnCall(i int, result1 dbng.Build, result2 error)
func (*FakePipeline) Dashboard ¶
func (fake *FakePipeline) Dashboard() (dbng.Dashboard, atc.GroupConfigs, error)
func (*FakePipeline) DashboardCallCount ¶
func (fake *FakePipeline) DashboardCallCount() int
func (*FakePipeline) DashboardReturns ¶
func (fake *FakePipeline) DashboardReturns(result1 dbng.Dashboard, result2 atc.GroupConfigs, result3 error)
func (*FakePipeline) DashboardReturnsOnCall ¶
func (fake *FakePipeline) DashboardReturnsOnCall(i int, result1 dbng.Dashboard, result2 atc.GroupConfigs, result3 error)
func (*FakePipeline) DeleteBuildEventsByBuildIDs ¶
func (fake *FakePipeline) DeleteBuildEventsByBuildIDs(buildIDs []int) error
func (*FakePipeline) DeleteBuildEventsByBuildIDsArgsForCall ¶
func (fake *FakePipeline) DeleteBuildEventsByBuildIDsArgsForCall(i int) []int
func (*FakePipeline) DeleteBuildEventsByBuildIDsCallCount ¶
func (fake *FakePipeline) DeleteBuildEventsByBuildIDsCallCount() int
func (*FakePipeline) DeleteBuildEventsByBuildIDsReturns ¶
func (fake *FakePipeline) DeleteBuildEventsByBuildIDsReturns(result1 error)
func (*FakePipeline) DeleteBuildEventsByBuildIDsReturnsOnCall ¶
func (fake *FakePipeline) DeleteBuildEventsByBuildIDsReturnsOnCall(i int, result1 error)
func (*FakePipeline) DeleteNextInputMapping ¶
func (fake *FakePipeline) DeleteNextInputMapping(jobName string) error
func (*FakePipeline) DeleteNextInputMappingArgsForCall ¶
func (fake *FakePipeline) DeleteNextInputMappingArgsForCall(i int) string
func (*FakePipeline) DeleteNextInputMappingCallCount ¶
func (fake *FakePipeline) DeleteNextInputMappingCallCount() int
func (*FakePipeline) DeleteNextInputMappingReturns ¶
func (fake *FakePipeline) DeleteNextInputMappingReturns(result1 error)
func (*FakePipeline) DeleteNextInputMappingReturnsOnCall ¶
func (fake *FakePipeline) DeleteNextInputMappingReturnsOnCall(i int, result1 error)
func (*FakePipeline) Destroy ¶
func (fake *FakePipeline) Destroy() error
func (*FakePipeline) DestroyCallCount ¶
func (fake *FakePipeline) DestroyCallCount() int
func (*FakePipeline) DestroyReturns ¶
func (fake *FakePipeline) DestroyReturns(result1 error)
func (*FakePipeline) DestroyReturnsOnCall ¶
func (fake *FakePipeline) DestroyReturnsOnCall(i int, result1 error)
func (*FakePipeline) DisableVersionedResource ¶
func (fake *FakePipeline) DisableVersionedResource(versionedResourceID int) error
func (*FakePipeline) DisableVersionedResourceArgsForCall ¶
func (fake *FakePipeline) DisableVersionedResourceArgsForCall(i int) int
func (*FakePipeline) DisableVersionedResourceCallCount ¶
func (fake *FakePipeline) DisableVersionedResourceCallCount() int
func (*FakePipeline) DisableVersionedResourceReturns ¶
func (fake *FakePipeline) DisableVersionedResourceReturns(result1 error)
func (*FakePipeline) DisableVersionedResourceReturnsOnCall ¶
func (fake *FakePipeline) DisableVersionedResourceReturnsOnCall(i int, result1 error)
func (*FakePipeline) EnableVersionedResource ¶
func (fake *FakePipeline) EnableVersionedResource(versionedResourceID int) error
func (*FakePipeline) EnableVersionedResourceArgsForCall ¶
func (fake *FakePipeline) EnableVersionedResourceArgsForCall(i int) int
func (*FakePipeline) EnableVersionedResourceCallCount ¶
func (fake *FakePipeline) EnableVersionedResourceCallCount() int
func (*FakePipeline) EnableVersionedResourceReturns ¶
func (fake *FakePipeline) EnableVersionedResourceReturns(result1 error)
func (*FakePipeline) EnableVersionedResourceReturnsOnCall ¶
func (fake *FakePipeline) EnableVersionedResourceReturnsOnCall(i int, result1 error)
func (*FakePipeline) EnsurePendingBuildExists ¶
func (fake *FakePipeline) EnsurePendingBuildExists(jobName string) error
func (*FakePipeline) EnsurePendingBuildExistsArgsForCall ¶
func (fake *FakePipeline) EnsurePendingBuildExistsArgsForCall(i int) string
func (*FakePipeline) EnsurePendingBuildExistsCallCount ¶
func (fake *FakePipeline) EnsurePendingBuildExistsCallCount() int
func (*FakePipeline) EnsurePendingBuildExistsReturns ¶
func (fake *FakePipeline) EnsurePendingBuildExistsReturns(result1 error)
func (*FakePipeline) EnsurePendingBuildExistsReturnsOnCall ¶
func (fake *FakePipeline) EnsurePendingBuildExistsReturnsOnCall(i int, result1 error)
func (*FakePipeline) Expose ¶
func (fake *FakePipeline) Expose() error
func (*FakePipeline) ExposeCallCount ¶
func (fake *FakePipeline) ExposeCallCount() int
func (*FakePipeline) ExposeReturns ¶
func (fake *FakePipeline) ExposeReturns(result1 error)
func (*FakePipeline) ExposeReturnsOnCall ¶
func (fake *FakePipeline) ExposeReturnsOnCall(i int, result1 error)
func (*FakePipeline) GetAllPendingBuilds ¶
func (fake *FakePipeline) GetAllPendingBuilds() (map[string][]dbng.Build, error)
func (*FakePipeline) GetAllPendingBuildsCallCount ¶
func (fake *FakePipeline) GetAllPendingBuildsCallCount() int
func (*FakePipeline) GetAllPendingBuildsReturns ¶
func (fake *FakePipeline) GetAllPendingBuildsReturns(result1 map[string][]dbng.Build, result2 error)
func (*FakePipeline) GetAllPendingBuildsReturnsOnCall ¶
func (*FakePipeline) GetBuildsWithVersionAsInput ¶
func (fake *FakePipeline) GetBuildsWithVersionAsInput(versionedResourceID int) ([]dbng.Build, error)
func (*FakePipeline) GetBuildsWithVersionAsInputArgsForCall ¶
func (fake *FakePipeline) GetBuildsWithVersionAsInputArgsForCall(i int) int
func (*FakePipeline) GetBuildsWithVersionAsInputCallCount ¶
func (fake *FakePipeline) GetBuildsWithVersionAsInputCallCount() int
func (*FakePipeline) GetBuildsWithVersionAsInputReturns ¶
func (fake *FakePipeline) GetBuildsWithVersionAsInputReturns(result1 []dbng.Build, result2 error)
func (*FakePipeline) GetBuildsWithVersionAsInputReturnsOnCall ¶
func (fake *FakePipeline) GetBuildsWithVersionAsInputReturnsOnCall(i int, result1 []dbng.Build, result2 error)
func (*FakePipeline) GetBuildsWithVersionAsOutput ¶
func (fake *FakePipeline) GetBuildsWithVersionAsOutput(versionedResourceID int) ([]dbng.Build, error)
func (*FakePipeline) GetBuildsWithVersionAsOutputArgsForCall ¶
func (fake *FakePipeline) GetBuildsWithVersionAsOutputArgsForCall(i int) int
func (*FakePipeline) GetBuildsWithVersionAsOutputCallCount ¶
func (fake *FakePipeline) GetBuildsWithVersionAsOutputCallCount() int
func (*FakePipeline) GetBuildsWithVersionAsOutputReturns ¶
func (fake *FakePipeline) GetBuildsWithVersionAsOutputReturns(result1 []dbng.Build, result2 error)
func (*FakePipeline) GetBuildsWithVersionAsOutputReturnsOnCall ¶
func (fake *FakePipeline) GetBuildsWithVersionAsOutputReturnsOnCall(i int, result1 []dbng.Build, result2 error)
func (*FakePipeline) GetIndependentBuildInputs ¶
func (fake *FakePipeline) GetIndependentBuildInputs(jobName string) ([]dbng.BuildInput, error)
func (*FakePipeline) GetIndependentBuildInputsArgsForCall ¶
func (fake *FakePipeline) GetIndependentBuildInputsArgsForCall(i int) string
func (*FakePipeline) GetIndependentBuildInputsCallCount ¶
func (fake *FakePipeline) GetIndependentBuildInputsCallCount() int
func (*FakePipeline) GetIndependentBuildInputsReturns ¶
func (fake *FakePipeline) GetIndependentBuildInputsReturns(result1 []dbng.BuildInput, result2 error)
func (*FakePipeline) GetIndependentBuildInputsReturnsOnCall ¶
func (fake *FakePipeline) GetIndependentBuildInputsReturnsOnCall(i int, result1 []dbng.BuildInput, result2 error)
func (*FakePipeline) GetLatestVersionedResource ¶
func (fake *FakePipeline) GetLatestVersionedResource(resourceName string) (dbng.SavedVersionedResource, bool, error)
func (*FakePipeline) GetLatestVersionedResourceArgsForCall ¶
func (fake *FakePipeline) GetLatestVersionedResourceArgsForCall(i int) string
func (*FakePipeline) GetLatestVersionedResourceCallCount ¶
func (fake *FakePipeline) GetLatestVersionedResourceCallCount() int
func (*FakePipeline) GetLatestVersionedResourceReturns ¶
func (fake *FakePipeline) GetLatestVersionedResourceReturns(result1 dbng.SavedVersionedResource, result2 bool, result3 error)
func (*FakePipeline) GetLatestVersionedResourceReturnsOnCall ¶
func (fake *FakePipeline) GetLatestVersionedResourceReturnsOnCall(i int, result1 dbng.SavedVersionedResource, result2 bool, result3 error)
func (*FakePipeline) GetNextBuildInputs ¶
func (fake *FakePipeline) GetNextBuildInputs(jobName string) ([]dbng.BuildInput, bool, error)
func (*FakePipeline) GetNextBuildInputsArgsForCall ¶
func (fake *FakePipeline) GetNextBuildInputsArgsForCall(i int) string
func (*FakePipeline) GetNextBuildInputsCallCount ¶
func (fake *FakePipeline) GetNextBuildInputsCallCount() int
func (*FakePipeline) GetNextBuildInputsReturns ¶
func (fake *FakePipeline) GetNextBuildInputsReturns(result1 []dbng.BuildInput, result2 bool, result3 error)
func (*FakePipeline) GetNextBuildInputsReturnsOnCall ¶
func (fake *FakePipeline) GetNextBuildInputsReturnsOnCall(i int, result1 []dbng.BuildInput, result2 bool, result3 error)
func (*FakePipeline) GetPendingBuildsForJob ¶
func (fake *FakePipeline) GetPendingBuildsForJob(jobName string) ([]dbng.Build, error)
func (*FakePipeline) GetPendingBuildsForJobArgsForCall ¶
func (fake *FakePipeline) GetPendingBuildsForJobArgsForCall(i int) string
func (*FakePipeline) GetPendingBuildsForJobCallCount ¶
func (fake *FakePipeline) GetPendingBuildsForJobCallCount() int
func (*FakePipeline) GetPendingBuildsForJobReturns ¶
func (fake *FakePipeline) GetPendingBuildsForJobReturns(result1 []dbng.Build, result2 error)
func (*FakePipeline) GetPendingBuildsForJobReturnsOnCall ¶
func (fake *FakePipeline) GetPendingBuildsForJobReturnsOnCall(i int, result1 []dbng.Build, result2 error)
func (*FakePipeline) GetResourceVersions ¶
func (fake *FakePipeline) GetResourceVersions(resourceName string, page dbng.Page) ([]dbng.SavedVersionedResource, dbng.Pagination, bool, error)
func (*FakePipeline) GetResourceVersionsArgsForCall ¶
func (fake *FakePipeline) GetResourceVersionsArgsForCall(i int) (string, dbng.Page)
func (*FakePipeline) GetResourceVersionsCallCount ¶
func (fake *FakePipeline) GetResourceVersionsCallCount() int
func (*FakePipeline) GetResourceVersionsReturns ¶
func (fake *FakePipeline) GetResourceVersionsReturns(result1 []dbng.SavedVersionedResource, result2 dbng.Pagination, result3 bool, result4 error)
func (*FakePipeline) GetResourceVersionsReturnsOnCall ¶
func (fake *FakePipeline) GetResourceVersionsReturnsOnCall(i int, result1 []dbng.SavedVersionedResource, result2 dbng.Pagination, result3 bool, result4 error)
func (*FakePipeline) GetVersionedResourceByVersion ¶
func (fake *FakePipeline) GetVersionedResourceByVersion(atcVersion atc.Version, resourceName string) (dbng.SavedVersionedResource, bool, error)
func (*FakePipeline) GetVersionedResourceByVersionArgsForCall ¶
func (fake *FakePipeline) GetVersionedResourceByVersionArgsForCall(i int) (atc.Version, string)
func (*FakePipeline) GetVersionedResourceByVersionCallCount ¶
func (fake *FakePipeline) GetVersionedResourceByVersionCallCount() int
func (*FakePipeline) GetVersionedResourceByVersionReturns ¶
func (fake *FakePipeline) GetVersionedResourceByVersionReturns(result1 dbng.SavedVersionedResource, result2 bool, result3 error)
func (*FakePipeline) GetVersionedResourceByVersionReturnsOnCall ¶
func (fake *FakePipeline) GetVersionedResourceByVersionReturnsOnCall(i int, result1 dbng.SavedVersionedResource, result2 bool, result3 error)
func (*FakePipeline) Hide ¶
func (fake *FakePipeline) Hide() error
func (*FakePipeline) HideCallCount ¶
func (fake *FakePipeline) HideCallCount() int
func (*FakePipeline) HideReturns ¶
func (fake *FakePipeline) HideReturns(result1 error)
func (*FakePipeline) HideReturnsOnCall ¶
func (fake *FakePipeline) HideReturnsOnCall(i int, result1 error)
func (*FakePipeline) ID ¶
func (fake *FakePipeline) ID() int
func (*FakePipeline) IDCallCount ¶
func (fake *FakePipeline) IDCallCount() int
func (*FakePipeline) IDReturns ¶
func (fake *FakePipeline) IDReturns(result1 int)
func (*FakePipeline) IDReturnsOnCall ¶
func (fake *FakePipeline) IDReturnsOnCall(i int, result1 int)
func (*FakePipeline) Invocations ¶
func (fake *FakePipeline) Invocations() map[string][][]interface{}
func (*FakePipeline) JobArgsForCall ¶
func (fake *FakePipeline) JobArgsForCall(i int) string
func (*FakePipeline) JobCallCount ¶
func (fake *FakePipeline) JobCallCount() int
func (*FakePipeline) JobReturns ¶
func (fake *FakePipeline) JobReturns(result1 dbng.Job, result2 bool, result3 error)
func (*FakePipeline) JobReturnsOnCall ¶
func (*FakePipeline) JobsCallCount ¶
func (fake *FakePipeline) JobsCallCount() int
func (*FakePipeline) JobsReturns ¶
func (fake *FakePipeline) JobsReturns(result1 []dbng.Job, result2 error)
func (*FakePipeline) JobsReturnsOnCall ¶
func (fake *FakePipeline) JobsReturnsOnCall(i int, result1 []dbng.Job, result2 error)
func (*FakePipeline) LoadVersionsDB ¶
func (fake *FakePipeline) LoadVersionsDB() (*algorithm.VersionsDB, error)
func (*FakePipeline) LoadVersionsDBCallCount ¶
func (fake *FakePipeline) LoadVersionsDBCallCount() int
func (*FakePipeline) LoadVersionsDBReturns ¶
func (fake *FakePipeline) LoadVersionsDBReturns(result1 *algorithm.VersionsDB, result2 error)
func (*FakePipeline) LoadVersionsDBReturnsOnCall ¶
func (fake *FakePipeline) LoadVersionsDBReturnsOnCall(i int, result1 *algorithm.VersionsDB, result2 error)
func (*FakePipeline) Name ¶
func (fake *FakePipeline) Name() string
func (*FakePipeline) NameCallCount ¶
func (fake *FakePipeline) NameCallCount() int
func (*FakePipeline) NameReturns ¶
func (fake *FakePipeline) NameReturns(result1 string)
func (*FakePipeline) NameReturnsOnCall ¶
func (fake *FakePipeline) NameReturnsOnCall(i int, result1 string)
func (*FakePipeline) NextBuildInputs ¶
func (fake *FakePipeline) NextBuildInputs(jobName string) ([]dbng.BuildInput, bool, error)
func (*FakePipeline) NextBuildInputsArgsForCall ¶
func (fake *FakePipeline) NextBuildInputsArgsForCall(i int) string
func (*FakePipeline) NextBuildInputsCallCount ¶
func (fake *FakePipeline) NextBuildInputsCallCount() int
func (*FakePipeline) NextBuildInputsReturns ¶
func (fake *FakePipeline) NextBuildInputsReturns(result1 []dbng.BuildInput, result2 bool, result3 error)
func (*FakePipeline) NextBuildInputsReturnsOnCall ¶
func (fake *FakePipeline) NextBuildInputsReturnsOnCall(i int, result1 []dbng.BuildInput, result2 bool, result3 error)
func (*FakePipeline) Pause ¶
func (fake *FakePipeline) Pause() error
func (*FakePipeline) PauseCallCount ¶
func (fake *FakePipeline) PauseCallCount() int
func (*FakePipeline) PauseReturns ¶
func (fake *FakePipeline) PauseReturns(result1 error)
func (*FakePipeline) PauseReturnsOnCall ¶
func (fake *FakePipeline) PauseReturnsOnCall(i int, result1 error)
func (*FakePipeline) Paused ¶
func (fake *FakePipeline) Paused() bool
func (*FakePipeline) PausedCallCount ¶
func (fake *FakePipeline) PausedCallCount() int
func (*FakePipeline) PausedReturns ¶
func (fake *FakePipeline) PausedReturns(result1 bool)
func (*FakePipeline) PausedReturnsOnCall ¶
func (fake *FakePipeline) PausedReturnsOnCall(i int, result1 bool)
func (*FakePipeline) Public ¶
func (fake *FakePipeline) Public() bool
func (*FakePipeline) PublicCallCount ¶
func (fake *FakePipeline) PublicCallCount() int
func (*FakePipeline) PublicReturns ¶
func (fake *FakePipeline) PublicReturns(result1 bool)
func (*FakePipeline) PublicReturnsOnCall ¶
func (fake *FakePipeline) PublicReturnsOnCall(i int, result1 bool)
func (*FakePipeline) Reload ¶
func (fake *FakePipeline) Reload() (bool, error)
func (*FakePipeline) ReloadCallCount ¶
func (fake *FakePipeline) ReloadCallCount() int
func (*FakePipeline) ReloadReturns ¶
func (fake *FakePipeline) ReloadReturns(result1 bool, result2 error)
func (*FakePipeline) ReloadReturnsOnCall ¶
func (fake *FakePipeline) ReloadReturnsOnCall(i int, result1 bool, result2 error)
func (*FakePipeline) Rename ¶
func (fake *FakePipeline) Rename(arg1 string) error
func (*FakePipeline) RenameArgsForCall ¶
func (fake *FakePipeline) RenameArgsForCall(i int) string
func (*FakePipeline) RenameCallCount ¶
func (fake *FakePipeline) RenameCallCount() int
func (*FakePipeline) RenameReturns ¶
func (fake *FakePipeline) RenameReturns(result1 error)
func (*FakePipeline) RenameReturnsOnCall ¶
func (fake *FakePipeline) RenameReturnsOnCall(i int, result1 error)
func (*FakePipeline) ResourceArgsForCall ¶
func (fake *FakePipeline) ResourceArgsForCall(i int) string
func (*FakePipeline) ResourceCallCount ¶
func (fake *FakePipeline) ResourceCallCount() int
func (*FakePipeline) ResourceReturns ¶
func (fake *FakePipeline) ResourceReturns(result1 dbng.Resource, result2 bool, result3 error)
func (*FakePipeline) ResourceReturnsOnCall ¶
func (*FakePipeline) ResourceType ¶
func (fake *FakePipeline) ResourceType(name string) (dbng.ResourceType, bool, error)
func (*FakePipeline) ResourceTypeArgsForCall ¶
func (fake *FakePipeline) ResourceTypeArgsForCall(i int) string
func (*FakePipeline) ResourceTypeCallCount ¶
func (fake *FakePipeline) ResourceTypeCallCount() int
func (*FakePipeline) ResourceTypeReturns ¶
func (fake *FakePipeline) ResourceTypeReturns(result1 dbng.ResourceType, result2 bool, result3 error)
func (*FakePipeline) ResourceTypeReturnsOnCall ¶
func (fake *FakePipeline) ResourceTypeReturnsOnCall(i int, result1 dbng.ResourceType, result2 bool, result3 error)
func (*FakePipeline) ResourceTypes ¶
func (fake *FakePipeline) ResourceTypes() (dbng.ResourceTypes, error)
func (*FakePipeline) ResourceTypesCallCount ¶
func (fake *FakePipeline) ResourceTypesCallCount() int
func (*FakePipeline) ResourceTypesReturns ¶
func (fake *FakePipeline) ResourceTypesReturns(result1 dbng.ResourceTypes, result2 error)
func (*FakePipeline) ResourceTypesReturnsOnCall ¶
func (fake *FakePipeline) ResourceTypesReturnsOnCall(i int, result1 dbng.ResourceTypes, result2 error)
func (*FakePipeline) ResourcesCallCount ¶
func (fake *FakePipeline) ResourcesCallCount() int
func (*FakePipeline) ResourcesReturns ¶
func (fake *FakePipeline) ResourcesReturns(result1 dbng.Resources, result2 error)
func (*FakePipeline) ResourcesReturnsOnCall ¶
func (fake *FakePipeline) ResourcesReturnsOnCall(i int, result1 dbng.Resources, result2 error)
func (*FakePipeline) SaveIndependentInputMapping ¶
func (fake *FakePipeline) SaveIndependentInputMapping(inputMapping algorithm.InputMapping, jobName string) error
func (*FakePipeline) SaveIndependentInputMappingArgsForCall ¶
func (fake *FakePipeline) SaveIndependentInputMappingArgsForCall(i int) (algorithm.InputMapping, string)
func (*FakePipeline) SaveIndependentInputMappingCallCount ¶
func (fake *FakePipeline) SaveIndependentInputMappingCallCount() int
func (*FakePipeline) SaveIndependentInputMappingReturns ¶
func (fake *FakePipeline) SaveIndependentInputMappingReturns(result1 error)
func (*FakePipeline) SaveIndependentInputMappingReturnsOnCall ¶
func (fake *FakePipeline) SaveIndependentInputMappingReturnsOnCall(i int, result1 error)
func (*FakePipeline) SaveJobArgsForCall ¶
func (fake *FakePipeline) SaveJobArgsForCall(i int) atc.JobConfig
func (*FakePipeline) SaveJobCallCount ¶
func (fake *FakePipeline) SaveJobCallCount() int
func (*FakePipeline) SaveJobReturns ¶
func (fake *FakePipeline) SaveJobReturns(result1 error)
func (*FakePipeline) SaveJobReturnsOnCall ¶
func (fake *FakePipeline) SaveJobReturnsOnCall(i int, result1 error)
func (*FakePipeline) SaveNextInputMapping ¶
func (fake *FakePipeline) SaveNextInputMapping(inputMapping algorithm.InputMapping, jobName string) error
func (*FakePipeline) SaveNextInputMappingArgsForCall ¶
func (fake *FakePipeline) SaveNextInputMappingArgsForCall(i int) (algorithm.InputMapping, string)
func (*FakePipeline) SaveNextInputMappingCallCount ¶
func (fake *FakePipeline) SaveNextInputMappingCallCount() int
func (*FakePipeline) SaveNextInputMappingReturns ¶
func (fake *FakePipeline) SaveNextInputMappingReturns(result1 error)
func (*FakePipeline) SaveNextInputMappingReturnsOnCall ¶
func (fake *FakePipeline) SaveNextInputMappingReturnsOnCall(i int, result1 error)
func (*FakePipeline) SaveResourceVersions ¶
func (fake *FakePipeline) SaveResourceVersions(arg1 atc.ResourceConfig, arg2 []atc.Version) error
func (*FakePipeline) SaveResourceVersionsArgsForCall ¶
func (fake *FakePipeline) SaveResourceVersionsArgsForCall(i int) (atc.ResourceConfig, []atc.Version)
func (*FakePipeline) SaveResourceVersionsCallCount ¶
func (fake *FakePipeline) SaveResourceVersionsCallCount() int
func (*FakePipeline) SaveResourceVersionsReturns ¶
func (fake *FakePipeline) SaveResourceVersionsReturns(result1 error)
func (*FakePipeline) SaveResourceVersionsReturnsOnCall ¶
func (fake *FakePipeline) SaveResourceVersionsReturnsOnCall(i int, result1 error)
func (*FakePipeline) ScopedName ¶
func (fake *FakePipeline) ScopedName(arg1 string) string
func (*FakePipeline) ScopedNameArgsForCall ¶
func (fake *FakePipeline) ScopedNameArgsForCall(i int) string
func (*FakePipeline) ScopedNameCallCount ¶
func (fake *FakePipeline) ScopedNameCallCount() int
func (*FakePipeline) ScopedNameReturns ¶
func (fake *FakePipeline) ScopedNameReturns(result1 string)
func (*FakePipeline) ScopedNameReturnsOnCall ¶
func (fake *FakePipeline) ScopedNameReturnsOnCall(i int, result1 string)
func (*FakePipeline) SetResourceCheckError ¶
func (fake *FakePipeline) SetResourceCheckError(arg1 dbng.Resource, arg2 error) error
func (*FakePipeline) SetResourceCheckErrorArgsForCall ¶
func (fake *FakePipeline) SetResourceCheckErrorArgsForCall(i int) (dbng.Resource, error)
func (*FakePipeline) SetResourceCheckErrorCallCount ¶
func (fake *FakePipeline) SetResourceCheckErrorCallCount() int
func (*FakePipeline) SetResourceCheckErrorReturns ¶
func (fake *FakePipeline) SetResourceCheckErrorReturns(result1 error)
func (*FakePipeline) SetResourceCheckErrorReturnsOnCall ¶
func (fake *FakePipeline) SetResourceCheckErrorReturnsOnCall(i int, result1 error)
func (*FakePipeline) TeamID ¶
func (fake *FakePipeline) TeamID() int
func (*FakePipeline) TeamIDCallCount ¶
func (fake *FakePipeline) TeamIDCallCount() int
func (*FakePipeline) TeamIDReturns ¶
func (fake *FakePipeline) TeamIDReturns(result1 int)
func (*FakePipeline) TeamIDReturnsOnCall ¶
func (fake *FakePipeline) TeamIDReturnsOnCall(i int, result1 int)
func (*FakePipeline) TeamName ¶
func (fake *FakePipeline) TeamName() string
func (*FakePipeline) TeamNameCallCount ¶
func (fake *FakePipeline) TeamNameCallCount() int
func (*FakePipeline) TeamNameReturns ¶
func (fake *FakePipeline) TeamNameReturns(result1 string)
func (*FakePipeline) TeamNameReturnsOnCall ¶
func (fake *FakePipeline) TeamNameReturnsOnCall(i int, result1 string)
func (*FakePipeline) Unpause ¶
func (fake *FakePipeline) Unpause() error
func (*FakePipeline) UnpauseCallCount ¶
func (fake *FakePipeline) UnpauseCallCount() int
func (*FakePipeline) UnpauseReturns ¶
func (fake *FakePipeline) UnpauseReturns(result1 error)
func (*FakePipeline) UnpauseReturnsOnCall ¶
func (fake *FakePipeline) UnpauseReturnsOnCall(i int, result1 error)
type FakePipelineFactory ¶
type FakePipelineFactory struct { PublicPipelinesStub func() ([]dbng.Pipeline, error) AllPipelinesStub func() ([]dbng.Pipeline, error) // contains filtered or unexported fields }
func (*FakePipelineFactory) AllPipelines ¶
func (fake *FakePipelineFactory) AllPipelines() ([]dbng.Pipeline, error)
func (*FakePipelineFactory) AllPipelinesCallCount ¶
func (fake *FakePipelineFactory) AllPipelinesCallCount() int
func (*FakePipelineFactory) AllPipelinesReturns ¶
func (fake *FakePipelineFactory) AllPipelinesReturns(result1 []dbng.Pipeline, result2 error)
func (*FakePipelineFactory) AllPipelinesReturnsOnCall ¶
func (fake *FakePipelineFactory) AllPipelinesReturnsOnCall(i int, result1 []dbng.Pipeline, result2 error)
func (*FakePipelineFactory) Invocations ¶
func (fake *FakePipelineFactory) Invocations() map[string][][]interface{}
func (*FakePipelineFactory) PublicPipelines ¶
func (fake *FakePipelineFactory) PublicPipelines() ([]dbng.Pipeline, error)
func (*FakePipelineFactory) PublicPipelinesCallCount ¶
func (fake *FakePipelineFactory) PublicPipelinesCallCount() int
func (*FakePipelineFactory) PublicPipelinesReturns ¶
func (fake *FakePipelineFactory) PublicPipelinesReturns(result1 []dbng.Pipeline, result2 error)
func (*FakePipelineFactory) PublicPipelinesReturnsOnCall ¶
func (fake *FakePipelineFactory) PublicPipelinesReturnsOnCall(i int, result1 []dbng.Pipeline, result2 error)
type FakeResource ¶
type FakeResource struct { IDStub func() int NameStub func() string PipelineNameStub func() string TypeStub func() string SourceStub func() atc.Source CheckEveryStub func() string TagsStub func() atc.Tags CheckErrorStub func() error PausedStub func() bool WebhookTokenStub func() string FailingToCheckStub func() bool PauseStub func() error UnpauseStub func() error ReloadStub func() (bool, error) // contains filtered or unexported fields }
func (*FakeResource) CheckError ¶
func (fake *FakeResource) CheckError() error
func (*FakeResource) CheckErrorCallCount ¶
func (fake *FakeResource) CheckErrorCallCount() int
func (*FakeResource) CheckErrorReturns ¶
func (fake *FakeResource) CheckErrorReturns(result1 error)
func (*FakeResource) CheckErrorReturnsOnCall ¶
func (fake *FakeResource) CheckErrorReturnsOnCall(i int, result1 error)
func (*FakeResource) CheckEvery ¶
func (fake *FakeResource) CheckEvery() string
func (*FakeResource) CheckEveryCallCount ¶
func (fake *FakeResource) CheckEveryCallCount() int
func (*FakeResource) CheckEveryReturns ¶
func (fake *FakeResource) CheckEveryReturns(result1 string)
func (*FakeResource) CheckEveryReturnsOnCall ¶
func (fake *FakeResource) CheckEveryReturnsOnCall(i int, result1 string)
func (*FakeResource) FailingToCheck ¶
func (fake *FakeResource) FailingToCheck() bool
func (*FakeResource) FailingToCheckCallCount ¶
func (fake *FakeResource) FailingToCheckCallCount() int
func (*FakeResource) FailingToCheckReturns ¶
func (fake *FakeResource) FailingToCheckReturns(result1 bool)
func (*FakeResource) FailingToCheckReturnsOnCall ¶
func (fake *FakeResource) FailingToCheckReturnsOnCall(i int, result1 bool)
func (*FakeResource) ID ¶
func (fake *FakeResource) ID() int
func (*FakeResource) IDCallCount ¶
func (fake *FakeResource) IDCallCount() int
func (*FakeResource) IDReturns ¶
func (fake *FakeResource) IDReturns(result1 int)
func (*FakeResource) IDReturnsOnCall ¶
func (fake *FakeResource) IDReturnsOnCall(i int, result1 int)
func (*FakeResource) Invocations ¶
func (fake *FakeResource) Invocations() map[string][][]interface{}
func (*FakeResource) Name ¶
func (fake *FakeResource) Name() string
func (*FakeResource) NameCallCount ¶
func (fake *FakeResource) NameCallCount() int
func (*FakeResource) NameReturns ¶
func (fake *FakeResource) NameReturns(result1 string)
func (*FakeResource) NameReturnsOnCall ¶
func (fake *FakeResource) NameReturnsOnCall(i int, result1 string)
func (*FakeResource) Pause ¶
func (fake *FakeResource) Pause() error
func (*FakeResource) PauseCallCount ¶
func (fake *FakeResource) PauseCallCount() int
func (*FakeResource) PauseReturns ¶
func (fake *FakeResource) PauseReturns(result1 error)
func (*FakeResource) PauseReturnsOnCall ¶
func (fake *FakeResource) PauseReturnsOnCall(i int, result1 error)
func (*FakeResource) Paused ¶
func (fake *FakeResource) Paused() bool
func (*FakeResource) PausedCallCount ¶
func (fake *FakeResource) PausedCallCount() int
func (*FakeResource) PausedReturns ¶
func (fake *FakeResource) PausedReturns(result1 bool)
func (*FakeResource) PausedReturnsOnCall ¶
func (fake *FakeResource) PausedReturnsOnCall(i int, result1 bool)
func (*FakeResource) PipelineName ¶
func (fake *FakeResource) PipelineName() string
func (*FakeResource) PipelineNameCallCount ¶
func (fake *FakeResource) PipelineNameCallCount() int
func (*FakeResource) PipelineNameReturns ¶
func (fake *FakeResource) PipelineNameReturns(result1 string)
func (*FakeResource) PipelineNameReturnsOnCall ¶
func (fake *FakeResource) PipelineNameReturnsOnCall(i int, result1 string)
func (*FakeResource) Reload ¶
func (fake *FakeResource) Reload() (bool, error)
func (*FakeResource) ReloadCallCount ¶
func (fake *FakeResource) ReloadCallCount() int
func (*FakeResource) ReloadReturns ¶
func (fake *FakeResource) ReloadReturns(result1 bool, result2 error)
func (*FakeResource) ReloadReturnsOnCall ¶
func (fake *FakeResource) ReloadReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeResource) Source ¶
func (fake *FakeResource) Source() atc.Source
func (*FakeResource) SourceCallCount ¶
func (fake *FakeResource) SourceCallCount() int
func (*FakeResource) SourceReturns ¶
func (fake *FakeResource) SourceReturns(result1 atc.Source)
func (*FakeResource) SourceReturnsOnCall ¶
func (fake *FakeResource) SourceReturnsOnCall(i int, result1 atc.Source)
func (*FakeResource) Tags ¶
func (fake *FakeResource) Tags() atc.Tags
func (*FakeResource) TagsCallCount ¶
func (fake *FakeResource) TagsCallCount() int
func (*FakeResource) TagsReturns ¶
func (fake *FakeResource) TagsReturns(result1 atc.Tags)
func (*FakeResource) TagsReturnsOnCall ¶
func (fake *FakeResource) TagsReturnsOnCall(i int, result1 atc.Tags)
func (*FakeResource) Type ¶
func (fake *FakeResource) Type() string
func (*FakeResource) TypeCallCount ¶
func (fake *FakeResource) TypeCallCount() int
func (*FakeResource) TypeReturns ¶
func (fake *FakeResource) TypeReturns(result1 string)
func (*FakeResource) TypeReturnsOnCall ¶
func (fake *FakeResource) TypeReturnsOnCall(i int, result1 string)
func (*FakeResource) Unpause ¶
func (fake *FakeResource) Unpause() error
func (*FakeResource) UnpauseCallCount ¶
func (fake *FakeResource) UnpauseCallCount() int
func (*FakeResource) UnpauseReturns ¶
func (fake *FakeResource) UnpauseReturns(result1 error)
func (*FakeResource) UnpauseReturnsOnCall ¶
func (fake *FakeResource) UnpauseReturnsOnCall(i int, result1 error)
func (*FakeResource) WebhookToken ¶
func (fake *FakeResource) WebhookToken() string
func (*FakeResource) WebhookTokenCallCount ¶
func (fake *FakeResource) WebhookTokenCallCount() int
func (*FakeResource) WebhookTokenReturns ¶
func (fake *FakeResource) WebhookTokenReturns(result1 string)
func (*FakeResource) WebhookTokenReturnsOnCall ¶
func (fake *FakeResource) WebhookTokenReturnsOnCall(i int, result1 string)
type FakeResourceCacheFactory ¶
type FakeResourceCacheFactory struct { FindOrCreateResourceCacheStub func(logger lager.Logger, resourceUser dbng.ResourceUser, resourceTypeName string, version atc.Version, source atc.Source, params atc.Params, resourceTypes atc.VersionedResourceTypes) (*dbng.UsedResourceCache, error) CleanUsesForFinishedBuildsStub func() error CleanUsesForInactiveResourceTypesStub func() error CleanUsesForInactiveResourcesStub func() error CleanUsesForPausedPipelineResourcesStub func() error CleanUpInvalidCachesStub func() error UpdateResourceCacheMetadataStub func(*dbng.UsedResourceCache, []atc.MetadataField) error ResourceCacheMetadataStub func(*dbng.UsedResourceCache) (dbng.ResourceMetadataFields, error) // contains filtered or unexported fields }
func (*FakeResourceCacheFactory) CleanUpInvalidCaches ¶
func (fake *FakeResourceCacheFactory) CleanUpInvalidCaches() error
func (*FakeResourceCacheFactory) CleanUpInvalidCachesCallCount ¶
func (fake *FakeResourceCacheFactory) CleanUpInvalidCachesCallCount() int
func (*FakeResourceCacheFactory) CleanUpInvalidCachesReturns ¶
func (fake *FakeResourceCacheFactory) CleanUpInvalidCachesReturns(result1 error)
func (*FakeResourceCacheFactory) CleanUpInvalidCachesReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) CleanUpInvalidCachesReturnsOnCall(i int, result1 error)
func (*FakeResourceCacheFactory) CleanUsesForFinishedBuilds ¶
func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuilds() error
func (*FakeResourceCacheFactory) CleanUsesForFinishedBuildsCallCount ¶
func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuildsCallCount() int
func (*FakeResourceCacheFactory) CleanUsesForFinishedBuildsReturns ¶
func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuildsReturns(result1 error)
func (*FakeResourceCacheFactory) CleanUsesForFinishedBuildsReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuildsReturnsOnCall(i int, result1 error)
func (*FakeResourceCacheFactory) CleanUsesForInactiveResourceTypes ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypes() error
func (*FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesCallCount ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesCallCount() int
func (*FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesReturns ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesReturns(result1 error)
func (*FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesReturnsOnCall(i int, result1 error)
func (*FakeResourceCacheFactory) CleanUsesForInactiveResources ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResources() error
func (*FakeResourceCacheFactory) CleanUsesForInactiveResourcesCallCount ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourcesCallCount() int
func (*FakeResourceCacheFactory) CleanUsesForInactiveResourcesReturns ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourcesReturns(result1 error)
func (*FakeResourceCacheFactory) CleanUsesForInactiveResourcesReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourcesReturnsOnCall(i int, result1 error)
func (*FakeResourceCacheFactory) CleanUsesForPausedPipelineResources ¶
func (fake *FakeResourceCacheFactory) CleanUsesForPausedPipelineResources() error
func (*FakeResourceCacheFactory) CleanUsesForPausedPipelineResourcesCallCount ¶
func (fake *FakeResourceCacheFactory) CleanUsesForPausedPipelineResourcesCallCount() int
func (*FakeResourceCacheFactory) CleanUsesForPausedPipelineResourcesReturns ¶
func (fake *FakeResourceCacheFactory) CleanUsesForPausedPipelineResourcesReturns(result1 error)
func (*FakeResourceCacheFactory) CleanUsesForPausedPipelineResourcesReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) CleanUsesForPausedPipelineResourcesReturnsOnCall(i int, result1 error)
func (*FakeResourceCacheFactory) FindOrCreateResourceCache ¶
func (fake *FakeResourceCacheFactory) FindOrCreateResourceCache(logger lager.Logger, resourceUser dbng.ResourceUser, resourceTypeName string, version atc.Version, source atc.Source, params atc.Params, resourceTypes atc.VersionedResourceTypes) (*dbng.UsedResourceCache, error)
func (*FakeResourceCacheFactory) FindOrCreateResourceCacheArgsForCall ¶
func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheArgsForCall(i int) (lager.Logger, dbng.ResourceUser, string, atc.Version, atc.Source, atc.Params, atc.VersionedResourceTypes)
func (*FakeResourceCacheFactory) FindOrCreateResourceCacheCallCount ¶
func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheCallCount() int
func (*FakeResourceCacheFactory) FindOrCreateResourceCacheReturns ¶
func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturns(result1 *dbng.UsedResourceCache, result2 error)
func (*FakeResourceCacheFactory) FindOrCreateResourceCacheReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturnsOnCall(i int, result1 *dbng.UsedResourceCache, result2 error)
func (*FakeResourceCacheFactory) Invocations ¶
func (fake *FakeResourceCacheFactory) Invocations() map[string][][]interface{}
func (*FakeResourceCacheFactory) ResourceCacheMetadata ¶
func (fake *FakeResourceCacheFactory) ResourceCacheMetadata(arg1 *dbng.UsedResourceCache) (dbng.ResourceMetadataFields, error)
func (*FakeResourceCacheFactory) ResourceCacheMetadataArgsForCall ¶
func (fake *FakeResourceCacheFactory) ResourceCacheMetadataArgsForCall(i int) *dbng.UsedResourceCache
func (*FakeResourceCacheFactory) ResourceCacheMetadataCallCount ¶
func (fake *FakeResourceCacheFactory) ResourceCacheMetadataCallCount() int
func (*FakeResourceCacheFactory) ResourceCacheMetadataReturns ¶
func (fake *FakeResourceCacheFactory) ResourceCacheMetadataReturns(result1 dbng.ResourceMetadataFields, result2 error)
func (*FakeResourceCacheFactory) ResourceCacheMetadataReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) ResourceCacheMetadataReturnsOnCall(i int, result1 dbng.ResourceMetadataFields, result2 error)
func (*FakeResourceCacheFactory) UpdateResourceCacheMetadata ¶
func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadata(arg1 *dbng.UsedResourceCache, arg2 []atc.MetadataField) error
func (*FakeResourceCacheFactory) UpdateResourceCacheMetadataArgsForCall ¶
func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataArgsForCall(i int) (*dbng.UsedResourceCache, []atc.MetadataField)
func (*FakeResourceCacheFactory) UpdateResourceCacheMetadataCallCount ¶
func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataCallCount() int
func (*FakeResourceCacheFactory) UpdateResourceCacheMetadataReturns ¶
func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataReturns(result1 error)
func (*FakeResourceCacheFactory) UpdateResourceCacheMetadataReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataReturnsOnCall(i int, result1 error)
type FakeResourceConfigFactory ¶
type FakeResourceConfigFactory struct { FindOrCreateResourceConfigStub func(logger lager.Logger, user dbng.ResourceUser, resourceType string, source atc.Source, resourceTypes atc.VersionedResourceTypes) (*dbng.UsedResourceConfig, error) FindResourceConfigStub func(logger lager.Logger, resourceType string, source atc.Source, resourceTypes atc.VersionedResourceTypes) (*dbng.UsedResourceConfig, bool, error) CleanConfigUsesForFinishedBuildsStub func() error CleanConfigUsesForInactiveResourceTypesStub func() error CleanConfigUsesForInactiveResourcesStub func() error CleanConfigUsesForPausedPipelinesResourcesStub func() error CleanConfigUsesForOutdatedResourceConfigsStub func() error CleanUselessConfigsStub func() error AcquireResourceCheckingLockStub func(logger lager.Logger, resourceUser dbng.ResourceUser, resourceType string, resourceSource atc.Source, resourceTypes atc.VersionedResourceTypes) (lock.Lock, bool, error) // contains filtered or unexported fields }
func (*FakeResourceConfigFactory) AcquireResourceCheckingLock ¶
func (fake *FakeResourceConfigFactory) AcquireResourceCheckingLock(logger lager.Logger, resourceUser dbng.ResourceUser, resourceType string, resourceSource atc.Source, resourceTypes atc.VersionedResourceTypes) (lock.Lock, bool, error)
func (*FakeResourceConfigFactory) AcquireResourceCheckingLockArgsForCall ¶
func (fake *FakeResourceConfigFactory) AcquireResourceCheckingLockArgsForCall(i int) (lager.Logger, dbng.ResourceUser, string, atc.Source, atc.VersionedResourceTypes)
func (*FakeResourceConfigFactory) AcquireResourceCheckingLockCallCount ¶
func (fake *FakeResourceConfigFactory) AcquireResourceCheckingLockCallCount() int
func (*FakeResourceConfigFactory) AcquireResourceCheckingLockReturns ¶
func (fake *FakeResourceConfigFactory) AcquireResourceCheckingLockReturns(result1 lock.Lock, result2 bool, result3 error)
func (*FakeResourceConfigFactory) AcquireResourceCheckingLockReturnsOnCall ¶
func (*FakeResourceConfigFactory) CleanConfigUsesForFinishedBuilds ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForFinishedBuilds() error
func (*FakeResourceConfigFactory) CleanConfigUsesForFinishedBuildsCallCount ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForFinishedBuildsCallCount() int
func (*FakeResourceConfigFactory) CleanConfigUsesForFinishedBuildsReturns ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForFinishedBuildsReturns(result1 error)
func (*FakeResourceConfigFactory) CleanConfigUsesForFinishedBuildsReturnsOnCall ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForFinishedBuildsReturnsOnCall(i int, result1 error)
func (*FakeResourceConfigFactory) CleanConfigUsesForInactiveResourceTypes ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResourceTypes() error
func (*FakeResourceConfigFactory) CleanConfigUsesForInactiveResourceTypesCallCount ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResourceTypesCallCount() int
func (*FakeResourceConfigFactory) CleanConfigUsesForInactiveResourceTypesReturns ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResourceTypesReturns(result1 error)
func (*FakeResourceConfigFactory) CleanConfigUsesForInactiveResourceTypesReturnsOnCall ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResourceTypesReturnsOnCall(i int, result1 error)
func (*FakeResourceConfigFactory) CleanConfigUsesForInactiveResources ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResources() error
func (*FakeResourceConfigFactory) CleanConfigUsesForInactiveResourcesCallCount ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResourcesCallCount() int
func (*FakeResourceConfigFactory) CleanConfigUsesForInactiveResourcesReturns ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResourcesReturns(result1 error)
func (*FakeResourceConfigFactory) CleanConfigUsesForInactiveResourcesReturnsOnCall ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForInactiveResourcesReturnsOnCall(i int, result1 error)
func (*FakeResourceConfigFactory) CleanConfigUsesForOutdatedResourceConfigs ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForOutdatedResourceConfigs() error
func (*FakeResourceConfigFactory) CleanConfigUsesForOutdatedResourceConfigsCallCount ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForOutdatedResourceConfigsCallCount() int
func (*FakeResourceConfigFactory) CleanConfigUsesForOutdatedResourceConfigsReturns ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForOutdatedResourceConfigsReturns(result1 error)
func (*FakeResourceConfigFactory) CleanConfigUsesForOutdatedResourceConfigsReturnsOnCall ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForOutdatedResourceConfigsReturnsOnCall(i int, result1 error)
func (*FakeResourceConfigFactory) CleanConfigUsesForPausedPipelinesResources ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForPausedPipelinesResources() error
func (*FakeResourceConfigFactory) CleanConfigUsesForPausedPipelinesResourcesCallCount ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForPausedPipelinesResourcesCallCount() int
func (*FakeResourceConfigFactory) CleanConfigUsesForPausedPipelinesResourcesReturns ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForPausedPipelinesResourcesReturns(result1 error)
func (*FakeResourceConfigFactory) CleanConfigUsesForPausedPipelinesResourcesReturnsOnCall ¶
func (fake *FakeResourceConfigFactory) CleanConfigUsesForPausedPipelinesResourcesReturnsOnCall(i int, result1 error)
func (*FakeResourceConfigFactory) CleanUselessConfigs ¶
func (fake *FakeResourceConfigFactory) CleanUselessConfigs() error
func (*FakeResourceConfigFactory) CleanUselessConfigsCallCount ¶
func (fake *FakeResourceConfigFactory) CleanUselessConfigsCallCount() int
func (*FakeResourceConfigFactory) CleanUselessConfigsReturns ¶
func (fake *FakeResourceConfigFactory) CleanUselessConfigsReturns(result1 error)
func (*FakeResourceConfigFactory) CleanUselessConfigsReturnsOnCall ¶
func (fake *FakeResourceConfigFactory) CleanUselessConfigsReturnsOnCall(i int, result1 error)
func (*FakeResourceConfigFactory) FindOrCreateResourceConfig ¶
func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfig(logger lager.Logger, user dbng.ResourceUser, resourceType string, source atc.Source, resourceTypes atc.VersionedResourceTypes) (*dbng.UsedResourceConfig, error)
func (*FakeResourceConfigFactory) FindOrCreateResourceConfigArgsForCall ¶
func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigArgsForCall(i int) (lager.Logger, dbng.ResourceUser, string, atc.Source, atc.VersionedResourceTypes)
func (*FakeResourceConfigFactory) FindOrCreateResourceConfigCallCount ¶
func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigCallCount() int
func (*FakeResourceConfigFactory) FindOrCreateResourceConfigReturns ¶
func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturns(result1 *dbng.UsedResourceConfig, result2 error)
func (*FakeResourceConfigFactory) FindOrCreateResourceConfigReturnsOnCall ¶
func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturnsOnCall(i int, result1 *dbng.UsedResourceConfig, result2 error)
func (*FakeResourceConfigFactory) FindResourceConfig ¶
func (fake *FakeResourceConfigFactory) FindResourceConfig(logger lager.Logger, resourceType string, source atc.Source, resourceTypes atc.VersionedResourceTypes) (*dbng.UsedResourceConfig, bool, error)
func (*FakeResourceConfigFactory) FindResourceConfigArgsForCall ¶
func (fake *FakeResourceConfigFactory) FindResourceConfigArgsForCall(i int) (lager.Logger, string, atc.Source, atc.VersionedResourceTypes)
func (*FakeResourceConfigFactory) FindResourceConfigCallCount ¶
func (fake *FakeResourceConfigFactory) FindResourceConfigCallCount() int
func (*FakeResourceConfigFactory) FindResourceConfigReturns ¶
func (fake *FakeResourceConfigFactory) FindResourceConfigReturns(result1 *dbng.UsedResourceConfig, result2 bool, result3 error)
func (*FakeResourceConfigFactory) FindResourceConfigReturnsOnCall ¶
func (fake *FakeResourceConfigFactory) FindResourceConfigReturnsOnCall(i int, result1 *dbng.UsedResourceConfig, result2 bool, result3 error)
func (*FakeResourceConfigFactory) Invocations ¶
func (fake *FakeResourceConfigFactory) Invocations() map[string][][]interface{}
type FakeResourceType ¶
type FakeResourceType struct { IDStub func() int NameStub func() string TypeStub func() string SourceStub func() atc.Source VersionStub func() atc.Version SaveVersionStub func(atc.Version) error ReloadStub func() (bool, error) // contains filtered or unexported fields }
func (*FakeResourceType) ID ¶
func (fake *FakeResourceType) ID() int
func (*FakeResourceType) IDCallCount ¶
func (fake *FakeResourceType) IDCallCount() int
func (*FakeResourceType) IDReturns ¶
func (fake *FakeResourceType) IDReturns(result1 int)
func (*FakeResourceType) IDReturnsOnCall ¶
func (fake *FakeResourceType) IDReturnsOnCall(i int, result1 int)
func (*FakeResourceType) Invocations ¶
func (fake *FakeResourceType) Invocations() map[string][][]interface{}
func (*FakeResourceType) Name ¶
func (fake *FakeResourceType) Name() string
func (*FakeResourceType) NameCallCount ¶
func (fake *FakeResourceType) NameCallCount() int
func (*FakeResourceType) NameReturns ¶
func (fake *FakeResourceType) NameReturns(result1 string)
func (*FakeResourceType) NameReturnsOnCall ¶
func (fake *FakeResourceType) NameReturnsOnCall(i int, result1 string)
func (*FakeResourceType) Reload ¶
func (fake *FakeResourceType) Reload() (bool, error)
func (*FakeResourceType) ReloadCallCount ¶
func (fake *FakeResourceType) ReloadCallCount() int
func (*FakeResourceType) ReloadReturns ¶
func (fake *FakeResourceType) ReloadReturns(result1 bool, result2 error)
func (*FakeResourceType) ReloadReturnsOnCall ¶
func (fake *FakeResourceType) ReloadReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeResourceType) SaveVersion ¶
func (fake *FakeResourceType) SaveVersion(arg1 atc.Version) error
func (*FakeResourceType) SaveVersionArgsForCall ¶
func (fake *FakeResourceType) SaveVersionArgsForCall(i int) atc.Version
func (*FakeResourceType) SaveVersionCallCount ¶
func (fake *FakeResourceType) SaveVersionCallCount() int
func (*FakeResourceType) SaveVersionReturns ¶
func (fake *FakeResourceType) SaveVersionReturns(result1 error)
func (*FakeResourceType) SaveVersionReturnsOnCall ¶
func (fake *FakeResourceType) SaveVersionReturnsOnCall(i int, result1 error)
func (*FakeResourceType) Source ¶
func (fake *FakeResourceType) Source() atc.Source
func (*FakeResourceType) SourceCallCount ¶
func (fake *FakeResourceType) SourceCallCount() int
func (*FakeResourceType) SourceReturns ¶
func (fake *FakeResourceType) SourceReturns(result1 atc.Source)
func (*FakeResourceType) SourceReturnsOnCall ¶
func (fake *FakeResourceType) SourceReturnsOnCall(i int, result1 atc.Source)
func (*FakeResourceType) Type ¶
func (fake *FakeResourceType) Type() string
func (*FakeResourceType) TypeCallCount ¶
func (fake *FakeResourceType) TypeCallCount() int
func (*FakeResourceType) TypeReturns ¶
func (fake *FakeResourceType) TypeReturns(result1 string)
func (*FakeResourceType) TypeReturnsOnCall ¶
func (fake *FakeResourceType) TypeReturnsOnCall(i int, result1 string)
func (*FakeResourceType) Version ¶
func (fake *FakeResourceType) Version() atc.Version
func (*FakeResourceType) VersionCallCount ¶
func (fake *FakeResourceType) VersionCallCount() int
func (*FakeResourceType) VersionReturns ¶
func (fake *FakeResourceType) VersionReturns(result1 atc.Version)
func (*FakeResourceType) VersionReturnsOnCall ¶
func (fake *FakeResourceType) VersionReturnsOnCall(i int, result1 atc.Version)
type FakeTeam ¶
type FakeTeam struct { IDStub func() int NameStub func() string AdminStub func() bool BasicAuthStub func() *atc.BasicAuth AuthStub func() map[string]*json.RawMessage DeleteStub func() error SavePipelineStub func(pipelineName string, config atc.Config, from dbng.ConfigVersion, pausedState dbng.PipelinePausedState) (dbng.Pipeline, bool, error) PipelineStub func(pipelineName string) (dbng.Pipeline, bool, error) PipelinesStub func() ([]dbng.Pipeline, error) PublicPipelinesStub func() ([]dbng.Pipeline, error) VisiblePipelinesStub func() ([]dbng.Pipeline, error) OrderPipelinesStub func([]string) error CreateOneOffBuildStub func() (dbng.Build, error) PrivateAndPublicBuildsStub func(dbng.Page) ([]dbng.Build, dbng.Pagination, error) SaveWorkerStub func(atcWorker atc.Worker, ttl time.Duration) (dbng.Worker, error) WorkersStub func() ([]dbng.Worker, error) FindContainerByHandleStub func(string) (dbng.Container, bool, error) FindContainersByMetadataStub func(dbng.ContainerMetadata) ([]dbng.Container, error) FindCheckContainersStub func(lager.Logger, string, string) ([]dbng.Container, error) FindCreatedContainerByHandleStub func(string) (dbng.CreatedContainer, bool, error) FindWorkerForResourceCheckContainerStub func(resourceConfig *dbng.UsedResourceConfig) (dbng.Worker, bool, error) FindResourceCheckContainerOnWorkerStub func(workerName string, resourceConfig *dbng.UsedResourceConfig) (dbng.CreatingContainer, dbng.CreatedContainer, error) CreateResourceCheckContainerStub func(workerName string, resourceConfig *dbng.UsedResourceConfig, meta dbng.ContainerMetadata) (dbng.CreatingContainer, error) CreateResourceGetContainerStub func(workerName string, resourceConfig *dbng.UsedResourceCache, meta dbng.ContainerMetadata) (dbng.CreatingContainer, error) FindWorkerForContainerStub func(handle string) (dbng.Worker, bool, error) FindWorkerForBuildContainerStub func(buildID int, planID atc.PlanID) (dbng.Worker, bool, error) FindBuildContainerOnWorkerStub func(workerName string, buildID int, planID atc.PlanID) (dbng.CreatingContainer, dbng.CreatedContainer, error) CreateBuildContainerStub func(workerName string, buildID int, planID atc.PlanID, meta dbng.ContainerMetadata) (dbng.CreatingContainer, error) UpdateBasicAuthStub func(basicAuth *atc.BasicAuth) error UpdateProviderAuthStub func(auth map[string]*json.RawMessage) error // contains filtered or unexported fields }
func (*FakeTeam) AdminCallCount ¶
func (*FakeTeam) AdminReturns ¶
func (*FakeTeam) AdminReturnsOnCall ¶
func (*FakeTeam) AuthCallCount ¶
func (*FakeTeam) AuthReturns ¶
func (fake *FakeTeam) AuthReturns(result1 map[string]*json.RawMessage)
func (*FakeTeam) AuthReturnsOnCall ¶
func (fake *FakeTeam) AuthReturnsOnCall(i int, result1 map[string]*json.RawMessage)
func (*FakeTeam) BasicAuthCallCount ¶
func (*FakeTeam) BasicAuthReturns ¶
func (*FakeTeam) BasicAuthReturnsOnCall ¶
func (*FakeTeam) CreateBuildContainer ¶
func (fake *FakeTeam) CreateBuildContainer(workerName string, buildID int, planID atc.PlanID, meta dbng.ContainerMetadata) (dbng.CreatingContainer, error)
func (*FakeTeam) CreateBuildContainerArgsForCall ¶
func (*FakeTeam) CreateBuildContainerCallCount ¶
func (*FakeTeam) CreateBuildContainerReturns ¶
func (fake *FakeTeam) CreateBuildContainerReturns(result1 dbng.CreatingContainer, result2 error)
func (*FakeTeam) CreateBuildContainerReturnsOnCall ¶
func (fake *FakeTeam) CreateBuildContainerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 error)
func (*FakeTeam) CreateOneOffBuildCallCount ¶
func (*FakeTeam) CreateOneOffBuildReturns ¶
func (*FakeTeam) CreateOneOffBuildReturnsOnCall ¶
func (*FakeTeam) CreateResourceCheckContainer ¶
func (fake *FakeTeam) CreateResourceCheckContainer(workerName string, resourceConfig *dbng.UsedResourceConfig, meta dbng.ContainerMetadata) (dbng.CreatingContainer, error)
func (*FakeTeam) CreateResourceCheckContainerArgsForCall ¶
func (fake *FakeTeam) CreateResourceCheckContainerArgsForCall(i int) (string, *dbng.UsedResourceConfig, dbng.ContainerMetadata)
func (*FakeTeam) CreateResourceCheckContainerCallCount ¶
func (*FakeTeam) CreateResourceCheckContainerReturns ¶
func (fake *FakeTeam) CreateResourceCheckContainerReturns(result1 dbng.CreatingContainer, result2 error)
func (*FakeTeam) CreateResourceCheckContainerReturnsOnCall ¶
func (fake *FakeTeam) CreateResourceCheckContainerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 error)
func (*FakeTeam) CreateResourceGetContainer ¶
func (fake *FakeTeam) CreateResourceGetContainer(workerName string, resourceConfig *dbng.UsedResourceCache, meta dbng.ContainerMetadata) (dbng.CreatingContainer, error)
func (*FakeTeam) CreateResourceGetContainerArgsForCall ¶
func (fake *FakeTeam) CreateResourceGetContainerArgsForCall(i int) (string, *dbng.UsedResourceCache, dbng.ContainerMetadata)
func (*FakeTeam) CreateResourceGetContainerCallCount ¶
func (*FakeTeam) CreateResourceGetContainerReturns ¶
func (fake *FakeTeam) CreateResourceGetContainerReturns(result1 dbng.CreatingContainer, result2 error)
func (*FakeTeam) CreateResourceGetContainerReturnsOnCall ¶
func (fake *FakeTeam) CreateResourceGetContainerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 error)
func (*FakeTeam) DeleteCallCount ¶
func (*FakeTeam) DeleteReturns ¶
func (*FakeTeam) DeleteReturnsOnCall ¶
func (*FakeTeam) FindBuildContainerOnWorker ¶
func (fake *FakeTeam) FindBuildContainerOnWorker(workerName string, buildID int, planID atc.PlanID) (dbng.CreatingContainer, dbng.CreatedContainer, error)
func (*FakeTeam) FindBuildContainerOnWorkerArgsForCall ¶
func (*FakeTeam) FindBuildContainerOnWorkerCallCount ¶
func (*FakeTeam) FindBuildContainerOnWorkerReturns ¶
func (fake *FakeTeam) FindBuildContainerOnWorkerReturns(result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, result3 error)
func (*FakeTeam) FindBuildContainerOnWorkerReturnsOnCall ¶
func (fake *FakeTeam) FindBuildContainerOnWorkerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, result3 error)
func (*FakeTeam) FindCheckContainers ¶
func (*FakeTeam) FindCheckContainersArgsForCall ¶
func (*FakeTeam) FindCheckContainersCallCount ¶
func (*FakeTeam) FindCheckContainersReturns ¶
func (*FakeTeam) FindCheckContainersReturnsOnCall ¶
func (*FakeTeam) FindContainerByHandle ¶
func (*FakeTeam) FindContainerByHandleArgsForCall ¶
func (*FakeTeam) FindContainerByHandleCallCount ¶
func (*FakeTeam) FindContainerByHandleReturns ¶
func (*FakeTeam) FindContainerByHandleReturnsOnCall ¶
func (*FakeTeam) FindContainersByMetadata ¶
func (*FakeTeam) FindContainersByMetadataArgsForCall ¶
func (fake *FakeTeam) FindContainersByMetadataArgsForCall(i int) dbng.ContainerMetadata
func (*FakeTeam) FindContainersByMetadataCallCount ¶
func (*FakeTeam) FindContainersByMetadataReturns ¶
func (*FakeTeam) FindContainersByMetadataReturnsOnCall ¶
func (*FakeTeam) FindCreatedContainerByHandle ¶
func (*FakeTeam) FindCreatedContainerByHandleArgsForCall ¶
func (*FakeTeam) FindCreatedContainerByHandleCallCount ¶
func (*FakeTeam) FindCreatedContainerByHandleReturns ¶
func (fake *FakeTeam) FindCreatedContainerByHandleReturns(result1 dbng.CreatedContainer, result2 bool, result3 error)
func (*FakeTeam) FindCreatedContainerByHandleReturnsOnCall ¶
func (*FakeTeam) FindResourceCheckContainerOnWorker ¶
func (fake *FakeTeam) FindResourceCheckContainerOnWorker(workerName string, resourceConfig *dbng.UsedResourceConfig) (dbng.CreatingContainer, dbng.CreatedContainer, error)
func (*FakeTeam) FindResourceCheckContainerOnWorkerArgsForCall ¶
func (fake *FakeTeam) FindResourceCheckContainerOnWorkerArgsForCall(i int) (string, *dbng.UsedResourceConfig)
func (*FakeTeam) FindResourceCheckContainerOnWorkerCallCount ¶
func (*FakeTeam) FindResourceCheckContainerOnWorkerReturns ¶
func (fake *FakeTeam) FindResourceCheckContainerOnWorkerReturns(result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, result3 error)
func (*FakeTeam) FindResourceCheckContainerOnWorkerReturnsOnCall ¶
func (fake *FakeTeam) FindResourceCheckContainerOnWorkerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, result3 error)
func (*FakeTeam) FindWorkerForBuildContainer ¶
func (*FakeTeam) FindWorkerForBuildContainerArgsForCall ¶
func (*FakeTeam) FindWorkerForBuildContainerCallCount ¶
func (*FakeTeam) FindWorkerForBuildContainerReturns ¶
func (*FakeTeam) FindWorkerForBuildContainerReturnsOnCall ¶
func (*FakeTeam) FindWorkerForContainer ¶
func (*FakeTeam) FindWorkerForContainerArgsForCall ¶
func (*FakeTeam) FindWorkerForContainerCallCount ¶
func (*FakeTeam) FindWorkerForContainerReturns ¶
func (*FakeTeam) FindWorkerForContainerReturnsOnCall ¶
func (*FakeTeam) FindWorkerForResourceCheckContainer ¶
func (*FakeTeam) FindWorkerForResourceCheckContainerArgsForCall ¶
func (fake *FakeTeam) FindWorkerForResourceCheckContainerArgsForCall(i int) *dbng.UsedResourceConfig
func (*FakeTeam) FindWorkerForResourceCheckContainerCallCount ¶
func (*FakeTeam) FindWorkerForResourceCheckContainerReturns ¶
func (*FakeTeam) FindWorkerForResourceCheckContainerReturnsOnCall ¶
func (*FakeTeam) IDCallCount ¶
func (*FakeTeam) IDReturnsOnCall ¶
func (*FakeTeam) Invocations ¶
func (*FakeTeam) NameCallCount ¶
func (*FakeTeam) NameReturns ¶
func (*FakeTeam) NameReturnsOnCall ¶
func (*FakeTeam) OrderPipelines ¶
func (*FakeTeam) OrderPipelinesArgsForCall ¶
func (*FakeTeam) OrderPipelinesCallCount ¶
func (*FakeTeam) OrderPipelinesReturns ¶
func (*FakeTeam) OrderPipelinesReturnsOnCall ¶
func (*FakeTeam) PipelineArgsForCall ¶
func (*FakeTeam) PipelineCallCount ¶
func (*FakeTeam) PipelineReturns ¶
func (*FakeTeam) PipelineReturnsOnCall ¶
func (*FakeTeam) PipelinesCallCount ¶
func (*FakeTeam) PipelinesReturns ¶
func (*FakeTeam) PipelinesReturnsOnCall ¶
func (*FakeTeam) PrivateAndPublicBuilds ¶
func (*FakeTeam) PrivateAndPublicBuildsArgsForCall ¶
func (*FakeTeam) PrivateAndPublicBuildsCallCount ¶
func (*FakeTeam) PrivateAndPublicBuildsReturns ¶
func (*FakeTeam) PrivateAndPublicBuildsReturnsOnCall ¶
func (*FakeTeam) PublicPipelinesCallCount ¶
func (*FakeTeam) PublicPipelinesReturns ¶
func (*FakeTeam) PublicPipelinesReturnsOnCall ¶
func (*FakeTeam) SavePipeline ¶
func (*FakeTeam) SavePipelineArgsForCall ¶
func (fake *FakeTeam) SavePipelineArgsForCall(i int) (string, atc.Config, dbng.ConfigVersion, dbng.PipelinePausedState)
func (*FakeTeam) SavePipelineCallCount ¶
func (*FakeTeam) SavePipelineReturns ¶
func (*FakeTeam) SavePipelineReturnsOnCall ¶
func (*FakeTeam) SaveWorker ¶
func (*FakeTeam) SaveWorkerArgsForCall ¶
func (*FakeTeam) SaveWorkerCallCount ¶
func (*FakeTeam) SaveWorkerReturns ¶
func (*FakeTeam) SaveWorkerReturnsOnCall ¶
func (*FakeTeam) UpdateBasicAuth ¶
func (*FakeTeam) UpdateBasicAuthArgsForCall ¶
func (*FakeTeam) UpdateBasicAuthCallCount ¶
func (*FakeTeam) UpdateBasicAuthReturns ¶
func (*FakeTeam) UpdateBasicAuthReturnsOnCall ¶
func (*FakeTeam) UpdateProviderAuth ¶
func (fake *FakeTeam) UpdateProviderAuth(auth map[string]*json.RawMessage) error
func (*FakeTeam) UpdateProviderAuthArgsForCall ¶
func (fake *FakeTeam) UpdateProviderAuthArgsForCall(i int) map[string]*json.RawMessage
func (*FakeTeam) UpdateProviderAuthCallCount ¶
func (*FakeTeam) UpdateProviderAuthReturns ¶
func (*FakeTeam) UpdateProviderAuthReturnsOnCall ¶
func (*FakeTeam) VisiblePipelines ¶
func (*FakeTeam) VisiblePipelinesCallCount ¶
func (*FakeTeam) VisiblePipelinesReturns ¶
func (*FakeTeam) VisiblePipelinesReturnsOnCall ¶
func (*FakeTeam) WorkersCallCount ¶
func (*FakeTeam) WorkersReturns ¶
type FakeTeamFactory ¶
type FakeTeamFactory struct { CreateTeamStub func(atc.Team) (dbng.Team, error) FindTeamStub func(string) (dbng.Team, bool, error) GetTeamsStub func() ([]dbng.Team, error) GetByIDStub func(teamID int) dbng.Team // contains filtered or unexported fields }
func (*FakeTeamFactory) CreateTeam ¶
func (*FakeTeamFactory) CreateTeamArgsForCall ¶
func (fake *FakeTeamFactory) CreateTeamArgsForCall(i int) atc.Team
func (*FakeTeamFactory) CreateTeamCallCount ¶
func (fake *FakeTeamFactory) CreateTeamCallCount() int
func (*FakeTeamFactory) CreateTeamReturns ¶
func (fake *FakeTeamFactory) CreateTeamReturns(result1 dbng.Team, result2 error)
func (*FakeTeamFactory) CreateTeamReturnsOnCall ¶
func (fake *FakeTeamFactory) CreateTeamReturnsOnCall(i int, result1 dbng.Team, result2 error)
func (*FakeTeamFactory) FindTeamArgsForCall ¶
func (fake *FakeTeamFactory) FindTeamArgsForCall(i int) string
func (*FakeTeamFactory) FindTeamCallCount ¶
func (fake *FakeTeamFactory) FindTeamCallCount() int
func (*FakeTeamFactory) FindTeamReturns ¶
func (fake *FakeTeamFactory) FindTeamReturns(result1 dbng.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) GetByIDReturns ¶
func (fake *FakeTeamFactory) GetByIDReturns(result1 dbng.Team)
func (*FakeTeamFactory) GetByIDReturnsOnCall ¶
func (fake *FakeTeamFactory) GetByIDReturnsOnCall(i int, result1 dbng.Team)
func (*FakeTeamFactory) GetTeamsCallCount ¶
func (fake *FakeTeamFactory) GetTeamsCallCount() int
func (*FakeTeamFactory) GetTeamsReturns ¶
func (fake *FakeTeamFactory) GetTeamsReturns(result1 []dbng.Team, result2 error)
func (*FakeTeamFactory) GetTeamsReturnsOnCall ¶
func (fake *FakeTeamFactory) GetTeamsReturnsOnCall(i int, result1 []dbng.Team, result2 error)
func (*FakeTeamFactory) Invocations ¶
func (fake *FakeTeamFactory) Invocations() map[string][][]interface{}
type FakeTx ¶
type FakeTx struct { CommitStub func() error ExecStub func(query string, args ...interface{}) (sql.Result, error) PrepareStub func(query string) (*sql.Stmt, error) QueryStub func(query string, args ...interface{}) (*sql.Rows, error) QueryRowStub func(query string, args ...interface{}) squirrel.RowScanner RollbackStub func() error StmtStub func(stmt *sql.Stmt) *sql.Stmt // contains filtered or unexported fields }
func (*FakeTx) CommitCallCount ¶
func (*FakeTx) CommitReturns ¶
func (*FakeTx) CommitReturnsOnCall ¶
func (*FakeTx) ExecArgsForCall ¶
func (*FakeTx) ExecCallCount ¶
func (*FakeTx) ExecReturnsOnCall ¶
func (*FakeTx) Invocations ¶
func (*FakeTx) PrepareArgsForCall ¶
func (*FakeTx) PrepareCallCount ¶
func (*FakeTx) PrepareReturns ¶
func (*FakeTx) PrepareReturnsOnCall ¶
func (*FakeTx) QueryArgsForCall ¶
func (*FakeTx) QueryCallCount ¶
func (*FakeTx) QueryReturnsOnCall ¶
func (*FakeTx) QueryRow ¶
func (fake *FakeTx) QueryRow(query string, args ...interface{}) squirrel.RowScanner
func (*FakeTx) QueryRowArgsForCall ¶
func (*FakeTx) QueryRowCallCount ¶
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) RollbackReturns ¶
func (*FakeTx) RollbackReturnsOnCall ¶
func (*FakeTx) StmtCallCount ¶
func (*FakeTx) StmtReturns ¶
type FakeVolumeFactory ¶
type FakeVolumeFactory struct { GetTeamVolumesStub func(teamID int) ([]dbng.CreatedVolume, error) CreateContainerVolumeStub func(int, dbng.Worker, dbng.CreatingContainer, string) (dbng.CreatingVolume, error) FindContainerVolumeStub func(int, dbng.Worker, dbng.CreatingContainer, string) (dbng.CreatingVolume, dbng.CreatedVolume, error) FindBaseResourceTypeVolumeStub func(int, *dbng.UsedWorkerBaseResourceType) (dbng.CreatingVolume, dbng.CreatedVolume, error) CreateBaseResourceTypeVolumeStub func(int, *dbng.UsedWorkerBaseResourceType) (dbng.CreatingVolume, error) FindResourceCacheVolumeStub func(dbng.Worker, *dbng.UsedResourceCache) (dbng.CreatingVolume, dbng.CreatedVolume, error) FindResourceCacheInitializedVolumeStub func(dbng.Worker, *dbng.UsedResourceCache) (dbng.CreatedVolume, bool, error) CreateResourceCacheVolumeStub func(dbng.Worker, *dbng.UsedResourceCache) (dbng.CreatingVolume, error) FindVolumesForContainerStub func(dbng.CreatedContainer) ([]dbng.CreatedVolume, error) GetOrphanedVolumesStub func() ([]dbng.CreatedVolume, []dbng.DestroyingVolume, error) GetDuplicateResourceCacheVolumesStub func() ([]dbng.CreatingVolume, []dbng.CreatedVolume, []dbng.DestroyingVolume, error) FindCreatedVolumeStub func(handle string) (dbng.CreatedVolume, bool, error) // contains filtered or unexported fields }
func (*FakeVolumeFactory) CreateBaseResourceTypeVolume ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolume(arg1 int, arg2 *dbng.UsedWorkerBaseResourceType) (dbng.CreatingVolume, error)
func (*FakeVolumeFactory) CreateBaseResourceTypeVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeArgsForCall(i int) (int, *dbng.UsedWorkerBaseResourceType)
func (*FakeVolumeFactory) CreateBaseResourceTypeVolumeCallCount ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeCallCount() int
func (*FakeVolumeFactory) CreateBaseResourceTypeVolumeReturns ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeReturns(result1 dbng.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateBaseResourceTypeVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateContainerVolume ¶
func (fake *FakeVolumeFactory) CreateContainerVolume(arg1 int, arg2 dbng.Worker, arg3 dbng.CreatingContainer, arg4 string) (dbng.CreatingVolume, error)
func (*FakeVolumeFactory) CreateContainerVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) CreateContainerVolumeArgsForCall(i int) (int, dbng.Worker, dbng.CreatingContainer, string)
func (*FakeVolumeFactory) CreateContainerVolumeCallCount ¶
func (fake *FakeVolumeFactory) CreateContainerVolumeCallCount() int
func (*FakeVolumeFactory) CreateContainerVolumeReturns ¶
func (fake *FakeVolumeFactory) CreateContainerVolumeReturns(result1 dbng.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateContainerVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) CreateContainerVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateResourceCacheVolume ¶
func (fake *FakeVolumeFactory) CreateResourceCacheVolume(arg1 dbng.Worker, arg2 *dbng.UsedResourceCache) (dbng.CreatingVolume, error)
func (*FakeVolumeFactory) CreateResourceCacheVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) CreateResourceCacheVolumeArgsForCall(i int) (dbng.Worker, *dbng.UsedResourceCache)
func (*FakeVolumeFactory) CreateResourceCacheVolumeCallCount ¶
func (fake *FakeVolumeFactory) CreateResourceCacheVolumeCallCount() int
func (*FakeVolumeFactory) CreateResourceCacheVolumeReturns ¶
func (fake *FakeVolumeFactory) CreateResourceCacheVolumeReturns(result1 dbng.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateResourceCacheVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) CreateResourceCacheVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
func (*FakeVolumeFactory) FindBaseResourceTypeVolume ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolume(arg1 int, arg2 *dbng.UsedWorkerBaseResourceType) (dbng.CreatingVolume, dbng.CreatedVolume, error)
func (*FakeVolumeFactory) FindBaseResourceTypeVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeArgsForCall(i int) (int, *dbng.UsedWorkerBaseResourceType)
func (*FakeVolumeFactory) FindBaseResourceTypeVolumeCallCount ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeCallCount() int
func (*FakeVolumeFactory) FindBaseResourceTypeVolumeReturns ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeReturns(result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindBaseResourceTypeVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindContainerVolume ¶
func (fake *FakeVolumeFactory) FindContainerVolume(arg1 int, arg2 dbng.Worker, arg3 dbng.CreatingContainer, arg4 string) (dbng.CreatingVolume, dbng.CreatedVolume, error)
func (*FakeVolumeFactory) FindContainerVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) FindContainerVolumeArgsForCall(i int) (int, dbng.Worker, dbng.CreatingContainer, string)
func (*FakeVolumeFactory) FindContainerVolumeCallCount ¶
func (fake *FakeVolumeFactory) FindContainerVolumeCallCount() int
func (*FakeVolumeFactory) FindContainerVolumeReturns ¶
func (fake *FakeVolumeFactory) FindContainerVolumeReturns(result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindContainerVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindContainerVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindCreatedVolume ¶
func (fake *FakeVolumeFactory) FindCreatedVolume(handle string) (dbng.CreatedVolume, bool, error)
func (*FakeVolumeFactory) FindCreatedVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) FindCreatedVolumeArgsForCall(i int) string
func (*FakeVolumeFactory) FindCreatedVolumeCallCount ¶
func (fake *FakeVolumeFactory) FindCreatedVolumeCallCount() int
func (*FakeVolumeFactory) FindCreatedVolumeReturns ¶
func (fake *FakeVolumeFactory) FindCreatedVolumeReturns(result1 dbng.CreatedVolume, result2 bool, result3 error)
func (*FakeVolumeFactory) FindCreatedVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindCreatedVolumeReturnsOnCall(i int, result1 dbng.CreatedVolume, result2 bool, result3 error)
func (*FakeVolumeFactory) FindResourceCacheInitializedVolume ¶
func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolume(arg1 dbng.Worker, arg2 *dbng.UsedResourceCache) (dbng.CreatedVolume, bool, error)
func (*FakeVolumeFactory) FindResourceCacheInitializedVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeArgsForCall(i int) (dbng.Worker, *dbng.UsedResourceCache)
func (*FakeVolumeFactory) FindResourceCacheInitializedVolumeCallCount ¶
func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeCallCount() int
func (*FakeVolumeFactory) FindResourceCacheInitializedVolumeReturns ¶
func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeReturns(result1 dbng.CreatedVolume, result2 bool, result3 error)
func (*FakeVolumeFactory) FindResourceCacheInitializedVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeReturnsOnCall(i int, result1 dbng.CreatedVolume, result2 bool, result3 error)
func (*FakeVolumeFactory) FindResourceCacheVolume ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolume(arg1 dbng.Worker, arg2 *dbng.UsedResourceCache) (dbng.CreatingVolume, dbng.CreatedVolume, error)
func (*FakeVolumeFactory) FindResourceCacheVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolumeArgsForCall(i int) (dbng.Worker, *dbng.UsedResourceCache)
func (*FakeVolumeFactory) FindResourceCacheVolumeCallCount ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolumeCallCount() int
func (*FakeVolumeFactory) FindResourceCacheVolumeReturns ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolumeReturns(result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindResourceCacheVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindVolumesForContainer ¶
func (fake *FakeVolumeFactory) FindVolumesForContainer(arg1 dbng.CreatedContainer) ([]dbng.CreatedVolume, error)
func (*FakeVolumeFactory) FindVolumesForContainerArgsForCall ¶
func (fake *FakeVolumeFactory) FindVolumesForContainerArgsForCall(i int) dbng.CreatedContainer
func (*FakeVolumeFactory) FindVolumesForContainerCallCount ¶
func (fake *FakeVolumeFactory) FindVolumesForContainerCallCount() int
func (*FakeVolumeFactory) FindVolumesForContainerReturns ¶
func (fake *FakeVolumeFactory) FindVolumesForContainerReturns(result1 []dbng.CreatedVolume, result2 error)
func (*FakeVolumeFactory) FindVolumesForContainerReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindVolumesForContainerReturnsOnCall(i int, result1 []dbng.CreatedVolume, result2 error)
func (*FakeVolumeFactory) GetDuplicateResourceCacheVolumes ¶
func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumes() ([]dbng.CreatingVolume, []dbng.CreatedVolume, []dbng.DestroyingVolume, error)
func (*FakeVolumeFactory) GetDuplicateResourceCacheVolumesCallCount ¶
func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumesCallCount() int
func (*FakeVolumeFactory) GetDuplicateResourceCacheVolumesReturns ¶
func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumesReturns(result1 []dbng.CreatingVolume, result2 []dbng.CreatedVolume, result3 []dbng.DestroyingVolume, result4 error)
func (*FakeVolumeFactory) GetDuplicateResourceCacheVolumesReturnsOnCall ¶
func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumesReturnsOnCall(i int, result1 []dbng.CreatingVolume, result2 []dbng.CreatedVolume, result3 []dbng.DestroyingVolume, result4 error)
func (*FakeVolumeFactory) GetOrphanedVolumes ¶
func (fake *FakeVolumeFactory) GetOrphanedVolumes() ([]dbng.CreatedVolume, []dbng.DestroyingVolume, error)
func (*FakeVolumeFactory) GetOrphanedVolumesCallCount ¶
func (fake *FakeVolumeFactory) GetOrphanedVolumesCallCount() int
func (*FakeVolumeFactory) GetOrphanedVolumesReturns ¶
func (fake *FakeVolumeFactory) GetOrphanedVolumesReturns(result1 []dbng.CreatedVolume, result2 []dbng.DestroyingVolume, result3 error)
func (*FakeVolumeFactory) GetOrphanedVolumesReturnsOnCall ¶
func (fake *FakeVolumeFactory) GetOrphanedVolumesReturnsOnCall(i int, result1 []dbng.CreatedVolume, result2 []dbng.DestroyingVolume, result3 error)
func (*FakeVolumeFactory) GetTeamVolumes ¶
func (fake *FakeVolumeFactory) GetTeamVolumes(teamID int) ([]dbng.CreatedVolume, error)
func (*FakeVolumeFactory) GetTeamVolumesArgsForCall ¶
func (fake *FakeVolumeFactory) GetTeamVolumesArgsForCall(i int) int
func (*FakeVolumeFactory) GetTeamVolumesCallCount ¶
func (fake *FakeVolumeFactory) GetTeamVolumesCallCount() int
func (*FakeVolumeFactory) GetTeamVolumesReturns ¶
func (fake *FakeVolumeFactory) GetTeamVolumesReturns(result1 []dbng.CreatedVolume, result2 error)
func (*FakeVolumeFactory) GetTeamVolumesReturnsOnCall ¶
func (fake *FakeVolumeFactory) GetTeamVolumesReturnsOnCall(i int, result1 []dbng.CreatedVolume, result2 error)
func (*FakeVolumeFactory) Invocations ¶
func (fake *FakeVolumeFactory) Invocations() map[string][][]interface{}
type FakeWorker ¶
type FakeWorker struct { NameStub func() string VersionStub func() *string StateStub func() dbng.WorkerState GardenAddrStub func() *string BaggageclaimURLStub func() *string HTTPProxyURLStub func() string HTTPSProxyURLStub func() string NoProxyStub func() string ActiveContainersStub func() int ResourceTypesStub func() []atc.WorkerResourceType PlatformStub func() string TagsStub func() []string TeamIDStub func() int TeamNameStub func() string StartTimeStub func() int64 ExpiresAtStub func() time.Time ReloadStub func() (bool, error) LandStub func() error RetireStub func() error PruneStub func() error DeleteStub func() error // contains filtered or unexported fields }
func (*FakeWorker) ActiveContainers ¶
func (fake *FakeWorker) ActiveContainers() int
func (*FakeWorker) ActiveContainersCallCount ¶
func (fake *FakeWorker) ActiveContainersCallCount() int
func (*FakeWorker) ActiveContainersReturns ¶
func (fake *FakeWorker) ActiveContainersReturns(result1 int)
func (*FakeWorker) ActiveContainersReturnsOnCall ¶
func (fake *FakeWorker) ActiveContainersReturnsOnCall(i int, result1 int)
func (*FakeWorker) BaggageclaimURL ¶
func (fake *FakeWorker) BaggageclaimURL() *string
func (*FakeWorker) BaggageclaimURLCallCount ¶
func (fake *FakeWorker) BaggageclaimURLCallCount() int
func (*FakeWorker) BaggageclaimURLReturns ¶
func (fake *FakeWorker) BaggageclaimURLReturns(result1 *string)
func (*FakeWorker) BaggageclaimURLReturnsOnCall ¶
func (fake *FakeWorker) BaggageclaimURLReturnsOnCall(i int, result1 *string)
func (*FakeWorker) Delete ¶
func (fake *FakeWorker) Delete() error
func (*FakeWorker) DeleteCallCount ¶
func (fake *FakeWorker) DeleteCallCount() int
func (*FakeWorker) DeleteReturns ¶
func (fake *FakeWorker) DeleteReturns(result1 error)
func (*FakeWorker) DeleteReturnsOnCall ¶
func (fake *FakeWorker) DeleteReturnsOnCall(i int, result1 error)
func (*FakeWorker) ExpiresAt ¶
func (fake *FakeWorker) ExpiresAt() time.Time
func (*FakeWorker) ExpiresAtCallCount ¶
func (fake *FakeWorker) ExpiresAtCallCount() int
func (*FakeWorker) ExpiresAtReturns ¶
func (fake *FakeWorker) ExpiresAtReturns(result1 time.Time)
func (*FakeWorker) ExpiresAtReturnsOnCall ¶
func (fake *FakeWorker) ExpiresAtReturnsOnCall(i int, result1 time.Time)
func (*FakeWorker) GardenAddr ¶
func (fake *FakeWorker) GardenAddr() *string
func (*FakeWorker) GardenAddrCallCount ¶
func (fake *FakeWorker) GardenAddrCallCount() int
func (*FakeWorker) GardenAddrReturns ¶
func (fake *FakeWorker) GardenAddrReturns(result1 *string)
func (*FakeWorker) GardenAddrReturnsOnCall ¶
func (fake *FakeWorker) GardenAddrReturnsOnCall(i int, result1 *string)
func (*FakeWorker) HTTPProxyURL ¶
func (fake *FakeWorker) HTTPProxyURL() string
func (*FakeWorker) HTTPProxyURLCallCount ¶
func (fake *FakeWorker) HTTPProxyURLCallCount() int
func (*FakeWorker) HTTPProxyURLReturns ¶
func (fake *FakeWorker) HTTPProxyURLReturns(result1 string)
func (*FakeWorker) HTTPProxyURLReturnsOnCall ¶
func (fake *FakeWorker) HTTPProxyURLReturnsOnCall(i int, result1 string)
func (*FakeWorker) HTTPSProxyURL ¶
func (fake *FakeWorker) HTTPSProxyURL() string
func (*FakeWorker) HTTPSProxyURLCallCount ¶
func (fake *FakeWorker) HTTPSProxyURLCallCount() int
func (*FakeWorker) HTTPSProxyURLReturns ¶
func (fake *FakeWorker) HTTPSProxyURLReturns(result1 string)
func (*FakeWorker) HTTPSProxyURLReturnsOnCall ¶
func (fake *FakeWorker) HTTPSProxyURLReturnsOnCall(i int, result1 string)
func (*FakeWorker) Invocations ¶
func (fake *FakeWorker) Invocations() map[string][][]interface{}
func (*FakeWorker) Land ¶
func (fake *FakeWorker) Land() error
func (*FakeWorker) LandCallCount ¶
func (fake *FakeWorker) LandCallCount() int
func (*FakeWorker) LandReturns ¶
func (fake *FakeWorker) LandReturns(result1 error)
func (*FakeWorker) LandReturnsOnCall ¶
func (fake *FakeWorker) LandReturnsOnCall(i int, result1 error)
func (*FakeWorker) Name ¶
func (fake *FakeWorker) Name() string
func (*FakeWorker) NameCallCount ¶
func (fake *FakeWorker) NameCallCount() int
func (*FakeWorker) NameReturns ¶
func (fake *FakeWorker) NameReturns(result1 string)
func (*FakeWorker) NameReturnsOnCall ¶
func (fake *FakeWorker) NameReturnsOnCall(i int, result1 string)
func (*FakeWorker) NoProxy ¶
func (fake *FakeWorker) NoProxy() string
func (*FakeWorker) NoProxyCallCount ¶
func (fake *FakeWorker) NoProxyCallCount() int
func (*FakeWorker) NoProxyReturns ¶
func (fake *FakeWorker) NoProxyReturns(result1 string)
func (*FakeWorker) NoProxyReturnsOnCall ¶
func (fake *FakeWorker) NoProxyReturnsOnCall(i int, result1 string)
func (*FakeWorker) Platform ¶
func (fake *FakeWorker) Platform() string
func (*FakeWorker) PlatformCallCount ¶
func (fake *FakeWorker) PlatformCallCount() int
func (*FakeWorker) PlatformReturns ¶
func (fake *FakeWorker) PlatformReturns(result1 string)
func (*FakeWorker) PlatformReturnsOnCall ¶
func (fake *FakeWorker) PlatformReturnsOnCall(i int, result1 string)
func (*FakeWorker) Prune ¶
func (fake *FakeWorker) Prune() error
func (*FakeWorker) PruneCallCount ¶
func (fake *FakeWorker) PruneCallCount() int
func (*FakeWorker) PruneReturns ¶
func (fake *FakeWorker) PruneReturns(result1 error)
func (*FakeWorker) PruneReturnsOnCall ¶
func (fake *FakeWorker) PruneReturnsOnCall(i int, result1 error)
func (*FakeWorker) Reload ¶
func (fake *FakeWorker) Reload() (bool, error)
func (*FakeWorker) ReloadCallCount ¶
func (fake *FakeWorker) ReloadCallCount() int
func (*FakeWorker) ReloadReturns ¶
func (fake *FakeWorker) ReloadReturns(result1 bool, result2 error)
func (*FakeWorker) ReloadReturnsOnCall ¶
func (fake *FakeWorker) ReloadReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeWorker) ResourceTypes ¶
func (fake *FakeWorker) ResourceTypes() []atc.WorkerResourceType
func (*FakeWorker) ResourceTypesCallCount ¶
func (fake *FakeWorker) ResourceTypesCallCount() int
func (*FakeWorker) ResourceTypesReturns ¶
func (fake *FakeWorker) ResourceTypesReturns(result1 []atc.WorkerResourceType)
func (*FakeWorker) ResourceTypesReturnsOnCall ¶
func (fake *FakeWorker) ResourceTypesReturnsOnCall(i int, result1 []atc.WorkerResourceType)
func (*FakeWorker) Retire ¶
func (fake *FakeWorker) Retire() error
func (*FakeWorker) RetireCallCount ¶
func (fake *FakeWorker) RetireCallCount() int
func (*FakeWorker) RetireReturns ¶
func (fake *FakeWorker) RetireReturns(result1 error)
func (*FakeWorker) RetireReturnsOnCall ¶
func (fake *FakeWorker) RetireReturnsOnCall(i int, result1 error)
func (*FakeWorker) StartTime ¶
func (fake *FakeWorker) StartTime() int64
func (*FakeWorker) StartTimeCallCount ¶
func (fake *FakeWorker) StartTimeCallCount() int
func (*FakeWorker) StartTimeReturns ¶
func (fake *FakeWorker) StartTimeReturns(result1 int64)
func (*FakeWorker) StartTimeReturnsOnCall ¶
func (fake *FakeWorker) StartTimeReturnsOnCall(i int, result1 int64)
func (*FakeWorker) State ¶
func (fake *FakeWorker) State() dbng.WorkerState
func (*FakeWorker) StateCallCount ¶
func (fake *FakeWorker) StateCallCount() int
func (*FakeWorker) StateReturns ¶
func (fake *FakeWorker) StateReturns(result1 dbng.WorkerState)
func (*FakeWorker) StateReturnsOnCall ¶
func (fake *FakeWorker) StateReturnsOnCall(i int, result1 dbng.WorkerState)
func (*FakeWorker) Tags ¶
func (fake *FakeWorker) Tags() []string
func (*FakeWorker) TagsCallCount ¶
func (fake *FakeWorker) TagsCallCount() int
func (*FakeWorker) TagsReturns ¶
func (fake *FakeWorker) TagsReturns(result1 []string)
func (*FakeWorker) TagsReturnsOnCall ¶
func (fake *FakeWorker) TagsReturnsOnCall(i int, result1 []string)
func (*FakeWorker) TeamID ¶
func (fake *FakeWorker) TeamID() int
func (*FakeWorker) TeamIDCallCount ¶
func (fake *FakeWorker) TeamIDCallCount() int
func (*FakeWorker) TeamIDReturns ¶
func (fake *FakeWorker) TeamIDReturns(result1 int)
func (*FakeWorker) TeamIDReturnsOnCall ¶
func (fake *FakeWorker) TeamIDReturnsOnCall(i int, result1 int)
func (*FakeWorker) TeamName ¶
func (fake *FakeWorker) TeamName() string
func (*FakeWorker) TeamNameCallCount ¶
func (fake *FakeWorker) TeamNameCallCount() int
func (*FakeWorker) TeamNameReturns ¶
func (fake *FakeWorker) TeamNameReturns(result1 string)
func (*FakeWorker) TeamNameReturnsOnCall ¶
func (fake *FakeWorker) TeamNameReturnsOnCall(i int, result1 string)
func (*FakeWorker) Version ¶
func (fake *FakeWorker) Version() *string
func (*FakeWorker) VersionCallCount ¶
func (fake *FakeWorker) VersionCallCount() int
func (*FakeWorker) VersionReturns ¶
func (fake *FakeWorker) VersionReturns(result1 *string)
func (*FakeWorker) VersionReturnsOnCall ¶
func (fake *FakeWorker) VersionReturnsOnCall(i int, result1 *string)
type FakeWorkerBaseResourceTypeFactory ¶
type FakeWorkerBaseResourceTypeFactory struct { FindStub func(name string, worker dbng.Worker) (*dbng.UsedWorkerBaseResourceType, bool, error) // contains filtered or unexported fields }
func (*FakeWorkerBaseResourceTypeFactory) Find ¶
func (fake *FakeWorkerBaseResourceTypeFactory) Find(name string, worker dbng.Worker) (*dbng.UsedWorkerBaseResourceType, bool, error)
func (*FakeWorkerBaseResourceTypeFactory) FindArgsForCall ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindArgsForCall(i int) (string, dbng.Worker)
func (*FakeWorkerBaseResourceTypeFactory) FindCallCount ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindCallCount() int
func (*FakeWorkerBaseResourceTypeFactory) FindReturns ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindReturns(result1 *dbng.UsedWorkerBaseResourceType, result2 bool, result3 error)
func (*FakeWorkerBaseResourceTypeFactory) FindReturnsOnCall ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindReturnsOnCall(i int, result1 *dbng.UsedWorkerBaseResourceType, result2 bool, result3 error)
func (*FakeWorkerBaseResourceTypeFactory) Invocations ¶
func (fake *FakeWorkerBaseResourceTypeFactory) Invocations() map[string][][]interface{}
type FakeWorkerFactory ¶
type FakeWorkerFactory struct { GetWorkerStub func(name string) (dbng.Worker, bool, error) SaveWorkerStub func(atcWorker atc.Worker, ttl time.Duration) (dbng.Worker, error) HeartbeatWorkerStub func(worker atc.Worker, ttl time.Duration) (dbng.Worker, error) WorkersStub func() ([]dbng.Worker, error) // contains filtered or unexported fields }
func (*FakeWorkerFactory) GetWorkerArgsForCall ¶
func (fake *FakeWorkerFactory) GetWorkerArgsForCall(i int) string
func (*FakeWorkerFactory) GetWorkerCallCount ¶
func (fake *FakeWorkerFactory) GetWorkerCallCount() int
func (*FakeWorkerFactory) GetWorkerReturns ¶
func (fake *FakeWorkerFactory) GetWorkerReturns(result1 dbng.Worker, result2 bool, result3 error)
func (*FakeWorkerFactory) GetWorkerReturnsOnCall ¶
func (*FakeWorkerFactory) HeartbeatWorker ¶
func (*FakeWorkerFactory) HeartbeatWorkerArgsForCall ¶
func (*FakeWorkerFactory) HeartbeatWorkerCallCount ¶
func (fake *FakeWorkerFactory) HeartbeatWorkerCallCount() int
func (*FakeWorkerFactory) HeartbeatWorkerReturns ¶
func (fake *FakeWorkerFactory) HeartbeatWorkerReturns(result1 dbng.Worker, result2 error)
func (*FakeWorkerFactory) HeartbeatWorkerReturnsOnCall ¶
func (fake *FakeWorkerFactory) HeartbeatWorkerReturnsOnCall(i int, result1 dbng.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) SaveWorkerReturns ¶
func (fake *FakeWorkerFactory) SaveWorkerReturns(result1 dbng.Worker, result2 error)
func (*FakeWorkerFactory) SaveWorkerReturnsOnCall ¶
func (fake *FakeWorkerFactory) SaveWorkerReturnsOnCall(i int, result1 dbng.Worker, result2 error)
func (*FakeWorkerFactory) WorkersCallCount ¶
func (fake *FakeWorkerFactory) WorkersCallCount() int
func (*FakeWorkerFactory) WorkersReturns ¶
func (fake *FakeWorkerFactory) WorkersReturns(result1 []dbng.Worker, result2 error)
func (*FakeWorkerFactory) WorkersReturnsOnCall ¶
func (fake *FakeWorkerFactory) WorkersReturnsOnCall(i int, result1 []dbng.Worker, result2 error)
type FakeWorkerLifecycle ¶
type FakeWorkerLifecycle struct { StallUnresponsiveWorkersStub func() ([]string, error) LandFinishedLandingWorkersStub func() ([]string, error) DeleteFinishedRetiringWorkersStub func() ([]string, error) // contains filtered or unexported fields }
func (*FakeWorkerLifecycle) DeleteFinishedRetiringWorkers ¶
func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkers() ([]string, error)
func (*FakeWorkerLifecycle) DeleteFinishedRetiringWorkersCallCount ¶
func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersCallCount() int
func (*FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturns ¶
func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturns(result1 []string, result2 error)
func (*FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturnsOnCall ¶
func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeWorkerLifecycle) Invocations ¶
func (fake *FakeWorkerLifecycle) Invocations() map[string][][]interface{}
func (*FakeWorkerLifecycle) LandFinishedLandingWorkers ¶
func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkers() ([]string, error)
func (*FakeWorkerLifecycle) LandFinishedLandingWorkersCallCount ¶
func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersCallCount() int
func (*FakeWorkerLifecycle) LandFinishedLandingWorkersReturns ¶
func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersReturns(result1 []string, result2 error)
func (*FakeWorkerLifecycle) LandFinishedLandingWorkersReturnsOnCall ¶
func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeWorkerLifecycle) StallUnresponsiveWorkers ¶
func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkers() ([]string, error)
func (*FakeWorkerLifecycle) StallUnresponsiveWorkersCallCount ¶
func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersCallCount() int
func (*FakeWorkerLifecycle) StallUnresponsiveWorkersReturns ¶
func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersReturns(result1 []string, result2 error)
func (*FakeWorkerLifecycle) StallUnresponsiveWorkersReturnsOnCall ¶
func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersReturnsOnCall(i int, result1 []string, result2 error)
Source Files ¶
- fake_base_resource_type_factory.go
- fake_build.go
- fake_build_factory.go
- fake_conn.go
- fake_container.go
- fake_container_factory.go
- fake_created_container.go
- fake_created_volume.go
- fake_creating_container.go
- fake_creating_volume.go
- fake_destroying_container.go
- fake_encryption_strategy.go
- fake_event_source.go
- fake_job.go
- fake_notifier.go
- fake_pipeline.go
- fake_pipeline_factory.go
- fake_resource.go
- fake_resource_cache_factory.go
- fake_resource_config_factory.go
- fake_resource_type.go
- fake_team.go
- fake_team_factory.go
- fake_tx.go
- fake_volume_factory.go
- fake_worker.go
- fake_worker_base_resource_type_factory.go
- fake_worker_factory.go
- fake_worker_lifecycle.go