Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeBaseResourceTypeFactory
- func (fake *FakeBaseResourceTypeFactory) Find(name string) (*db.UsedBaseResourceType, bool, error)
- func (fake *FakeBaseResourceTypeFactory) FindArgsForCall(i int) string
- func (fake *FakeBaseResourceTypeFactory) FindCallCount() int
- func (fake *FakeBaseResourceTypeFactory) FindReturns(result1 *db.UsedBaseResourceType, result2 bool, result3 error)
- func (fake *FakeBaseResourceTypeFactory) FindReturnsOnCall(i int, result1 *db.UsedBaseResourceType, result2 bool, result3 error)
- func (fake *FakeBaseResourceTypeFactory) Invocations() map[string][][]interface{}
- type FakeBuild
- func (fake *FakeBuild) AbortNotifier() (db.Notifier, error)
- func (fake *FakeBuild) AbortNotifierCallCount() int
- func (fake *FakeBuild) AbortNotifierReturns(result1 db.Notifier, result2 error)
- func (fake *FakeBuild) AbortNotifierReturnsOnCall(i int, result1 db.Notifier, result2 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) (db.EventSource, error)
- func (fake *FakeBuild) EventsArgsForCall(i int) uint
- func (fake *FakeBuild) EventsCallCount() int
- func (fake *FakeBuild) EventsReturns(result1 db.EventSource, result2 error)
- func (fake *FakeBuild) EventsReturnsOnCall(i int, result1 db.EventSource, result2 error)
- func (fake *FakeBuild) Finish(arg1 db.BuildStatus) error
- func (fake *FakeBuild) FinishArgsForCall(i int) db.BuildStatus
- func (fake *FakeBuild) FinishCallCount() int
- func (fake *FakeBuild) FinishReturns(result1 error)
- func (fake *FakeBuild) FinishReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) FinishWithError(cause error) error
- func (fake *FakeBuild) FinishWithErrorArgsForCall(i int) error
- func (fake *FakeBuild) FinishWithErrorCallCount() int
- func (fake *FakeBuild) FinishWithErrorReturns(result1 error)
- func (fake *FakeBuild) FinishWithErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) GetVersionedResources() (db.SavedVersionedResources, error)
- func (fake *FakeBuild) GetVersionedResourcesCallCount() int
- func (fake *FakeBuild) GetVersionedResourcesReturns(result1 db.SavedVersionedResources, result2 error)
- func (fake *FakeBuild) GetVersionedResourcesReturnsOnCall(i int, result1 db.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) MarkAsAborted() error
- func (fake *FakeBuild) MarkAsAbortedCallCount() int
- func (fake *FakeBuild) MarkAsAbortedReturns(result1 error)
- func (fake *FakeBuild) MarkAsAbortedReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) Name() string
- func (fake *FakeBuild) NameCallCount() int
- func (fake *FakeBuild) NameReturns(result1 string)
- func (fake *FakeBuild) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) Pipeline() (db.Pipeline, bool, error)
- func (fake *FakeBuild) PipelineCallCount() int
- func (fake *FakeBuild) 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 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeBuild) PipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeBuild) Preparation() (db.BuildPreparation, bool, error)
- func (fake *FakeBuild) PreparationCallCount() int
- func (fake *FakeBuild) PreparationReturns(result1 db.BuildPreparation, result2 bool, result3 error)
- func (fake *FakeBuild) PreparationReturnsOnCall(i int, result1 db.BuildPreparation, result2 bool, result3 error)
- func (fake *FakeBuild) PublicPlan() *json.RawMessage
- func (fake *FakeBuild) PublicPlanCallCount() int
- func (fake *FakeBuild) PublicPlanReturns(result1 *json.RawMessage)
- func (fake *FakeBuild) PublicPlanReturnsOnCall(i int, result1 *json.RawMessage)
- func (fake *FakeBuild) ReapTime() time.Time
- func (fake *FakeBuild) ReapTimeCallCount() int
- func (fake *FakeBuild) 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() ([]db.BuildInput, []db.BuildOutput, error)
- func (fake *FakeBuild) ResourcesCallCount() int
- func (fake *FakeBuild) ResourcesReturns(result1 []db.BuildInput, result2 []db.BuildOutput, result3 error)
- func (fake *FakeBuild) ResourcesReturnsOnCall(i int, result1 []db.BuildInput, result2 []db.BuildOutput, result3 error)
- func (fake *FakeBuild) SaveEvent(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(arg1 *db.UsedResourceCache) error
- func (fake *FakeBuild) SaveImageResourceVersionArgsForCall(i int) *db.UsedResourceCache
- func (fake *FakeBuild) SaveImageResourceVersionCallCount() int
- func (fake *FakeBuild) SaveImageResourceVersionReturns(result1 error)
- func (fake *FakeBuild) SaveImageResourceVersionReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) SaveInput(input db.BuildInput) error
- func (fake *FakeBuild) SaveInputArgsForCall(i int) db.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 db.VersionedResource, explicit bool) error
- func (fake *FakeBuild) SaveOutputArgsForCall(i int) (db.VersionedResource, bool)
- func (fake *FakeBuild) SaveOutputCallCount() int
- func (fake *FakeBuild) SaveOutputReturns(result1 error)
- func (fake *FakeBuild) SaveOutputReturnsOnCall(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, arg3 atc.Plan) (bool, error)
- func (fake *FakeBuild) StartArgsForCall(i int) (string, string, atc.Plan)
- 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() db.BuildStatus
- func (fake *FakeBuild) StatusCallCount() int
- func (fake *FakeBuild) StatusReturns(result1 db.BuildStatus)
- func (fake *FakeBuild) StatusReturnsOnCall(i int, result1 db.BuildStatus)
- func (fake *FakeBuild) TeamID() int
- func (fake *FakeBuild) TeamIDCallCount() int
- func (fake *FakeBuild) 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 []db.BuildInput) error
- func (fake *FakeBuild) UseInputsArgsForCall(i int) []db.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) (db.Build, bool, error)
- func (fake *FakeBuildFactory) BuildArgsForCall(i int) int
- func (fake *FakeBuildFactory) BuildCallCount() int
- func (fake *FakeBuildFactory) BuildReturns(result1 db.Build, result2 bool, result3 error)
- func (fake *FakeBuildFactory) BuildReturnsOnCall(i int, result1 db.Build, result2 bool, result3 error)
- func (fake *FakeBuildFactory) GetAllStartedBuilds() ([]db.Build, error)
- func (fake *FakeBuildFactory) GetAllStartedBuildsCallCount() int
- func (fake *FakeBuildFactory) GetAllStartedBuildsReturns(result1 []db.Build, result2 error)
- func (fake *FakeBuildFactory) GetAllStartedBuildsReturnsOnCall(i int, result1 []db.Build, result2 error)
- func (fake *FakeBuildFactory) Invocations() map[string][][]interface{}
- func (fake *FakeBuildFactory) MarkNonInterceptibleBuilds() error
- func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsCallCount() int
- func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsReturns(result1 error)
- func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsReturnsOnCall(i int, result1 error)
- func (fake *FakeBuildFactory) PublicBuilds(arg1 db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakeBuildFactory) PublicBuildsArgsForCall(i int) db.Page
- func (fake *FakeBuildFactory) PublicBuildsCallCount() int
- func (fake *FakeBuildFactory) PublicBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeBuildFactory) PublicBuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
- type FakeConn
- func (fake *FakeConn) Begin() (db.Tx, error)
- func (fake *FakeConn) BeginCallCount() int
- func (fake *FakeConn) BeginReturns(result1 db.Tx, result2 error)
- func (fake *FakeConn) BeginReturnsOnCall(i int, result1 db.Tx, result2 error)
- func (fake *FakeConn) Bus() db.NotificationsBus
- func (fake *FakeConn) BusCallCount() int
- func (fake *FakeConn) BusReturns(result1 db.NotificationsBus)
- func (fake *FakeConn) BusReturnsOnCall(i int, result1 db.NotificationsBus)
- func (fake *FakeConn) Close() error
- func (fake *FakeConn) CloseCallCount() int
- func (fake *FakeConn) 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() db.EncryptionStrategy
- func (fake *FakeConn) EncryptionStrategyCallCount() int
- func (fake *FakeConn) EncryptionStrategyReturns(result1 db.EncryptionStrategy)
- func (fake *FakeConn) EncryptionStrategyReturnsOnCall(i int, result1 db.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() db.ContainerMetadata
- func (fake *FakeContainer) MetadataCallCount() int
- func (fake *FakeContainer) MetadataReturns(result1 db.ContainerMetadata)
- func (fake *FakeContainer) MetadataReturnsOnCall(i int, result1 db.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() ([]db.CreatingContainer, []db.CreatedContainer, []db.DestroyingContainer, error)
- func (fake *FakeContainerFactory) FindContainersForDeletionCallCount() int
- func (fake *FakeContainerFactory) FindContainersForDeletionReturns(result1 []db.CreatingContainer, result2 []db.CreatedContainer, ...)
- func (fake *FakeContainerFactory) FindContainersForDeletionReturnsOnCall(i int, result1 []db.CreatingContainer, result2 []db.CreatedContainer, ...)
- func (fake *FakeContainerFactory) Invocations() map[string][][]interface{}
- type FakeContainerOwner
- func (fake *FakeContainerOwner) Create(tx db.Tx, workerName string) (map[string]interface{}, error)
- func (fake *FakeContainerOwner) CreateArgsForCall(i int) (db.Tx, string)
- func (fake *FakeContainerOwner) CreateCallCount() int
- func (fake *FakeContainerOwner) CreateReturns(result1 map[string]interface{}, result2 error)
- func (fake *FakeContainerOwner) CreateReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
- func (fake *FakeContainerOwner) Find(conn db.Conn) (sq.Eq, bool, error)
- func (fake *FakeContainerOwner) FindArgsForCall(i int) db.Conn
- func (fake *FakeContainerOwner) FindCallCount() int
- func (fake *FakeContainerOwner) FindReturns(result1 sq.Eq, result2 bool, result3 error)
- func (fake *FakeContainerOwner) FindReturnsOnCall(i int, result1 sq.Eq, result2 bool, result3 error)
- func (fake *FakeContainerOwner) Invocations() map[string][][]interface{}
- type FakeCreatedContainer
- func (fake *FakeCreatedContainer) Destroying() (db.DestroyingContainer, error)
- func (fake *FakeCreatedContainer) DestroyingCallCount() int
- func (fake *FakeCreatedContainer) DestroyingReturns(result1 db.DestroyingContainer, result2 error)
- func (fake *FakeCreatedContainer) DestroyingReturnsOnCall(i int, result1 db.DestroyingContainer, result2 error)
- func (fake *FakeCreatedContainer) Discontinue() (db.DestroyingContainer, error)
- func (fake *FakeCreatedContainer) DiscontinueCallCount() int
- func (fake *FakeCreatedContainer) DiscontinueReturns(result1 db.DestroyingContainer, result2 error)
- func (fake *FakeCreatedContainer) DiscontinueReturnsOnCall(i int, result1 db.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() db.ContainerMetadata
- func (fake *FakeCreatedContainer) MetadataCallCount() int
- func (fake *FakeCreatedContainer) MetadataReturns(result1 db.ContainerMetadata)
- func (fake *FakeCreatedContainer) MetadataReturnsOnCall(i int, result1 db.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() (*db.UsedWorkerBaseResourceType, error)
- func (fake *FakeCreatedVolume) BaseResourceTypeCallCount() int
- func (fake *FakeCreatedVolume) BaseResourceTypeReturns(result1 *db.UsedWorkerBaseResourceType, result2 error)
- func (fake *FakeCreatedVolume) BaseResourceTypeReturnsOnCall(i int, result1 *db.UsedWorkerBaseResourceType, result2 error)
- func (fake *FakeCreatedVolume) ContainerHandle() string
- func (fake *FakeCreatedVolume) ContainerHandleCallCount() int
- func (fake *FakeCreatedVolume) ContainerHandleReturns(result1 string)
- func (fake *FakeCreatedVolume) ContainerHandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedVolume) CreateChildForContainer(arg1 db.CreatingContainer, arg2 string) (db.CreatingVolume, error)
- func (fake *FakeCreatedVolume) CreateChildForContainerArgsForCall(i int) (db.CreatingContainer, string)
- func (fake *FakeCreatedVolume) CreateChildForContainerCallCount() int
- func (fake *FakeCreatedVolume) CreateChildForContainerReturns(result1 db.CreatingVolume, result2 error)
- func (fake *FakeCreatedVolume) CreateChildForContainerReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)
- func (fake *FakeCreatedVolume) Destroying() (db.DestroyingVolume, error)
- func (fake *FakeCreatedVolume) DestroyingCallCount() int
- func (fake *FakeCreatedVolume) DestroyingReturns(result1 db.DestroyingVolume, result2 error)
- func (fake *FakeCreatedVolume) DestroyingReturnsOnCall(i int, result1 db.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) InitializeResourceCache(arg1 *db.UsedResourceCache) error
- func (fake *FakeCreatedVolume) InitializeResourceCacheArgsForCall(i int) *db.UsedResourceCache
- func (fake *FakeCreatedVolume) InitializeResourceCacheCallCount() int
- func (fake *FakeCreatedVolume) InitializeResourceCacheReturns(result1 error)
- func (fake *FakeCreatedVolume) InitializeResourceCacheReturnsOnCall(i int, result1 error)
- func (fake *FakeCreatedVolume) InitializeTaskCache(arg1 int, arg2 string, arg3 string) error
- func (fake *FakeCreatedVolume) InitializeTaskCacheArgsForCall(i int) (int, string, string)
- func (fake *FakeCreatedVolume) InitializeTaskCacheCallCount() int
- func (fake *FakeCreatedVolume) InitializeTaskCacheReturns(result1 error)
- func (fake *FakeCreatedVolume) InitializeTaskCacheReturnsOnCall(i int, result1 error)
- func (fake *FakeCreatedVolume) Invocations() map[string][][]interface{}
- func (fake *FakeCreatedVolume) ParentHandle() string
- func (fake *FakeCreatedVolume) ParentHandleCallCount() int
- func (fake *FakeCreatedVolume) 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() (*db.VolumeResourceType, error)
- func (fake *FakeCreatedVolume) ResourceTypeCallCount() int
- func (fake *FakeCreatedVolume) ResourceTypeReturns(result1 *db.VolumeResourceType, result2 error)
- func (fake *FakeCreatedVolume) ResourceTypeReturnsOnCall(i int, result1 *db.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) TaskIdentifier() (string, string, string, error)
- func (fake *FakeCreatedVolume) TaskIdentifierCallCount() int
- func (fake *FakeCreatedVolume) TaskIdentifierReturns(result1 string, result2 string, result3 string, result4 error)
- func (fake *FakeCreatedVolume) TaskIdentifierReturnsOnCall(i int, result1 string, result2 string, result3 string, result4 error)
- func (fake *FakeCreatedVolume) TeamID() int
- func (fake *FakeCreatedVolume) TeamIDCallCount() int
- func (fake *FakeCreatedVolume) TeamIDReturns(result1 int)
- func (fake *FakeCreatedVolume) TeamIDReturnsOnCall(i int, result1 int)
- func (fake *FakeCreatedVolume) Type() db.VolumeType
- func (fake *FakeCreatedVolume) TypeCallCount() int
- func (fake *FakeCreatedVolume) TypeReturns(result1 db.VolumeType)
- func (fake *FakeCreatedVolume) TypeReturnsOnCall(i int, result1 db.VolumeType)
- func (fake *FakeCreatedVolume) WorkerName() string
- func (fake *FakeCreatedVolume) WorkerNameCallCount() int
- func (fake *FakeCreatedVolume) WorkerNameReturns(result1 string)
- func (fake *FakeCreatedVolume) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeCreatingContainer
- func (fake *FakeCreatingContainer) Created() (db.CreatedContainer, error)
- func (fake *FakeCreatingContainer) CreatedCallCount() int
- func (fake *FakeCreatingContainer) CreatedReturns(result1 db.CreatedContainer, result2 error)
- func (fake *FakeCreatingContainer) CreatedReturnsOnCall(i int, result1 db.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() db.ContainerMetadata
- func (fake *FakeCreatingContainer) MetadataCallCount() int
- func (fake *FakeCreatingContainer) MetadataReturns(result1 db.ContainerMetadata)
- func (fake *FakeCreatingContainer) MetadataReturnsOnCall(i int, result1 db.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() (db.CreatedVolume, error)
- func (fake *FakeCreatingVolume) CreatedCallCount() int
- func (fake *FakeCreatingVolume) CreatedReturns(result1 db.CreatedVolume, result2 error)
- func (fake *FakeCreatingVolume) CreatedReturnsOnCall(i int, result1 db.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() db.ContainerMetadata
- func (fake *FakeDestroyingContainer) MetadataCallCount() int
- func (fake *FakeDestroyingContainer) MetadataReturns(result1 db.ContainerMetadata)
- func (fake *FakeDestroyingContainer) MetadataReturnsOnCall(i int, result1 db.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) (db.Build, bool, error)
- func (fake *FakeJob) BuildArgsForCall(i int) string
- func (fake *FakeJob) BuildCallCount() int
- func (fake *FakeJob) BuildReturns(result1 db.Build, result2 bool, result3 error)
- func (fake *FakeJob) BuildReturnsOnCall(i int, result1 db.Build, result2 bool, result3 error)
- func (fake *FakeJob) Builds(page db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakeJob) BuildsArgsForCall(i int) db.Page
- func (fake *FakeJob) BuildsCallCount() int
- func (fake *FakeJob) BuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeJob) BuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeJob) 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() (db.Build, error)
- func (fake *FakeJob) CreateBuildCallCount() int
- func (fake *FakeJob) CreateBuildReturns(result1 db.Build, result2 error)
- func (fake *FakeJob) CreateBuildReturnsOnCall(i int, result1 db.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() (db.Build, db.Build, error)
- func (fake *FakeJob) FinishedAndNextBuildCallCount() int
- func (fake *FakeJob) FinishedAndNextBuildReturns(result1 db.Build, result2 db.Build, result3 error)
- func (fake *FakeJob) FinishedAndNextBuildReturnsOnCall(i int, result1 db.Build, result2 db.Build, result3 error)
- func (fake *FakeJob) FirstLoggedBuildID() int
- func (fake *FakeJob) FirstLoggedBuildIDCallCount() int
- func (fake *FakeJob) FirstLoggedBuildIDReturns(result1 int)
- func (fake *FakeJob) FirstLoggedBuildIDReturnsOnCall(i int, result1 int)
- func (fake *FakeJob) GetIndependentBuildInputs() ([]db.BuildInput, error)
- func (fake *FakeJob) GetIndependentBuildInputsCallCount() int
- func (fake *FakeJob) GetIndependentBuildInputsReturns(result1 []db.BuildInput, result2 error)
- func (fake *FakeJob) GetIndependentBuildInputsReturnsOnCall(i int, result1 []db.BuildInput, result2 error)
- func (fake *FakeJob) GetNextBuildInputs() ([]db.BuildInput, bool, error)
- func (fake *FakeJob) GetNextBuildInputsCallCount() int
- func (fake *FakeJob) GetNextBuildInputsReturns(result1 []db.BuildInput, result2 bool, result3 error)
- func (fake *FakeJob) GetNextBuildInputsReturnsOnCall(i int, result1 []db.BuildInput, result2 bool, result3 error)
- func (fake *FakeJob) GetNextPendingBuildBySerialGroup(serialGroups []string) (db.Build, bool, error)
- func (fake *FakeJob) GetNextPendingBuildBySerialGroupArgsForCall(i int) []string
- func (fake *FakeJob) GetNextPendingBuildBySerialGroupCallCount() int
- func (fake *FakeJob) GetNextPendingBuildBySerialGroupReturns(result1 db.Build, result2 bool, result3 error)
- func (fake *FakeJob) GetNextPendingBuildBySerialGroupReturnsOnCall(i int, result1 db.Build, result2 bool, result3 error)
- func (fake *FakeJob) GetPendingBuilds() ([]db.Build, error)
- func (fake *FakeJob) GetPendingBuildsCallCount() int
- func (fake *FakeJob) GetPendingBuildsReturns(result1 []db.Build, result2 error)
- func (fake *FakeJob) GetPendingBuildsReturnsOnCall(i int, result1 []db.Build, result2 error)
- func (fake *FakeJob) GetRunningBuildsBySerialGroup(serialGroups []string) ([]db.Build, error)
- func (fake *FakeJob) GetRunningBuildsBySerialGroupArgsForCall(i int) []string
- func (fake *FakeJob) GetRunningBuildsBySerialGroupCallCount() int
- func (fake *FakeJob) GetRunningBuildsBySerialGroupReturns(result1 []db.Build, result2 error)
- func (fake *FakeJob) GetRunningBuildsBySerialGroupReturnsOnCall(i int, result1 []db.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, resourceName string, ...) (lock.Lock, bool, error)
- func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheckArgsForCall(i int) (lager.Logger, string, *db.UsedResourceConfig, 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, ...) (lock.Lock, bool, error)
- func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckArgsForCall(i int) (lager.Logger, string, *db.UsedResourceConfig, 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) ConfigVersion() db.ConfigVersion
- func (fake *FakePipeline) ConfigVersionCallCount() int
- func (fake *FakePipeline) ConfigVersionReturns(result1 db.ConfigVersion)
- func (fake *FakePipeline) ConfigVersionReturnsOnCall(i int, result1 db.ConfigVersion)
- func (fake *FakePipeline) CreateOneOffBuild() (db.Build, error)
- func (fake *FakePipeline) CreateOneOffBuildCallCount() int
- func (fake *FakePipeline) CreateOneOffBuildReturns(result1 db.Build, result2 error)
- func (fake *FakePipeline) CreateOneOffBuildReturnsOnCall(i int, result1 db.Build, result2 error)
- func (fake *FakePipeline) Dashboard() (db.Dashboard, atc.GroupConfigs, error)
- func (fake *FakePipeline) DashboardCallCount() int
- func (fake *FakePipeline) DashboardReturns(result1 db.Dashboard, result2 atc.GroupConfigs, result3 error)
- func (fake *FakePipeline) DashboardReturnsOnCall(i int, result1 db.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) 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) 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][]db.Build, error)
- func (fake *FakePipeline) GetAllPendingBuildsCallCount() int
- func (fake *FakePipeline) GetAllPendingBuildsReturns(result1 map[string][]db.Build, result2 error)
- func (fake *FakePipeline) GetAllPendingBuildsReturnsOnCall(i int, result1 map[string][]db.Build, result2 error)
- func (fake *FakePipeline) GetBuildsWithVersionAsInput(versionedResourceID int) ([]db.Build, error)
- func (fake *FakePipeline) GetBuildsWithVersionAsInputArgsForCall(i int) int
- func (fake *FakePipeline) GetBuildsWithVersionAsInputCallCount() int
- func (fake *FakePipeline) GetBuildsWithVersionAsInputReturns(result1 []db.Build, result2 error)
- func (fake *FakePipeline) GetBuildsWithVersionAsInputReturnsOnCall(i int, result1 []db.Build, result2 error)
- func (fake *FakePipeline) GetBuildsWithVersionAsOutput(versionedResourceID int) ([]db.Build, error)
- func (fake *FakePipeline) GetBuildsWithVersionAsOutputArgsForCall(i int) int
- func (fake *FakePipeline) GetBuildsWithVersionAsOutputCallCount() int
- func (fake *FakePipeline) GetBuildsWithVersionAsOutputReturns(result1 []db.Build, result2 error)
- func (fake *FakePipeline) GetBuildsWithVersionAsOutputReturnsOnCall(i int, result1 []db.Build, result2 error)
- func (fake *FakePipeline) GetLatestVersionedResource(resourceName string) (db.SavedVersionedResource, bool, error)
- func (fake *FakePipeline) GetLatestVersionedResourceArgsForCall(i int) string
- func (fake *FakePipeline) GetLatestVersionedResourceCallCount() int
- func (fake *FakePipeline) GetLatestVersionedResourceReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)
- func (fake *FakePipeline) GetLatestVersionedResourceReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 bool, result3 error)
- func (fake *FakePipeline) GetResourceVersions(resourceName string, page db.Page) ([]db.SavedVersionedResource, db.Pagination, bool, error)
- func (fake *FakePipeline) GetResourceVersionsArgsForCall(i int) (string, db.Page)
- func (fake *FakePipeline) GetResourceVersionsCallCount() int
- func (fake *FakePipeline) GetResourceVersionsReturns(result1 []db.SavedVersionedResource, result2 db.Pagination, result3 bool, ...)
- func (fake *FakePipeline) GetResourceVersionsReturnsOnCall(i int, result1 []db.SavedVersionedResource, result2 db.Pagination, ...)
- func (fake *FakePipeline) GetVersionedResourceByVersion(atcVersion atc.Version, resourceName string) (db.SavedVersionedResource, bool, error)
- func (fake *FakePipeline) GetVersionedResourceByVersionArgsForCall(i int) (atc.Version, string)
- func (fake *FakePipeline) GetVersionedResourceByVersionCallCount() int
- func (fake *FakePipeline) GetVersionedResourceByVersionReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)
- func (fake *FakePipeline) GetVersionedResourceByVersionReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 bool, result3 error)
- func (fake *FakePipeline) Groups() atc.GroupConfigs
- func (fake *FakePipeline) GroupsCallCount() int
- func (fake *FakePipeline) GroupsReturns(result1 atc.GroupConfigs)
- func (fake *FakePipeline) GroupsReturnsOnCall(i int, result1 atc.GroupConfigs)
- func (fake *FakePipeline) Hide() error
- func (fake *FakePipeline) HideCallCount() int
- func (fake *FakePipeline) 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) (db.Job, bool, error)
- func (fake *FakePipeline) JobArgsForCall(i int) string
- func (fake *FakePipeline) JobCallCount() int
- func (fake *FakePipeline) JobReturns(result1 db.Job, result2 bool, result3 error)
- func (fake *FakePipeline) JobReturnsOnCall(i int, result1 db.Job, result2 bool, result3 error)
- func (fake *FakePipeline) Jobs() (db.Jobs, error)
- func (fake *FakePipeline) JobsCallCount() int
- func (fake *FakePipeline) JobsReturns(result1 db.Jobs, result2 error)
- func (fake *FakePipeline) JobsReturnsOnCall(i int, result1 db.Jobs, 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) 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) (db.Resource, bool, error)
- func (fake *FakePipeline) ResourceArgsForCall(i int) string
- func (fake *FakePipeline) ResourceCallCount() int
- func (fake *FakePipeline) ResourceReturns(result1 db.Resource, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceReturnsOnCall(i int, result1 db.Resource, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceType(name string) (db.ResourceType, bool, error)
- func (fake *FakePipeline) ResourceTypeArgsForCall(i int) string
- func (fake *FakePipeline) ResourceTypeCallCount() int
- func (fake *FakePipeline) ResourceTypeReturns(result1 db.ResourceType, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceTypeReturnsOnCall(i int, result1 db.ResourceType, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceTypes() (db.ResourceTypes, error)
- func (fake *FakePipeline) ResourceTypesCallCount() int
- func (fake *FakePipeline) ResourceTypesReturns(result1 db.ResourceTypes, result2 error)
- func (fake *FakePipeline) ResourceTypesReturnsOnCall(i int, result1 db.ResourceTypes, result2 error)
- func (fake *FakePipeline) Resources() (db.Resources, error)
- func (fake *FakePipeline) ResourcesCallCount() int
- func (fake *FakePipeline) ResourcesReturns(result1 db.Resources, result2 error)
- func (fake *FakePipeline) ResourcesReturnsOnCall(i int, result1 db.Resources, result2 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 db.Resource, arg2 error) error
- func (fake *FakePipeline) SetResourceCheckErrorArgsForCall(i int) (db.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() ([]db.Pipeline, error)
- func (fake *FakePipelineFactory) AllPipelinesCallCount() int
- func (fake *FakePipelineFactory) AllPipelinesReturns(result1 []db.Pipeline, result2 error)
- func (fake *FakePipelineFactory) AllPipelinesReturnsOnCall(i int, result1 []db.Pipeline, result2 error)
- func (fake *FakePipelineFactory) Invocations() map[string][][]interface{}
- func (fake *FakePipelineFactory) PublicPipelines() ([]db.Pipeline, error)
- func (fake *FakePipelineFactory) PublicPipelinesCallCount() int
- func (fake *FakePipelineFactory) PublicPipelinesReturns(result1 []db.Pipeline, result2 error)
- func (fake *FakePipelineFactory) PublicPipelinesReturnsOnCall(i int, result1 []db.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) CleanBuildImageResourceCaches() error
- func (fake *FakeResourceCacheFactory) CleanBuildImageResourceCachesCallCount() int
- func (fake *FakeResourceCacheFactory) CleanBuildImageResourceCachesReturns(result1 error)
- func (fake *FakeResourceCacheFactory) CleanBuildImageResourceCachesReturnsOnCall(i int, result1 error)
- 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 db.ResourceUser, resourceTypeName string, ...) (*db.UsedResourceCache, error)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheArgsForCall(i int) (lager.Logger, db.ResourceUser, string, atc.Version, atc.Source, atc.Params, ...)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheCallCount() int
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturns(result1 *db.UsedResourceCache, result2 error)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturnsOnCall(i int, result1 *db.UsedResourceCache, result2 error)
- func (fake *FakeResourceCacheFactory) Invocations() map[string][][]interface{}
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadata(arg1 *db.UsedResourceCache) (db.ResourceMetadataFields, error)
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadataArgsForCall(i int) *db.UsedResourceCache
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadataCallCount() int
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadataReturns(result1 db.ResourceMetadataFields, result2 error)
- func (fake *FakeResourceCacheFactory) ResourceCacheMetadataReturnsOnCall(i int, result1 db.ResourceMetadataFields, result2 error)
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadata(arg1 *db.UsedResourceCache, arg2 []atc.MetadataField) error
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataArgsForCall(i int) (*db.UsedResourceCache, []atc.MetadataField)
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataCallCount() int
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataReturns(result1 error)
- func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataReturnsOnCall(i int, result1 error)
- type FakeResourceConfigCheckSessionLifecycle
- func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessions() error
- func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsCallCount() int
- func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsReturns(result1 error)
- func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceConfigCheckSessionLifecycle) Invocations() map[string][][]interface{}
- type FakeResourceConfigFactory
- func (fake *FakeResourceConfigFactory) AcquireResourceCheckingLock(logger lager.Logger, resourceUser db.ResourceUser, resourceType string, ...) (lock.Lock, bool, error)
- func (fake *FakeResourceConfigFactory) AcquireResourceCheckingLockArgsForCall(i int) (lager.Logger, db.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 db.ResourceUser, resourceType string, ...) (*db.UsedResourceConfig, error)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigArgsForCall(i int) (lager.Logger, db.ResourceUser, string, atc.Source, ...)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigCallCount() int
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturns(result1 *db.UsedResourceConfig, result2 error)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturnsOnCall(i int, result1 *db.UsedResourceConfig, result2 error)
- func (fake *FakeResourceConfigFactory) FindResourceConfig(logger lager.Logger, resourceType string, source atc.Source, ...) (*db.UsedResourceConfig, bool, error)
- func (fake *FakeResourceConfigFactory) FindResourceConfigArgsForCall(i int) (lager.Logger, string, atc.Source, creds.VersionedResourceTypes)
- func (fake *FakeResourceConfigFactory) FindResourceConfigCallCount() int
- func (fake *FakeResourceConfigFactory) FindResourceConfigReturns(result1 *db.UsedResourceConfig, result2 bool, result3 error)
- func (fake *FakeResourceConfigFactory) FindResourceConfigReturnsOnCall(i int, result1 *db.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) Privileged() bool
- func (fake *FakeResourceType) PrivilegedCallCount() int
- func (fake *FakeResourceType) PrivilegedReturns(result1 bool)
- func (fake *FakeResourceType) PrivilegedReturnsOnCall(i int, result1 bool)
- func (fake *FakeResourceType) Reload() (bool, error)
- func (fake *FakeResourceType) ReloadCallCount() int
- func (fake *FakeResourceType) 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) CreateContainer(workerName string, owner db.ContainerOwner, meta db.ContainerMetadata) (db.CreatingContainer, error)
- func (fake *FakeTeam) CreateContainerArgsForCall(i int) (string, db.ContainerOwner, db.ContainerMetadata)
- func (fake *FakeTeam) CreateContainerCallCount() int
- func (fake *FakeTeam) CreateContainerReturns(result1 db.CreatingContainer, result2 error)
- func (fake *FakeTeam) CreateContainerReturnsOnCall(i int, result1 db.CreatingContainer, result2 error)
- func (fake *FakeTeam) CreateOneOffBuild() (db.Build, error)
- func (fake *FakeTeam) CreateOneOffBuildCallCount() int
- func (fake *FakeTeam) CreateOneOffBuildReturns(result1 db.Build, result2 error)
- func (fake *FakeTeam) CreateOneOffBuildReturnsOnCall(i int, result1 db.Build, result2 error)
- func (fake *FakeTeam) CreatePipe(arg1 string, arg2 string) error
- func (fake *FakeTeam) CreatePipeArgsForCall(i int) (string, string)
- func (fake *FakeTeam) CreatePipeCallCount() int
- func (fake *FakeTeam) CreatePipeReturns(result1 error)
- func (fake *FakeTeam) CreatePipeReturnsOnCall(i int, result1 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) FindCheckContainers(arg1 lager.Logger, arg2 string, arg3 string, arg4 creds.VariablesFactory) ([]db.Container, error)
- func (fake *FakeTeam) FindCheckContainersArgsForCall(i int) (lager.Logger, string, string, creds.VariablesFactory)
- func (fake *FakeTeam) FindCheckContainersCallCount() int
- func (fake *FakeTeam) FindCheckContainersReturns(result1 []db.Container, result2 error)
- func (fake *FakeTeam) FindCheckContainersReturnsOnCall(i int, result1 []db.Container, result2 error)
- func (fake *FakeTeam) FindContainerByHandle(arg1 string) (db.Container, bool, error)
- func (fake *FakeTeam) FindContainerByHandleArgsForCall(i int) string
- func (fake *FakeTeam) FindContainerByHandleCallCount() int
- func (fake *FakeTeam) FindContainerByHandleReturns(result1 db.Container, result2 bool, result3 error)
- func (fake *FakeTeam) FindContainerByHandleReturnsOnCall(i int, result1 db.Container, result2 bool, result3 error)
- func (fake *FakeTeam) FindContainerOnWorker(workerName string, owner db.ContainerOwner) (db.CreatingContainer, db.CreatedContainer, error)
- func (fake *FakeTeam) FindContainerOnWorkerArgsForCall(i int) (string, db.ContainerOwner)
- func (fake *FakeTeam) FindContainerOnWorkerCallCount() int
- func (fake *FakeTeam) FindContainerOnWorkerReturns(result1 db.CreatingContainer, result2 db.CreatedContainer, result3 error)
- func (fake *FakeTeam) FindContainerOnWorkerReturnsOnCall(i int, result1 db.CreatingContainer, result2 db.CreatedContainer, ...)
- func (fake *FakeTeam) FindContainersByMetadata(arg1 db.ContainerMetadata) ([]db.Container, error)
- func (fake *FakeTeam) FindContainersByMetadataArgsForCall(i int) db.ContainerMetadata
- func (fake *FakeTeam) FindContainersByMetadataCallCount() int
- func (fake *FakeTeam) FindContainersByMetadataReturns(result1 []db.Container, result2 error)
- func (fake *FakeTeam) FindContainersByMetadataReturnsOnCall(i int, result1 []db.Container, result2 error)
- func (fake *FakeTeam) FindCreatedContainerByHandle(arg1 string) (db.CreatedContainer, bool, error)
- func (fake *FakeTeam) FindCreatedContainerByHandleArgsForCall(i int) string
- func (fake *FakeTeam) FindCreatedContainerByHandleCallCount() int
- func (fake *FakeTeam) FindCreatedContainerByHandleReturns(result1 db.CreatedContainer, result2 bool, result3 error)
- func (fake *FakeTeam) FindCreatedContainerByHandleReturnsOnCall(i int, result1 db.CreatedContainer, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForContainer(handle string) (db.Worker, bool, error)
- func (fake *FakeTeam) FindWorkerForContainerArgsForCall(i int) string
- func (fake *FakeTeam) FindWorkerForContainerByOwner(arg1 db.ContainerOwner) (db.Worker, bool, error)
- func (fake *FakeTeam) FindWorkerForContainerByOwnerArgsForCall(i int) db.ContainerOwner
- func (fake *FakeTeam) FindWorkerForContainerByOwnerCallCount() int
- func (fake *FakeTeam) FindWorkerForContainerByOwnerReturns(result1 db.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForContainerByOwnerReturnsOnCall(i int, result1 db.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForContainerCallCount() int
- func (fake *FakeTeam) FindWorkerForContainerReturns(result1 db.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForContainerReturnsOnCall(i int, result1 db.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) GetPipe(arg1 string) (db.Pipe, error)
- func (fake *FakeTeam) GetPipeArgsForCall(i int) string
- func (fake *FakeTeam) GetPipeCallCount() int
- func (fake *FakeTeam) GetPipeReturns(result1 db.Pipe, result2 error)
- func (fake *FakeTeam) GetPipeReturnsOnCall(i int, result1 db.Pipe, result2 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) (db.Pipeline, bool, error)
- func (fake *FakeTeam) PipelineArgsForCall(i int) string
- func (fake *FakeTeam) PipelineCallCount() int
- func (fake *FakeTeam) PipelineReturns(result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) PipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) Pipelines() ([]db.Pipeline, error)
- func (fake *FakeTeam) PipelinesCallCount() int
- func (fake *FakeTeam) PipelinesReturns(result1 []db.Pipeline, result2 error)
- func (fake *FakeTeam) PipelinesReturnsOnCall(i int, result1 []db.Pipeline, result2 error)
- func (fake *FakeTeam) PrivateAndPublicBuilds(arg1 db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakeTeam) PrivateAndPublicBuildsArgsForCall(i int) db.Page
- func (fake *FakeTeam) PrivateAndPublicBuildsCallCount() int
- func (fake *FakeTeam) PrivateAndPublicBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeTeam) PrivateAndPublicBuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeTeam) PublicPipelines() ([]db.Pipeline, error)
- func (fake *FakeTeam) PublicPipelinesCallCount() int
- func (fake *FakeTeam) PublicPipelinesReturns(result1 []db.Pipeline, result2 error)
- func (fake *FakeTeam) PublicPipelinesReturnsOnCall(i int, result1 []db.Pipeline, result2 error)
- func (fake *FakeTeam) SavePipeline(pipelineName string, config atc.Config, from db.ConfigVersion, ...) (db.Pipeline, bool, error)
- func (fake *FakeTeam) SavePipelineArgsForCall(i int) (string, atc.Config, db.ConfigVersion, db.PipelinePausedState)
- func (fake *FakeTeam) SavePipelineCallCount() int
- func (fake *FakeTeam) SavePipelineReturns(result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) SavePipelineReturnsOnCall(i int, result1 db.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) SaveWorker(atcWorker atc.Worker, ttl time.Duration) (db.Worker, error)
- func (fake *FakeTeam) SaveWorkerArgsForCall(i int) (atc.Worker, time.Duration)
- func (fake *FakeTeam) SaveWorkerCallCount() int
- func (fake *FakeTeam) SaveWorkerReturns(result1 db.Worker, result2 error)
- func (fake *FakeTeam) SaveWorkerReturnsOnCall(i int, result1 db.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() ([]db.Pipeline, error)
- func (fake *FakeTeam) VisiblePipelinesCallCount() int
- func (fake *FakeTeam) VisiblePipelinesReturns(result1 []db.Pipeline, result2 error)
- func (fake *FakeTeam) VisiblePipelinesReturnsOnCall(i int, result1 []db.Pipeline, result2 error)
- func (fake *FakeTeam) Workers() ([]db.Worker, error)
- func (fake *FakeTeam) WorkersCallCount() int
- func (fake *FakeTeam) WorkersReturns(result1 []db.Worker, result2 error)
- func (fake *FakeTeam) WorkersReturnsOnCall(i int, result1 []db.Worker, result2 error)
- type FakeTeamFactory
- func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExists() (db.Team, error)
- func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExistsCallCount() int
- func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExistsReturns(result1 db.Team, result2 error)
- func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExistsReturnsOnCall(i int, result1 db.Team, result2 error)
- func (fake *FakeTeamFactory) CreateTeam(arg1 atc.Team) (db.Team, error)
- func (fake *FakeTeamFactory) CreateTeamArgsForCall(i int) atc.Team
- func (fake *FakeTeamFactory) CreateTeamCallCount() int
- func (fake *FakeTeamFactory) CreateTeamReturns(result1 db.Team, result2 error)
- func (fake *FakeTeamFactory) CreateTeamReturnsOnCall(i int, result1 db.Team, result2 error)
- func (fake *FakeTeamFactory) FindTeam(arg1 string) (db.Team, bool, error)
- func (fake *FakeTeamFactory) FindTeamArgsForCall(i int) string
- func (fake *FakeTeamFactory) FindTeamCallCount() int
- func (fake *FakeTeamFactory) FindTeamReturns(result1 db.Team, result2 bool, result3 error)
- func (fake *FakeTeamFactory) FindTeamReturnsOnCall(i int, result1 db.Team, result2 bool, result3 error)
- func (fake *FakeTeamFactory) GetByID(teamID int) db.Team
- func (fake *FakeTeamFactory) GetByIDArgsForCall(i int) int
- func (fake *FakeTeamFactory) GetByIDCallCount() int
- func (fake *FakeTeamFactory) GetByIDReturns(result1 db.Team)
- func (fake *FakeTeamFactory) GetByIDReturnsOnCall(i int, result1 db.Team)
- func (fake *FakeTeamFactory) GetTeams() ([]db.Team, error)
- func (fake *FakeTeamFactory) GetTeamsCallCount() int
- func (fake *FakeTeamFactory) GetTeamsReturns(result1 []db.Team, result2 error)
- func (fake *FakeTeamFactory) GetTeamsReturnsOnCall(i int, result1 []db.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 *db.UsedWorkerBaseResourceType) (db.CreatingVolume, error)
- func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeArgsForCall(i int) (int, *db.UsedWorkerBaseResourceType)
- func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeCallCount() int
- func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeReturns(result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateContainerVolume(arg1 int, arg2 string, arg3 db.CreatingContainer, arg4 string) (db.CreatingVolume, error)
- func (fake *FakeVolumeFactory) CreateContainerVolumeArgsForCall(i int) (int, string, db.CreatingContainer, string)
- func (fake *FakeVolumeFactory) CreateContainerVolumeCallCount() int
- func (fake *FakeVolumeFactory) CreateContainerVolumeReturns(result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateContainerVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateTaskCacheVolume(teamID int, uwtc *db.UsedWorkerTaskCache) (db.CreatingVolume, error)
- func (fake *FakeVolumeFactory) CreateTaskCacheVolumeArgsForCall(i int) (int, *db.UsedWorkerTaskCache)
- func (fake *FakeVolumeFactory) CreateTaskCacheVolumeCallCount() int
- func (fake *FakeVolumeFactory) CreateTaskCacheVolumeReturns(result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateTaskCacheVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolume(arg1 int, arg2 *db.UsedWorkerBaseResourceType) (db.CreatingVolume, db.CreatedVolume, error)
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeArgsForCall(i int) (int, *db.UsedWorkerBaseResourceType)
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeReturns(result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindContainerVolume(arg1 int, arg2 string, arg3 db.CreatingContainer, arg4 string) (db.CreatingVolume, db.CreatedVolume, error)
- func (fake *FakeVolumeFactory) FindContainerVolumeArgsForCall(i int) (int, string, db.CreatingContainer, string)
- func (fake *FakeVolumeFactory) FindContainerVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindContainerVolumeReturns(result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindContainerVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindCreatedVolume(handle string) (db.CreatedVolume, bool, error)
- func (fake *FakeVolumeFactory) FindCreatedVolumeArgsForCall(i int) string
- func (fake *FakeVolumeFactory) FindCreatedVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindCreatedVolumeReturns(result1 db.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeFactory) FindCreatedVolumeReturnsOnCall(i int, result1 db.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeFactory) FindResourceCacheVolume(arg1 string, arg2 *db.UsedResourceCache) (db.CreatedVolume, bool, error)
- func (fake *FakeVolumeFactory) FindResourceCacheVolumeArgsForCall(i int) (string, *db.UsedResourceCache)
- func (fake *FakeVolumeFactory) FindResourceCacheVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindResourceCacheVolumeReturns(result1 db.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeFactory) FindResourceCacheVolumeReturnsOnCall(i int, result1 db.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeFactory) FindTaskCacheVolume(teamID int, uwtc *db.UsedWorkerTaskCache) (db.CreatingVolume, db.CreatedVolume, error)
- func (fake *FakeVolumeFactory) FindTaskCacheVolumeArgsForCall(i int) (int, *db.UsedWorkerTaskCache)
- func (fake *FakeVolumeFactory) FindTaskCacheVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindTaskCacheVolumeReturns(result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindTaskCacheVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindVolumesForContainer(arg1 db.CreatedContainer) ([]db.CreatedVolume, error)
- func (fake *FakeVolumeFactory) FindVolumesForContainerArgsForCall(i int) db.CreatedContainer
- func (fake *FakeVolumeFactory) FindVolumesForContainerCallCount() int
- func (fake *FakeVolumeFactory) FindVolumesForContainerReturns(result1 []db.CreatedVolume, result2 error)
- func (fake *FakeVolumeFactory) FindVolumesForContainerReturnsOnCall(i int, result1 []db.CreatedVolume, result2 error)
- func (fake *FakeVolumeFactory) GetOrphanedVolumes() ([]db.CreatedVolume, []db.DestroyingVolume, error)
- func (fake *FakeVolumeFactory) GetOrphanedVolumesCallCount() int
- func (fake *FakeVolumeFactory) GetOrphanedVolumesReturns(result1 []db.CreatedVolume, result2 []db.DestroyingVolume, result3 error)
- func (fake *FakeVolumeFactory) GetOrphanedVolumesReturnsOnCall(i int, result1 []db.CreatedVolume, result2 []db.DestroyingVolume, ...)
- func (fake *FakeVolumeFactory) GetTeamVolumes(teamID int) ([]db.CreatedVolume, error)
- func (fake *FakeVolumeFactory) GetTeamVolumesArgsForCall(i int) int
- func (fake *FakeVolumeFactory) GetTeamVolumesCallCount() int
- func (fake *FakeVolumeFactory) GetTeamVolumesReturns(result1 []db.CreatedVolume, result2 error)
- func (fake *FakeVolumeFactory) GetTeamVolumesReturnsOnCall(i int, result1 []db.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() db.WorkerState
- func (fake *FakeWorker) StateCallCount() int
- func (fake *FakeWorker) StateReturns(result1 db.WorkerState)
- func (fake *FakeWorker) StateReturnsOnCall(i int, result1 db.WorkerState)
- func (fake *FakeWorker) Tags() []string
- func (fake *FakeWorker) TagsCallCount() int
- func (fake *FakeWorker) 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 db.Worker) (*db.UsedWorkerBaseResourceType, bool, error)
- func (fake *FakeWorkerBaseResourceTypeFactory) FindArgsForCall(i int) (string, db.Worker)
- func (fake *FakeWorkerBaseResourceTypeFactory) FindCallCount() int
- func (fake *FakeWorkerBaseResourceTypeFactory) FindReturns(result1 *db.UsedWorkerBaseResourceType, result2 bool, result3 error)
- func (fake *FakeWorkerBaseResourceTypeFactory) FindReturnsOnCall(i int, result1 *db.UsedWorkerBaseResourceType, result2 bool, result3 error)
- func (fake *FakeWorkerBaseResourceTypeFactory) Invocations() map[string][][]interface{}
- type FakeWorkerFactory
- func (fake *FakeWorkerFactory) GetWorker(name string) (db.Worker, bool, error)
- func (fake *FakeWorkerFactory) GetWorkerArgsForCall(i int) string
- func (fake *FakeWorkerFactory) GetWorkerCallCount() int
- func (fake *FakeWorkerFactory) GetWorkerReturns(result1 db.Worker, result2 bool, result3 error)
- func (fake *FakeWorkerFactory) GetWorkerReturnsOnCall(i int, result1 db.Worker, result2 bool, result3 error)
- func (fake *FakeWorkerFactory) HeartbeatWorker(worker atc.Worker, ttl time.Duration) (db.Worker, error)
- func (fake *FakeWorkerFactory) HeartbeatWorkerArgsForCall(i int) (atc.Worker, time.Duration)
- func (fake *FakeWorkerFactory) HeartbeatWorkerCallCount() int
- func (fake *FakeWorkerFactory) HeartbeatWorkerReturns(result1 db.Worker, result2 error)
- func (fake *FakeWorkerFactory) HeartbeatWorkerReturnsOnCall(i int, result1 db.Worker, result2 error)
- func (fake *FakeWorkerFactory) Invocations() map[string][][]interface{}
- func (fake *FakeWorkerFactory) SaveWorker(atcWorker atc.Worker, ttl time.Duration) (db.Worker, error)
- func (fake *FakeWorkerFactory) SaveWorkerArgsForCall(i int) (atc.Worker, time.Duration)
- func (fake *FakeWorkerFactory) SaveWorkerCallCount() int
- func (fake *FakeWorkerFactory) SaveWorkerReturns(result1 db.Worker, result2 error)
- func (fake *FakeWorkerFactory) SaveWorkerReturnsOnCall(i int, result1 db.Worker, result2 error)
- func (fake *FakeWorkerFactory) Workers() ([]db.Worker, error)
- func (fake *FakeWorkerFactory) WorkersCallCount() int
- func (fake *FakeWorkerFactory) WorkersReturns(result1 []db.Worker, result2 error)
- func (fake *FakeWorkerFactory) WorkersReturnsOnCall(i int, result1 []db.Worker, result2 error)
- type FakeWorkerLifecycle
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkers() ([]string, error)
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersCallCount() int
- func (fake *FakeWorkerLifecycle) 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)
- type FakeWorkerTaskCacheFactory
- func (fake *FakeWorkerTaskCacheFactory) Find(jobID int, stepName string, path string, workerName string) (*db.UsedWorkerTaskCache, bool, error)
- func (fake *FakeWorkerTaskCacheFactory) FindArgsForCall(i int) (int, string, string, string)
- func (fake *FakeWorkerTaskCacheFactory) FindCallCount() int
- func (fake *FakeWorkerTaskCacheFactory) FindOrCreate(jobID int, stepName string, path string, workerName string) (*db.UsedWorkerTaskCache, error)
- func (fake *FakeWorkerTaskCacheFactory) FindOrCreateArgsForCall(i int) (int, string, string, string)
- func (fake *FakeWorkerTaskCacheFactory) FindOrCreateCallCount() int
- func (fake *FakeWorkerTaskCacheFactory) FindOrCreateReturns(result1 *db.UsedWorkerTaskCache, result2 error)
- func (fake *FakeWorkerTaskCacheFactory) FindOrCreateReturnsOnCall(i int, result1 *db.UsedWorkerTaskCache, result2 error)
- func (fake *FakeWorkerTaskCacheFactory) FindReturns(result1 *db.UsedWorkerTaskCache, result2 bool, result3 error)
- func (fake *FakeWorkerTaskCacheFactory) FindReturnsOnCall(i int, result1 *db.UsedWorkerTaskCache, result2 bool, result3 error)
- func (fake *FakeWorkerTaskCacheFactory) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBaseResourceTypeFactory ¶
type FakeBaseResourceTypeFactory struct { FindStub func(name string) (*db.UsedBaseResourceType, bool, error) // contains filtered or unexported fields }
func (*FakeBaseResourceTypeFactory) Find ¶
func (fake *FakeBaseResourceTypeFactory) Find(name string) (*db.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 *db.UsedBaseResourceType, result2 bool, result3 error)
func (*FakeBaseResourceTypeFactory) FindReturnsOnCall ¶
func (fake *FakeBaseResourceTypeFactory) FindReturnsOnCall(i int, result1 *db.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 PublicPlanStub func() *json.RawMessage StatusStub func() db.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() (db.BuildPreparation, bool, error) StartStub func(string, string, atc.Plan) (bool, error) FinishWithErrorStub func(cause error) error FinishStub func(db.BuildStatus) error SetInterceptibleStub func(bool) error EventsStub func(uint) (db.EventSource, error) SaveEventStub func(event atc.Event) error SaveInputStub func(input db.BuildInput) error SaveOutputStub func(vr db.VersionedResource, explicit bool) error UseInputsStub func(inputs []db.BuildInput) error ResourcesStub func() ([]db.BuildInput, []db.BuildOutput, error) GetVersionedResourcesStub func() (db.SavedVersionedResources, error) SaveImageResourceVersionStub func(*db.UsedResourceCache) error PipelineStub func() (db.Pipeline, bool, error) DeleteStub func() (bool, error) MarkAsAbortedStub func() error AbortNotifierStub func() (db.Notifier, error) ScheduleStub func() (bool, error) // contains filtered or unexported fields }
func (*FakeBuild) AbortNotifierCallCount ¶
func (*FakeBuild) AbortNotifierReturns ¶
func (*FakeBuild) AbortNotifierReturnsOnCall ¶
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 db.EventSource, result2 error)
func (*FakeBuild) EventsReturnsOnCall ¶
func (fake *FakeBuild) EventsReturnsOnCall(i int, result1 db.EventSource, result2 error)
func (*FakeBuild) FinishArgsForCall ¶
func (fake *FakeBuild) FinishArgsForCall(i int) db.BuildStatus
func (*FakeBuild) FinishCallCount ¶
func (*FakeBuild) FinishReturns ¶
func (*FakeBuild) FinishReturnsOnCall ¶
func (*FakeBuild) FinishWithError ¶
func (*FakeBuild) FinishWithErrorArgsForCall ¶
func (*FakeBuild) FinishWithErrorCallCount ¶
func (*FakeBuild) FinishWithErrorReturns ¶
func (*FakeBuild) FinishWithErrorReturnsOnCall ¶
func (*FakeBuild) GetVersionedResources ¶
func (fake *FakeBuild) GetVersionedResources() (db.SavedVersionedResources, error)
func (*FakeBuild) GetVersionedResourcesCallCount ¶
func (*FakeBuild) GetVersionedResourcesReturns ¶
func (fake *FakeBuild) GetVersionedResourcesReturns(result1 db.SavedVersionedResources, result2 error)
func (*FakeBuild) GetVersionedResourcesReturnsOnCall ¶
func (fake *FakeBuild) GetVersionedResourcesReturnsOnCall(i int, result1 db.SavedVersionedResources, result2 error)
func (*FakeBuild) 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) MarkAsAborted ¶
func (*FakeBuild) MarkAsAbortedCallCount ¶
func (*FakeBuild) MarkAsAbortedReturns ¶
func (*FakeBuild) MarkAsAbortedReturnsOnCall ¶
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() (db.BuildPreparation, bool, error)
func (*FakeBuild) PreparationCallCount ¶
func (*FakeBuild) PreparationReturns ¶
func (fake *FakeBuild) PreparationReturns(result1 db.BuildPreparation, result2 bool, result3 error)
func (*FakeBuild) PreparationReturnsOnCall ¶
func (*FakeBuild) PublicPlan ¶
func (fake *FakeBuild) PublicPlan() *json.RawMessage
func (*FakeBuild) PublicPlanCallCount ¶
func (*FakeBuild) PublicPlanReturns ¶
func (fake *FakeBuild) PublicPlanReturns(result1 *json.RawMessage)
func (*FakeBuild) PublicPlanReturnsOnCall ¶
func (fake *FakeBuild) PublicPlanReturnsOnCall(i int, result1 *json.RawMessage)
func (*FakeBuild) ReapTimeCallCount ¶
func (*FakeBuild) ReapTimeReturns ¶
func (*FakeBuild) ReapTimeReturnsOnCall ¶
func (*FakeBuild) ReloadCallCount ¶
func (*FakeBuild) ReloadReturns ¶
func (*FakeBuild) ReloadReturnsOnCall ¶
func (*FakeBuild) Resources ¶
func (fake *FakeBuild) Resources() ([]db.BuildInput, []db.BuildOutput, error)
func (*FakeBuild) ResourcesCallCount ¶
func (*FakeBuild) ResourcesReturns ¶
func (fake *FakeBuild) ResourcesReturns(result1 []db.BuildInput, result2 []db.BuildOutput, result3 error)
func (*FakeBuild) ResourcesReturnsOnCall ¶
func (fake *FakeBuild) ResourcesReturnsOnCall(i int, result1 []db.BuildInput, result2 []db.BuildOutput, result3 error)
func (*FakeBuild) SaveEventArgsForCall ¶
func (*FakeBuild) SaveEventCallCount ¶
func (*FakeBuild) SaveEventReturns ¶
func (*FakeBuild) SaveEventReturnsOnCall ¶
func (*FakeBuild) SaveImageResourceVersion ¶
func (fake *FakeBuild) SaveImageResourceVersion(arg1 *db.UsedResourceCache) error
func (*FakeBuild) SaveImageResourceVersionArgsForCall ¶
func (fake *FakeBuild) SaveImageResourceVersionArgsForCall(i int) *db.UsedResourceCache
func (*FakeBuild) SaveImageResourceVersionCallCount ¶
func (*FakeBuild) SaveImageResourceVersionReturns ¶
func (*FakeBuild) SaveImageResourceVersionReturnsOnCall ¶
func (*FakeBuild) SaveInputArgsForCall ¶
func (fake *FakeBuild) SaveInputArgsForCall(i int) db.BuildInput
func (*FakeBuild) SaveInputCallCount ¶
func (*FakeBuild) SaveInputReturns ¶
func (*FakeBuild) SaveInputReturnsOnCall ¶
func (*FakeBuild) SaveOutput ¶
func (fake *FakeBuild) SaveOutput(vr db.VersionedResource, explicit bool) error
func (*FakeBuild) SaveOutputArgsForCall ¶
func (fake *FakeBuild) SaveOutputArgsForCall(i int) (db.VersionedResource, bool)
func (*FakeBuild) SaveOutputCallCount ¶
func (*FakeBuild) SaveOutputReturns ¶
func (*FakeBuild) SaveOutputReturnsOnCall ¶
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() db.BuildStatus
func (*FakeBuild) StatusCallCount ¶
func (*FakeBuild) StatusReturns ¶
func (fake *FakeBuild) StatusReturns(result1 db.BuildStatus)
func (*FakeBuild) StatusReturnsOnCall ¶
func (fake *FakeBuild) StatusReturnsOnCall(i int, result1 db.BuildStatus)
func (*FakeBuild) TeamIDCallCount ¶
func (*FakeBuild) TeamIDReturns ¶
func (*FakeBuild) TeamIDReturnsOnCall ¶
func (*FakeBuild) TeamNameCallCount ¶
func (*FakeBuild) TeamNameReturns ¶
func (*FakeBuild) TeamNameReturnsOnCall ¶
func (*FakeBuild) UseInputsArgsForCall ¶
func (fake *FakeBuild) UseInputsArgsForCall(i int) []db.BuildInput
func (*FakeBuild) UseInputsCallCount ¶
func (*FakeBuild) UseInputsReturns ¶
func (*FakeBuild) UseInputsReturnsOnCall ¶
type FakeBuildFactory ¶
type FakeBuildFactory struct { BuildStub func(int) (db.Build, bool, error) PublicBuildsStub func(db.Page) ([]db.Build, db.Pagination, error) GetAllStartedBuildsStub func() ([]db.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 db.Build, result2 bool, result3 error)
func (*FakeBuildFactory) BuildReturnsOnCall ¶
func (*FakeBuildFactory) GetAllStartedBuilds ¶
func (fake *FakeBuildFactory) GetAllStartedBuilds() ([]db.Build, error)
func (*FakeBuildFactory) GetAllStartedBuildsCallCount ¶
func (fake *FakeBuildFactory) GetAllStartedBuildsCallCount() int
func (*FakeBuildFactory) GetAllStartedBuildsReturns ¶
func (fake *FakeBuildFactory) GetAllStartedBuildsReturns(result1 []db.Build, result2 error)
func (*FakeBuildFactory) GetAllStartedBuildsReturnsOnCall ¶
func (fake *FakeBuildFactory) GetAllStartedBuildsReturnsOnCall(i int, result1 []db.Build, result2 error)
func (*FakeBuildFactory) Invocations ¶
func (fake *FakeBuildFactory) Invocations() map[string][][]interface{}
func (*FakeBuildFactory) MarkNonInterceptibleBuilds ¶
func (fake *FakeBuildFactory) MarkNonInterceptibleBuilds() error
func (*FakeBuildFactory) MarkNonInterceptibleBuildsCallCount ¶
func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsCallCount() int
func (*FakeBuildFactory) MarkNonInterceptibleBuildsReturns ¶
func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsReturns(result1 error)
func (*FakeBuildFactory) MarkNonInterceptibleBuildsReturnsOnCall ¶
func (fake *FakeBuildFactory) MarkNonInterceptibleBuildsReturnsOnCall(i int, result1 error)
func (*FakeBuildFactory) PublicBuilds ¶
func (fake *FakeBuildFactory) PublicBuilds(arg1 db.Page) ([]db.Build, db.Pagination, error)
func (*FakeBuildFactory) PublicBuildsArgsForCall ¶
func (fake *FakeBuildFactory) PublicBuildsArgsForCall(i int) db.Page
func (*FakeBuildFactory) PublicBuildsCallCount ¶
func (fake *FakeBuildFactory) PublicBuildsCallCount() int
func (*FakeBuildFactory) PublicBuildsReturns ¶
func (fake *FakeBuildFactory) PublicBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
func (*FakeBuildFactory) PublicBuildsReturnsOnCall ¶
func (fake *FakeBuildFactory) PublicBuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
type FakeConn ¶
type FakeConn struct { BusStub func() db.NotificationsBus EncryptionStrategyStub func() db.EncryptionStrategy BeginStub func() (db.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() db.NotificationsBus
func (*FakeConn) BusCallCount ¶
func (*FakeConn) BusReturns ¶
func (fake *FakeConn) BusReturns(result1 db.NotificationsBus)
func (*FakeConn) BusReturnsOnCall ¶
func (fake *FakeConn) BusReturnsOnCall(i int, result1 db.NotificationsBus)
func (*FakeConn) CloseCallCount ¶
func (*FakeConn) CloseReturns ¶
func (*FakeConn) CloseReturnsOnCall ¶
func (*FakeConn) DriverCallCount ¶
func (*FakeConn) DriverReturns ¶
func (*FakeConn) DriverReturnsOnCall ¶
func (*FakeConn) EncryptionStrategy ¶
func (fake *FakeConn) EncryptionStrategy() db.EncryptionStrategy
func (*FakeConn) EncryptionStrategyCallCount ¶
func (*FakeConn) EncryptionStrategyReturns ¶
func (fake *FakeConn) EncryptionStrategyReturns(result1 db.EncryptionStrategy)
func (*FakeConn) EncryptionStrategyReturnsOnCall ¶
func (fake *FakeConn) EncryptionStrategyReturnsOnCall(i int, result1 db.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() db.ContainerMetadata // contains filtered or unexported fields }
func (*FakeContainer) Handle ¶
func (fake *FakeContainer) Handle() string
func (*FakeContainer) HandleCallCount ¶
func (fake *FakeContainer) HandleCallCount() int
func (*FakeContainer) HandleReturns ¶
func (fake *FakeContainer) HandleReturns(result1 string)
func (*FakeContainer) HandleReturnsOnCall ¶
func (fake *FakeContainer) HandleReturnsOnCall(i int, result1 string)
func (*FakeContainer) ID ¶
func (fake *FakeContainer) ID() int
func (*FakeContainer) IDCallCount ¶
func (fake *FakeContainer) IDCallCount() int
func (*FakeContainer) IDReturns ¶
func (fake *FakeContainer) IDReturns(result1 int)
func (*FakeContainer) IDReturnsOnCall ¶
func (fake *FakeContainer) IDReturnsOnCall(i int, result1 int)
func (*FakeContainer) Invocations ¶
func (fake *FakeContainer) Invocations() map[string][][]interface{}
func (*FakeContainer) Metadata ¶
func (fake *FakeContainer) Metadata() db.ContainerMetadata
func (*FakeContainer) MetadataCallCount ¶
func (fake *FakeContainer) MetadataCallCount() int
func (*FakeContainer) MetadataReturns ¶
func (fake *FakeContainer) MetadataReturns(result1 db.ContainerMetadata)
func (*FakeContainer) MetadataReturnsOnCall ¶
func (fake *FakeContainer) MetadataReturnsOnCall(i int, result1 db.ContainerMetadata)
func (*FakeContainer) 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() ([]db.CreatingContainer, []db.CreatedContainer, []db.DestroyingContainer, error) // contains filtered or unexported fields }
func (*FakeContainerFactory) FindContainersForDeletion ¶
func (fake *FakeContainerFactory) FindContainersForDeletion() ([]db.CreatingContainer, []db.CreatedContainer, []db.DestroyingContainer, error)
func (*FakeContainerFactory) FindContainersForDeletionCallCount ¶
func (fake *FakeContainerFactory) FindContainersForDeletionCallCount() int
func (*FakeContainerFactory) FindContainersForDeletionReturns ¶
func (fake *FakeContainerFactory) FindContainersForDeletionReturns(result1 []db.CreatingContainer, result2 []db.CreatedContainer, result3 []db.DestroyingContainer, result4 error)
func (*FakeContainerFactory) FindContainersForDeletionReturnsOnCall ¶
func (fake *FakeContainerFactory) FindContainersForDeletionReturnsOnCall(i int, result1 []db.CreatingContainer, result2 []db.CreatedContainer, result3 []db.DestroyingContainer, result4 error)
func (*FakeContainerFactory) Invocations ¶
func (fake *FakeContainerFactory) Invocations() map[string][][]interface{}
type FakeContainerOwner ¶
type FakeContainerOwner struct { FindStub func(conn db.Conn) (sq.Eq, bool, error) CreateStub func(tx db.Tx, workerName string) (map[string]interface{}, error) // contains filtered or unexported fields }
func (*FakeContainerOwner) CreateArgsForCall ¶
func (fake *FakeContainerOwner) CreateArgsForCall(i int) (db.Tx, string)
func (*FakeContainerOwner) CreateCallCount ¶
func (fake *FakeContainerOwner) CreateCallCount() int
func (*FakeContainerOwner) CreateReturns ¶
func (fake *FakeContainerOwner) CreateReturns(result1 map[string]interface{}, result2 error)
func (*FakeContainerOwner) CreateReturnsOnCall ¶
func (fake *FakeContainerOwner) CreateReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
func (*FakeContainerOwner) FindArgsForCall ¶
func (fake *FakeContainerOwner) FindArgsForCall(i int) db.Conn
func (*FakeContainerOwner) FindCallCount ¶
func (fake *FakeContainerOwner) FindCallCount() int
func (*FakeContainerOwner) FindReturns ¶
func (fake *FakeContainerOwner) FindReturns(result1 sq.Eq, result2 bool, result3 error)
func (*FakeContainerOwner) FindReturnsOnCall ¶
func (*FakeContainerOwner) Invocations ¶
func (fake *FakeContainerOwner) Invocations() map[string][][]interface{}
type FakeCreatedContainer ¶
type FakeCreatedContainer struct { IDStub func() int HandleStub func() string WorkerNameStub func() string MetadataStub func() db.ContainerMetadata DiscontinueStub func() (db.DestroyingContainer, error) DestroyingStub func() (db.DestroyingContainer, error) IsHijackedStub func() bool MarkAsHijackedStub func() error // contains filtered or unexported fields }
func (*FakeCreatedContainer) Destroying ¶
func (fake *FakeCreatedContainer) Destroying() (db.DestroyingContainer, error)
func (*FakeCreatedContainer) DestroyingCallCount ¶
func (fake *FakeCreatedContainer) DestroyingCallCount() int
func (*FakeCreatedContainer) DestroyingReturns ¶
func (fake *FakeCreatedContainer) DestroyingReturns(result1 db.DestroyingContainer, result2 error)
func (*FakeCreatedContainer) DestroyingReturnsOnCall ¶
func (fake *FakeCreatedContainer) DestroyingReturnsOnCall(i int, result1 db.DestroyingContainer, result2 error)
func (*FakeCreatedContainer) Discontinue ¶
func (fake *FakeCreatedContainer) Discontinue() (db.DestroyingContainer, error)
func (*FakeCreatedContainer) DiscontinueCallCount ¶
func (fake *FakeCreatedContainer) DiscontinueCallCount() int
func (*FakeCreatedContainer) DiscontinueReturns ¶
func (fake *FakeCreatedContainer) DiscontinueReturns(result1 db.DestroyingContainer, result2 error)
func (*FakeCreatedContainer) DiscontinueReturnsOnCall ¶
func (fake *FakeCreatedContainer) DiscontinueReturnsOnCall(i int, result1 db.DestroyingContainer, result2 error)
func (*FakeCreatedContainer) Handle ¶
func (fake *FakeCreatedContainer) Handle() string
func (*FakeCreatedContainer) HandleCallCount ¶
func (fake *FakeCreatedContainer) HandleCallCount() int
func (*FakeCreatedContainer) HandleReturns ¶
func (fake *FakeCreatedContainer) HandleReturns(result1 string)
func (*FakeCreatedContainer) HandleReturnsOnCall ¶
func (fake *FakeCreatedContainer) HandleReturnsOnCall(i int, result1 string)
func (*FakeCreatedContainer) ID ¶
func (fake *FakeCreatedContainer) ID() int
func (*FakeCreatedContainer) IDCallCount ¶
func (fake *FakeCreatedContainer) IDCallCount() int
func (*FakeCreatedContainer) IDReturns ¶
func (fake *FakeCreatedContainer) IDReturns(result1 int)
func (*FakeCreatedContainer) IDReturnsOnCall ¶
func (fake *FakeCreatedContainer) IDReturnsOnCall(i int, result1 int)
func (*FakeCreatedContainer) Invocations ¶
func (fake *FakeCreatedContainer) Invocations() map[string][][]interface{}
func (*FakeCreatedContainer) IsHijacked ¶
func (fake *FakeCreatedContainer) IsHijacked() bool
func (*FakeCreatedContainer) IsHijackedCallCount ¶
func (fake *FakeCreatedContainer) IsHijackedCallCount() int
func (*FakeCreatedContainer) IsHijackedReturns ¶
func (fake *FakeCreatedContainer) IsHijackedReturns(result1 bool)
func (*FakeCreatedContainer) IsHijackedReturnsOnCall ¶
func (fake *FakeCreatedContainer) IsHijackedReturnsOnCall(i int, result1 bool)
func (*FakeCreatedContainer) MarkAsHijacked ¶
func (fake *FakeCreatedContainer) MarkAsHijacked() error
func (*FakeCreatedContainer) MarkAsHijackedCallCount ¶
func (fake *FakeCreatedContainer) MarkAsHijackedCallCount() int
func (*FakeCreatedContainer) MarkAsHijackedReturns ¶
func (fake *FakeCreatedContainer) MarkAsHijackedReturns(result1 error)
func (*FakeCreatedContainer) MarkAsHijackedReturnsOnCall ¶
func (fake *FakeCreatedContainer) MarkAsHijackedReturnsOnCall(i int, result1 error)
func (*FakeCreatedContainer) Metadata ¶
func (fake *FakeCreatedContainer) Metadata() db.ContainerMetadata
func (*FakeCreatedContainer) MetadataCallCount ¶
func (fake *FakeCreatedContainer) MetadataCallCount() int
func (*FakeCreatedContainer) MetadataReturns ¶
func (fake *FakeCreatedContainer) MetadataReturns(result1 db.ContainerMetadata)
func (*FakeCreatedContainer) MetadataReturnsOnCall ¶
func (fake *FakeCreatedContainer) MetadataReturnsOnCall(i int, result1 db.ContainerMetadata)
func (*FakeCreatedContainer) WorkerName ¶
func (fake *FakeCreatedContainer) WorkerName() string
func (*FakeCreatedContainer) WorkerNameCallCount ¶
func (fake *FakeCreatedContainer) WorkerNameCallCount() int
func (*FakeCreatedContainer) WorkerNameReturns ¶
func (fake *FakeCreatedContainer) WorkerNameReturns(result1 string)
func (*FakeCreatedContainer) WorkerNameReturnsOnCall ¶
func (fake *FakeCreatedContainer) WorkerNameReturnsOnCall(i int, result1 string)
type FakeCreatedVolume ¶
type FakeCreatedVolume struct { HandleStub func() string PathStub func() string TypeStub func() db.VolumeType TeamIDStub func() int CreateChildForContainerStub func(db.CreatingContainer, string) (db.CreatingVolume, error) DestroyingStub func() (db.DestroyingVolume, error) WorkerNameStub func() string SizeInBytesStub func() int64 InitializeResourceCacheStub func(*db.UsedResourceCache) error InitializeTaskCacheStub func(int, string, string) error ContainerHandleStub func() string ParentHandleStub func() string ResourceTypeStub func() (*db.VolumeResourceType, error) BaseResourceTypeStub func() (*db.UsedWorkerBaseResourceType, error) TaskIdentifierStub func() (string, string, string, error) // contains filtered or unexported fields }
func (*FakeCreatedVolume) BaseResourceType ¶
func (fake *FakeCreatedVolume) BaseResourceType() (*db.UsedWorkerBaseResourceType, error)
func (*FakeCreatedVolume) BaseResourceTypeCallCount ¶
func (fake *FakeCreatedVolume) BaseResourceTypeCallCount() int
func (*FakeCreatedVolume) BaseResourceTypeReturns ¶
func (fake *FakeCreatedVolume) BaseResourceTypeReturns(result1 *db.UsedWorkerBaseResourceType, result2 error)
func (*FakeCreatedVolume) BaseResourceTypeReturnsOnCall ¶
func (fake *FakeCreatedVolume) BaseResourceTypeReturnsOnCall(i int, result1 *db.UsedWorkerBaseResourceType, result2 error)
func (*FakeCreatedVolume) ContainerHandle ¶
func (fake *FakeCreatedVolume) ContainerHandle() string
func (*FakeCreatedVolume) ContainerHandleCallCount ¶
func (fake *FakeCreatedVolume) ContainerHandleCallCount() int
func (*FakeCreatedVolume) ContainerHandleReturns ¶
func (fake *FakeCreatedVolume) ContainerHandleReturns(result1 string)
func (*FakeCreatedVolume) ContainerHandleReturnsOnCall ¶
func (fake *FakeCreatedVolume) ContainerHandleReturnsOnCall(i int, result1 string)
func (*FakeCreatedVolume) CreateChildForContainer ¶
func (fake *FakeCreatedVolume) CreateChildForContainer(arg1 db.CreatingContainer, arg2 string) (db.CreatingVolume, error)
func (*FakeCreatedVolume) CreateChildForContainerArgsForCall ¶
func (fake *FakeCreatedVolume) CreateChildForContainerArgsForCall(i int) (db.CreatingContainer, string)
func (*FakeCreatedVolume) CreateChildForContainerCallCount ¶
func (fake *FakeCreatedVolume) CreateChildForContainerCallCount() int
func (*FakeCreatedVolume) CreateChildForContainerReturns ¶
func (fake *FakeCreatedVolume) CreateChildForContainerReturns(result1 db.CreatingVolume, result2 error)
func (*FakeCreatedVolume) CreateChildForContainerReturnsOnCall ¶
func (fake *FakeCreatedVolume) CreateChildForContainerReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)
func (*FakeCreatedVolume) Destroying ¶
func (fake *FakeCreatedVolume) Destroying() (db.DestroyingVolume, error)
func (*FakeCreatedVolume) DestroyingCallCount ¶
func (fake *FakeCreatedVolume) DestroyingCallCount() int
func (*FakeCreatedVolume) DestroyingReturns ¶
func (fake *FakeCreatedVolume) DestroyingReturns(result1 db.DestroyingVolume, result2 error)
func (*FakeCreatedVolume) DestroyingReturnsOnCall ¶
func (fake *FakeCreatedVolume) DestroyingReturnsOnCall(i int, result1 db.DestroyingVolume, result2 error)
func (*FakeCreatedVolume) Handle ¶
func (fake *FakeCreatedVolume) Handle() string
func (*FakeCreatedVolume) HandleCallCount ¶
func (fake *FakeCreatedVolume) HandleCallCount() int
func (*FakeCreatedVolume) HandleReturns ¶
func (fake *FakeCreatedVolume) HandleReturns(result1 string)
func (*FakeCreatedVolume) HandleReturnsOnCall ¶
func (fake *FakeCreatedVolume) HandleReturnsOnCall(i int, result1 string)
func (*FakeCreatedVolume) InitializeResourceCache ¶
func (fake *FakeCreatedVolume) InitializeResourceCache(arg1 *db.UsedResourceCache) error
func (*FakeCreatedVolume) InitializeResourceCacheArgsForCall ¶
func (fake *FakeCreatedVolume) InitializeResourceCacheArgsForCall(i int) *db.UsedResourceCache
func (*FakeCreatedVolume) InitializeResourceCacheCallCount ¶
func (fake *FakeCreatedVolume) InitializeResourceCacheCallCount() int
func (*FakeCreatedVolume) InitializeResourceCacheReturns ¶
func (fake *FakeCreatedVolume) InitializeResourceCacheReturns(result1 error)
func (*FakeCreatedVolume) InitializeResourceCacheReturnsOnCall ¶
func (fake *FakeCreatedVolume) InitializeResourceCacheReturnsOnCall(i int, result1 error)
func (*FakeCreatedVolume) InitializeTaskCache ¶
func (fake *FakeCreatedVolume) InitializeTaskCache(arg1 int, arg2 string, arg3 string) error
func (*FakeCreatedVolume) InitializeTaskCacheArgsForCall ¶
func (fake *FakeCreatedVolume) InitializeTaskCacheArgsForCall(i int) (int, string, string)
func (*FakeCreatedVolume) InitializeTaskCacheCallCount ¶
func (fake *FakeCreatedVolume) InitializeTaskCacheCallCount() int
func (*FakeCreatedVolume) InitializeTaskCacheReturns ¶
func (fake *FakeCreatedVolume) InitializeTaskCacheReturns(result1 error)
func (*FakeCreatedVolume) InitializeTaskCacheReturnsOnCall ¶
func (fake *FakeCreatedVolume) InitializeTaskCacheReturnsOnCall(i int, result1 error)
func (*FakeCreatedVolume) Invocations ¶
func (fake *FakeCreatedVolume) Invocations() map[string][][]interface{}
func (*FakeCreatedVolume) ParentHandle ¶
func (fake *FakeCreatedVolume) ParentHandle() string
func (*FakeCreatedVolume) ParentHandleCallCount ¶
func (fake *FakeCreatedVolume) ParentHandleCallCount() int
func (*FakeCreatedVolume) ParentHandleReturns ¶
func (fake *FakeCreatedVolume) ParentHandleReturns(result1 string)
func (*FakeCreatedVolume) ParentHandleReturnsOnCall ¶
func (fake *FakeCreatedVolume) ParentHandleReturnsOnCall(i int, result1 string)
func (*FakeCreatedVolume) Path ¶
func (fake *FakeCreatedVolume) Path() string
func (*FakeCreatedVolume) PathCallCount ¶
func (fake *FakeCreatedVolume) PathCallCount() int
func (*FakeCreatedVolume) PathReturns ¶
func (fake *FakeCreatedVolume) PathReturns(result1 string)
func (*FakeCreatedVolume) PathReturnsOnCall ¶
func (fake *FakeCreatedVolume) PathReturnsOnCall(i int, result1 string)
func (*FakeCreatedVolume) ResourceType ¶
func (fake *FakeCreatedVolume) ResourceType() (*db.VolumeResourceType, error)
func (*FakeCreatedVolume) ResourceTypeCallCount ¶
func (fake *FakeCreatedVolume) ResourceTypeCallCount() int
func (*FakeCreatedVolume) ResourceTypeReturns ¶
func (fake *FakeCreatedVolume) ResourceTypeReturns(result1 *db.VolumeResourceType, result2 error)
func (*FakeCreatedVolume) ResourceTypeReturnsOnCall ¶
func (fake *FakeCreatedVolume) ResourceTypeReturnsOnCall(i int, result1 *db.VolumeResourceType, result2 error)
func (*FakeCreatedVolume) 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) TaskIdentifier ¶
func (fake *FakeCreatedVolume) TaskIdentifier() (string, string, string, error)
func (*FakeCreatedVolume) TaskIdentifierCallCount ¶
func (fake *FakeCreatedVolume) TaskIdentifierCallCount() int
func (*FakeCreatedVolume) TaskIdentifierReturns ¶
func (fake *FakeCreatedVolume) TaskIdentifierReturns(result1 string, result2 string, result3 string, result4 error)
func (*FakeCreatedVolume) TaskIdentifierReturnsOnCall ¶
func (*FakeCreatedVolume) TeamID ¶
func (fake *FakeCreatedVolume) TeamID() int
func (*FakeCreatedVolume) TeamIDCallCount ¶
func (fake *FakeCreatedVolume) TeamIDCallCount() int
func (*FakeCreatedVolume) TeamIDReturns ¶
func (fake *FakeCreatedVolume) TeamIDReturns(result1 int)
func (*FakeCreatedVolume) TeamIDReturnsOnCall ¶
func (fake *FakeCreatedVolume) TeamIDReturnsOnCall(i int, result1 int)
func (*FakeCreatedVolume) Type ¶
func (fake *FakeCreatedVolume) Type() db.VolumeType
func (*FakeCreatedVolume) TypeCallCount ¶
func (fake *FakeCreatedVolume) TypeCallCount() int
func (*FakeCreatedVolume) TypeReturns ¶
func (fake *FakeCreatedVolume) TypeReturns(result1 db.VolumeType)
func (*FakeCreatedVolume) TypeReturnsOnCall ¶
func (fake *FakeCreatedVolume) TypeReturnsOnCall(i int, result1 db.VolumeType)
func (*FakeCreatedVolume) WorkerName ¶
func (fake *FakeCreatedVolume) WorkerName() string
func (*FakeCreatedVolume) WorkerNameCallCount ¶
func (fake *FakeCreatedVolume) WorkerNameCallCount() int
func (*FakeCreatedVolume) WorkerNameReturns ¶
func (fake *FakeCreatedVolume) WorkerNameReturns(result1 string)
func (*FakeCreatedVolume) WorkerNameReturnsOnCall ¶
func (fake *FakeCreatedVolume) WorkerNameReturnsOnCall(i int, result1 string)
type FakeCreatingContainer ¶
type FakeCreatingContainer struct { IDStub func() int HandleStub func() string WorkerNameStub func() string MetadataStub func() db.ContainerMetadata CreatedStub func() (db.CreatedContainer, error) // contains filtered or unexported fields }
func (*FakeCreatingContainer) Created ¶
func (fake *FakeCreatingContainer) Created() (db.CreatedContainer, error)
func (*FakeCreatingContainer) CreatedCallCount ¶
func (fake *FakeCreatingContainer) CreatedCallCount() int
func (*FakeCreatingContainer) CreatedReturns ¶
func (fake *FakeCreatingContainer) CreatedReturns(result1 db.CreatedContainer, result2 error)
func (*FakeCreatingContainer) CreatedReturnsOnCall ¶
func (fake *FakeCreatingContainer) CreatedReturnsOnCall(i int, result1 db.CreatedContainer, result2 error)
func (*FakeCreatingContainer) Handle ¶
func (fake *FakeCreatingContainer) Handle() string
func (*FakeCreatingContainer) HandleCallCount ¶
func (fake *FakeCreatingContainer) HandleCallCount() int
func (*FakeCreatingContainer) HandleReturns ¶
func (fake *FakeCreatingContainer) HandleReturns(result1 string)
func (*FakeCreatingContainer) HandleReturnsOnCall ¶
func (fake *FakeCreatingContainer) HandleReturnsOnCall(i int, result1 string)
func (*FakeCreatingContainer) ID ¶
func (fake *FakeCreatingContainer) ID() int
func (*FakeCreatingContainer) IDCallCount ¶
func (fake *FakeCreatingContainer) IDCallCount() int
func (*FakeCreatingContainer) IDReturns ¶
func (fake *FakeCreatingContainer) IDReturns(result1 int)
func (*FakeCreatingContainer) IDReturnsOnCall ¶
func (fake *FakeCreatingContainer) IDReturnsOnCall(i int, result1 int)
func (*FakeCreatingContainer) Invocations ¶
func (fake *FakeCreatingContainer) Invocations() map[string][][]interface{}
func (*FakeCreatingContainer) Metadata ¶
func (fake *FakeCreatingContainer) Metadata() db.ContainerMetadata
func (*FakeCreatingContainer) MetadataCallCount ¶
func (fake *FakeCreatingContainer) MetadataCallCount() int
func (*FakeCreatingContainer) MetadataReturns ¶
func (fake *FakeCreatingContainer) MetadataReturns(result1 db.ContainerMetadata)
func (*FakeCreatingContainer) MetadataReturnsOnCall ¶
func (fake *FakeCreatingContainer) MetadataReturnsOnCall(i int, result1 db.ContainerMetadata)
func (*FakeCreatingContainer) WorkerName ¶
func (fake *FakeCreatingContainer) WorkerName() string
func (*FakeCreatingContainer) WorkerNameCallCount ¶
func (fake *FakeCreatingContainer) WorkerNameCallCount() int
func (*FakeCreatingContainer) WorkerNameReturns ¶
func (fake *FakeCreatingContainer) WorkerNameReturns(result1 string)
func (*FakeCreatingContainer) WorkerNameReturnsOnCall ¶
func (fake *FakeCreatingContainer) WorkerNameReturnsOnCall(i int, result1 string)
type FakeCreatingVolume ¶
type FakeCreatingVolume struct { HandleStub func() string IDStub func() int CreatedStub func() (db.CreatedVolume, error) // contains filtered or unexported fields }
func (*FakeCreatingVolume) Created ¶
func (fake *FakeCreatingVolume) Created() (db.CreatedVolume, error)
func (*FakeCreatingVolume) CreatedCallCount ¶
func (fake *FakeCreatingVolume) CreatedCallCount() int
func (*FakeCreatingVolume) CreatedReturns ¶
func (fake *FakeCreatingVolume) CreatedReturns(result1 db.CreatedVolume, result2 error)
func (*FakeCreatingVolume) CreatedReturnsOnCall ¶
func (fake *FakeCreatingVolume) CreatedReturnsOnCall(i int, result1 db.CreatedVolume, result2 error)
func (*FakeCreatingVolume) 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() db.ContainerMetadata DestroyStub func() (bool, error) IsDiscontinuedStub func() bool // contains filtered or unexported fields }
func (*FakeDestroyingContainer) Destroy ¶
func (fake *FakeDestroyingContainer) Destroy() (bool, error)
func (*FakeDestroyingContainer) DestroyCallCount ¶
func (fake *FakeDestroyingContainer) DestroyCallCount() int
func (*FakeDestroyingContainer) DestroyReturns ¶
func (fake *FakeDestroyingContainer) DestroyReturns(result1 bool, result2 error)
func (*FakeDestroyingContainer) DestroyReturnsOnCall ¶
func (fake *FakeDestroyingContainer) DestroyReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeDestroyingContainer) Handle ¶
func (fake *FakeDestroyingContainer) Handle() string
func (*FakeDestroyingContainer) HandleCallCount ¶
func (fake *FakeDestroyingContainer) HandleCallCount() int
func (*FakeDestroyingContainer) HandleReturns ¶
func (fake *FakeDestroyingContainer) HandleReturns(result1 string)
func (*FakeDestroyingContainer) HandleReturnsOnCall ¶
func (fake *FakeDestroyingContainer) HandleReturnsOnCall(i int, result1 string)
func (*FakeDestroyingContainer) ID ¶
func (fake *FakeDestroyingContainer) ID() int
func (*FakeDestroyingContainer) IDCallCount ¶
func (fake *FakeDestroyingContainer) IDCallCount() int
func (*FakeDestroyingContainer) IDReturns ¶
func (fake *FakeDestroyingContainer) IDReturns(result1 int)
func (*FakeDestroyingContainer) IDReturnsOnCall ¶
func (fake *FakeDestroyingContainer) IDReturnsOnCall(i int, result1 int)
func (*FakeDestroyingContainer) Invocations ¶
func (fake *FakeDestroyingContainer) Invocations() map[string][][]interface{}
func (*FakeDestroyingContainer) IsDiscontinued ¶
func (fake *FakeDestroyingContainer) IsDiscontinued() bool
func (*FakeDestroyingContainer) IsDiscontinuedCallCount ¶
func (fake *FakeDestroyingContainer) IsDiscontinuedCallCount() int
func (*FakeDestroyingContainer) IsDiscontinuedReturns ¶
func (fake *FakeDestroyingContainer) IsDiscontinuedReturns(result1 bool)
func (*FakeDestroyingContainer) IsDiscontinuedReturnsOnCall ¶
func (fake *FakeDestroyingContainer) IsDiscontinuedReturnsOnCall(i int, result1 bool)
func (*FakeDestroyingContainer) Metadata ¶
func (fake *FakeDestroyingContainer) Metadata() db.ContainerMetadata
func (*FakeDestroyingContainer) MetadataCallCount ¶
func (fake *FakeDestroyingContainer) MetadataCallCount() int
func (*FakeDestroyingContainer) MetadataReturns ¶
func (fake *FakeDestroyingContainer) MetadataReturns(result1 db.ContainerMetadata)
func (*FakeDestroyingContainer) MetadataReturnsOnCall ¶
func (fake *FakeDestroyingContainer) MetadataReturnsOnCall(i int, result1 db.ContainerMetadata)
func (*FakeDestroyingContainer) 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() (db.Build, error) BuildsStub func(page db.Page) ([]db.Build, db.Pagination, error) BuildStub func(name string) (db.Build, bool, error) FinishedAndNextBuildStub func() (db.Build, db.Build, error) UpdateFirstLoggedBuildIDStub func(newFirstLoggedBuildID int) error EnsurePendingBuildExistsStub func() error GetPendingBuildsStub func() ([]db.Build, error) GetIndependentBuildInputsStub func() ([]db.BuildInput, error) GetNextBuildInputsStub func() ([]db.BuildInput, bool, error) SaveNextInputMappingStub func(inputMapping algorithm.InputMapping) error SaveIndependentInputMappingStub func(inputMapping algorithm.InputMapping) error DeleteNextInputMappingStub func() error SetMaxInFlightReachedStub func(bool) error GetRunningBuildsBySerialGroupStub func(serialGroups []string) ([]db.Build, error) GetNextPendingBuildBySerialGroupStub func(serialGroups []string) (db.Build, bool, error) // 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() ([]db.BuildInput, error)
func (*FakeJob) GetIndependentBuildInputsCallCount ¶
func (*FakeJob) GetIndependentBuildInputsReturns ¶
func (fake *FakeJob) GetIndependentBuildInputsReturns(result1 []db.BuildInput, result2 error)
func (*FakeJob) GetIndependentBuildInputsReturnsOnCall ¶
func (fake *FakeJob) GetIndependentBuildInputsReturnsOnCall(i int, result1 []db.BuildInput, result2 error)
func (*FakeJob) GetNextBuildInputs ¶
func (fake *FakeJob) GetNextBuildInputs() ([]db.BuildInput, bool, error)
func (*FakeJob) GetNextBuildInputsCallCount ¶
func (*FakeJob) GetNextBuildInputsReturns ¶
func (fake *FakeJob) GetNextBuildInputsReturns(result1 []db.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 GroupsStub func() atc.GroupConfigs ConfigVersionStub func() db.ConfigVersion PublicStub func() bool PausedStub func() bool ScopedNameStub func(string) string CheckPausedStub func() (bool, error) ReloadStub func() (bool, error) SetResourceCheckErrorStub func(db.Resource, error) error SaveResourceVersionsStub func(atc.ResourceConfig, []atc.Version) error GetResourceVersionsStub func(resourceName string, page db.Page) ([]db.SavedVersionedResource, db.Pagination, bool, error) GetAllPendingBuildsStub func() (map[string][]db.Build, error) GetLatestVersionedResourceStub func(resourceName string) (db.SavedVersionedResource, bool, error) GetVersionedResourceByVersionStub func(atcVersion atc.Version, resourceName string) (db.SavedVersionedResource, bool, error) DisableVersionedResourceStub func(versionedResourceID int) error EnableVersionedResourceStub func(versionedResourceID int) error GetBuildsWithVersionAsInputStub func(versionedResourceID int) ([]db.Build, error) GetBuildsWithVersionAsOutputStub func(versionedResourceID int) ([]db.Build, error) DeleteBuildEventsByBuildIDsStub func(buildIDs []int) error AcquireSchedulingLockStub func(lager.Logger, time.Duration) (lock.Lock, bool, error) AcquireResourceCheckingLockWithIntervalCheckStub func(logger lager.Logger, resourceName string, usedResourceConfig *db.UsedResourceConfig, interval time.Duration, immediate bool) (lock.Lock, bool, error) AcquireResourceTypeCheckingLockWithIntervalCheckStub func(logger lager.Logger, resourceTypeName string, usedResourceConfig *db.UsedResourceConfig, interval time.Duration, immediate bool) (lock.Lock, bool, error) LoadVersionsDBStub func() (*algorithm.VersionsDB, error) ResourceStub func(name string) (db.Resource, bool, error) ResourcesStub func() (db.Resources, error) ResourceTypesStub func() (db.ResourceTypes, error) ResourceTypeStub func(name string) (db.ResourceType, bool, error) JobStub func(name string) (db.Job, bool, error) JobsStub func() (db.Jobs, error) DashboardStub func() (db.Dashboard, atc.GroupConfigs, error) ExposeStub func() error HideStub func() error PauseStub func() error UnpauseStub func() error DestroyStub func() error RenameStub func(string) error CreateOneOffBuildStub func() (db.Build, error) // contains filtered or unexported fields }
func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheck ¶
func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheckArgsForCall ¶
func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheckArgsForCall(i int) (lager.Logger, string, *db.UsedResourceConfig, time.Duration, bool)
func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheckCallCount ¶
func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheckCallCount() int
func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheckReturns ¶
func (fake *FakePipeline) AcquireResourceCheckingLockWithIntervalCheckReturns(result1 lock.Lock, result2 bool, result3 error)
func (*FakePipeline) AcquireResourceCheckingLockWithIntervalCheckReturnsOnCall ¶
func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheck ¶
func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckArgsForCall ¶
func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckArgsForCall(i int) (lager.Logger, string, *db.UsedResourceConfig, time.Duration, bool)
func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckCallCount ¶
func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckCallCount() int
func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckReturns ¶
func (fake *FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckReturns(result1 lock.Lock, result2 bool, result3 error)
func (*FakePipeline) AcquireResourceTypeCheckingLockWithIntervalCheckReturnsOnCall ¶
func (*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) ConfigVersion ¶
func (fake *FakePipeline) ConfigVersion() db.ConfigVersion
func (*FakePipeline) ConfigVersionCallCount ¶
func (fake *FakePipeline) ConfigVersionCallCount() int
func (*FakePipeline) ConfigVersionReturns ¶
func (fake *FakePipeline) ConfigVersionReturns(result1 db.ConfigVersion)
func (*FakePipeline) ConfigVersionReturnsOnCall ¶
func (fake *FakePipeline) ConfigVersionReturnsOnCall(i int, result1 db.ConfigVersion)
func (*FakePipeline) CreateOneOffBuild ¶
func (fake *FakePipeline) CreateOneOffBuild() (db.Build, error)
func (*FakePipeline) CreateOneOffBuildCallCount ¶
func (fake *FakePipeline) CreateOneOffBuildCallCount() int
func (*FakePipeline) CreateOneOffBuildReturns ¶
func (fake *FakePipeline) CreateOneOffBuildReturns(result1 db.Build, result2 error)
func (*FakePipeline) CreateOneOffBuildReturnsOnCall ¶
func (fake *FakePipeline) CreateOneOffBuildReturnsOnCall(i int, result1 db.Build, result2 error)
func (*FakePipeline) Dashboard ¶
func (fake *FakePipeline) Dashboard() (db.Dashboard, atc.GroupConfigs, error)
func (*FakePipeline) DashboardCallCount ¶
func (fake *FakePipeline) DashboardCallCount() int
func (*FakePipeline) DashboardReturns ¶
func (fake *FakePipeline) DashboardReturns(result1 db.Dashboard, result2 atc.GroupConfigs, result3 error)
func (*FakePipeline) DashboardReturnsOnCall ¶
func (fake *FakePipeline) DashboardReturnsOnCall(i int, result1 db.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) Destroy ¶
func (fake *FakePipeline) Destroy() error
func (*FakePipeline) DestroyCallCount ¶
func (fake *FakePipeline) DestroyCallCount() int
func (*FakePipeline) DestroyReturns ¶
func (fake *FakePipeline) DestroyReturns(result1 error)
func (*FakePipeline) DestroyReturnsOnCall ¶
func (fake *FakePipeline) DestroyReturnsOnCall(i int, result1 error)
func (*FakePipeline) DisableVersionedResource ¶
func (fake *FakePipeline) DisableVersionedResource(versionedResourceID int) error
func (*FakePipeline) DisableVersionedResourceArgsForCall ¶
func (fake *FakePipeline) DisableVersionedResourceArgsForCall(i int) int
func (*FakePipeline) DisableVersionedResourceCallCount ¶
func (fake *FakePipeline) DisableVersionedResourceCallCount() int
func (*FakePipeline) DisableVersionedResourceReturns ¶
func (fake *FakePipeline) DisableVersionedResourceReturns(result1 error)
func (*FakePipeline) DisableVersionedResourceReturnsOnCall ¶
func (fake *FakePipeline) DisableVersionedResourceReturnsOnCall(i int, result1 error)
func (*FakePipeline) EnableVersionedResource ¶
func (fake *FakePipeline) EnableVersionedResource(versionedResourceID int) error
func (*FakePipeline) EnableVersionedResourceArgsForCall ¶
func (fake *FakePipeline) EnableVersionedResourceArgsForCall(i int) int
func (*FakePipeline) EnableVersionedResourceCallCount ¶
func (fake *FakePipeline) EnableVersionedResourceCallCount() int
func (*FakePipeline) EnableVersionedResourceReturns ¶
func (fake *FakePipeline) EnableVersionedResourceReturns(result1 error)
func (*FakePipeline) EnableVersionedResourceReturnsOnCall ¶
func (fake *FakePipeline) EnableVersionedResourceReturnsOnCall(i int, result1 error)
func (*FakePipeline) Expose ¶
func (fake *FakePipeline) Expose() error
func (*FakePipeline) ExposeCallCount ¶
func (fake *FakePipeline) ExposeCallCount() int
func (*FakePipeline) ExposeReturns ¶
func (fake *FakePipeline) ExposeReturns(result1 error)
func (*FakePipeline) ExposeReturnsOnCall ¶
func (fake *FakePipeline) ExposeReturnsOnCall(i int, result1 error)
func (*FakePipeline) GetAllPendingBuilds ¶
func (fake *FakePipeline) GetAllPendingBuilds() (map[string][]db.Build, error)
func (*FakePipeline) GetAllPendingBuildsCallCount ¶
func (fake *FakePipeline) GetAllPendingBuildsCallCount() int
func (*FakePipeline) GetAllPendingBuildsReturns ¶
func (fake *FakePipeline) GetAllPendingBuildsReturns(result1 map[string][]db.Build, result2 error)
func (*FakePipeline) GetAllPendingBuildsReturnsOnCall ¶
func (*FakePipeline) GetBuildsWithVersionAsInput ¶
func (fake *FakePipeline) GetBuildsWithVersionAsInput(versionedResourceID int) ([]db.Build, error)
func (*FakePipeline) GetBuildsWithVersionAsInputArgsForCall ¶
func (fake *FakePipeline) GetBuildsWithVersionAsInputArgsForCall(i int) int
func (*FakePipeline) GetBuildsWithVersionAsInputCallCount ¶
func (fake *FakePipeline) GetBuildsWithVersionAsInputCallCount() int
func (*FakePipeline) GetBuildsWithVersionAsInputReturns ¶
func (fake *FakePipeline) GetBuildsWithVersionAsInputReturns(result1 []db.Build, result2 error)
func (*FakePipeline) GetBuildsWithVersionAsInputReturnsOnCall ¶
func (fake *FakePipeline) GetBuildsWithVersionAsInputReturnsOnCall(i int, result1 []db.Build, result2 error)
func (*FakePipeline) GetBuildsWithVersionAsOutput ¶
func (fake *FakePipeline) GetBuildsWithVersionAsOutput(versionedResourceID int) ([]db.Build, error)
func (*FakePipeline) GetBuildsWithVersionAsOutputArgsForCall ¶
func (fake *FakePipeline) GetBuildsWithVersionAsOutputArgsForCall(i int) int
func (*FakePipeline) GetBuildsWithVersionAsOutputCallCount ¶
func (fake *FakePipeline) GetBuildsWithVersionAsOutputCallCount() int
func (*FakePipeline) GetBuildsWithVersionAsOutputReturns ¶
func (fake *FakePipeline) GetBuildsWithVersionAsOutputReturns(result1 []db.Build, result2 error)
func (*FakePipeline) GetBuildsWithVersionAsOutputReturnsOnCall ¶
func (fake *FakePipeline) GetBuildsWithVersionAsOutputReturnsOnCall(i int, result1 []db.Build, result2 error)
func (*FakePipeline) GetLatestVersionedResource ¶
func (fake *FakePipeline) GetLatestVersionedResource(resourceName string) (db.SavedVersionedResource, bool, error)
func (*FakePipeline) GetLatestVersionedResourceArgsForCall ¶
func (fake *FakePipeline) GetLatestVersionedResourceArgsForCall(i int) string
func (*FakePipeline) GetLatestVersionedResourceCallCount ¶
func (fake *FakePipeline) GetLatestVersionedResourceCallCount() int
func (*FakePipeline) GetLatestVersionedResourceReturns ¶
func (fake *FakePipeline) GetLatestVersionedResourceReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)
func (*FakePipeline) GetLatestVersionedResourceReturnsOnCall ¶
func (fake *FakePipeline) GetLatestVersionedResourceReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 bool, result3 error)
func (*FakePipeline) GetResourceVersions ¶
func (fake *FakePipeline) GetResourceVersions(resourceName string, page db.Page) ([]db.SavedVersionedResource, db.Pagination, bool, error)
func (*FakePipeline) GetResourceVersionsArgsForCall ¶
func (fake *FakePipeline) GetResourceVersionsArgsForCall(i int) (string, db.Page)
func (*FakePipeline) GetResourceVersionsCallCount ¶
func (fake *FakePipeline) GetResourceVersionsCallCount() int
func (*FakePipeline) GetResourceVersionsReturns ¶
func (fake *FakePipeline) GetResourceVersionsReturns(result1 []db.SavedVersionedResource, result2 db.Pagination, result3 bool, result4 error)
func (*FakePipeline) GetResourceVersionsReturnsOnCall ¶
func (fake *FakePipeline) GetResourceVersionsReturnsOnCall(i int, result1 []db.SavedVersionedResource, result2 db.Pagination, result3 bool, result4 error)
func (*FakePipeline) GetVersionedResourceByVersion ¶
func (fake *FakePipeline) GetVersionedResourceByVersion(atcVersion atc.Version, resourceName string) (db.SavedVersionedResource, bool, error)
func (*FakePipeline) GetVersionedResourceByVersionArgsForCall ¶
func (fake *FakePipeline) GetVersionedResourceByVersionArgsForCall(i int) (atc.Version, string)
func (*FakePipeline) GetVersionedResourceByVersionCallCount ¶
func (fake *FakePipeline) GetVersionedResourceByVersionCallCount() int
func (*FakePipeline) GetVersionedResourceByVersionReturns ¶
func (fake *FakePipeline) GetVersionedResourceByVersionReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)
func (*FakePipeline) GetVersionedResourceByVersionReturnsOnCall ¶
func (fake *FakePipeline) GetVersionedResourceByVersionReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 bool, result3 error)
func (*FakePipeline) Groups ¶
func (fake *FakePipeline) Groups() atc.GroupConfigs
func (*FakePipeline) GroupsCallCount ¶
func (fake *FakePipeline) GroupsCallCount() int
func (*FakePipeline) GroupsReturns ¶
func (fake *FakePipeline) GroupsReturns(result1 atc.GroupConfigs)
func (*FakePipeline) GroupsReturnsOnCall ¶
func (fake *FakePipeline) GroupsReturnsOnCall(i int, result1 atc.GroupConfigs)
func (*FakePipeline) Hide ¶
func (fake *FakePipeline) Hide() error
func (*FakePipeline) HideCallCount ¶
func (fake *FakePipeline) HideCallCount() int
func (*FakePipeline) HideReturns ¶
func (fake *FakePipeline) HideReturns(result1 error)
func (*FakePipeline) HideReturnsOnCall ¶
func (fake *FakePipeline) HideReturnsOnCall(i int, result1 error)
func (*FakePipeline) ID ¶
func (fake *FakePipeline) ID() int
func (*FakePipeline) IDCallCount ¶
func (fake *FakePipeline) IDCallCount() int
func (*FakePipeline) IDReturns ¶
func (fake *FakePipeline) IDReturns(result1 int)
func (*FakePipeline) IDReturnsOnCall ¶
func (fake *FakePipeline) IDReturnsOnCall(i int, result1 int)
func (*FakePipeline) Invocations ¶
func (fake *FakePipeline) Invocations() map[string][][]interface{}
func (*FakePipeline) JobArgsForCall ¶
func (fake *FakePipeline) JobArgsForCall(i int) string
func (*FakePipeline) JobCallCount ¶
func (fake *FakePipeline) JobCallCount() int
func (*FakePipeline) JobReturns ¶
func (fake *FakePipeline) JobReturns(result1 db.Job, result2 bool, result3 error)
func (*FakePipeline) JobReturnsOnCall ¶
func (*FakePipeline) JobsCallCount ¶
func (fake *FakePipeline) JobsCallCount() int
func (*FakePipeline) JobsReturns ¶
func (fake *FakePipeline) JobsReturns(result1 db.Jobs, result2 error)
func (*FakePipeline) JobsReturnsOnCall ¶
func (fake *FakePipeline) JobsReturnsOnCall(i int, result1 db.Jobs, result2 error)
func (*FakePipeline) LoadVersionsDB ¶
func (fake *FakePipeline) LoadVersionsDB() (*algorithm.VersionsDB, error)
func (*FakePipeline) LoadVersionsDBCallCount ¶
func (fake *FakePipeline) LoadVersionsDBCallCount() int
func (*FakePipeline) LoadVersionsDBReturns ¶
func (fake *FakePipeline) LoadVersionsDBReturns(result1 *algorithm.VersionsDB, result2 error)
func (*FakePipeline) LoadVersionsDBReturnsOnCall ¶
func (fake *FakePipeline) LoadVersionsDBReturnsOnCall(i int, result1 *algorithm.VersionsDB, result2 error)
func (*FakePipeline) Name ¶
func (fake *FakePipeline) Name() string
func (*FakePipeline) NameCallCount ¶
func (fake *FakePipeline) NameCallCount() int
func (*FakePipeline) NameReturns ¶
func (fake *FakePipeline) NameReturns(result1 string)
func (*FakePipeline) NameReturnsOnCall ¶
func (fake *FakePipeline) NameReturnsOnCall(i int, result1 string)
func (*FakePipeline) Pause ¶
func (fake *FakePipeline) Pause() error
func (*FakePipeline) PauseCallCount ¶
func (fake *FakePipeline) PauseCallCount() int
func (*FakePipeline) PauseReturns ¶
func (fake *FakePipeline) PauseReturns(result1 error)
func (*FakePipeline) PauseReturnsOnCall ¶
func (fake *FakePipeline) PauseReturnsOnCall(i int, result1 error)
func (*FakePipeline) Paused ¶
func (fake *FakePipeline) Paused() bool
func (*FakePipeline) PausedCallCount ¶
func (fake *FakePipeline) PausedCallCount() int
func (*FakePipeline) PausedReturns ¶
func (fake *FakePipeline) PausedReturns(result1 bool)
func (*FakePipeline) PausedReturnsOnCall ¶
func (fake *FakePipeline) PausedReturnsOnCall(i int, result1 bool)
func (*FakePipeline) Public ¶
func (fake *FakePipeline) Public() bool
func (*FakePipeline) PublicCallCount ¶
func (fake *FakePipeline) PublicCallCount() int
func (*FakePipeline) PublicReturns ¶
func (fake *FakePipeline) PublicReturns(result1 bool)
func (*FakePipeline) PublicReturnsOnCall ¶
func (fake *FakePipeline) PublicReturnsOnCall(i int, result1 bool)
func (*FakePipeline) Reload ¶
func (fake *FakePipeline) Reload() (bool, error)
func (*FakePipeline) ReloadCallCount ¶
func (fake *FakePipeline) ReloadCallCount() int
func (*FakePipeline) ReloadReturns ¶
func (fake *FakePipeline) ReloadReturns(result1 bool, result2 error)
func (*FakePipeline) ReloadReturnsOnCall ¶
func (fake *FakePipeline) ReloadReturnsOnCall(i int, result1 bool, result2 error)
func (*FakePipeline) Rename ¶
func (fake *FakePipeline) Rename(arg1 string) error
func (*FakePipeline) RenameArgsForCall ¶
func (fake *FakePipeline) RenameArgsForCall(i int) string
func (*FakePipeline) RenameCallCount ¶
func (fake *FakePipeline) RenameCallCount() int
func (*FakePipeline) RenameReturns ¶
func (fake *FakePipeline) RenameReturns(result1 error)
func (*FakePipeline) RenameReturnsOnCall ¶
func (fake *FakePipeline) RenameReturnsOnCall(i int, result1 error)
func (*FakePipeline) ResourceArgsForCall ¶
func (fake *FakePipeline) ResourceArgsForCall(i int) string
func (*FakePipeline) ResourceCallCount ¶
func (fake *FakePipeline) ResourceCallCount() int
func (*FakePipeline) ResourceReturns ¶
func (fake *FakePipeline) ResourceReturns(result1 db.Resource, result2 bool, result3 error)
func (*FakePipeline) ResourceReturnsOnCall ¶
func (*FakePipeline) ResourceType ¶
func (fake *FakePipeline) ResourceType(name string) (db.ResourceType, bool, error)
func (*FakePipeline) ResourceTypeArgsForCall ¶
func (fake *FakePipeline) ResourceTypeArgsForCall(i int) string
func (*FakePipeline) ResourceTypeCallCount ¶
func (fake *FakePipeline) ResourceTypeCallCount() int
func (*FakePipeline) ResourceTypeReturns ¶
func (fake *FakePipeline) ResourceTypeReturns(result1 db.ResourceType, result2 bool, result3 error)
func (*FakePipeline) ResourceTypeReturnsOnCall ¶
func (fake *FakePipeline) ResourceTypeReturnsOnCall(i int, result1 db.ResourceType, result2 bool, result3 error)
func (*FakePipeline) ResourceTypes ¶
func (fake *FakePipeline) ResourceTypes() (db.ResourceTypes, error)
func (*FakePipeline) ResourceTypesCallCount ¶
func (fake *FakePipeline) ResourceTypesCallCount() int
func (*FakePipeline) ResourceTypesReturns ¶
func (fake *FakePipeline) ResourceTypesReturns(result1 db.ResourceTypes, result2 error)
func (*FakePipeline) ResourceTypesReturnsOnCall ¶
func (fake *FakePipeline) ResourceTypesReturnsOnCall(i int, result1 db.ResourceTypes, result2 error)
func (*FakePipeline) ResourcesCallCount ¶
func (fake *FakePipeline) ResourcesCallCount() int
func (*FakePipeline) ResourcesReturns ¶
func (fake *FakePipeline) ResourcesReturns(result1 db.Resources, result2 error)
func (*FakePipeline) ResourcesReturnsOnCall ¶
func (fake *FakePipeline) ResourcesReturnsOnCall(i int, result1 db.Resources, result2 error)
func (*FakePipeline) SaveResourceVersions ¶
func (fake *FakePipeline) SaveResourceVersions(arg1 atc.ResourceConfig, arg2 []atc.Version) error
func (*FakePipeline) SaveResourceVersionsArgsForCall ¶
func (fake *FakePipeline) SaveResourceVersionsArgsForCall(i int) (atc.ResourceConfig, []atc.Version)
func (*FakePipeline) SaveResourceVersionsCallCount ¶
func (fake *FakePipeline) SaveResourceVersionsCallCount() int
func (*FakePipeline) SaveResourceVersionsReturns ¶
func (fake *FakePipeline) SaveResourceVersionsReturns(result1 error)
func (*FakePipeline) SaveResourceVersionsReturnsOnCall ¶
func (fake *FakePipeline) SaveResourceVersionsReturnsOnCall(i int, result1 error)
func (*FakePipeline) ScopedName ¶
func (fake *FakePipeline) ScopedName(arg1 string) string
func (*FakePipeline) ScopedNameArgsForCall ¶
func (fake *FakePipeline) ScopedNameArgsForCall(i int) string
func (*FakePipeline) ScopedNameCallCount ¶
func (fake *FakePipeline) ScopedNameCallCount() int
func (*FakePipeline) ScopedNameReturns ¶
func (fake *FakePipeline) ScopedNameReturns(result1 string)
func (*FakePipeline) ScopedNameReturnsOnCall ¶
func (fake *FakePipeline) ScopedNameReturnsOnCall(i int, result1 string)
func (*FakePipeline) SetResourceCheckError ¶
func (fake *FakePipeline) SetResourceCheckError(arg1 db.Resource, arg2 error) error
func (*FakePipeline) SetResourceCheckErrorArgsForCall ¶
func (fake *FakePipeline) SetResourceCheckErrorArgsForCall(i int) (db.Resource, error)
func (*FakePipeline) SetResourceCheckErrorCallCount ¶
func (fake *FakePipeline) SetResourceCheckErrorCallCount() int
func (*FakePipeline) SetResourceCheckErrorReturns ¶
func (fake *FakePipeline) SetResourceCheckErrorReturns(result1 error)
func (*FakePipeline) SetResourceCheckErrorReturnsOnCall ¶
func (fake *FakePipeline) SetResourceCheckErrorReturnsOnCall(i int, result1 error)
func (*FakePipeline) TeamID ¶
func (fake *FakePipeline) TeamID() int
func (*FakePipeline) TeamIDCallCount ¶
func (fake *FakePipeline) TeamIDCallCount() int
func (*FakePipeline) TeamIDReturns ¶
func (fake *FakePipeline) TeamIDReturns(result1 int)
func (*FakePipeline) TeamIDReturnsOnCall ¶
func (fake *FakePipeline) TeamIDReturnsOnCall(i int, result1 int)
func (*FakePipeline) TeamName ¶
func (fake *FakePipeline) TeamName() string
func (*FakePipeline) TeamNameCallCount ¶
func (fake *FakePipeline) TeamNameCallCount() int
func (*FakePipeline) TeamNameReturns ¶
func (fake *FakePipeline) TeamNameReturns(result1 string)
func (*FakePipeline) TeamNameReturnsOnCall ¶
func (fake *FakePipeline) TeamNameReturnsOnCall(i int, result1 string)
func (*FakePipeline) Unpause ¶
func (fake *FakePipeline) Unpause() error
func (*FakePipeline) UnpauseCallCount ¶
func (fake *FakePipeline) UnpauseCallCount() int
func (*FakePipeline) UnpauseReturns ¶
func (fake *FakePipeline) UnpauseReturns(result1 error)
func (*FakePipeline) UnpauseReturnsOnCall ¶
func (fake *FakePipeline) UnpauseReturnsOnCall(i int, result1 error)
type FakePipelineFactory ¶
type FakePipelineFactory struct { PublicPipelinesStub func() ([]db.Pipeline, error) AllPipelinesStub func() ([]db.Pipeline, error) // contains filtered or unexported fields }
func (*FakePipelineFactory) AllPipelines ¶
func (fake *FakePipelineFactory) AllPipelines() ([]db.Pipeline, error)
func (*FakePipelineFactory) AllPipelinesCallCount ¶
func (fake *FakePipelineFactory) AllPipelinesCallCount() int
func (*FakePipelineFactory) AllPipelinesReturns ¶
func (fake *FakePipelineFactory) AllPipelinesReturns(result1 []db.Pipeline, result2 error)
func (*FakePipelineFactory) AllPipelinesReturnsOnCall ¶
func (fake *FakePipelineFactory) AllPipelinesReturnsOnCall(i int, result1 []db.Pipeline, result2 error)
func (*FakePipelineFactory) Invocations ¶
func (fake *FakePipelineFactory) Invocations() map[string][][]interface{}
func (*FakePipelineFactory) PublicPipelines ¶
func (fake *FakePipelineFactory) PublicPipelines() ([]db.Pipeline, error)
func (*FakePipelineFactory) PublicPipelinesCallCount ¶
func (fake *FakePipelineFactory) PublicPipelinesCallCount() int
func (*FakePipelineFactory) PublicPipelinesReturns ¶
func (fake *FakePipelineFactory) PublicPipelinesReturns(result1 []db.Pipeline, result2 error)
func (*FakePipelineFactory) PublicPipelinesReturnsOnCall ¶
func (fake *FakePipelineFactory) PublicPipelinesReturnsOnCall(i int, result1 []db.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 db.ResourceUser, resourceTypeName string, version atc.Version, source atc.Source, params atc.Params, resourceTypes creds.VersionedResourceTypes) (*db.UsedResourceCache, error) CleanUsesForFinishedBuildsStub func() error CleanUsesForInactiveResourceTypesStub func() error CleanUsesForInactiveResourcesStub func() error CleanUsesForPausedPipelineResourcesStub func() error CleanBuildImageResourceCachesStub func() error CleanUpInvalidCachesStub func() error UpdateResourceCacheMetadataStub func(*db.UsedResourceCache, []atc.MetadataField) error ResourceCacheMetadataStub func(*db.UsedResourceCache) (db.ResourceMetadataFields, error) // contains filtered or unexported fields }
func (*FakeResourceCacheFactory) CleanBuildImageResourceCaches ¶
func (fake *FakeResourceCacheFactory) CleanBuildImageResourceCaches() error
func (*FakeResourceCacheFactory) CleanBuildImageResourceCachesCallCount ¶
func (fake *FakeResourceCacheFactory) CleanBuildImageResourceCachesCallCount() int
func (*FakeResourceCacheFactory) CleanBuildImageResourceCachesReturns ¶
func (fake *FakeResourceCacheFactory) CleanBuildImageResourceCachesReturns(result1 error)
func (*FakeResourceCacheFactory) CleanBuildImageResourceCachesReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) CleanBuildImageResourceCachesReturnsOnCall(i int, result1 error)
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 db.ResourceUser, resourceTypeName string, version atc.Version, source atc.Source, params atc.Params, resourceTypes creds.VersionedResourceTypes) (*db.UsedResourceCache, error)
func (*FakeResourceCacheFactory) FindOrCreateResourceCacheArgsForCall ¶
func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheArgsForCall(i int) (lager.Logger, db.ResourceUser, string, atc.Version, atc.Source, atc.Params, creds.VersionedResourceTypes)
func (*FakeResourceCacheFactory) FindOrCreateResourceCacheCallCount ¶
func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheCallCount() int
func (*FakeResourceCacheFactory) FindOrCreateResourceCacheReturns ¶
func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturns(result1 *db.UsedResourceCache, result2 error)
func (*FakeResourceCacheFactory) FindOrCreateResourceCacheReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturnsOnCall(i int, result1 *db.UsedResourceCache, result2 error)
func (*FakeResourceCacheFactory) Invocations ¶
func (fake *FakeResourceCacheFactory) Invocations() map[string][][]interface{}
func (*FakeResourceCacheFactory) ResourceCacheMetadata ¶
func (fake *FakeResourceCacheFactory) ResourceCacheMetadata(arg1 *db.UsedResourceCache) (db.ResourceMetadataFields, error)
func (*FakeResourceCacheFactory) ResourceCacheMetadataArgsForCall ¶
func (fake *FakeResourceCacheFactory) ResourceCacheMetadataArgsForCall(i int) *db.UsedResourceCache
func (*FakeResourceCacheFactory) ResourceCacheMetadataCallCount ¶
func (fake *FakeResourceCacheFactory) ResourceCacheMetadataCallCount() int
func (*FakeResourceCacheFactory) ResourceCacheMetadataReturns ¶
func (fake *FakeResourceCacheFactory) ResourceCacheMetadataReturns(result1 db.ResourceMetadataFields, result2 error)
func (*FakeResourceCacheFactory) ResourceCacheMetadataReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) ResourceCacheMetadataReturnsOnCall(i int, result1 db.ResourceMetadataFields, result2 error)
func (*FakeResourceCacheFactory) UpdateResourceCacheMetadata ¶
func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadata(arg1 *db.UsedResourceCache, arg2 []atc.MetadataField) error
func (*FakeResourceCacheFactory) UpdateResourceCacheMetadataArgsForCall ¶
func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataArgsForCall(i int) (*db.UsedResourceCache, []atc.MetadataField)
func (*FakeResourceCacheFactory) UpdateResourceCacheMetadataCallCount ¶
func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataCallCount() int
func (*FakeResourceCacheFactory) UpdateResourceCacheMetadataReturns ¶
func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataReturns(result1 error)
func (*FakeResourceCacheFactory) UpdateResourceCacheMetadataReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) UpdateResourceCacheMetadataReturnsOnCall(i int, result1 error)
type FakeResourceConfigCheckSessionLifecycle ¶
type FakeResourceConfigCheckSessionLifecycle struct { CleanExpiredResourceConfigCheckSessionsStub func() error // contains filtered or unexported fields }
func (*FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessions ¶
func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessions() error
func (*FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsCallCount ¶
func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsCallCount() int
func (*FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsReturns ¶
func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsReturns(result1 error)
func (*FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsReturnsOnCall ¶
func (fake *FakeResourceConfigCheckSessionLifecycle) CleanExpiredResourceConfigCheckSessionsReturnsOnCall(i int, result1 error)
func (*FakeResourceConfigCheckSessionLifecycle) Invocations ¶
func (fake *FakeResourceConfigCheckSessionLifecycle) Invocations() map[string][][]interface{}
type FakeResourceConfigFactory ¶
type FakeResourceConfigFactory struct { FindOrCreateResourceConfigStub func(logger lager.Logger, user db.ResourceUser, resourceType string, source atc.Source, resourceTypes creds.VersionedResourceTypes) (*db.UsedResourceConfig, error) FindResourceConfigStub func(logger lager.Logger, resourceType string, source atc.Source, resourceTypes creds.VersionedResourceTypes) (*db.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 db.ResourceUser, resourceType string, resourceSource atc.Source, resourceTypes creds.VersionedResourceTypes) (lock.Lock, bool, error) // contains filtered or unexported fields }
func (*FakeResourceConfigFactory) AcquireResourceCheckingLock ¶
func (fake *FakeResourceConfigFactory) AcquireResourceCheckingLock(logger lager.Logger, resourceUser db.ResourceUser, resourceType string, resourceSource atc.Source, resourceTypes creds.VersionedResourceTypes) (lock.Lock, bool, error)
func (*FakeResourceConfigFactory) AcquireResourceCheckingLockArgsForCall ¶
func (fake *FakeResourceConfigFactory) AcquireResourceCheckingLockArgsForCall(i int) (lager.Logger, db.ResourceUser, string, atc.Source, creds.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 db.ResourceUser, resourceType string, source atc.Source, resourceTypes creds.VersionedResourceTypes) (*db.UsedResourceConfig, error)
func (*FakeResourceConfigFactory) FindOrCreateResourceConfigArgsForCall ¶
func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigArgsForCall(i int) (lager.Logger, db.ResourceUser, string, atc.Source, creds.VersionedResourceTypes)
func (*FakeResourceConfigFactory) FindOrCreateResourceConfigCallCount ¶
func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigCallCount() int
func (*FakeResourceConfigFactory) FindOrCreateResourceConfigReturns ¶
func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturns(result1 *db.UsedResourceConfig, result2 error)
func (*FakeResourceConfigFactory) FindOrCreateResourceConfigReturnsOnCall ¶
func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturnsOnCall(i int, result1 *db.UsedResourceConfig, result2 error)
func (*FakeResourceConfigFactory) FindResourceConfig ¶
func (fake *FakeResourceConfigFactory) FindResourceConfig(logger lager.Logger, resourceType string, source atc.Source, resourceTypes creds.VersionedResourceTypes) (*db.UsedResourceConfig, bool, error)
func (*FakeResourceConfigFactory) FindResourceConfigArgsForCall ¶
func (fake *FakeResourceConfigFactory) FindResourceConfigArgsForCall(i int) (lager.Logger, string, atc.Source, creds.VersionedResourceTypes)
func (*FakeResourceConfigFactory) FindResourceConfigCallCount ¶
func (fake *FakeResourceConfigFactory) FindResourceConfigCallCount() int
func (*FakeResourceConfigFactory) FindResourceConfigReturns ¶
func (fake *FakeResourceConfigFactory) FindResourceConfigReturns(result1 *db.UsedResourceConfig, result2 bool, result3 error)
func (*FakeResourceConfigFactory) FindResourceConfigReturnsOnCall ¶
func (fake *FakeResourceConfigFactory) FindResourceConfigReturnsOnCall(i int, result1 *db.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 PrivilegedStub func() bool 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) Privileged ¶
func (fake *FakeResourceType) Privileged() bool
func (*FakeResourceType) PrivilegedCallCount ¶
func (fake *FakeResourceType) PrivilegedCallCount() int
func (*FakeResourceType) PrivilegedReturns ¶
func (fake *FakeResourceType) PrivilegedReturns(result1 bool)
func (*FakeResourceType) PrivilegedReturnsOnCall ¶
func (fake *FakeResourceType) PrivilegedReturnsOnCall(i int, result1 bool)
func (*FakeResourceType) Reload ¶
func (fake *FakeResourceType) Reload() (bool, error)
func (*FakeResourceType) ReloadCallCount ¶
func (fake *FakeResourceType) ReloadCallCount() int
func (*FakeResourceType) ReloadReturns ¶
func (fake *FakeResourceType) ReloadReturns(result1 bool, result2 error)
func (*FakeResourceType) ReloadReturnsOnCall ¶
func (fake *FakeResourceType) ReloadReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeResourceType) SaveVersion ¶
func (fake *FakeResourceType) SaveVersion(arg1 atc.Version) error
func (*FakeResourceType) SaveVersionArgsForCall ¶
func (fake *FakeResourceType) SaveVersionArgsForCall(i int) atc.Version
func (*FakeResourceType) SaveVersionCallCount ¶
func (fake *FakeResourceType) SaveVersionCallCount() int
func (*FakeResourceType) SaveVersionReturns ¶
func (fake *FakeResourceType) SaveVersionReturns(result1 error)
func (*FakeResourceType) SaveVersionReturnsOnCall ¶
func (fake *FakeResourceType) SaveVersionReturnsOnCall(i int, result1 error)
func (*FakeResourceType) 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 db.ConfigVersion, pausedState db.PipelinePausedState) (db.Pipeline, bool, error) PipelineStub func(pipelineName string) (db.Pipeline, bool, error) PipelinesStub func() ([]db.Pipeline, error) PublicPipelinesStub func() ([]db.Pipeline, error) VisiblePipelinesStub func() ([]db.Pipeline, error) OrderPipelinesStub func([]string) error CreateOneOffBuildStub func() (db.Build, error) PrivateAndPublicBuildsStub func(db.Page) ([]db.Build, db.Pagination, error) SaveWorkerStub func(atcWorker atc.Worker, ttl time.Duration) (db.Worker, error) WorkersStub func() ([]db.Worker, error) FindContainerByHandleStub func(string) (db.Container, bool, error) FindContainersByMetadataStub func(db.ContainerMetadata) ([]db.Container, error) FindCheckContainersStub func(lager.Logger, string, string, creds.VariablesFactory) ([]db.Container, error) FindCreatedContainerByHandleStub func(string) (db.CreatedContainer, bool, error) FindWorkerForContainerStub func(handle string) (db.Worker, bool, error) FindWorkerForContainerByOwnerStub func(db.ContainerOwner) (db.Worker, bool, error) FindContainerOnWorkerStub func(workerName string, owner db.ContainerOwner) (db.CreatingContainer, db.CreatedContainer, error) CreateContainerStub func(workerName string, owner db.ContainerOwner, meta db.ContainerMetadata) (db.CreatingContainer, error) UpdateBasicAuthStub func(basicAuth *atc.BasicAuth) error UpdateProviderAuthStub func(auth map[string]*json.RawMessage) error CreatePipeStub func(string, string) error GetPipeStub func(string) (db.Pipe, 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) CreateContainer ¶
func (fake *FakeTeam) CreateContainer(workerName string, owner db.ContainerOwner, meta db.ContainerMetadata) (db.CreatingContainer, error)
func (*FakeTeam) CreateContainerArgsForCall ¶
func (fake *FakeTeam) CreateContainerArgsForCall(i int) (string, db.ContainerOwner, db.ContainerMetadata)
func (*FakeTeam) CreateContainerCallCount ¶
func (*FakeTeam) CreateContainerReturns ¶
func (fake *FakeTeam) CreateContainerReturns(result1 db.CreatingContainer, result2 error)
func (*FakeTeam) CreateContainerReturnsOnCall ¶
func (fake *FakeTeam) CreateContainerReturnsOnCall(i int, result1 db.CreatingContainer, result2 error)
func (*FakeTeam) CreateOneOffBuildCallCount ¶
func (*FakeTeam) CreateOneOffBuildReturns ¶
func (*FakeTeam) CreateOneOffBuildReturnsOnCall ¶
func (*FakeTeam) CreatePipeArgsForCall ¶
func (*FakeTeam) CreatePipeCallCount ¶
func (*FakeTeam) CreatePipeReturns ¶
func (*FakeTeam) CreatePipeReturnsOnCall ¶
func (*FakeTeam) DeleteCallCount ¶
func (*FakeTeam) DeleteReturns ¶
func (*FakeTeam) DeleteReturnsOnCall ¶
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) FindContainerOnWorker ¶
func (fake *FakeTeam) FindContainerOnWorker(workerName string, owner db.ContainerOwner) (db.CreatingContainer, db.CreatedContainer, error)
func (*FakeTeam) FindContainerOnWorkerArgsForCall ¶
func (fake *FakeTeam) FindContainerOnWorkerArgsForCall(i int) (string, db.ContainerOwner)
func (*FakeTeam) FindContainerOnWorkerCallCount ¶
func (*FakeTeam) FindContainerOnWorkerReturns ¶
func (fake *FakeTeam) FindContainerOnWorkerReturns(result1 db.CreatingContainer, result2 db.CreatedContainer, result3 error)
func (*FakeTeam) FindContainerOnWorkerReturnsOnCall ¶
func (fake *FakeTeam) FindContainerOnWorkerReturnsOnCall(i int, result1 db.CreatingContainer, result2 db.CreatedContainer, result3 error)
func (*FakeTeam) FindContainersByMetadata ¶
func (*FakeTeam) FindContainersByMetadataArgsForCall ¶
func (fake *FakeTeam) FindContainersByMetadataArgsForCall(i int) db.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 db.CreatedContainer, result2 bool, result3 error)
func (*FakeTeam) FindCreatedContainerByHandleReturnsOnCall ¶
func (*FakeTeam) FindWorkerForContainer ¶
func (*FakeTeam) FindWorkerForContainerArgsForCall ¶
func (*FakeTeam) FindWorkerForContainerByOwner ¶
func (*FakeTeam) FindWorkerForContainerByOwnerArgsForCall ¶
func (fake *FakeTeam) FindWorkerForContainerByOwnerArgsForCall(i int) db.ContainerOwner
func (*FakeTeam) FindWorkerForContainerByOwnerCallCount ¶
func (*FakeTeam) FindWorkerForContainerByOwnerReturns ¶
func (*FakeTeam) FindWorkerForContainerByOwnerReturnsOnCall ¶
func (*FakeTeam) FindWorkerForContainerCallCount ¶
func (*FakeTeam) FindWorkerForContainerReturns ¶
func (*FakeTeam) FindWorkerForContainerReturnsOnCall ¶
func (*FakeTeam) GetPipeArgsForCall ¶
func (*FakeTeam) GetPipeCallCount ¶
func (*FakeTeam) GetPipeReturns ¶
func (*FakeTeam) GetPipeReturnsOnCall ¶
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, db.ConfigVersion, db.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) VisiblePipelinesCallCount ¶
func (*FakeTeam) VisiblePipelinesReturns ¶
func (*FakeTeam) VisiblePipelinesReturnsOnCall ¶
func (*FakeTeam) WorkersCallCount ¶
func (*FakeTeam) WorkersReturns ¶
type FakeTeamFactory ¶
type FakeTeamFactory struct { CreateTeamStub func(atc.Team) (db.Team, error) FindTeamStub func(string) (db.Team, bool, error) GetTeamsStub func() ([]db.Team, error) GetByIDStub func(teamID int) db.Team CreateDefaultTeamIfNotExistsStub func() (db.Team, error) // contains filtered or unexported fields }
func (*FakeTeamFactory) CreateDefaultTeamIfNotExists ¶
func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExists() (db.Team, error)
func (*FakeTeamFactory) CreateDefaultTeamIfNotExistsCallCount ¶
func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExistsCallCount() int
func (*FakeTeamFactory) CreateDefaultTeamIfNotExistsReturns ¶
func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExistsReturns(result1 db.Team, result2 error)
func (*FakeTeamFactory) CreateDefaultTeamIfNotExistsReturnsOnCall ¶
func (fake *FakeTeamFactory) CreateDefaultTeamIfNotExistsReturnsOnCall(i int, result1 db.Team, result2 error)
func (*FakeTeamFactory) CreateTeam ¶
func (*FakeTeamFactory) CreateTeamArgsForCall ¶
func (fake *FakeTeamFactory) CreateTeamArgsForCall(i int) atc.Team
func (*FakeTeamFactory) CreateTeamCallCount ¶
func (fake *FakeTeamFactory) CreateTeamCallCount() int
func (*FakeTeamFactory) CreateTeamReturns ¶
func (fake *FakeTeamFactory) CreateTeamReturns(result1 db.Team, result2 error)
func (*FakeTeamFactory) CreateTeamReturnsOnCall ¶
func (fake *FakeTeamFactory) CreateTeamReturnsOnCall(i int, result1 db.Team, result2 error)
func (*FakeTeamFactory) FindTeamArgsForCall ¶
func (fake *FakeTeamFactory) FindTeamArgsForCall(i int) string
func (*FakeTeamFactory) FindTeamCallCount ¶
func (fake *FakeTeamFactory) FindTeamCallCount() int
func (*FakeTeamFactory) FindTeamReturns ¶
func (fake *FakeTeamFactory) FindTeamReturns(result1 db.Team, result2 bool, result3 error)
func (*FakeTeamFactory) FindTeamReturnsOnCall ¶
func (*FakeTeamFactory) GetByIDArgsForCall ¶
func (fake *FakeTeamFactory) GetByIDArgsForCall(i int) int
func (*FakeTeamFactory) GetByIDCallCount ¶
func (fake *FakeTeamFactory) GetByIDCallCount() int
func (*FakeTeamFactory) GetByIDReturns ¶
func (fake *FakeTeamFactory) GetByIDReturns(result1 db.Team)
func (*FakeTeamFactory) GetByIDReturnsOnCall ¶
func (fake *FakeTeamFactory) GetByIDReturnsOnCall(i int, result1 db.Team)
func (*FakeTeamFactory) GetTeamsCallCount ¶
func (fake *FakeTeamFactory) GetTeamsCallCount() int
func (*FakeTeamFactory) GetTeamsReturns ¶
func (fake *FakeTeamFactory) GetTeamsReturns(result1 []db.Team, result2 error)
func (*FakeTeamFactory) GetTeamsReturnsOnCall ¶
func (fake *FakeTeamFactory) GetTeamsReturnsOnCall(i int, result1 []db.Team, result2 error)
func (*FakeTeamFactory) Invocations ¶
func (fake *FakeTeamFactory) Invocations() map[string][][]interface{}
type FakeTx ¶
type FakeTx struct { CommitStub func() error ExecStub func(query string, args ...interface{}) (sql.Result, error) PrepareStub func(query string) (*sql.Stmt, error) QueryStub func(query string, args ...interface{}) (*sql.Rows, error) QueryRowStub func(query string, args ...interface{}) squirrel.RowScanner RollbackStub func() error StmtStub func(stmt *sql.Stmt) *sql.Stmt // contains filtered or unexported fields }
func (*FakeTx) 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) ([]db.CreatedVolume, error) CreateContainerVolumeStub func(int, string, db.CreatingContainer, string) (db.CreatingVolume, error) FindContainerVolumeStub func(int, string, db.CreatingContainer, string) (db.CreatingVolume, db.CreatedVolume, error) FindBaseResourceTypeVolumeStub func(int, *db.UsedWorkerBaseResourceType) (db.CreatingVolume, db.CreatedVolume, error) CreateBaseResourceTypeVolumeStub func(int, *db.UsedWorkerBaseResourceType) (db.CreatingVolume, error) FindResourceCacheVolumeStub func(string, *db.UsedResourceCache) (db.CreatedVolume, bool, error) FindTaskCacheVolumeStub func(teamID int, uwtc *db.UsedWorkerTaskCache) (db.CreatingVolume, db.CreatedVolume, error) CreateTaskCacheVolumeStub func(teamID int, uwtc *db.UsedWorkerTaskCache) (db.CreatingVolume, error) FindVolumesForContainerStub func(db.CreatedContainer) ([]db.CreatedVolume, error) GetOrphanedVolumesStub func() ([]db.CreatedVolume, []db.DestroyingVolume, error) FindCreatedVolumeStub func(handle string) (db.CreatedVolume, bool, error) // contains filtered or unexported fields }
func (*FakeVolumeFactory) CreateBaseResourceTypeVolume ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolume(arg1 int, arg2 *db.UsedWorkerBaseResourceType) (db.CreatingVolume, error)
func (*FakeVolumeFactory) CreateBaseResourceTypeVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeArgsForCall(i int) (int, *db.UsedWorkerBaseResourceType)
func (*FakeVolumeFactory) CreateBaseResourceTypeVolumeCallCount ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeCallCount() int
func (*FakeVolumeFactory) CreateBaseResourceTypeVolumeReturns ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeReturns(result1 db.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateBaseResourceTypeVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateContainerVolume ¶
func (fake *FakeVolumeFactory) CreateContainerVolume(arg1 int, arg2 string, arg3 db.CreatingContainer, arg4 string) (db.CreatingVolume, error)
func (*FakeVolumeFactory) CreateContainerVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) CreateContainerVolumeArgsForCall(i int) (int, string, db.CreatingContainer, string)
func (*FakeVolumeFactory) CreateContainerVolumeCallCount ¶
func (fake *FakeVolumeFactory) CreateContainerVolumeCallCount() int
func (*FakeVolumeFactory) CreateContainerVolumeReturns ¶
func (fake *FakeVolumeFactory) CreateContainerVolumeReturns(result1 db.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateContainerVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) CreateContainerVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateTaskCacheVolume ¶
func (fake *FakeVolumeFactory) CreateTaskCacheVolume(teamID int, uwtc *db.UsedWorkerTaskCache) (db.CreatingVolume, error)
func (*FakeVolumeFactory) CreateTaskCacheVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) CreateTaskCacheVolumeArgsForCall(i int) (int, *db.UsedWorkerTaskCache)
func (*FakeVolumeFactory) CreateTaskCacheVolumeCallCount ¶
func (fake *FakeVolumeFactory) CreateTaskCacheVolumeCallCount() int
func (*FakeVolumeFactory) CreateTaskCacheVolumeReturns ¶
func (fake *FakeVolumeFactory) CreateTaskCacheVolumeReturns(result1 db.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateTaskCacheVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) CreateTaskCacheVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 error)
func (*FakeVolumeFactory) FindBaseResourceTypeVolume ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolume(arg1 int, arg2 *db.UsedWorkerBaseResourceType) (db.CreatingVolume, db.CreatedVolume, error)
func (*FakeVolumeFactory) FindBaseResourceTypeVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeArgsForCall(i int) (int, *db.UsedWorkerBaseResourceType)
func (*FakeVolumeFactory) FindBaseResourceTypeVolumeCallCount ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeCallCount() int
func (*FakeVolumeFactory) FindBaseResourceTypeVolumeReturns ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeReturns(result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindBaseResourceTypeVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindContainerVolume ¶
func (fake *FakeVolumeFactory) FindContainerVolume(arg1 int, arg2 string, arg3 db.CreatingContainer, arg4 string) (db.CreatingVolume, db.CreatedVolume, error)
func (*FakeVolumeFactory) FindContainerVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) FindContainerVolumeArgsForCall(i int) (int, string, db.CreatingContainer, string)
func (*FakeVolumeFactory) FindContainerVolumeCallCount ¶
func (fake *FakeVolumeFactory) FindContainerVolumeCallCount() int
func (*FakeVolumeFactory) FindContainerVolumeReturns ¶
func (fake *FakeVolumeFactory) FindContainerVolumeReturns(result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindContainerVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindContainerVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindCreatedVolume ¶
func (fake *FakeVolumeFactory) FindCreatedVolume(handle string) (db.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 db.CreatedVolume, result2 bool, result3 error)
func (*FakeVolumeFactory) FindCreatedVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindCreatedVolumeReturnsOnCall(i int, result1 db.CreatedVolume, result2 bool, result3 error)
func (*FakeVolumeFactory) FindResourceCacheVolume ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolume(arg1 string, arg2 *db.UsedResourceCache) (db.CreatedVolume, bool, error)
func (*FakeVolumeFactory) FindResourceCacheVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolumeArgsForCall(i int) (string, *db.UsedResourceCache)
func (*FakeVolumeFactory) FindResourceCacheVolumeCallCount ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolumeCallCount() int
func (*FakeVolumeFactory) FindResourceCacheVolumeReturns ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolumeReturns(result1 db.CreatedVolume, result2 bool, result3 error)
func (*FakeVolumeFactory) FindResourceCacheVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolumeReturnsOnCall(i int, result1 db.CreatedVolume, result2 bool, result3 error)
func (*FakeVolumeFactory) FindTaskCacheVolume ¶
func (fake *FakeVolumeFactory) FindTaskCacheVolume(teamID int, uwtc *db.UsedWorkerTaskCache) (db.CreatingVolume, db.CreatedVolume, error)
func (*FakeVolumeFactory) FindTaskCacheVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) FindTaskCacheVolumeArgsForCall(i int) (int, *db.UsedWorkerTaskCache)
func (*FakeVolumeFactory) FindTaskCacheVolumeCallCount ¶
func (fake *FakeVolumeFactory) FindTaskCacheVolumeCallCount() int
func (*FakeVolumeFactory) FindTaskCacheVolumeReturns ¶
func (fake *FakeVolumeFactory) FindTaskCacheVolumeReturns(result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindTaskCacheVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindTaskCacheVolumeReturnsOnCall(i int, result1 db.CreatingVolume, result2 db.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindVolumesForContainer ¶
func (fake *FakeVolumeFactory) FindVolumesForContainer(arg1 db.CreatedContainer) ([]db.CreatedVolume, error)
func (*FakeVolumeFactory) FindVolumesForContainerArgsForCall ¶
func (fake *FakeVolumeFactory) FindVolumesForContainerArgsForCall(i int) db.CreatedContainer
func (*FakeVolumeFactory) FindVolumesForContainerCallCount ¶
func (fake *FakeVolumeFactory) FindVolumesForContainerCallCount() int
func (*FakeVolumeFactory) FindVolumesForContainerReturns ¶
func (fake *FakeVolumeFactory) FindVolumesForContainerReturns(result1 []db.CreatedVolume, result2 error)
func (*FakeVolumeFactory) FindVolumesForContainerReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindVolumesForContainerReturnsOnCall(i int, result1 []db.CreatedVolume, result2 error)
func (*FakeVolumeFactory) GetOrphanedVolumes ¶
func (fake *FakeVolumeFactory) GetOrphanedVolumes() ([]db.CreatedVolume, []db.DestroyingVolume, error)
func (*FakeVolumeFactory) GetOrphanedVolumesCallCount ¶
func (fake *FakeVolumeFactory) GetOrphanedVolumesCallCount() int
func (*FakeVolumeFactory) GetOrphanedVolumesReturns ¶
func (fake *FakeVolumeFactory) GetOrphanedVolumesReturns(result1 []db.CreatedVolume, result2 []db.DestroyingVolume, result3 error)
func (*FakeVolumeFactory) GetOrphanedVolumesReturnsOnCall ¶
func (fake *FakeVolumeFactory) GetOrphanedVolumesReturnsOnCall(i int, result1 []db.CreatedVolume, result2 []db.DestroyingVolume, result3 error)
func (*FakeVolumeFactory) GetTeamVolumes ¶
func (fake *FakeVolumeFactory) GetTeamVolumes(teamID int) ([]db.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 []db.CreatedVolume, result2 error)
func (*FakeVolumeFactory) GetTeamVolumesReturnsOnCall ¶
func (fake *FakeVolumeFactory) GetTeamVolumesReturnsOnCall(i int, result1 []db.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() db.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() db.WorkerState
func (*FakeWorker) StateCallCount ¶
func (fake *FakeWorker) StateCallCount() int
func (*FakeWorker) StateReturns ¶
func (fake *FakeWorker) StateReturns(result1 db.WorkerState)
func (*FakeWorker) StateReturnsOnCall ¶
func (fake *FakeWorker) StateReturnsOnCall(i int, result1 db.WorkerState)
func (*FakeWorker) Tags ¶
func (fake *FakeWorker) Tags() []string
func (*FakeWorker) TagsCallCount ¶
func (fake *FakeWorker) TagsCallCount() int
func (*FakeWorker) TagsReturns ¶
func (fake *FakeWorker) TagsReturns(result1 []string)
func (*FakeWorker) TagsReturnsOnCall ¶
func (fake *FakeWorker) TagsReturnsOnCall(i int, result1 []string)
func (*FakeWorker) TeamID ¶
func (fake *FakeWorker) TeamID() int
func (*FakeWorker) TeamIDCallCount ¶
func (fake *FakeWorker) TeamIDCallCount() int
func (*FakeWorker) TeamIDReturns ¶
func (fake *FakeWorker) TeamIDReturns(result1 int)
func (*FakeWorker) TeamIDReturnsOnCall ¶
func (fake *FakeWorker) TeamIDReturnsOnCall(i int, result1 int)
func (*FakeWorker) TeamName ¶
func (fake *FakeWorker) TeamName() string
func (*FakeWorker) TeamNameCallCount ¶
func (fake *FakeWorker) TeamNameCallCount() int
func (*FakeWorker) TeamNameReturns ¶
func (fake *FakeWorker) TeamNameReturns(result1 string)
func (*FakeWorker) TeamNameReturnsOnCall ¶
func (fake *FakeWorker) TeamNameReturnsOnCall(i int, result1 string)
func (*FakeWorker) Version ¶
func (fake *FakeWorker) Version() *string
func (*FakeWorker) VersionCallCount ¶
func (fake *FakeWorker) VersionCallCount() int
func (*FakeWorker) VersionReturns ¶
func (fake *FakeWorker) VersionReturns(result1 *string)
func (*FakeWorker) VersionReturnsOnCall ¶
func (fake *FakeWorker) VersionReturnsOnCall(i int, result1 *string)
type FakeWorkerBaseResourceTypeFactory ¶
type FakeWorkerBaseResourceTypeFactory struct { FindStub func(name string, worker db.Worker) (*db.UsedWorkerBaseResourceType, bool, error) // contains filtered or unexported fields }
func (*FakeWorkerBaseResourceTypeFactory) Find ¶
func (fake *FakeWorkerBaseResourceTypeFactory) Find(name string, worker db.Worker) (*db.UsedWorkerBaseResourceType, bool, error)
func (*FakeWorkerBaseResourceTypeFactory) FindArgsForCall ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindArgsForCall(i int) (string, db.Worker)
func (*FakeWorkerBaseResourceTypeFactory) FindCallCount ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindCallCount() int
func (*FakeWorkerBaseResourceTypeFactory) FindReturns ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindReturns(result1 *db.UsedWorkerBaseResourceType, result2 bool, result3 error)
func (*FakeWorkerBaseResourceTypeFactory) FindReturnsOnCall ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindReturnsOnCall(i int, result1 *db.UsedWorkerBaseResourceType, result2 bool, result3 error)
func (*FakeWorkerBaseResourceTypeFactory) Invocations ¶
func (fake *FakeWorkerBaseResourceTypeFactory) Invocations() map[string][][]interface{}
type FakeWorkerFactory ¶
type FakeWorkerFactory struct { GetWorkerStub func(name string) (db.Worker, bool, error) SaveWorkerStub func(atcWorker atc.Worker, ttl time.Duration) (db.Worker, error) HeartbeatWorkerStub func(worker atc.Worker, ttl time.Duration) (db.Worker, error) WorkersStub func() ([]db.Worker, error) // 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 db.Worker, result2 bool, result3 error)
func (*FakeWorkerFactory) GetWorkerReturnsOnCall ¶
func (*FakeWorkerFactory) HeartbeatWorker ¶
func (*FakeWorkerFactory) HeartbeatWorkerArgsForCall ¶
func (*FakeWorkerFactory) HeartbeatWorkerCallCount ¶
func (fake *FakeWorkerFactory) HeartbeatWorkerCallCount() int
func (*FakeWorkerFactory) HeartbeatWorkerReturns ¶
func (fake *FakeWorkerFactory) HeartbeatWorkerReturns(result1 db.Worker, result2 error)
func (*FakeWorkerFactory) HeartbeatWorkerReturnsOnCall ¶
func (fake *FakeWorkerFactory) HeartbeatWorkerReturnsOnCall(i int, result1 db.Worker, result2 error)
func (*FakeWorkerFactory) Invocations ¶
func (fake *FakeWorkerFactory) Invocations() map[string][][]interface{}
func (*FakeWorkerFactory) SaveWorker ¶
func (*FakeWorkerFactory) SaveWorkerArgsForCall ¶
func (*FakeWorkerFactory) SaveWorkerCallCount ¶
func (fake *FakeWorkerFactory) SaveWorkerCallCount() int
func (*FakeWorkerFactory) SaveWorkerReturns ¶
func (fake *FakeWorkerFactory) SaveWorkerReturns(result1 db.Worker, result2 error)
func (*FakeWorkerFactory) SaveWorkerReturnsOnCall ¶
func (fake *FakeWorkerFactory) SaveWorkerReturnsOnCall(i int, result1 db.Worker, result2 error)
func (*FakeWorkerFactory) WorkersCallCount ¶
func (fake *FakeWorkerFactory) WorkersCallCount() int
func (*FakeWorkerFactory) WorkersReturns ¶
func (fake *FakeWorkerFactory) WorkersReturns(result1 []db.Worker, result2 error)
func (*FakeWorkerFactory) WorkersReturnsOnCall ¶
func (fake *FakeWorkerFactory) WorkersReturnsOnCall(i int, result1 []db.Worker, result2 error)
type FakeWorkerLifecycle ¶
type FakeWorkerLifecycle struct { 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)
type FakeWorkerTaskCacheFactory ¶
type FakeWorkerTaskCacheFactory struct { FindStub func(jobID int, stepName string, path string, workerName string) (*db.UsedWorkerTaskCache, bool, error) FindOrCreateStub func(jobID int, stepName string, path string, workerName string) (*db.UsedWorkerTaskCache, error) // contains filtered or unexported fields }
func (*FakeWorkerTaskCacheFactory) Find ¶
func (fake *FakeWorkerTaskCacheFactory) Find(jobID int, stepName string, path string, workerName string) (*db.UsedWorkerTaskCache, bool, error)
func (*FakeWorkerTaskCacheFactory) FindArgsForCall ¶
func (*FakeWorkerTaskCacheFactory) FindCallCount ¶
func (fake *FakeWorkerTaskCacheFactory) FindCallCount() int
func (*FakeWorkerTaskCacheFactory) FindOrCreate ¶
func (fake *FakeWorkerTaskCacheFactory) FindOrCreate(jobID int, stepName string, path string, workerName string) (*db.UsedWorkerTaskCache, error)
func (*FakeWorkerTaskCacheFactory) FindOrCreateArgsForCall ¶
func (*FakeWorkerTaskCacheFactory) FindOrCreateCallCount ¶
func (fake *FakeWorkerTaskCacheFactory) FindOrCreateCallCount() int
func (*FakeWorkerTaskCacheFactory) FindOrCreateReturns ¶
func (fake *FakeWorkerTaskCacheFactory) FindOrCreateReturns(result1 *db.UsedWorkerTaskCache, result2 error)
func (*FakeWorkerTaskCacheFactory) FindOrCreateReturnsOnCall ¶
func (fake *FakeWorkerTaskCacheFactory) FindOrCreateReturnsOnCall(i int, result1 *db.UsedWorkerTaskCache, result2 error)
func (*FakeWorkerTaskCacheFactory) FindReturns ¶
func (fake *FakeWorkerTaskCacheFactory) FindReturns(result1 *db.UsedWorkerTaskCache, result2 bool, result3 error)
func (*FakeWorkerTaskCacheFactory) FindReturnsOnCall ¶
func (fake *FakeWorkerTaskCacheFactory) FindReturnsOnCall(i int, result1 *db.UsedWorkerTaskCache, result2 bool, result3 error)
func (*FakeWorkerTaskCacheFactory) Invocations ¶
func (fake *FakeWorkerTaskCacheFactory) Invocations() map[string][][]interface{}
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_container_owner.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_check_session_lifecycle.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
- fake_worker_task_cache_factory.go