Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeBaseResourceTypeFactory
- func (fake *FakeBaseResourceTypeFactory) Find(name string) (*dbng.UsedBaseResourceType, bool, error)
- func (fake *FakeBaseResourceTypeFactory) FindArgsForCall(i int) string
- func (fake *FakeBaseResourceTypeFactory) FindCallCount() int
- func (fake *FakeBaseResourceTypeFactory) FindReturns(result1 *dbng.UsedBaseResourceType, result2 bool, result3 error)
- func (fake *FakeBaseResourceTypeFactory) FindReturnsOnCall(i int, result1 *dbng.UsedBaseResourceType, result2 bool, result3 error)
- func (fake *FakeBaseResourceTypeFactory) Invocations() map[string][][]interface{}
- type FakeContainer
- func (fake *FakeContainer) Handle() string
- func (fake *FakeContainer) HandleCallCount() int
- func (fake *FakeContainer) HandleReturns(result1 string)
- func (fake *FakeContainer) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeContainer) ID() int
- func (fake *FakeContainer) IDCallCount() int
- func (fake *FakeContainer) IDReturns(result1 int)
- func (fake *FakeContainer) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeContainer) Invocations() map[string][][]interface{}
- func (fake *FakeContainer) Metadata() dbng.ContainerMetadata
- func (fake *FakeContainer) MetadataCallCount() int
- func (fake *FakeContainer) MetadataReturns(result1 dbng.ContainerMetadata)
- func (fake *FakeContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
- func (fake *FakeContainer) WorkerName() string
- func (fake *FakeContainer) WorkerNameCallCount() int
- func (fake *FakeContainer) WorkerNameReturns(result1 string)
- func (fake *FakeContainer) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeContainerFactory
- func (fake *FakeContainerFactory) FindContainersForDeletion() ([]dbng.CreatingContainer, []dbng.CreatedContainer, []dbng.DestroyingContainer, ...)
- func (fake *FakeContainerFactory) FindContainersForDeletionCallCount() int
- func (fake *FakeContainerFactory) FindContainersForDeletionReturns(result1 []dbng.CreatingContainer, result2 []dbng.CreatedContainer, ...)
- func (fake *FakeContainerFactory) FindContainersForDeletionReturnsOnCall(i int, result1 []dbng.CreatingContainer, result2 []dbng.CreatedContainer, ...)
- func (fake *FakeContainerFactory) Invocations() map[string][][]interface{}
- type FakeCreatedContainer
- func (fake *FakeCreatedContainer) Destroying() (dbng.DestroyingContainer, error)
- func (fake *FakeCreatedContainer) DestroyingCallCount() int
- func (fake *FakeCreatedContainer) DestroyingReturns(result1 dbng.DestroyingContainer, result2 error)
- func (fake *FakeCreatedContainer) DestroyingReturnsOnCall(i int, result1 dbng.DestroyingContainer, result2 error)
- func (fake *FakeCreatedContainer) Discontinue() (dbng.DestroyingContainer, error)
- func (fake *FakeCreatedContainer) DiscontinueCallCount() int
- func (fake *FakeCreatedContainer) DiscontinueReturns(result1 dbng.DestroyingContainer, result2 error)
- func (fake *FakeCreatedContainer) DiscontinueReturnsOnCall(i int, result1 dbng.DestroyingContainer, result2 error)
- func (fake *FakeCreatedContainer) Handle() string
- func (fake *FakeCreatedContainer) HandleCallCount() int
- func (fake *FakeCreatedContainer) HandleReturns(result1 string)
- func (fake *FakeCreatedContainer) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedContainer) ID() int
- func (fake *FakeCreatedContainer) IDCallCount() int
- func (fake *FakeCreatedContainer) IDReturns(result1 int)
- func (fake *FakeCreatedContainer) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeCreatedContainer) Invocations() map[string][][]interface{}
- func (fake *FakeCreatedContainer) IsHijacked() bool
- func (fake *FakeCreatedContainer) IsHijackedCallCount() int
- func (fake *FakeCreatedContainer) IsHijackedReturns(result1 bool)
- func (fake *FakeCreatedContainer) IsHijackedReturnsOnCall(i int, result1 bool)
- func (fake *FakeCreatedContainer) MarkAsHijacked() error
- func (fake *FakeCreatedContainer) MarkAsHijackedCallCount() int
- func (fake *FakeCreatedContainer) MarkAsHijackedReturns(result1 error)
- func (fake *FakeCreatedContainer) MarkAsHijackedReturnsOnCall(i int, result1 error)
- func (fake *FakeCreatedContainer) Metadata() dbng.ContainerMetadata
- func (fake *FakeCreatedContainer) MetadataCallCount() int
- func (fake *FakeCreatedContainer) MetadataReturns(result1 dbng.ContainerMetadata)
- func (fake *FakeCreatedContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
- func (fake *FakeCreatedContainer) WorkerName() string
- func (fake *FakeCreatedContainer) WorkerNameCallCount() int
- func (fake *FakeCreatedContainer) WorkerNameReturns(result1 string)
- func (fake *FakeCreatedContainer) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeCreatedVolume
- func (fake *FakeCreatedVolume) BaseResourceType() (*dbng.UsedWorkerBaseResourceType, error)
- func (fake *FakeCreatedVolume) BaseResourceTypeCallCount() int
- func (fake *FakeCreatedVolume) BaseResourceTypeReturns(result1 *dbng.UsedWorkerBaseResourceType, result2 error)
- func (fake *FakeCreatedVolume) BaseResourceTypeReturnsOnCall(i int, result1 *dbng.UsedWorkerBaseResourceType, result2 error)
- func (fake *FakeCreatedVolume) ContainerHandle() string
- func (fake *FakeCreatedVolume) ContainerHandleCallCount() int
- func (fake *FakeCreatedVolume) ContainerHandleReturns(result1 string)
- func (fake *FakeCreatedVolume) ContainerHandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedVolume) CreateChildForContainer(arg1 dbng.CreatingContainer, arg2 string) (dbng.CreatingVolume, error)
- func (fake *FakeCreatedVolume) CreateChildForContainerArgsForCall(i int) (dbng.CreatingContainer, string)
- func (fake *FakeCreatedVolume) CreateChildForContainerCallCount() int
- func (fake *FakeCreatedVolume) CreateChildForContainerReturns(result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeCreatedVolume) CreateChildForContainerReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeCreatedVolume) Destroying() (dbng.DestroyingVolume, error)
- func (fake *FakeCreatedVolume) DestroyingCallCount() int
- func (fake *FakeCreatedVolume) DestroyingReturns(result1 dbng.DestroyingVolume, result2 error)
- func (fake *FakeCreatedVolume) DestroyingReturnsOnCall(i int, result1 dbng.DestroyingVolume, result2 error)
- func (fake *FakeCreatedVolume) Handle() string
- func (fake *FakeCreatedVolume) HandleCallCount() int
- func (fake *FakeCreatedVolume) HandleReturns(result1 string)
- func (fake *FakeCreatedVolume) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedVolume) Initialize() error
- func (fake *FakeCreatedVolume) InitializeCallCount() int
- func (fake *FakeCreatedVolume) InitializeReturns(result1 error)
- func (fake *FakeCreatedVolume) InitializeReturnsOnCall(i int, result1 error)
- func (fake *FakeCreatedVolume) Invocations() map[string][][]interface{}
- func (fake *FakeCreatedVolume) IsInitialized() (bool, error)
- func (fake *FakeCreatedVolume) IsInitializedCallCount() int
- func (fake *FakeCreatedVolume) IsInitializedReturns(result1 bool, result2 error)
- func (fake *FakeCreatedVolume) IsInitializedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeCreatedVolume) ParentHandle() string
- func (fake *FakeCreatedVolume) ParentHandleCallCount() int
- func (fake *FakeCreatedVolume) ParentHandleReturns(result1 string)
- func (fake *FakeCreatedVolume) ParentHandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedVolume) Path() string
- func (fake *FakeCreatedVolume) PathCallCount() int
- func (fake *FakeCreatedVolume) PathReturns(result1 string)
- func (fake *FakeCreatedVolume) PathReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatedVolume) ResourceType() (*dbng.VolumeResourceType, error)
- func (fake *FakeCreatedVolume) ResourceTypeCallCount() int
- func (fake *FakeCreatedVolume) ResourceTypeReturns(result1 *dbng.VolumeResourceType, result2 error)
- func (fake *FakeCreatedVolume) ResourceTypeReturnsOnCall(i int, result1 *dbng.VolumeResourceType, result2 error)
- func (fake *FakeCreatedVolume) SizeInBytes() int64
- func (fake *FakeCreatedVolume) SizeInBytesCallCount() int
- func (fake *FakeCreatedVolume) SizeInBytesReturns(result1 int64)
- func (fake *FakeCreatedVolume) SizeInBytesReturnsOnCall(i int, result1 int64)
- func (fake *FakeCreatedVolume) Type() dbng.VolumeType
- func (fake *FakeCreatedVolume) TypeCallCount() int
- func (fake *FakeCreatedVolume) TypeReturns(result1 dbng.VolumeType)
- func (fake *FakeCreatedVolume) TypeReturnsOnCall(i int, result1 dbng.VolumeType)
- func (fake *FakeCreatedVolume) Worker() dbng.Worker
- func (fake *FakeCreatedVolume) WorkerCallCount() int
- func (fake *FakeCreatedVolume) WorkerReturns(result1 dbng.Worker)
- func (fake *FakeCreatedVolume) WorkerReturnsOnCall(i int, result1 dbng.Worker)
- type FakeCreatingContainer
- func (fake *FakeCreatingContainer) Created() (dbng.CreatedContainer, error)
- func (fake *FakeCreatingContainer) CreatedCallCount() int
- func (fake *FakeCreatingContainer) CreatedReturns(result1 dbng.CreatedContainer, result2 error)
- func (fake *FakeCreatingContainer) CreatedReturnsOnCall(i int, result1 dbng.CreatedContainer, result2 error)
- func (fake *FakeCreatingContainer) Handle() string
- func (fake *FakeCreatingContainer) HandleCallCount() int
- func (fake *FakeCreatingContainer) HandleReturns(result1 string)
- func (fake *FakeCreatingContainer) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatingContainer) ID() int
- func (fake *FakeCreatingContainer) IDCallCount() int
- func (fake *FakeCreatingContainer) IDReturns(result1 int)
- func (fake *FakeCreatingContainer) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeCreatingContainer) Invocations() map[string][][]interface{}
- func (fake *FakeCreatingContainer) Metadata() dbng.ContainerMetadata
- func (fake *FakeCreatingContainer) MetadataCallCount() int
- func (fake *FakeCreatingContainer) MetadataReturns(result1 dbng.ContainerMetadata)
- func (fake *FakeCreatingContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
- func (fake *FakeCreatingContainer) WorkerName() string
- func (fake *FakeCreatingContainer) WorkerNameCallCount() int
- func (fake *FakeCreatingContainer) WorkerNameReturns(result1 string)
- func (fake *FakeCreatingContainer) WorkerNameReturnsOnCall(i int, result1 string)
- type FakeCreatingVolume
- func (fake *FakeCreatingVolume) Created() (dbng.CreatedVolume, error)
- func (fake *FakeCreatingVolume) CreatedCallCount() int
- func (fake *FakeCreatingVolume) CreatedReturns(result1 dbng.CreatedVolume, result2 error)
- func (fake *FakeCreatingVolume) CreatedReturnsOnCall(i int, result1 dbng.CreatedVolume, result2 error)
- func (fake *FakeCreatingVolume) Handle() string
- func (fake *FakeCreatingVolume) HandleCallCount() int
- func (fake *FakeCreatingVolume) HandleReturns(result1 string)
- func (fake *FakeCreatingVolume) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeCreatingVolume) ID() int
- func (fake *FakeCreatingVolume) IDCallCount() int
- func (fake *FakeCreatingVolume) IDReturns(result1 int)
- func (fake *FakeCreatingVolume) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeCreatingVolume) Invocations() map[string][][]interface{}
- type FakeDestroyingContainer
- func (fake *FakeDestroyingContainer) Destroy() (bool, error)
- func (fake *FakeDestroyingContainer) DestroyCallCount() int
- func (fake *FakeDestroyingContainer) DestroyReturns(result1 bool, result2 error)
- func (fake *FakeDestroyingContainer) DestroyReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeDestroyingContainer) Handle() string
- func (fake *FakeDestroyingContainer) HandleCallCount() int
- func (fake *FakeDestroyingContainer) HandleReturns(result1 string)
- func (fake *FakeDestroyingContainer) HandleReturnsOnCall(i int, result1 string)
- func (fake *FakeDestroyingContainer) ID() int
- func (fake *FakeDestroyingContainer) IDCallCount() int
- func (fake *FakeDestroyingContainer) IDReturns(result1 int)
- func (fake *FakeDestroyingContainer) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeDestroyingContainer) Invocations() map[string][][]interface{}
- func (fake *FakeDestroyingContainer) IsDiscontinued() bool
- func (fake *FakeDestroyingContainer) IsDiscontinuedCallCount() int
- func (fake *FakeDestroyingContainer) IsDiscontinuedReturns(result1 bool)
- func (fake *FakeDestroyingContainer) IsDiscontinuedReturnsOnCall(i int, result1 bool)
- func (fake *FakeDestroyingContainer) Metadata() dbng.ContainerMetadata
- func (fake *FakeDestroyingContainer) MetadataCallCount() int
- func (fake *FakeDestroyingContainer) MetadataReturns(result1 dbng.ContainerMetadata)
- func (fake *FakeDestroyingContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
- func (fake *FakeDestroyingContainer) WorkerName() string
- func (fake *FakeDestroyingContainer) WorkerNameCallCount() int
- func (fake *FakeDestroyingContainer) WorkerNameReturns(result1 string)
- func (fake *FakeDestroyingContainer) WorkerNameReturnsOnCall(i int, result1 string)
- type FakePipeline
- func (fake *FakePipeline) AcquireResourceCheckingLock(logger lager.Logger, resource *dbng.Resource, ...) (lock.Lock, bool, error)
- func (fake *FakePipeline) AcquireResourceCheckingLockArgsForCall(i int) (lager.Logger, *dbng.Resource, atc.VersionedResourceTypes, time.Duration, bool)
- func (fake *FakePipeline) AcquireResourceCheckingLockCallCount() int
- func (fake *FakePipeline) AcquireResourceCheckingLockReturns(result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakePipeline) AcquireResourceCheckingLockReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakePipeline) ConfigVersion() dbng.ConfigVersion
- func (fake *FakePipeline) ConfigVersionCallCount() int
- func (fake *FakePipeline) ConfigVersionReturns(result1 dbng.ConfigVersion)
- func (fake *FakePipeline) ConfigVersionReturnsOnCall(i int, result1 dbng.ConfigVersion)
- func (fake *FakePipeline) CreateJobBuild(jobName string) (dbng.Build, error)
- func (fake *FakePipeline) CreateJobBuildArgsForCall(i int) string
- func (fake *FakePipeline) CreateJobBuildCallCount() int
- func (fake *FakePipeline) CreateJobBuildReturns(result1 dbng.Build, result2 error)
- func (fake *FakePipeline) CreateJobBuildReturnsOnCall(i int, result1 dbng.Build, result2 error)
- func (fake *FakePipeline) CreateResource(name string, config atc.ResourceConfig) (*dbng.Resource, error)
- func (fake *FakePipeline) CreateResourceArgsForCall(i int) (string, atc.ResourceConfig)
- func (fake *FakePipeline) CreateResourceCallCount() int
- func (fake *FakePipeline) CreateResourceReturns(result1 *dbng.Resource, result2 error)
- func (fake *FakePipeline) CreateResourceReturnsOnCall(i int, result1 *dbng.Resource, result2 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) 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) Name() string
- func (fake *FakePipeline) NameCallCount() int
- func (fake *FakePipeline) NameReturns(result1 string)
- func (fake *FakePipeline) NameReturnsOnCall(i int, result1 string)
- func (fake *FakePipeline) ResourceType(name string) (dbng.ResourceType, bool, error)
- func (fake *FakePipeline) ResourceTypeArgsForCall(i int) string
- func (fake *FakePipeline) ResourceTypeCallCount() int
- func (fake *FakePipeline) ResourceTypeReturns(result1 dbng.ResourceType, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceTypeReturnsOnCall(i int, result1 dbng.ResourceType, result2 bool, result3 error)
- func (fake *FakePipeline) ResourceTypes() ([]dbng.ResourceType, error)
- func (fake *FakePipeline) ResourceTypesCallCount() int
- func (fake *FakePipeline) ResourceTypesReturns(result1 []dbng.ResourceType, result2 error)
- func (fake *FakePipeline) ResourceTypesReturnsOnCall(i int, result1 []dbng.ResourceType, result2 error)
- func (fake *FakePipeline) SaveJob(job atc.JobConfig) error
- func (fake *FakePipeline) SaveJobArgsForCall(i int) atc.JobConfig
- func (fake *FakePipeline) SaveJobCallCount() int
- func (fake *FakePipeline) SaveJobReturns(result1 error)
- func (fake *FakePipeline) SaveJobReturnsOnCall(i int, result1 error)
- func (fake *FakePipeline) TeamID() int
- func (fake *FakePipeline) TeamIDCallCount() int
- func (fake *FakePipeline) TeamIDReturns(result1 int)
- func (fake *FakePipeline) TeamIDReturnsOnCall(i int, result1 int)
- type FakePipelineFactory
- func (fake *FakePipelineFactory) GetPipelineByID(teamID int, pipelineID int) dbng.Pipeline
- func (fake *FakePipelineFactory) GetPipelineByIDArgsForCall(i int) (int, int)
- func (fake *FakePipelineFactory) GetPipelineByIDCallCount() int
- func (fake *FakePipelineFactory) GetPipelineByIDReturns(result1 dbng.Pipeline)
- func (fake *FakePipelineFactory) GetPipelineByIDReturnsOnCall(i int, result1 dbng.Pipeline)
- func (fake *FakePipelineFactory) Invocations() map[string][][]interface{}
- type FakeResourceCacheFactory
- func (fake *FakeResourceCacheFactory) CleanUpInvalidCaches() error
- func (fake *FakeResourceCacheFactory) CleanUpInvalidCachesCallCount() int
- func (fake *FakeResourceCacheFactory) CleanUpInvalidCachesReturns(result1 error)
- func (fake *FakeResourceCacheFactory) CleanUpInvalidCachesReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuilds() error
- func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuildsCallCount() int
- func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuildsReturns(result1 error)
- func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuildsReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypes() error
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesCallCount() int
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesReturns(result1 error)
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResources() error
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourcesCallCount() int
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourcesReturns(result1 error)
- func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourcesReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCache(logger lager.Logger, resourceUser dbng.ResourceUser, resourceTypeName string, ...) (*dbng.UsedResourceCache, error)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheArgsForCall(i int) (lager.Logger, dbng.ResourceUser, string, atc.Version, atc.Source, atc.Params, ...)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheCallCount() int
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturns(result1 *dbng.UsedResourceCache, result2 error)
- func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturnsOnCall(i int, result1 *dbng.UsedResourceCache, result2 error)
- func (fake *FakeResourceCacheFactory) Invocations() map[string][][]interface{}
- type FakeResourceConfigFactory
- 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) CleanUselessConfigs() error
- func (fake *FakeResourceConfigFactory) CleanUselessConfigsCallCount() int
- func (fake *FakeResourceConfigFactory) CleanUselessConfigsReturns(result1 error)
- func (fake *FakeResourceConfigFactory) CleanUselessConfigsReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfig(logger lager.Logger, user dbng.ResourceUser, resourceType string, ...) (*dbng.UsedResourceConfig, error)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigArgsForCall(i int) (lager.Logger, dbng.ResourceUser, string, atc.Source, ...)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigCallCount() int
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturns(result1 *dbng.UsedResourceConfig, result2 error)
- func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturnsOnCall(i int, result1 *dbng.UsedResourceConfig, result2 error)
- func (fake *FakeResourceConfigFactory) Invocations() map[string][][]interface{}
- type FakeResourceType
- func (fake *FakeResourceType) ID() int
- func (fake *FakeResourceType) IDCallCount() int
- func (fake *FakeResourceType) IDReturns(result1 int)
- func (fake *FakeResourceType) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeResourceType) Invocations() map[string][][]interface{}
- func (fake *FakeResourceType) Name() string
- func (fake *FakeResourceType) NameCallCount() int
- func (fake *FakeResourceType) NameReturns(result1 string)
- func (fake *FakeResourceType) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeResourceType) Reload() (bool, error)
- func (fake *FakeResourceType) ReloadCallCount() int
- func (fake *FakeResourceType) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeResourceType) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeResourceType) SaveVersion(arg1 atc.Version) error
- func (fake *FakeResourceType) SaveVersionArgsForCall(i int) atc.Version
- func (fake *FakeResourceType) SaveVersionCallCount() int
- func (fake *FakeResourceType) SaveVersionReturns(result1 error)
- func (fake *FakeResourceType) SaveVersionReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceType) Source() atc.Source
- func (fake *FakeResourceType) SourceCallCount() int
- func (fake *FakeResourceType) SourceReturns(result1 atc.Source)
- func (fake *FakeResourceType) SourceReturnsOnCall(i int, result1 atc.Source)
- func (fake *FakeResourceType) Type() string
- func (fake *FakeResourceType) TypeCallCount() int
- func (fake *FakeResourceType) TypeReturns(result1 string)
- func (fake *FakeResourceType) TypeReturnsOnCall(i int, result1 string)
- func (fake *FakeResourceType) Version() atc.Version
- func (fake *FakeResourceType) VersionCallCount() int
- func (fake *FakeResourceType) VersionReturns(result1 atc.Version)
- func (fake *FakeResourceType) VersionReturnsOnCall(i int, result1 atc.Version)
- type FakeTeam
- func (fake *FakeTeam) CreateBuildContainer(workerName string, buildID int, planID atc.PlanID, meta dbng.ContainerMetadata) (dbng.CreatingContainer, error)
- func (fake *FakeTeam) CreateBuildContainerArgsForCall(i int) (string, int, atc.PlanID, dbng.ContainerMetadata)
- func (fake *FakeTeam) CreateBuildContainerCallCount() int
- func (fake *FakeTeam) CreateBuildContainerReturns(result1 dbng.CreatingContainer, result2 error)
- func (fake *FakeTeam) CreateBuildContainerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 error)
- func (fake *FakeTeam) CreateOneOffBuild() (dbng.Build, error)
- func (fake *FakeTeam) CreateOneOffBuildCallCount() int
- func (fake *FakeTeam) CreateOneOffBuildReturns(result1 dbng.Build, result2 error)
- func (fake *FakeTeam) CreateOneOffBuildReturnsOnCall(i int, result1 dbng.Build, result2 error)
- func (fake *FakeTeam) CreateResourceCheckContainer(workerName string, resourceConfig *dbng.UsedResourceConfig, ...) (dbng.CreatingContainer, error)
- func (fake *FakeTeam) CreateResourceCheckContainerArgsForCall(i int) (string, *dbng.UsedResourceConfig, dbng.ContainerMetadata)
- func (fake *FakeTeam) CreateResourceCheckContainerCallCount() int
- func (fake *FakeTeam) CreateResourceCheckContainerReturns(result1 dbng.CreatingContainer, result2 error)
- func (fake *FakeTeam) CreateResourceCheckContainerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 error)
- func (fake *FakeTeam) CreateResourceGetContainer(workerName string, resourceConfig *dbng.UsedResourceCache, ...) (dbng.CreatingContainer, error)
- func (fake *FakeTeam) CreateResourceGetContainerArgsForCall(i int) (string, *dbng.UsedResourceCache, dbng.ContainerMetadata)
- func (fake *FakeTeam) CreateResourceGetContainerCallCount() int
- func (fake *FakeTeam) CreateResourceGetContainerReturns(result1 dbng.CreatingContainer, result2 error)
- func (fake *FakeTeam) CreateResourceGetContainerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 error)
- func (fake *FakeTeam) FindBuildContainerOnWorker(workerName string, buildID int, planID atc.PlanID) (dbng.CreatingContainer, dbng.CreatedContainer, error)
- func (fake *FakeTeam) FindBuildContainerOnWorkerArgsForCall(i int) (string, int, atc.PlanID)
- func (fake *FakeTeam) FindBuildContainerOnWorkerCallCount() int
- func (fake *FakeTeam) FindBuildContainerOnWorkerReturns(result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, result3 error)
- func (fake *FakeTeam) FindBuildContainerOnWorkerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, ...)
- func (fake *FakeTeam) FindContainerByHandle(arg1 string) (dbng.Container, bool, error)
- func (fake *FakeTeam) FindContainerByHandleArgsForCall(i int) string
- func (fake *FakeTeam) FindContainerByHandleCallCount() int
- func (fake *FakeTeam) FindContainerByHandleReturns(result1 dbng.Container, result2 bool, result3 error)
- func (fake *FakeTeam) FindContainerByHandleReturnsOnCall(i int, result1 dbng.Container, result2 bool, result3 error)
- func (fake *FakeTeam) FindContainersByMetadata(arg1 dbng.ContainerMetadata) ([]dbng.Container, error)
- func (fake *FakeTeam) FindContainersByMetadataArgsForCall(i int) dbng.ContainerMetadata
- func (fake *FakeTeam) FindContainersByMetadataCallCount() int
- func (fake *FakeTeam) FindContainersByMetadataReturns(result1 []dbng.Container, result2 error)
- func (fake *FakeTeam) FindContainersByMetadataReturnsOnCall(i int, result1 []dbng.Container, result2 error)
- func (fake *FakeTeam) FindCreatedContainerByHandle(arg1 string) (dbng.CreatedContainer, bool, error)
- func (fake *FakeTeam) FindCreatedContainerByHandleArgsForCall(i int) string
- func (fake *FakeTeam) FindCreatedContainerByHandleCallCount() int
- func (fake *FakeTeam) FindCreatedContainerByHandleReturns(result1 dbng.CreatedContainer, result2 bool, result3 error)
- func (fake *FakeTeam) FindCreatedContainerByHandleReturnsOnCall(i int, result1 dbng.CreatedContainer, result2 bool, result3 error)
- func (fake *FakeTeam) FindPipelineByName(pipelineName string) (dbng.Pipeline, bool, error)
- func (fake *FakeTeam) FindPipelineByNameArgsForCall(i int) string
- func (fake *FakeTeam) FindPipelineByNameCallCount() int
- func (fake *FakeTeam) FindPipelineByNameReturns(result1 dbng.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) FindPipelineByNameReturnsOnCall(i int, result1 dbng.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) FindResourceCheckContainerOnWorker(workerName string, resourceConfig *dbng.UsedResourceConfig) (dbng.CreatingContainer, dbng.CreatedContainer, error)
- func (fake *FakeTeam) FindResourceCheckContainerOnWorkerArgsForCall(i int) (string, *dbng.UsedResourceConfig)
- func (fake *FakeTeam) FindResourceCheckContainerOnWorkerCallCount() int
- func (fake *FakeTeam) FindResourceCheckContainerOnWorkerReturns(result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, result3 error)
- func (fake *FakeTeam) FindResourceCheckContainerOnWorkerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, ...)
- func (fake *FakeTeam) FindWorkerForBuildContainer(buildID int, planID atc.PlanID) (dbng.Worker, bool, error)
- func (fake *FakeTeam) FindWorkerForBuildContainerArgsForCall(i int) (int, atc.PlanID)
- func (fake *FakeTeam) FindWorkerForBuildContainerCallCount() int
- func (fake *FakeTeam) FindWorkerForBuildContainerReturns(result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForBuildContainerReturnsOnCall(i int, result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForContainer(handle string) (dbng.Worker, bool, error)
- func (fake *FakeTeam) FindWorkerForContainerArgsForCall(i int) string
- func (fake *FakeTeam) FindWorkerForContainerCallCount() int
- func (fake *FakeTeam) FindWorkerForContainerReturns(result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForContainerReturnsOnCall(i int, result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForResourceCheckContainer(resourceConfig *dbng.UsedResourceConfig) (dbng.Worker, bool, error)
- func (fake *FakeTeam) FindWorkerForResourceCheckContainerArgsForCall(i int) *dbng.UsedResourceConfig
- func (fake *FakeTeam) FindWorkerForResourceCheckContainerCallCount() int
- func (fake *FakeTeam) FindWorkerForResourceCheckContainerReturns(result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) FindWorkerForResourceCheckContainerReturnsOnCall(i int, result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeTeam) ID() int
- func (fake *FakeTeam) IDCallCount() int
- func (fake *FakeTeam) IDReturns(result1 int)
- func (fake *FakeTeam) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeTeam) Invocations() map[string][][]interface{}
- func (fake *FakeTeam) SavePipeline(pipelineName string, config atc.Config, from dbng.ConfigVersion, ...) (dbng.Pipeline, bool, error)
- func (fake *FakeTeam) SavePipelineArgsForCall(i int) (string, atc.Config, dbng.ConfigVersion, dbng.PipelinePausedState)
- func (fake *FakeTeam) SavePipelineCallCount() int
- func (fake *FakeTeam) SavePipelineReturns(result1 dbng.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) SavePipelineReturnsOnCall(i int, result1 dbng.Pipeline, result2 bool, result3 error)
- func (fake *FakeTeam) SaveWorker(atcWorker atc.Worker, ttl time.Duration) (dbng.Worker, error)
- func (fake *FakeTeam) SaveWorkerArgsForCall(i int) (atc.Worker, time.Duration)
- func (fake *FakeTeam) SaveWorkerCallCount() int
- func (fake *FakeTeam) SaveWorkerReturns(result1 dbng.Worker, result2 error)
- func (fake *FakeTeam) SaveWorkerReturnsOnCall(i int, result1 dbng.Worker, result2 error)
- func (fake *FakeTeam) Workers() ([]dbng.Worker, error)
- func (fake *FakeTeam) WorkersCallCount() int
- func (fake *FakeTeam) WorkersReturns(result1 []dbng.Worker, result2 error)
- func (fake *FakeTeam) WorkersReturnsOnCall(i int, result1 []dbng.Worker, result2 error)
- type FakeTeamFactory
- func (fake *FakeTeamFactory) CreateTeam(name string) (dbng.Team, error)
- func (fake *FakeTeamFactory) CreateTeamArgsForCall(i int) string
- func (fake *FakeTeamFactory) CreateTeamCallCount() int
- func (fake *FakeTeamFactory) CreateTeamReturns(result1 dbng.Team, result2 error)
- func (fake *FakeTeamFactory) CreateTeamReturnsOnCall(i int, result1 dbng.Team, result2 error)
- func (fake *FakeTeamFactory) FindTeam(name string) (dbng.Team, bool, error)
- func (fake *FakeTeamFactory) FindTeamArgsForCall(i int) string
- func (fake *FakeTeamFactory) FindTeamCallCount() int
- func (fake *FakeTeamFactory) FindTeamReturns(result1 dbng.Team, result2 bool, result3 error)
- func (fake *FakeTeamFactory) FindTeamReturnsOnCall(i int, result1 dbng.Team, result2 bool, result3 error)
- func (fake *FakeTeamFactory) GetByID(teamID int) dbng.Team
- func (fake *FakeTeamFactory) GetByIDArgsForCall(i int) int
- func (fake *FakeTeamFactory) GetByIDCallCount() int
- func (fake *FakeTeamFactory) GetByIDReturns(result1 dbng.Team)
- func (fake *FakeTeamFactory) GetByIDReturnsOnCall(i int, result1 dbng.Team)
- func (fake *FakeTeamFactory) Invocations() map[string][][]interface{}
- type FakeVolumeFactory
- func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolume(arg1 int, arg2 *dbng.UsedWorkerBaseResourceType) (dbng.CreatingVolume, error)
- func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeArgsForCall(i int) (int, *dbng.UsedWorkerBaseResourceType)
- func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeCallCount() int
- func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeReturns(result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateContainerVolume(arg1 int, arg2 dbng.Worker, arg3 dbng.CreatingContainer, arg4 string) (dbng.CreatingVolume, error)
- func (fake *FakeVolumeFactory) CreateContainerVolumeArgsForCall(i int) (int, dbng.Worker, dbng.CreatingContainer, string)
- func (fake *FakeVolumeFactory) CreateContainerVolumeCallCount() int
- func (fake *FakeVolumeFactory) CreateContainerVolumeReturns(result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateContainerVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateResourceCacheVolume(arg1 dbng.Worker, arg2 *dbng.UsedResourceCache) (dbng.CreatingVolume, error)
- func (fake *FakeVolumeFactory) CreateResourceCacheVolumeArgsForCall(i int) (dbng.Worker, *dbng.UsedResourceCache)
- func (fake *FakeVolumeFactory) CreateResourceCacheVolumeCallCount() int
- func (fake *FakeVolumeFactory) CreateResourceCacheVolumeReturns(result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) CreateResourceCacheVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolume(arg1 int, arg2 *dbng.UsedWorkerBaseResourceType) (dbng.CreatingVolume, dbng.CreatedVolume, error)
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeArgsForCall(i int) (int, *dbng.UsedWorkerBaseResourceType)
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeReturns(result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindContainerVolume(arg1 int, arg2 dbng.Worker, arg3 dbng.CreatingContainer, arg4 string) (dbng.CreatingVolume, dbng.CreatedVolume, error)
- func (fake *FakeVolumeFactory) FindContainerVolumeArgsForCall(i int) (int, dbng.Worker, dbng.CreatingContainer, string)
- func (fake *FakeVolumeFactory) FindContainerVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindContainerVolumeReturns(result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindContainerVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindCreatedVolume(handle string) (dbng.CreatedVolume, bool, error)
- func (fake *FakeVolumeFactory) FindCreatedVolumeArgsForCall(i int) string
- func (fake *FakeVolumeFactory) FindCreatedVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindCreatedVolumeReturns(result1 dbng.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeFactory) FindCreatedVolumeReturnsOnCall(i int, result1 dbng.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolume(arg1 dbng.Worker, arg2 *dbng.UsedResourceCache) (dbng.CreatedVolume, bool, error)
- func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeArgsForCall(i int) (dbng.Worker, *dbng.UsedResourceCache)
- func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeReturns(result1 dbng.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeReturnsOnCall(i int, result1 dbng.CreatedVolume, result2 bool, result3 error)
- func (fake *FakeVolumeFactory) FindResourceCacheVolume(arg1 dbng.Worker, arg2 *dbng.UsedResourceCache) (dbng.CreatingVolume, dbng.CreatedVolume, error)
- func (fake *FakeVolumeFactory) FindResourceCacheVolumeArgsForCall(i int) (dbng.Worker, *dbng.UsedResourceCache)
- func (fake *FakeVolumeFactory) FindResourceCacheVolumeCallCount() int
- func (fake *FakeVolumeFactory) FindResourceCacheVolumeReturns(result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindResourceCacheVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
- func (fake *FakeVolumeFactory) FindVolumesForContainer(arg1 dbng.CreatedContainer) ([]dbng.CreatedVolume, error)
- func (fake *FakeVolumeFactory) FindVolumesForContainerArgsForCall(i int) dbng.CreatedContainer
- func (fake *FakeVolumeFactory) FindVolumesForContainerCallCount() int
- func (fake *FakeVolumeFactory) FindVolumesForContainerReturns(result1 []dbng.CreatedVolume, result2 error)
- func (fake *FakeVolumeFactory) FindVolumesForContainerReturnsOnCall(i int, result1 []dbng.CreatedVolume, result2 error)
- func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumes() ([]dbng.CreatingVolume, []dbng.CreatedVolume, []dbng.DestroyingVolume, error)
- func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumesCallCount() int
- func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumesReturns(result1 []dbng.CreatingVolume, result2 []dbng.CreatedVolume, ...)
- func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumesReturnsOnCall(i int, result1 []dbng.CreatingVolume, result2 []dbng.CreatedVolume, ...)
- func (fake *FakeVolumeFactory) GetOrphanedVolumes() ([]dbng.CreatedVolume, []dbng.DestroyingVolume, error)
- func (fake *FakeVolumeFactory) GetOrphanedVolumesCallCount() int
- func (fake *FakeVolumeFactory) GetOrphanedVolumesReturns(result1 []dbng.CreatedVolume, result2 []dbng.DestroyingVolume, result3 error)
- func (fake *FakeVolumeFactory) GetOrphanedVolumesReturnsOnCall(i int, result1 []dbng.CreatedVolume, result2 []dbng.DestroyingVolume, ...)
- func (fake *FakeVolumeFactory) GetTeamVolumes(teamID int) ([]dbng.CreatedVolume, error)
- func (fake *FakeVolumeFactory) GetTeamVolumesArgsForCall(i int) int
- func (fake *FakeVolumeFactory) GetTeamVolumesCallCount() int
- func (fake *FakeVolumeFactory) GetTeamVolumesReturns(result1 []dbng.CreatedVolume, result2 error)
- func (fake *FakeVolumeFactory) GetTeamVolumesReturnsOnCall(i int, result1 []dbng.CreatedVolume, result2 error)
- func (fake *FakeVolumeFactory) Invocations() map[string][][]interface{}
- type FakeWorker
- func (fake *FakeWorker) ActiveContainers() int
- func (fake *FakeWorker) ActiveContainersCallCount() int
- func (fake *FakeWorker) ActiveContainersReturns(result1 int)
- func (fake *FakeWorker) ActiveContainersReturnsOnCall(i int, result1 int)
- func (fake *FakeWorker) BaggageclaimURL() *string
- func (fake *FakeWorker) BaggageclaimURLCallCount() int
- func (fake *FakeWorker) BaggageclaimURLReturns(result1 *string)
- func (fake *FakeWorker) BaggageclaimURLReturnsOnCall(i int, result1 *string)
- func (fake *FakeWorker) Delete() error
- func (fake *FakeWorker) DeleteCallCount() int
- func (fake *FakeWorker) DeleteReturns(result1 error)
- func (fake *FakeWorker) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeWorker) ExpiresAt() time.Time
- func (fake *FakeWorker) ExpiresAtCallCount() int
- func (fake *FakeWorker) ExpiresAtReturns(result1 time.Time)
- func (fake *FakeWorker) ExpiresAtReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeWorker) GardenAddr() *string
- func (fake *FakeWorker) GardenAddrCallCount() int
- func (fake *FakeWorker) GardenAddrReturns(result1 *string)
- func (fake *FakeWorker) GardenAddrReturnsOnCall(i int, result1 *string)
- func (fake *FakeWorker) HTTPProxyURL() string
- func (fake *FakeWorker) HTTPProxyURLCallCount() int
- func (fake *FakeWorker) HTTPProxyURLReturns(result1 string)
- func (fake *FakeWorker) HTTPProxyURLReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) HTTPSProxyURL() string
- func (fake *FakeWorker) HTTPSProxyURLCallCount() int
- func (fake *FakeWorker) HTTPSProxyURLReturns(result1 string)
- func (fake *FakeWorker) HTTPSProxyURLReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) Invocations() map[string][][]interface{}
- func (fake *FakeWorker) Land() error
- func (fake *FakeWorker) LandCallCount() int
- func (fake *FakeWorker) LandReturns(result1 error)
- func (fake *FakeWorker) LandReturnsOnCall(i int, result1 error)
- func (fake *FakeWorker) Name() string
- func (fake *FakeWorker) NameCallCount() int
- func (fake *FakeWorker) NameReturns(result1 string)
- func (fake *FakeWorker) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) NoProxy() string
- func (fake *FakeWorker) NoProxyCallCount() int
- func (fake *FakeWorker) NoProxyReturns(result1 string)
- func (fake *FakeWorker) NoProxyReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) Platform() string
- func (fake *FakeWorker) PlatformCallCount() int
- func (fake *FakeWorker) PlatformReturns(result1 string)
- func (fake *FakeWorker) PlatformReturnsOnCall(i int, result1 string)
- func (fake *FakeWorker) Prune() error
- func (fake *FakeWorker) PruneCallCount() int
- func (fake *FakeWorker) PruneReturns(result1 error)
- func (fake *FakeWorker) PruneReturnsOnCall(i int, result1 error)
- func (fake *FakeWorker) Reload() (bool, error)
- func (fake *FakeWorker) ReloadCallCount() int
- func (fake *FakeWorker) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeWorker) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeWorker) ResourceTypes() []atc.WorkerResourceType
- func (fake *FakeWorker) ResourceTypesCallCount() int
- func (fake *FakeWorker) ResourceTypesReturns(result1 []atc.WorkerResourceType)
- func (fake *FakeWorker) ResourceTypesReturnsOnCall(i int, result1 []atc.WorkerResourceType)
- func (fake *FakeWorker) Retire() error
- func (fake *FakeWorker) RetireCallCount() int
- func (fake *FakeWorker) RetireReturns(result1 error)
- func (fake *FakeWorker) RetireReturnsOnCall(i int, result1 error)
- func (fake *FakeWorker) StartTime() int64
- func (fake *FakeWorker) StartTimeCallCount() int
- func (fake *FakeWorker) StartTimeReturns(result1 int64)
- func (fake *FakeWorker) StartTimeReturnsOnCall(i int, result1 int64)
- func (fake *FakeWorker) State() dbng.WorkerState
- func (fake *FakeWorker) StateCallCount() int
- func (fake *FakeWorker) StateReturns(result1 dbng.WorkerState)
- func (fake *FakeWorker) StateReturnsOnCall(i int, result1 dbng.WorkerState)
- func (fake *FakeWorker) Tags() []string
- func (fake *FakeWorker) TagsCallCount() int
- func (fake *FakeWorker) TagsReturns(result1 []string)
- func (fake *FakeWorker) TagsReturnsOnCall(i int, result1 []string)
- func (fake *FakeWorker) TeamID() int
- func (fake *FakeWorker) TeamIDCallCount() int
- func (fake *FakeWorker) TeamIDReturns(result1 int)
- func (fake *FakeWorker) TeamIDReturnsOnCall(i int, result1 int)
- func (fake *FakeWorker) TeamName() string
- func (fake *FakeWorker) TeamNameCallCount() int
- func (fake *FakeWorker) TeamNameReturns(result1 string)
- func (fake *FakeWorker) TeamNameReturnsOnCall(i int, result1 string)
- type FakeWorkerBaseResourceTypeFactory
- func (fake *FakeWorkerBaseResourceTypeFactory) Find(name string, worker dbng.Worker) (*dbng.UsedWorkerBaseResourceType, bool, error)
- func (fake *FakeWorkerBaseResourceTypeFactory) FindArgsForCall(i int) (string, dbng.Worker)
- func (fake *FakeWorkerBaseResourceTypeFactory) FindCallCount() int
- func (fake *FakeWorkerBaseResourceTypeFactory) FindReturns(result1 *dbng.UsedWorkerBaseResourceType, result2 bool, result3 error)
- func (fake *FakeWorkerBaseResourceTypeFactory) FindReturnsOnCall(i int, result1 *dbng.UsedWorkerBaseResourceType, result2 bool, result3 error)
- func (fake *FakeWorkerBaseResourceTypeFactory) Invocations() map[string][][]interface{}
- type FakeWorkerFactory
- func (fake *FakeWorkerFactory) GetWorker(name string) (dbng.Worker, bool, error)
- func (fake *FakeWorkerFactory) GetWorkerArgsForCall(i int) string
- func (fake *FakeWorkerFactory) GetWorkerCallCount() int
- func (fake *FakeWorkerFactory) GetWorkerReturns(result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeWorkerFactory) GetWorkerReturnsOnCall(i int, result1 dbng.Worker, result2 bool, result3 error)
- func (fake *FakeWorkerFactory) HeartbeatWorker(worker atc.Worker, ttl time.Duration) (dbng.Worker, error)
- func (fake *FakeWorkerFactory) HeartbeatWorkerArgsForCall(i int) (atc.Worker, time.Duration)
- func (fake *FakeWorkerFactory) HeartbeatWorkerCallCount() int
- func (fake *FakeWorkerFactory) HeartbeatWorkerReturns(result1 dbng.Worker, result2 error)
- func (fake *FakeWorkerFactory) HeartbeatWorkerReturnsOnCall(i int, result1 dbng.Worker, result2 error)
- func (fake *FakeWorkerFactory) Invocations() map[string][][]interface{}
- func (fake *FakeWorkerFactory) SaveWorker(atcWorker atc.Worker, ttl time.Duration) (dbng.Worker, error)
- func (fake *FakeWorkerFactory) SaveWorkerArgsForCall(i int) (atc.Worker, time.Duration)
- func (fake *FakeWorkerFactory) SaveWorkerCallCount() int
- func (fake *FakeWorkerFactory) SaveWorkerReturns(result1 dbng.Worker, result2 error)
- func (fake *FakeWorkerFactory) SaveWorkerReturnsOnCall(i int, result1 dbng.Worker, result2 error)
- func (fake *FakeWorkerFactory) Workers() ([]dbng.Worker, error)
- func (fake *FakeWorkerFactory) WorkersCallCount() int
- func (fake *FakeWorkerFactory) WorkersReturns(result1 []dbng.Worker, result2 error)
- func (fake *FakeWorkerFactory) WorkersReturnsOnCall(i int, result1 []dbng.Worker, result2 error)
- type FakeWorkerLifecycle
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkers() ([]string, error)
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersCallCount() int
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturns(result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) Invocations() map[string][][]interface{}
- func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkers() ([]string, error)
- func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersCallCount() int
- func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersReturns(result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkers() ([]string, error)
- func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersCallCount() int
- func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersReturns(result1 []string, result2 error)
- func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersReturnsOnCall(i int, result1 []string, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBaseResourceTypeFactory ¶
type FakeBaseResourceTypeFactory struct { FindStub func(name string) (*dbng.UsedBaseResourceType, bool, error) // contains filtered or unexported fields }
func (*FakeBaseResourceTypeFactory) Find ¶
func (fake *FakeBaseResourceTypeFactory) Find(name string) (*dbng.UsedBaseResourceType, bool, error)
func (*FakeBaseResourceTypeFactory) FindArgsForCall ¶
func (fake *FakeBaseResourceTypeFactory) FindArgsForCall(i int) string
func (*FakeBaseResourceTypeFactory) FindCallCount ¶
func (fake *FakeBaseResourceTypeFactory) FindCallCount() int
func (*FakeBaseResourceTypeFactory) FindReturns ¶
func (fake *FakeBaseResourceTypeFactory) FindReturns(result1 *dbng.UsedBaseResourceType, result2 bool, result3 error)
func (*FakeBaseResourceTypeFactory) FindReturnsOnCall ¶
func (fake *FakeBaseResourceTypeFactory) FindReturnsOnCall(i int, result1 *dbng.UsedBaseResourceType, result2 bool, result3 error)
func (*FakeBaseResourceTypeFactory) Invocations ¶
func (fake *FakeBaseResourceTypeFactory) Invocations() map[string][][]interface{}
type FakeContainer ¶
type FakeContainer struct { IDStub func() int HandleStub func() string WorkerNameStub func() string MetadataStub func() dbng.ContainerMetadata // contains filtered or unexported fields }
func (*FakeContainer) Handle ¶
func (fake *FakeContainer) Handle() string
func (*FakeContainer) HandleCallCount ¶
func (fake *FakeContainer) HandleCallCount() int
func (*FakeContainer) HandleReturns ¶
func (fake *FakeContainer) HandleReturns(result1 string)
func (*FakeContainer) HandleReturnsOnCall ¶
func (fake *FakeContainer) HandleReturnsOnCall(i int, result1 string)
func (*FakeContainer) ID ¶
func (fake *FakeContainer) ID() int
func (*FakeContainer) IDCallCount ¶
func (fake *FakeContainer) IDCallCount() int
func (*FakeContainer) IDReturns ¶
func (fake *FakeContainer) IDReturns(result1 int)
func (*FakeContainer) IDReturnsOnCall ¶
func (fake *FakeContainer) IDReturnsOnCall(i int, result1 int)
func (*FakeContainer) Invocations ¶
func (fake *FakeContainer) Invocations() map[string][][]interface{}
func (*FakeContainer) Metadata ¶
func (fake *FakeContainer) Metadata() dbng.ContainerMetadata
func (*FakeContainer) MetadataCallCount ¶
func (fake *FakeContainer) MetadataCallCount() int
func (*FakeContainer) MetadataReturns ¶
func (fake *FakeContainer) MetadataReturns(result1 dbng.ContainerMetadata)
func (*FakeContainer) MetadataReturnsOnCall ¶
func (fake *FakeContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
func (*FakeContainer) WorkerName ¶
func (fake *FakeContainer) WorkerName() string
func (*FakeContainer) WorkerNameCallCount ¶
func (fake *FakeContainer) WorkerNameCallCount() int
func (*FakeContainer) WorkerNameReturns ¶
func (fake *FakeContainer) WorkerNameReturns(result1 string)
func (*FakeContainer) WorkerNameReturnsOnCall ¶
func (fake *FakeContainer) WorkerNameReturnsOnCall(i int, result1 string)
type FakeContainerFactory ¶
type FakeContainerFactory struct { FindContainersForDeletionStub func() ([]dbng.CreatingContainer, []dbng.CreatedContainer, []dbng.DestroyingContainer, error) // contains filtered or unexported fields }
func (*FakeContainerFactory) FindContainersForDeletion ¶
func (fake *FakeContainerFactory) FindContainersForDeletion() ([]dbng.CreatingContainer, []dbng.CreatedContainer, []dbng.DestroyingContainer, error)
func (*FakeContainerFactory) FindContainersForDeletionCallCount ¶
func (fake *FakeContainerFactory) FindContainersForDeletionCallCount() int
func (*FakeContainerFactory) FindContainersForDeletionReturns ¶
func (fake *FakeContainerFactory) FindContainersForDeletionReturns(result1 []dbng.CreatingContainer, result2 []dbng.CreatedContainer, result3 []dbng.DestroyingContainer, result4 error)
func (*FakeContainerFactory) FindContainersForDeletionReturnsOnCall ¶
func (fake *FakeContainerFactory) FindContainersForDeletionReturnsOnCall(i int, result1 []dbng.CreatingContainer, result2 []dbng.CreatedContainer, result3 []dbng.DestroyingContainer, result4 error)
func (*FakeContainerFactory) Invocations ¶
func (fake *FakeContainerFactory) Invocations() map[string][][]interface{}
type FakeCreatedContainer ¶
type FakeCreatedContainer struct { IDStub func() int HandleStub func() string WorkerNameStub func() string MetadataStub func() dbng.ContainerMetadata DiscontinueStub func() (dbng.DestroyingContainer, error) DestroyingStub func() (dbng.DestroyingContainer, error) IsHijackedStub func() bool MarkAsHijackedStub func() error // contains filtered or unexported fields }
func (*FakeCreatedContainer) Destroying ¶
func (fake *FakeCreatedContainer) Destroying() (dbng.DestroyingContainer, error)
func (*FakeCreatedContainer) DestroyingCallCount ¶
func (fake *FakeCreatedContainer) DestroyingCallCount() int
func (*FakeCreatedContainer) DestroyingReturns ¶
func (fake *FakeCreatedContainer) DestroyingReturns(result1 dbng.DestroyingContainer, result2 error)
func (*FakeCreatedContainer) DestroyingReturnsOnCall ¶
func (fake *FakeCreatedContainer) DestroyingReturnsOnCall(i int, result1 dbng.DestroyingContainer, result2 error)
func (*FakeCreatedContainer) Discontinue ¶
func (fake *FakeCreatedContainer) Discontinue() (dbng.DestroyingContainer, error)
func (*FakeCreatedContainer) DiscontinueCallCount ¶
func (fake *FakeCreatedContainer) DiscontinueCallCount() int
func (*FakeCreatedContainer) DiscontinueReturns ¶
func (fake *FakeCreatedContainer) DiscontinueReturns(result1 dbng.DestroyingContainer, result2 error)
func (*FakeCreatedContainer) DiscontinueReturnsOnCall ¶
func (fake *FakeCreatedContainer) DiscontinueReturnsOnCall(i int, result1 dbng.DestroyingContainer, result2 error)
func (*FakeCreatedContainer) Handle ¶
func (fake *FakeCreatedContainer) Handle() string
func (*FakeCreatedContainer) HandleCallCount ¶
func (fake *FakeCreatedContainer) HandleCallCount() int
func (*FakeCreatedContainer) HandleReturns ¶
func (fake *FakeCreatedContainer) HandleReturns(result1 string)
func (*FakeCreatedContainer) HandleReturnsOnCall ¶
func (fake *FakeCreatedContainer) HandleReturnsOnCall(i int, result1 string)
func (*FakeCreatedContainer) ID ¶
func (fake *FakeCreatedContainer) ID() int
func (*FakeCreatedContainer) IDCallCount ¶
func (fake *FakeCreatedContainer) IDCallCount() int
func (*FakeCreatedContainer) IDReturns ¶
func (fake *FakeCreatedContainer) IDReturns(result1 int)
func (*FakeCreatedContainer) IDReturnsOnCall ¶
func (fake *FakeCreatedContainer) IDReturnsOnCall(i int, result1 int)
func (*FakeCreatedContainer) Invocations ¶
func (fake *FakeCreatedContainer) Invocations() map[string][][]interface{}
func (*FakeCreatedContainer) IsHijacked ¶
func (fake *FakeCreatedContainer) IsHijacked() bool
func (*FakeCreatedContainer) IsHijackedCallCount ¶
func (fake *FakeCreatedContainer) IsHijackedCallCount() int
func (*FakeCreatedContainer) IsHijackedReturns ¶
func (fake *FakeCreatedContainer) IsHijackedReturns(result1 bool)
func (*FakeCreatedContainer) IsHijackedReturnsOnCall ¶
func (fake *FakeCreatedContainer) IsHijackedReturnsOnCall(i int, result1 bool)
func (*FakeCreatedContainer) MarkAsHijacked ¶
func (fake *FakeCreatedContainer) MarkAsHijacked() error
func (*FakeCreatedContainer) MarkAsHijackedCallCount ¶
func (fake *FakeCreatedContainer) MarkAsHijackedCallCount() int
func (*FakeCreatedContainer) MarkAsHijackedReturns ¶
func (fake *FakeCreatedContainer) MarkAsHijackedReturns(result1 error)
func (*FakeCreatedContainer) MarkAsHijackedReturnsOnCall ¶
func (fake *FakeCreatedContainer) MarkAsHijackedReturnsOnCall(i int, result1 error)
func (*FakeCreatedContainer) Metadata ¶
func (fake *FakeCreatedContainer) Metadata() dbng.ContainerMetadata
func (*FakeCreatedContainer) MetadataCallCount ¶
func (fake *FakeCreatedContainer) MetadataCallCount() int
func (*FakeCreatedContainer) MetadataReturns ¶
func (fake *FakeCreatedContainer) MetadataReturns(result1 dbng.ContainerMetadata)
func (*FakeCreatedContainer) MetadataReturnsOnCall ¶
func (fake *FakeCreatedContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
func (*FakeCreatedContainer) WorkerName ¶
func (fake *FakeCreatedContainer) WorkerName() string
func (*FakeCreatedContainer) WorkerNameCallCount ¶
func (fake *FakeCreatedContainer) WorkerNameCallCount() int
func (*FakeCreatedContainer) WorkerNameReturns ¶
func (fake *FakeCreatedContainer) WorkerNameReturns(result1 string)
func (*FakeCreatedContainer) WorkerNameReturnsOnCall ¶
func (fake *FakeCreatedContainer) WorkerNameReturnsOnCall(i int, result1 string)
type FakeCreatedVolume ¶
type FakeCreatedVolume struct { HandleStub func() string PathStub func() string TypeStub func() dbng.VolumeType CreateChildForContainerStub func(dbng.CreatingContainer, string) (dbng.CreatingVolume, error) DestroyingStub func() (dbng.DestroyingVolume, error) WorkerStub func() dbng.Worker SizeInBytesStub func() int64 InitializeStub func() error IsInitializedStub func() (bool, error) ContainerHandleStub func() string ParentHandleStub func() string ResourceTypeStub func() (*dbng.VolumeResourceType, error) BaseResourceTypeStub func() (*dbng.UsedWorkerBaseResourceType, error) // contains filtered or unexported fields }
func (*FakeCreatedVolume) BaseResourceType ¶
func (fake *FakeCreatedVolume) BaseResourceType() (*dbng.UsedWorkerBaseResourceType, error)
func (*FakeCreatedVolume) BaseResourceTypeCallCount ¶
func (fake *FakeCreatedVolume) BaseResourceTypeCallCount() int
func (*FakeCreatedVolume) BaseResourceTypeReturns ¶
func (fake *FakeCreatedVolume) BaseResourceTypeReturns(result1 *dbng.UsedWorkerBaseResourceType, result2 error)
func (*FakeCreatedVolume) BaseResourceTypeReturnsOnCall ¶
func (fake *FakeCreatedVolume) BaseResourceTypeReturnsOnCall(i int, result1 *dbng.UsedWorkerBaseResourceType, result2 error)
func (*FakeCreatedVolume) ContainerHandle ¶
func (fake *FakeCreatedVolume) ContainerHandle() string
func (*FakeCreatedVolume) ContainerHandleCallCount ¶
func (fake *FakeCreatedVolume) ContainerHandleCallCount() int
func (*FakeCreatedVolume) ContainerHandleReturns ¶
func (fake *FakeCreatedVolume) ContainerHandleReturns(result1 string)
func (*FakeCreatedVolume) ContainerHandleReturnsOnCall ¶
func (fake *FakeCreatedVolume) ContainerHandleReturnsOnCall(i int, result1 string)
func (*FakeCreatedVolume) CreateChildForContainer ¶
func (fake *FakeCreatedVolume) CreateChildForContainer(arg1 dbng.CreatingContainer, arg2 string) (dbng.CreatingVolume, error)
func (*FakeCreatedVolume) CreateChildForContainerArgsForCall ¶
func (fake *FakeCreatedVolume) CreateChildForContainerArgsForCall(i int) (dbng.CreatingContainer, string)
func (*FakeCreatedVolume) CreateChildForContainerCallCount ¶
func (fake *FakeCreatedVolume) CreateChildForContainerCallCount() int
func (*FakeCreatedVolume) CreateChildForContainerReturns ¶
func (fake *FakeCreatedVolume) CreateChildForContainerReturns(result1 dbng.CreatingVolume, result2 error)
func (*FakeCreatedVolume) CreateChildForContainerReturnsOnCall ¶
func (fake *FakeCreatedVolume) CreateChildForContainerReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
func (*FakeCreatedVolume) Destroying ¶
func (fake *FakeCreatedVolume) Destroying() (dbng.DestroyingVolume, error)
func (*FakeCreatedVolume) DestroyingCallCount ¶
func (fake *FakeCreatedVolume) DestroyingCallCount() int
func (*FakeCreatedVolume) DestroyingReturns ¶
func (fake *FakeCreatedVolume) DestroyingReturns(result1 dbng.DestroyingVolume, result2 error)
func (*FakeCreatedVolume) DestroyingReturnsOnCall ¶
func (fake *FakeCreatedVolume) DestroyingReturnsOnCall(i int, result1 dbng.DestroyingVolume, result2 error)
func (*FakeCreatedVolume) Handle ¶
func (fake *FakeCreatedVolume) Handle() string
func (*FakeCreatedVolume) HandleCallCount ¶
func (fake *FakeCreatedVolume) HandleCallCount() int
func (*FakeCreatedVolume) HandleReturns ¶
func (fake *FakeCreatedVolume) HandleReturns(result1 string)
func (*FakeCreatedVolume) HandleReturnsOnCall ¶
func (fake *FakeCreatedVolume) HandleReturnsOnCall(i int, result1 string)
func (*FakeCreatedVolume) Initialize ¶
func (fake *FakeCreatedVolume) Initialize() error
func (*FakeCreatedVolume) InitializeCallCount ¶
func (fake *FakeCreatedVolume) InitializeCallCount() int
func (*FakeCreatedVolume) InitializeReturns ¶
func (fake *FakeCreatedVolume) InitializeReturns(result1 error)
func (*FakeCreatedVolume) InitializeReturnsOnCall ¶
func (fake *FakeCreatedVolume) InitializeReturnsOnCall(i int, result1 error)
func (*FakeCreatedVolume) Invocations ¶
func (fake *FakeCreatedVolume) Invocations() map[string][][]interface{}
func (*FakeCreatedVolume) IsInitialized ¶
func (fake *FakeCreatedVolume) IsInitialized() (bool, error)
func (*FakeCreatedVolume) IsInitializedCallCount ¶
func (fake *FakeCreatedVolume) IsInitializedCallCount() int
func (*FakeCreatedVolume) IsInitializedReturns ¶
func (fake *FakeCreatedVolume) IsInitializedReturns(result1 bool, result2 error)
func (*FakeCreatedVolume) IsInitializedReturnsOnCall ¶
func (fake *FakeCreatedVolume) IsInitializedReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeCreatedVolume) ParentHandle ¶
func (fake *FakeCreatedVolume) ParentHandle() string
func (*FakeCreatedVolume) ParentHandleCallCount ¶
func (fake *FakeCreatedVolume) ParentHandleCallCount() int
func (*FakeCreatedVolume) ParentHandleReturns ¶
func (fake *FakeCreatedVolume) ParentHandleReturns(result1 string)
func (*FakeCreatedVolume) ParentHandleReturnsOnCall ¶
func (fake *FakeCreatedVolume) ParentHandleReturnsOnCall(i int, result1 string)
func (*FakeCreatedVolume) Path ¶
func (fake *FakeCreatedVolume) Path() string
func (*FakeCreatedVolume) PathCallCount ¶
func (fake *FakeCreatedVolume) PathCallCount() int
func (*FakeCreatedVolume) PathReturns ¶
func (fake *FakeCreatedVolume) PathReturns(result1 string)
func (*FakeCreatedVolume) PathReturnsOnCall ¶
func (fake *FakeCreatedVolume) PathReturnsOnCall(i int, result1 string)
func (*FakeCreatedVolume) ResourceType ¶
func (fake *FakeCreatedVolume) ResourceType() (*dbng.VolumeResourceType, error)
func (*FakeCreatedVolume) ResourceTypeCallCount ¶
func (fake *FakeCreatedVolume) ResourceTypeCallCount() int
func (*FakeCreatedVolume) ResourceTypeReturns ¶
func (fake *FakeCreatedVolume) ResourceTypeReturns(result1 *dbng.VolumeResourceType, result2 error)
func (*FakeCreatedVolume) ResourceTypeReturnsOnCall ¶
func (fake *FakeCreatedVolume) ResourceTypeReturnsOnCall(i int, result1 *dbng.VolumeResourceType, result2 error)
func (*FakeCreatedVolume) SizeInBytes ¶
func (fake *FakeCreatedVolume) SizeInBytes() int64
func (*FakeCreatedVolume) SizeInBytesCallCount ¶
func (fake *FakeCreatedVolume) SizeInBytesCallCount() int
func (*FakeCreatedVolume) SizeInBytesReturns ¶
func (fake *FakeCreatedVolume) SizeInBytesReturns(result1 int64)
func (*FakeCreatedVolume) SizeInBytesReturnsOnCall ¶
func (fake *FakeCreatedVolume) SizeInBytesReturnsOnCall(i int, result1 int64)
func (*FakeCreatedVolume) Type ¶
func (fake *FakeCreatedVolume) Type() dbng.VolumeType
func (*FakeCreatedVolume) TypeCallCount ¶
func (fake *FakeCreatedVolume) TypeCallCount() int
func (*FakeCreatedVolume) TypeReturns ¶
func (fake *FakeCreatedVolume) TypeReturns(result1 dbng.VolumeType)
func (*FakeCreatedVolume) TypeReturnsOnCall ¶
func (fake *FakeCreatedVolume) TypeReturnsOnCall(i int, result1 dbng.VolumeType)
func (*FakeCreatedVolume) Worker ¶
func (fake *FakeCreatedVolume) Worker() dbng.Worker
func (*FakeCreatedVolume) WorkerCallCount ¶
func (fake *FakeCreatedVolume) WorkerCallCount() int
func (*FakeCreatedVolume) WorkerReturns ¶
func (fake *FakeCreatedVolume) WorkerReturns(result1 dbng.Worker)
func (*FakeCreatedVolume) WorkerReturnsOnCall ¶
func (fake *FakeCreatedVolume) WorkerReturnsOnCall(i int, result1 dbng.Worker)
type FakeCreatingContainer ¶
type FakeCreatingContainer struct { IDStub func() int HandleStub func() string WorkerNameStub func() string MetadataStub func() dbng.ContainerMetadata CreatedStub func() (dbng.CreatedContainer, error) // contains filtered or unexported fields }
func (*FakeCreatingContainer) Created ¶
func (fake *FakeCreatingContainer) Created() (dbng.CreatedContainer, error)
func (*FakeCreatingContainer) CreatedCallCount ¶
func (fake *FakeCreatingContainer) CreatedCallCount() int
func (*FakeCreatingContainer) CreatedReturns ¶
func (fake *FakeCreatingContainer) CreatedReturns(result1 dbng.CreatedContainer, result2 error)
func (*FakeCreatingContainer) CreatedReturnsOnCall ¶
func (fake *FakeCreatingContainer) CreatedReturnsOnCall(i int, result1 dbng.CreatedContainer, result2 error)
func (*FakeCreatingContainer) Handle ¶
func (fake *FakeCreatingContainer) Handle() string
func (*FakeCreatingContainer) HandleCallCount ¶
func (fake *FakeCreatingContainer) HandleCallCount() int
func (*FakeCreatingContainer) HandleReturns ¶
func (fake *FakeCreatingContainer) HandleReturns(result1 string)
func (*FakeCreatingContainer) HandleReturnsOnCall ¶
func (fake *FakeCreatingContainer) HandleReturnsOnCall(i int, result1 string)
func (*FakeCreatingContainer) ID ¶
func (fake *FakeCreatingContainer) ID() int
func (*FakeCreatingContainer) IDCallCount ¶
func (fake *FakeCreatingContainer) IDCallCount() int
func (*FakeCreatingContainer) IDReturns ¶
func (fake *FakeCreatingContainer) IDReturns(result1 int)
func (*FakeCreatingContainer) IDReturnsOnCall ¶
func (fake *FakeCreatingContainer) IDReturnsOnCall(i int, result1 int)
func (*FakeCreatingContainer) Invocations ¶
func (fake *FakeCreatingContainer) Invocations() map[string][][]interface{}
func (*FakeCreatingContainer) Metadata ¶
func (fake *FakeCreatingContainer) Metadata() dbng.ContainerMetadata
func (*FakeCreatingContainer) MetadataCallCount ¶
func (fake *FakeCreatingContainer) MetadataCallCount() int
func (*FakeCreatingContainer) MetadataReturns ¶
func (fake *FakeCreatingContainer) MetadataReturns(result1 dbng.ContainerMetadata)
func (*FakeCreatingContainer) MetadataReturnsOnCall ¶
func (fake *FakeCreatingContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
func (*FakeCreatingContainer) WorkerName ¶
func (fake *FakeCreatingContainer) WorkerName() string
func (*FakeCreatingContainer) WorkerNameCallCount ¶
func (fake *FakeCreatingContainer) WorkerNameCallCount() int
func (*FakeCreatingContainer) WorkerNameReturns ¶
func (fake *FakeCreatingContainer) WorkerNameReturns(result1 string)
func (*FakeCreatingContainer) WorkerNameReturnsOnCall ¶
func (fake *FakeCreatingContainer) WorkerNameReturnsOnCall(i int, result1 string)
type FakeCreatingVolume ¶
type FakeCreatingVolume struct { HandleStub func() string IDStub func() int CreatedStub func() (dbng.CreatedVolume, error) // contains filtered or unexported fields }
func (*FakeCreatingVolume) Created ¶
func (fake *FakeCreatingVolume) Created() (dbng.CreatedVolume, error)
func (*FakeCreatingVolume) CreatedCallCount ¶
func (fake *FakeCreatingVolume) CreatedCallCount() int
func (*FakeCreatingVolume) CreatedReturns ¶
func (fake *FakeCreatingVolume) CreatedReturns(result1 dbng.CreatedVolume, result2 error)
func (*FakeCreatingVolume) CreatedReturnsOnCall ¶
func (fake *FakeCreatingVolume) CreatedReturnsOnCall(i int, result1 dbng.CreatedVolume, result2 error)
func (*FakeCreatingVolume) Handle ¶
func (fake *FakeCreatingVolume) Handle() string
func (*FakeCreatingVolume) HandleCallCount ¶
func (fake *FakeCreatingVolume) HandleCallCount() int
func (*FakeCreatingVolume) HandleReturns ¶
func (fake *FakeCreatingVolume) HandleReturns(result1 string)
func (*FakeCreatingVolume) HandleReturnsOnCall ¶
func (fake *FakeCreatingVolume) HandleReturnsOnCall(i int, result1 string)
func (*FakeCreatingVolume) ID ¶
func (fake *FakeCreatingVolume) ID() int
func (*FakeCreatingVolume) IDCallCount ¶
func (fake *FakeCreatingVolume) IDCallCount() int
func (*FakeCreatingVolume) IDReturns ¶
func (fake *FakeCreatingVolume) IDReturns(result1 int)
func (*FakeCreatingVolume) IDReturnsOnCall ¶
func (fake *FakeCreatingVolume) IDReturnsOnCall(i int, result1 int)
func (*FakeCreatingVolume) Invocations ¶
func (fake *FakeCreatingVolume) Invocations() map[string][][]interface{}
type FakeDestroyingContainer ¶
type FakeDestroyingContainer struct { IDStub func() int HandleStub func() string WorkerNameStub func() string MetadataStub func() dbng.ContainerMetadata DestroyStub func() (bool, error) IsDiscontinuedStub func() bool // contains filtered or unexported fields }
func (*FakeDestroyingContainer) Destroy ¶
func (fake *FakeDestroyingContainer) Destroy() (bool, error)
func (*FakeDestroyingContainer) DestroyCallCount ¶
func (fake *FakeDestroyingContainer) DestroyCallCount() int
func (*FakeDestroyingContainer) DestroyReturns ¶
func (fake *FakeDestroyingContainer) DestroyReturns(result1 bool, result2 error)
func (*FakeDestroyingContainer) DestroyReturnsOnCall ¶
func (fake *FakeDestroyingContainer) DestroyReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeDestroyingContainer) Handle ¶
func (fake *FakeDestroyingContainer) Handle() string
func (*FakeDestroyingContainer) HandleCallCount ¶
func (fake *FakeDestroyingContainer) HandleCallCount() int
func (*FakeDestroyingContainer) HandleReturns ¶
func (fake *FakeDestroyingContainer) HandleReturns(result1 string)
func (*FakeDestroyingContainer) HandleReturnsOnCall ¶
func (fake *FakeDestroyingContainer) HandleReturnsOnCall(i int, result1 string)
func (*FakeDestroyingContainer) ID ¶
func (fake *FakeDestroyingContainer) ID() int
func (*FakeDestroyingContainer) IDCallCount ¶
func (fake *FakeDestroyingContainer) IDCallCount() int
func (*FakeDestroyingContainer) IDReturns ¶
func (fake *FakeDestroyingContainer) IDReturns(result1 int)
func (*FakeDestroyingContainer) IDReturnsOnCall ¶
func (fake *FakeDestroyingContainer) IDReturnsOnCall(i int, result1 int)
func (*FakeDestroyingContainer) Invocations ¶
func (fake *FakeDestroyingContainer) Invocations() map[string][][]interface{}
func (*FakeDestroyingContainer) IsDiscontinued ¶
func (fake *FakeDestroyingContainer) IsDiscontinued() bool
func (*FakeDestroyingContainer) IsDiscontinuedCallCount ¶
func (fake *FakeDestroyingContainer) IsDiscontinuedCallCount() int
func (*FakeDestroyingContainer) IsDiscontinuedReturns ¶
func (fake *FakeDestroyingContainer) IsDiscontinuedReturns(result1 bool)
func (*FakeDestroyingContainer) IsDiscontinuedReturnsOnCall ¶
func (fake *FakeDestroyingContainer) IsDiscontinuedReturnsOnCall(i int, result1 bool)
func (*FakeDestroyingContainer) Metadata ¶
func (fake *FakeDestroyingContainer) Metadata() dbng.ContainerMetadata
func (*FakeDestroyingContainer) MetadataCallCount ¶
func (fake *FakeDestroyingContainer) MetadataCallCount() int
func (*FakeDestroyingContainer) MetadataReturns ¶
func (fake *FakeDestroyingContainer) MetadataReturns(result1 dbng.ContainerMetadata)
func (*FakeDestroyingContainer) MetadataReturnsOnCall ¶
func (fake *FakeDestroyingContainer) MetadataReturnsOnCall(i int, result1 dbng.ContainerMetadata)
func (*FakeDestroyingContainer) WorkerName ¶
func (fake *FakeDestroyingContainer) WorkerName() string
func (*FakeDestroyingContainer) WorkerNameCallCount ¶
func (fake *FakeDestroyingContainer) WorkerNameCallCount() int
func (*FakeDestroyingContainer) WorkerNameReturns ¶
func (fake *FakeDestroyingContainer) WorkerNameReturns(result1 string)
func (*FakeDestroyingContainer) WorkerNameReturnsOnCall ¶
func (fake *FakeDestroyingContainer) WorkerNameReturnsOnCall(i int, result1 string)
type FakePipeline ¶
type FakePipeline struct { IDStub func() int NameStub func() string TeamIDStub func() int ConfigVersionStub func() dbng.ConfigVersion SaveJobStub func(job atc.JobConfig) error CreateJobBuildStub func(jobName string) (dbng.Build, error) CreateResourceStub func(name string, config atc.ResourceConfig) (*dbng.Resource, error) AcquireResourceCheckingLockStub func(logger lager.Logger, resource *dbng.Resource, resourceTypes atc.VersionedResourceTypes, length time.Duration, immediate bool) (lock.Lock, bool, error) ResourceTypesStub func() ([]dbng.ResourceType, error) ResourceTypeStub func(name string) (dbng.ResourceType, bool, error) DestroyStub func() error // contains filtered or unexported fields }
func (*FakePipeline) AcquireResourceCheckingLock ¶
func (*FakePipeline) AcquireResourceCheckingLockArgsForCall ¶
func (*FakePipeline) AcquireResourceCheckingLockCallCount ¶
func (fake *FakePipeline) AcquireResourceCheckingLockCallCount() int
func (*FakePipeline) AcquireResourceCheckingLockReturns ¶
func (fake *FakePipeline) AcquireResourceCheckingLockReturns(result1 lock.Lock, result2 bool, result3 error)
func (*FakePipeline) AcquireResourceCheckingLockReturnsOnCall ¶
func (*FakePipeline) ConfigVersion ¶
func (fake *FakePipeline) ConfigVersion() dbng.ConfigVersion
func (*FakePipeline) ConfigVersionCallCount ¶
func (fake *FakePipeline) ConfigVersionCallCount() int
func (*FakePipeline) ConfigVersionReturns ¶
func (fake *FakePipeline) ConfigVersionReturns(result1 dbng.ConfigVersion)
func (*FakePipeline) ConfigVersionReturnsOnCall ¶
func (fake *FakePipeline) ConfigVersionReturnsOnCall(i int, result1 dbng.ConfigVersion)
func (*FakePipeline) CreateJobBuild ¶
func (fake *FakePipeline) CreateJobBuild(jobName string) (dbng.Build, error)
func (*FakePipeline) CreateJobBuildArgsForCall ¶
func (fake *FakePipeline) CreateJobBuildArgsForCall(i int) string
func (*FakePipeline) CreateJobBuildCallCount ¶
func (fake *FakePipeline) CreateJobBuildCallCount() int
func (*FakePipeline) CreateJobBuildReturns ¶
func (fake *FakePipeline) CreateJobBuildReturns(result1 dbng.Build, result2 error)
func (*FakePipeline) CreateJobBuildReturnsOnCall ¶
func (fake *FakePipeline) CreateJobBuildReturnsOnCall(i int, result1 dbng.Build, result2 error)
func (*FakePipeline) CreateResource ¶
func (fake *FakePipeline) CreateResource(name string, config atc.ResourceConfig) (*dbng.Resource, error)
func (*FakePipeline) CreateResourceArgsForCall ¶
func (fake *FakePipeline) CreateResourceArgsForCall(i int) (string, atc.ResourceConfig)
func (*FakePipeline) CreateResourceCallCount ¶
func (fake *FakePipeline) CreateResourceCallCount() int
func (*FakePipeline) CreateResourceReturns ¶
func (fake *FakePipeline) CreateResourceReturns(result1 *dbng.Resource, result2 error)
func (*FakePipeline) CreateResourceReturnsOnCall ¶
func (fake *FakePipeline) CreateResourceReturnsOnCall(i int, result1 *dbng.Resource, result2 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) 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) 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) ResourceType ¶
func (fake *FakePipeline) ResourceType(name string) (dbng.ResourceType, bool, error)
func (*FakePipeline) ResourceTypeArgsForCall ¶
func (fake *FakePipeline) ResourceTypeArgsForCall(i int) string
func (*FakePipeline) ResourceTypeCallCount ¶
func (fake *FakePipeline) ResourceTypeCallCount() int
func (*FakePipeline) ResourceTypeReturns ¶
func (fake *FakePipeline) ResourceTypeReturns(result1 dbng.ResourceType, result2 bool, result3 error)
func (*FakePipeline) ResourceTypeReturnsOnCall ¶
func (fake *FakePipeline) ResourceTypeReturnsOnCall(i int, result1 dbng.ResourceType, result2 bool, result3 error)
func (*FakePipeline) ResourceTypes ¶
func (fake *FakePipeline) ResourceTypes() ([]dbng.ResourceType, error)
func (*FakePipeline) ResourceTypesCallCount ¶
func (fake *FakePipeline) ResourceTypesCallCount() int
func (*FakePipeline) ResourceTypesReturns ¶
func (fake *FakePipeline) ResourceTypesReturns(result1 []dbng.ResourceType, result2 error)
func (*FakePipeline) ResourceTypesReturnsOnCall ¶
func (fake *FakePipeline) ResourceTypesReturnsOnCall(i int, result1 []dbng.ResourceType, result2 error)
func (*FakePipeline) SaveJobArgsForCall ¶
func (fake *FakePipeline) SaveJobArgsForCall(i int) atc.JobConfig
func (*FakePipeline) SaveJobCallCount ¶
func (fake *FakePipeline) SaveJobCallCount() int
func (*FakePipeline) SaveJobReturns ¶
func (fake *FakePipeline) SaveJobReturns(result1 error)
func (*FakePipeline) SaveJobReturnsOnCall ¶
func (fake *FakePipeline) SaveJobReturnsOnCall(i int, result1 error)
func (*FakePipeline) 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)
type FakePipelineFactory ¶
type FakePipelineFactory struct { GetPipelineByIDStub func(teamID int, pipelineID int) dbng.Pipeline // contains filtered or unexported fields }
func (*FakePipelineFactory) GetPipelineByID ¶
func (fake *FakePipelineFactory) GetPipelineByID(teamID int, pipelineID int) dbng.Pipeline
func (*FakePipelineFactory) GetPipelineByIDArgsForCall ¶
func (fake *FakePipelineFactory) GetPipelineByIDArgsForCall(i int) (int, int)
func (*FakePipelineFactory) GetPipelineByIDCallCount ¶
func (fake *FakePipelineFactory) GetPipelineByIDCallCount() int
func (*FakePipelineFactory) GetPipelineByIDReturns ¶
func (fake *FakePipelineFactory) GetPipelineByIDReturns(result1 dbng.Pipeline)
func (*FakePipelineFactory) GetPipelineByIDReturnsOnCall ¶
func (fake *FakePipelineFactory) GetPipelineByIDReturnsOnCall(i int, result1 dbng.Pipeline)
func (*FakePipelineFactory) Invocations ¶
func (fake *FakePipelineFactory) Invocations() map[string][][]interface{}
type FakeResourceCacheFactory ¶
type FakeResourceCacheFactory struct { FindOrCreateResourceCacheStub func(logger lager.Logger, resourceUser dbng.ResourceUser, resourceTypeName string, version atc.Version, source atc.Source, params atc.Params, resourceTypes atc.VersionedResourceTypes) (*dbng.UsedResourceCache, error) CleanUsesForFinishedBuildsStub func() error CleanUsesForInactiveResourceTypesStub func() error CleanUsesForInactiveResourcesStub func() error CleanUpInvalidCachesStub func() error // contains filtered or unexported fields }
func (*FakeResourceCacheFactory) CleanUpInvalidCaches ¶
func (fake *FakeResourceCacheFactory) CleanUpInvalidCaches() error
func (*FakeResourceCacheFactory) CleanUpInvalidCachesCallCount ¶
func (fake *FakeResourceCacheFactory) CleanUpInvalidCachesCallCount() int
func (*FakeResourceCacheFactory) CleanUpInvalidCachesReturns ¶
func (fake *FakeResourceCacheFactory) CleanUpInvalidCachesReturns(result1 error)
func (*FakeResourceCacheFactory) CleanUpInvalidCachesReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) CleanUpInvalidCachesReturnsOnCall(i int, result1 error)
func (*FakeResourceCacheFactory) CleanUsesForFinishedBuilds ¶
func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuilds() error
func (*FakeResourceCacheFactory) CleanUsesForFinishedBuildsCallCount ¶
func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuildsCallCount() int
func (*FakeResourceCacheFactory) CleanUsesForFinishedBuildsReturns ¶
func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuildsReturns(result1 error)
func (*FakeResourceCacheFactory) CleanUsesForFinishedBuildsReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) CleanUsesForFinishedBuildsReturnsOnCall(i int, result1 error)
func (*FakeResourceCacheFactory) CleanUsesForInactiveResourceTypes ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypes() error
func (*FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesCallCount ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesCallCount() int
func (*FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesReturns ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesReturns(result1 error)
func (*FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourceTypesReturnsOnCall(i int, result1 error)
func (*FakeResourceCacheFactory) CleanUsesForInactiveResources ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResources() error
func (*FakeResourceCacheFactory) CleanUsesForInactiveResourcesCallCount ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourcesCallCount() int
func (*FakeResourceCacheFactory) CleanUsesForInactiveResourcesReturns ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourcesReturns(result1 error)
func (*FakeResourceCacheFactory) CleanUsesForInactiveResourcesReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) CleanUsesForInactiveResourcesReturnsOnCall(i int, result1 error)
func (*FakeResourceCacheFactory) FindOrCreateResourceCache ¶
func (fake *FakeResourceCacheFactory) FindOrCreateResourceCache(logger lager.Logger, resourceUser dbng.ResourceUser, resourceTypeName string, version atc.Version, source atc.Source, params atc.Params, resourceTypes atc.VersionedResourceTypes) (*dbng.UsedResourceCache, error)
func (*FakeResourceCacheFactory) FindOrCreateResourceCacheArgsForCall ¶
func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheArgsForCall(i int) (lager.Logger, dbng.ResourceUser, string, atc.Version, atc.Source, atc.Params, atc.VersionedResourceTypes)
func (*FakeResourceCacheFactory) FindOrCreateResourceCacheCallCount ¶
func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheCallCount() int
func (*FakeResourceCacheFactory) FindOrCreateResourceCacheReturns ¶
func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturns(result1 *dbng.UsedResourceCache, result2 error)
func (*FakeResourceCacheFactory) FindOrCreateResourceCacheReturnsOnCall ¶
func (fake *FakeResourceCacheFactory) FindOrCreateResourceCacheReturnsOnCall(i int, result1 *dbng.UsedResourceCache, result2 error)
func (*FakeResourceCacheFactory) Invocations ¶
func (fake *FakeResourceCacheFactory) Invocations() map[string][][]interface{}
type FakeResourceConfigFactory ¶
type FakeResourceConfigFactory struct { FindOrCreateResourceConfigStub func(logger lager.Logger, user dbng.ResourceUser, resourceType string, source atc.Source, resourceTypes atc.VersionedResourceTypes) (*dbng.UsedResourceConfig, error) CleanConfigUsesForFinishedBuildsStub func() error CleanConfigUsesForInactiveResourceTypesStub func() error CleanConfigUsesForInactiveResourcesStub func() error CleanUselessConfigsStub func() error // contains filtered or unexported fields }
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) CleanUselessConfigs ¶
func (fake *FakeResourceConfigFactory) CleanUselessConfigs() error
func (*FakeResourceConfigFactory) CleanUselessConfigsCallCount ¶
func (fake *FakeResourceConfigFactory) CleanUselessConfigsCallCount() int
func (*FakeResourceConfigFactory) CleanUselessConfigsReturns ¶
func (fake *FakeResourceConfigFactory) CleanUselessConfigsReturns(result1 error)
func (*FakeResourceConfigFactory) CleanUselessConfigsReturnsOnCall ¶
func (fake *FakeResourceConfigFactory) CleanUselessConfigsReturnsOnCall(i int, result1 error)
func (*FakeResourceConfigFactory) FindOrCreateResourceConfig ¶
func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfig(logger lager.Logger, user dbng.ResourceUser, resourceType string, source atc.Source, resourceTypes atc.VersionedResourceTypes) (*dbng.UsedResourceConfig, error)
func (*FakeResourceConfigFactory) FindOrCreateResourceConfigArgsForCall ¶
func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigArgsForCall(i int) (lager.Logger, dbng.ResourceUser, string, atc.Source, atc.VersionedResourceTypes)
func (*FakeResourceConfigFactory) FindOrCreateResourceConfigCallCount ¶
func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigCallCount() int
func (*FakeResourceConfigFactory) FindOrCreateResourceConfigReturns ¶
func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturns(result1 *dbng.UsedResourceConfig, result2 error)
func (*FakeResourceConfigFactory) FindOrCreateResourceConfigReturnsOnCall ¶
func (fake *FakeResourceConfigFactory) FindOrCreateResourceConfigReturnsOnCall(i int, result1 *dbng.UsedResourceConfig, result2 error)
func (*FakeResourceConfigFactory) Invocations ¶
func (fake *FakeResourceConfigFactory) Invocations() map[string][][]interface{}
type FakeResourceType ¶
type FakeResourceType struct { IDStub func() int NameStub func() string TypeStub func() string SourceStub func() atc.Source VersionStub func() atc.Version SaveVersionStub func(atc.Version) error ReloadStub func() (bool, error) // contains filtered or unexported fields }
func (*FakeResourceType) ID ¶
func (fake *FakeResourceType) ID() int
func (*FakeResourceType) IDCallCount ¶
func (fake *FakeResourceType) IDCallCount() int
func (*FakeResourceType) IDReturns ¶
func (fake *FakeResourceType) IDReturns(result1 int)
func (*FakeResourceType) IDReturnsOnCall ¶
func (fake *FakeResourceType) IDReturnsOnCall(i int, result1 int)
func (*FakeResourceType) Invocations ¶
func (fake *FakeResourceType) Invocations() map[string][][]interface{}
func (*FakeResourceType) Name ¶
func (fake *FakeResourceType) Name() string
func (*FakeResourceType) NameCallCount ¶
func (fake *FakeResourceType) NameCallCount() int
func (*FakeResourceType) NameReturns ¶
func (fake *FakeResourceType) NameReturns(result1 string)
func (*FakeResourceType) NameReturnsOnCall ¶
func (fake *FakeResourceType) NameReturnsOnCall(i int, result1 string)
func (*FakeResourceType) Reload ¶
func (fake *FakeResourceType) Reload() (bool, error)
func (*FakeResourceType) ReloadCallCount ¶
func (fake *FakeResourceType) ReloadCallCount() int
func (*FakeResourceType) ReloadReturns ¶
func (fake *FakeResourceType) ReloadReturns(result1 bool, result2 error)
func (*FakeResourceType) ReloadReturnsOnCall ¶
func (fake *FakeResourceType) ReloadReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeResourceType) SaveVersion ¶
func (fake *FakeResourceType) SaveVersion(arg1 atc.Version) error
func (*FakeResourceType) SaveVersionArgsForCall ¶
func (fake *FakeResourceType) SaveVersionArgsForCall(i int) atc.Version
func (*FakeResourceType) SaveVersionCallCount ¶
func (fake *FakeResourceType) SaveVersionCallCount() int
func (*FakeResourceType) SaveVersionReturns ¶
func (fake *FakeResourceType) SaveVersionReturns(result1 error)
func (*FakeResourceType) SaveVersionReturnsOnCall ¶
func (fake *FakeResourceType) SaveVersionReturnsOnCall(i int, result1 error)
func (*FakeResourceType) Source ¶
func (fake *FakeResourceType) Source() atc.Source
func (*FakeResourceType) SourceCallCount ¶
func (fake *FakeResourceType) SourceCallCount() int
func (*FakeResourceType) SourceReturns ¶
func (fake *FakeResourceType) SourceReturns(result1 atc.Source)
func (*FakeResourceType) SourceReturnsOnCall ¶
func (fake *FakeResourceType) SourceReturnsOnCall(i int, result1 atc.Source)
func (*FakeResourceType) Type ¶
func (fake *FakeResourceType) Type() string
func (*FakeResourceType) TypeCallCount ¶
func (fake *FakeResourceType) TypeCallCount() int
func (*FakeResourceType) TypeReturns ¶
func (fake *FakeResourceType) TypeReturns(result1 string)
func (*FakeResourceType) TypeReturnsOnCall ¶
func (fake *FakeResourceType) TypeReturnsOnCall(i int, result1 string)
func (*FakeResourceType) Version ¶
func (fake *FakeResourceType) Version() atc.Version
func (*FakeResourceType) VersionCallCount ¶
func (fake *FakeResourceType) VersionCallCount() int
func (*FakeResourceType) VersionReturns ¶
func (fake *FakeResourceType) VersionReturns(result1 atc.Version)
func (*FakeResourceType) VersionReturnsOnCall ¶
func (fake *FakeResourceType) VersionReturnsOnCall(i int, result1 atc.Version)
type FakeTeam ¶
type FakeTeam struct { IDStub func() int SavePipelineStub func(pipelineName string, config atc.Config, from dbng.ConfigVersion, pausedState dbng.PipelinePausedState) (dbng.Pipeline, bool, error) FindPipelineByNameStub func(pipelineName string) (dbng.Pipeline, bool, error) CreateOneOffBuildStub func() (dbng.Build, error) SaveWorkerStub func(atcWorker atc.Worker, ttl time.Duration) (dbng.Worker, error) WorkersStub func() ([]dbng.Worker, error) FindContainerByHandleStub func(string) (dbng.Container, bool, error) FindContainersByMetadataStub func(dbng.ContainerMetadata) ([]dbng.Container, error) FindCreatedContainerByHandleStub func(string) (dbng.CreatedContainer, bool, error) FindWorkerForResourceCheckContainerStub func(resourceConfig *dbng.UsedResourceConfig) (dbng.Worker, bool, error) FindResourceCheckContainerOnWorkerStub func(workerName string, resourceConfig *dbng.UsedResourceConfig) (dbng.CreatingContainer, dbng.CreatedContainer, error) CreateResourceCheckContainerStub func(workerName string, resourceConfig *dbng.UsedResourceConfig, meta dbng.ContainerMetadata) (dbng.CreatingContainer, error) CreateResourceGetContainerStub func(workerName string, resourceConfig *dbng.UsedResourceCache, meta dbng.ContainerMetadata) (dbng.CreatingContainer, error) FindWorkerForContainerStub func(handle string) (dbng.Worker, bool, error) FindWorkerForBuildContainerStub func(buildID int, planID atc.PlanID) (dbng.Worker, bool, error) FindBuildContainerOnWorkerStub func(workerName string, buildID int, planID atc.PlanID) (dbng.CreatingContainer, dbng.CreatedContainer, error) CreateBuildContainerStub func(workerName string, buildID int, planID atc.PlanID, meta dbng.ContainerMetadata) (dbng.CreatingContainer, error) // contains filtered or unexported fields }
func (*FakeTeam) CreateBuildContainer ¶
func (fake *FakeTeam) CreateBuildContainer(workerName string, buildID int, planID atc.PlanID, meta dbng.ContainerMetadata) (dbng.CreatingContainer, error)
func (*FakeTeam) CreateBuildContainerArgsForCall ¶
func (*FakeTeam) CreateBuildContainerCallCount ¶
func (*FakeTeam) CreateBuildContainerReturns ¶
func (fake *FakeTeam) CreateBuildContainerReturns(result1 dbng.CreatingContainer, result2 error)
func (*FakeTeam) CreateBuildContainerReturnsOnCall ¶
func (fake *FakeTeam) CreateBuildContainerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 error)
func (*FakeTeam) CreateOneOffBuildCallCount ¶
func (*FakeTeam) CreateOneOffBuildReturns ¶
func (*FakeTeam) CreateOneOffBuildReturnsOnCall ¶
func (*FakeTeam) CreateResourceCheckContainer ¶
func (fake *FakeTeam) CreateResourceCheckContainer(workerName string, resourceConfig *dbng.UsedResourceConfig, meta dbng.ContainerMetadata) (dbng.CreatingContainer, error)
func (*FakeTeam) CreateResourceCheckContainerArgsForCall ¶
func (fake *FakeTeam) CreateResourceCheckContainerArgsForCall(i int) (string, *dbng.UsedResourceConfig, dbng.ContainerMetadata)
func (*FakeTeam) CreateResourceCheckContainerCallCount ¶
func (*FakeTeam) CreateResourceCheckContainerReturns ¶
func (fake *FakeTeam) CreateResourceCheckContainerReturns(result1 dbng.CreatingContainer, result2 error)
func (*FakeTeam) CreateResourceCheckContainerReturnsOnCall ¶
func (fake *FakeTeam) CreateResourceCheckContainerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 error)
func (*FakeTeam) CreateResourceGetContainer ¶
func (fake *FakeTeam) CreateResourceGetContainer(workerName string, resourceConfig *dbng.UsedResourceCache, meta dbng.ContainerMetadata) (dbng.CreatingContainer, error)
func (*FakeTeam) CreateResourceGetContainerArgsForCall ¶
func (fake *FakeTeam) CreateResourceGetContainerArgsForCall(i int) (string, *dbng.UsedResourceCache, dbng.ContainerMetadata)
func (*FakeTeam) CreateResourceGetContainerCallCount ¶
func (*FakeTeam) CreateResourceGetContainerReturns ¶
func (fake *FakeTeam) CreateResourceGetContainerReturns(result1 dbng.CreatingContainer, result2 error)
func (*FakeTeam) CreateResourceGetContainerReturnsOnCall ¶
func (fake *FakeTeam) CreateResourceGetContainerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 error)
func (*FakeTeam) FindBuildContainerOnWorker ¶
func (fake *FakeTeam) FindBuildContainerOnWorker(workerName string, buildID int, planID atc.PlanID) (dbng.CreatingContainer, dbng.CreatedContainer, error)
func (*FakeTeam) FindBuildContainerOnWorkerArgsForCall ¶
func (*FakeTeam) FindBuildContainerOnWorkerCallCount ¶
func (*FakeTeam) FindBuildContainerOnWorkerReturns ¶
func (fake *FakeTeam) FindBuildContainerOnWorkerReturns(result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, result3 error)
func (*FakeTeam) FindBuildContainerOnWorkerReturnsOnCall ¶
func (fake *FakeTeam) FindBuildContainerOnWorkerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, result3 error)
func (*FakeTeam) FindContainerByHandle ¶
func (*FakeTeam) FindContainerByHandleArgsForCall ¶
func (*FakeTeam) FindContainerByHandleCallCount ¶
func (*FakeTeam) FindContainerByHandleReturns ¶
func (*FakeTeam) FindContainerByHandleReturnsOnCall ¶
func (*FakeTeam) FindContainersByMetadata ¶
func (*FakeTeam) FindContainersByMetadataArgsForCall ¶
func (fake *FakeTeam) FindContainersByMetadataArgsForCall(i int) dbng.ContainerMetadata
func (*FakeTeam) FindContainersByMetadataCallCount ¶
func (*FakeTeam) FindContainersByMetadataReturns ¶
func (*FakeTeam) FindContainersByMetadataReturnsOnCall ¶
func (*FakeTeam) FindCreatedContainerByHandle ¶
func (*FakeTeam) FindCreatedContainerByHandleArgsForCall ¶
func (*FakeTeam) FindCreatedContainerByHandleCallCount ¶
func (*FakeTeam) FindCreatedContainerByHandleReturns ¶
func (fake *FakeTeam) FindCreatedContainerByHandleReturns(result1 dbng.CreatedContainer, result2 bool, result3 error)
func (*FakeTeam) FindCreatedContainerByHandleReturnsOnCall ¶
func (*FakeTeam) FindPipelineByName ¶
func (*FakeTeam) FindPipelineByNameArgsForCall ¶
func (*FakeTeam) FindPipelineByNameCallCount ¶
func (*FakeTeam) FindPipelineByNameReturns ¶
func (*FakeTeam) FindPipelineByNameReturnsOnCall ¶
func (*FakeTeam) FindResourceCheckContainerOnWorker ¶
func (fake *FakeTeam) FindResourceCheckContainerOnWorker(workerName string, resourceConfig *dbng.UsedResourceConfig) (dbng.CreatingContainer, dbng.CreatedContainer, error)
func (*FakeTeam) FindResourceCheckContainerOnWorkerArgsForCall ¶
func (fake *FakeTeam) FindResourceCheckContainerOnWorkerArgsForCall(i int) (string, *dbng.UsedResourceConfig)
func (*FakeTeam) FindResourceCheckContainerOnWorkerCallCount ¶
func (*FakeTeam) FindResourceCheckContainerOnWorkerReturns ¶
func (fake *FakeTeam) FindResourceCheckContainerOnWorkerReturns(result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, result3 error)
func (*FakeTeam) FindResourceCheckContainerOnWorkerReturnsOnCall ¶
func (fake *FakeTeam) FindResourceCheckContainerOnWorkerReturnsOnCall(i int, result1 dbng.CreatingContainer, result2 dbng.CreatedContainer, result3 error)
func (*FakeTeam) FindWorkerForBuildContainer ¶
func (*FakeTeam) FindWorkerForBuildContainerArgsForCall ¶
func (*FakeTeam) FindWorkerForBuildContainerCallCount ¶
func (*FakeTeam) FindWorkerForBuildContainerReturns ¶
func (*FakeTeam) FindWorkerForBuildContainerReturnsOnCall ¶
func (*FakeTeam) FindWorkerForContainer ¶
func (*FakeTeam) FindWorkerForContainerArgsForCall ¶
func (*FakeTeam) FindWorkerForContainerCallCount ¶
func (*FakeTeam) FindWorkerForContainerReturns ¶
func (*FakeTeam) FindWorkerForContainerReturnsOnCall ¶
func (*FakeTeam) FindWorkerForResourceCheckContainer ¶
func (*FakeTeam) FindWorkerForResourceCheckContainerArgsForCall ¶
func (fake *FakeTeam) FindWorkerForResourceCheckContainerArgsForCall(i int) *dbng.UsedResourceConfig
func (*FakeTeam) FindWorkerForResourceCheckContainerCallCount ¶
func (*FakeTeam) FindWorkerForResourceCheckContainerReturns ¶
func (*FakeTeam) FindWorkerForResourceCheckContainerReturnsOnCall ¶
func (*FakeTeam) IDCallCount ¶
func (*FakeTeam) IDReturnsOnCall ¶
func (*FakeTeam) Invocations ¶
func (*FakeTeam) SavePipeline ¶
func (*FakeTeam) SavePipelineArgsForCall ¶
func (fake *FakeTeam) SavePipelineArgsForCall(i int) (string, atc.Config, dbng.ConfigVersion, dbng.PipelinePausedState)
func (*FakeTeam) SavePipelineCallCount ¶
func (*FakeTeam) SavePipelineReturns ¶
func (*FakeTeam) SavePipelineReturnsOnCall ¶
func (*FakeTeam) SaveWorker ¶
func (*FakeTeam) SaveWorkerArgsForCall ¶
func (*FakeTeam) SaveWorkerCallCount ¶
func (*FakeTeam) SaveWorkerReturns ¶
func (*FakeTeam) SaveWorkerReturnsOnCall ¶
func (*FakeTeam) WorkersCallCount ¶
func (*FakeTeam) WorkersReturns ¶
type FakeTeamFactory ¶
type FakeTeamFactory struct { CreateTeamStub func(name string) (dbng.Team, error) FindTeamStub func(name string) (dbng.Team, bool, error) GetByIDStub func(teamID int) dbng.Team // contains filtered or unexported fields }
func (*FakeTeamFactory) CreateTeam ¶
func (fake *FakeTeamFactory) CreateTeam(name string) (dbng.Team, error)
func (*FakeTeamFactory) CreateTeamArgsForCall ¶
func (fake *FakeTeamFactory) CreateTeamArgsForCall(i int) string
func (*FakeTeamFactory) CreateTeamCallCount ¶
func (fake *FakeTeamFactory) CreateTeamCallCount() int
func (*FakeTeamFactory) CreateTeamReturns ¶
func (fake *FakeTeamFactory) CreateTeamReturns(result1 dbng.Team, result2 error)
func (*FakeTeamFactory) CreateTeamReturnsOnCall ¶
func (fake *FakeTeamFactory) CreateTeamReturnsOnCall(i int, result1 dbng.Team, result2 error)
func (*FakeTeamFactory) FindTeamArgsForCall ¶
func (fake *FakeTeamFactory) FindTeamArgsForCall(i int) string
func (*FakeTeamFactory) FindTeamCallCount ¶
func (fake *FakeTeamFactory) FindTeamCallCount() int
func (*FakeTeamFactory) FindTeamReturns ¶
func (fake *FakeTeamFactory) FindTeamReturns(result1 dbng.Team, result2 bool, result3 error)
func (*FakeTeamFactory) FindTeamReturnsOnCall ¶
func (*FakeTeamFactory) GetByIDArgsForCall ¶
func (fake *FakeTeamFactory) GetByIDArgsForCall(i int) int
func (*FakeTeamFactory) GetByIDCallCount ¶
func (fake *FakeTeamFactory) GetByIDCallCount() int
func (*FakeTeamFactory) GetByIDReturns ¶
func (fake *FakeTeamFactory) GetByIDReturns(result1 dbng.Team)
func (*FakeTeamFactory) GetByIDReturnsOnCall ¶
func (fake *FakeTeamFactory) GetByIDReturnsOnCall(i int, result1 dbng.Team)
func (*FakeTeamFactory) Invocations ¶
func (fake *FakeTeamFactory) Invocations() map[string][][]interface{}
type FakeVolumeFactory ¶
type FakeVolumeFactory struct { GetTeamVolumesStub func(teamID int) ([]dbng.CreatedVolume, error) CreateContainerVolumeStub func(int, dbng.Worker, dbng.CreatingContainer, string) (dbng.CreatingVolume, error) FindContainerVolumeStub func(int, dbng.Worker, dbng.CreatingContainer, string) (dbng.CreatingVolume, dbng.CreatedVolume, error) FindBaseResourceTypeVolumeStub func(int, *dbng.UsedWorkerBaseResourceType) (dbng.CreatingVolume, dbng.CreatedVolume, error) CreateBaseResourceTypeVolumeStub func(int, *dbng.UsedWorkerBaseResourceType) (dbng.CreatingVolume, error) FindResourceCacheVolumeStub func(dbng.Worker, *dbng.UsedResourceCache) (dbng.CreatingVolume, dbng.CreatedVolume, error) FindResourceCacheInitializedVolumeStub func(dbng.Worker, *dbng.UsedResourceCache) (dbng.CreatedVolume, bool, error) CreateResourceCacheVolumeStub func(dbng.Worker, *dbng.UsedResourceCache) (dbng.CreatingVolume, error) FindVolumesForContainerStub func(dbng.CreatedContainer) ([]dbng.CreatedVolume, error) GetOrphanedVolumesStub func() ([]dbng.CreatedVolume, []dbng.DestroyingVolume, error) GetDuplicateResourceCacheVolumesStub func() ([]dbng.CreatingVolume, []dbng.CreatedVolume, []dbng.DestroyingVolume, error) FindCreatedVolumeStub func(handle string) (dbng.CreatedVolume, bool, error) // contains filtered or unexported fields }
func (*FakeVolumeFactory) CreateBaseResourceTypeVolume ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolume(arg1 int, arg2 *dbng.UsedWorkerBaseResourceType) (dbng.CreatingVolume, error)
func (*FakeVolumeFactory) CreateBaseResourceTypeVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeArgsForCall(i int) (int, *dbng.UsedWorkerBaseResourceType)
func (*FakeVolumeFactory) CreateBaseResourceTypeVolumeCallCount ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeCallCount() int
func (*FakeVolumeFactory) CreateBaseResourceTypeVolumeReturns ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeReturns(result1 dbng.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateBaseResourceTypeVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) CreateBaseResourceTypeVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateContainerVolume ¶
func (fake *FakeVolumeFactory) CreateContainerVolume(arg1 int, arg2 dbng.Worker, arg3 dbng.CreatingContainer, arg4 string) (dbng.CreatingVolume, error)
func (*FakeVolumeFactory) CreateContainerVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) CreateContainerVolumeArgsForCall(i int) (int, dbng.Worker, dbng.CreatingContainer, string)
func (*FakeVolumeFactory) CreateContainerVolumeCallCount ¶
func (fake *FakeVolumeFactory) CreateContainerVolumeCallCount() int
func (*FakeVolumeFactory) CreateContainerVolumeReturns ¶
func (fake *FakeVolumeFactory) CreateContainerVolumeReturns(result1 dbng.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateContainerVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) CreateContainerVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateResourceCacheVolume ¶
func (fake *FakeVolumeFactory) CreateResourceCacheVolume(arg1 dbng.Worker, arg2 *dbng.UsedResourceCache) (dbng.CreatingVolume, error)
func (*FakeVolumeFactory) CreateResourceCacheVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) CreateResourceCacheVolumeArgsForCall(i int) (dbng.Worker, *dbng.UsedResourceCache)
func (*FakeVolumeFactory) CreateResourceCacheVolumeCallCount ¶
func (fake *FakeVolumeFactory) CreateResourceCacheVolumeCallCount() int
func (*FakeVolumeFactory) CreateResourceCacheVolumeReturns ¶
func (fake *FakeVolumeFactory) CreateResourceCacheVolumeReturns(result1 dbng.CreatingVolume, result2 error)
func (*FakeVolumeFactory) CreateResourceCacheVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) CreateResourceCacheVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 error)
func (*FakeVolumeFactory) FindBaseResourceTypeVolume ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolume(arg1 int, arg2 *dbng.UsedWorkerBaseResourceType) (dbng.CreatingVolume, dbng.CreatedVolume, error)
func (*FakeVolumeFactory) FindBaseResourceTypeVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeArgsForCall(i int) (int, *dbng.UsedWorkerBaseResourceType)
func (*FakeVolumeFactory) FindBaseResourceTypeVolumeCallCount ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeCallCount() int
func (*FakeVolumeFactory) FindBaseResourceTypeVolumeReturns ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeReturns(result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindBaseResourceTypeVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindBaseResourceTypeVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindContainerVolume ¶
func (fake *FakeVolumeFactory) FindContainerVolume(arg1 int, arg2 dbng.Worker, arg3 dbng.CreatingContainer, arg4 string) (dbng.CreatingVolume, dbng.CreatedVolume, error)
func (*FakeVolumeFactory) FindContainerVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) FindContainerVolumeArgsForCall(i int) (int, dbng.Worker, dbng.CreatingContainer, string)
func (*FakeVolumeFactory) FindContainerVolumeCallCount ¶
func (fake *FakeVolumeFactory) FindContainerVolumeCallCount() int
func (*FakeVolumeFactory) FindContainerVolumeReturns ¶
func (fake *FakeVolumeFactory) FindContainerVolumeReturns(result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindContainerVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindContainerVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindCreatedVolume ¶
func (fake *FakeVolumeFactory) FindCreatedVolume(handle string) (dbng.CreatedVolume, bool, error)
func (*FakeVolumeFactory) FindCreatedVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) FindCreatedVolumeArgsForCall(i int) string
func (*FakeVolumeFactory) FindCreatedVolumeCallCount ¶
func (fake *FakeVolumeFactory) FindCreatedVolumeCallCount() int
func (*FakeVolumeFactory) FindCreatedVolumeReturns ¶
func (fake *FakeVolumeFactory) FindCreatedVolumeReturns(result1 dbng.CreatedVolume, result2 bool, result3 error)
func (*FakeVolumeFactory) FindCreatedVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindCreatedVolumeReturnsOnCall(i int, result1 dbng.CreatedVolume, result2 bool, result3 error)
func (*FakeVolumeFactory) FindResourceCacheInitializedVolume ¶
func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolume(arg1 dbng.Worker, arg2 *dbng.UsedResourceCache) (dbng.CreatedVolume, bool, error)
func (*FakeVolumeFactory) FindResourceCacheInitializedVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeArgsForCall(i int) (dbng.Worker, *dbng.UsedResourceCache)
func (*FakeVolumeFactory) FindResourceCacheInitializedVolumeCallCount ¶
func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeCallCount() int
func (*FakeVolumeFactory) FindResourceCacheInitializedVolumeReturns ¶
func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeReturns(result1 dbng.CreatedVolume, result2 bool, result3 error)
func (*FakeVolumeFactory) FindResourceCacheInitializedVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindResourceCacheInitializedVolumeReturnsOnCall(i int, result1 dbng.CreatedVolume, result2 bool, result3 error)
func (*FakeVolumeFactory) FindResourceCacheVolume ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolume(arg1 dbng.Worker, arg2 *dbng.UsedResourceCache) (dbng.CreatingVolume, dbng.CreatedVolume, error)
func (*FakeVolumeFactory) FindResourceCacheVolumeArgsForCall ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolumeArgsForCall(i int) (dbng.Worker, *dbng.UsedResourceCache)
func (*FakeVolumeFactory) FindResourceCacheVolumeCallCount ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolumeCallCount() int
func (*FakeVolumeFactory) FindResourceCacheVolumeReturns ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolumeReturns(result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindResourceCacheVolumeReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindResourceCacheVolumeReturnsOnCall(i int, result1 dbng.CreatingVolume, result2 dbng.CreatedVolume, result3 error)
func (*FakeVolumeFactory) FindVolumesForContainer ¶
func (fake *FakeVolumeFactory) FindVolumesForContainer(arg1 dbng.CreatedContainer) ([]dbng.CreatedVolume, error)
func (*FakeVolumeFactory) FindVolumesForContainerArgsForCall ¶
func (fake *FakeVolumeFactory) FindVolumesForContainerArgsForCall(i int) dbng.CreatedContainer
func (*FakeVolumeFactory) FindVolumesForContainerCallCount ¶
func (fake *FakeVolumeFactory) FindVolumesForContainerCallCount() int
func (*FakeVolumeFactory) FindVolumesForContainerReturns ¶
func (fake *FakeVolumeFactory) FindVolumesForContainerReturns(result1 []dbng.CreatedVolume, result2 error)
func (*FakeVolumeFactory) FindVolumesForContainerReturnsOnCall ¶
func (fake *FakeVolumeFactory) FindVolumesForContainerReturnsOnCall(i int, result1 []dbng.CreatedVolume, result2 error)
func (*FakeVolumeFactory) GetDuplicateResourceCacheVolumes ¶
func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumes() ([]dbng.CreatingVolume, []dbng.CreatedVolume, []dbng.DestroyingVolume, error)
func (*FakeVolumeFactory) GetDuplicateResourceCacheVolumesCallCount ¶
func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumesCallCount() int
func (*FakeVolumeFactory) GetDuplicateResourceCacheVolumesReturns ¶
func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumesReturns(result1 []dbng.CreatingVolume, result2 []dbng.CreatedVolume, result3 []dbng.DestroyingVolume, result4 error)
func (*FakeVolumeFactory) GetDuplicateResourceCacheVolumesReturnsOnCall ¶
func (fake *FakeVolumeFactory) GetDuplicateResourceCacheVolumesReturnsOnCall(i int, result1 []dbng.CreatingVolume, result2 []dbng.CreatedVolume, result3 []dbng.DestroyingVolume, result4 error)
func (*FakeVolumeFactory) GetOrphanedVolumes ¶
func (fake *FakeVolumeFactory) GetOrphanedVolumes() ([]dbng.CreatedVolume, []dbng.DestroyingVolume, error)
func (*FakeVolumeFactory) GetOrphanedVolumesCallCount ¶
func (fake *FakeVolumeFactory) GetOrphanedVolumesCallCount() int
func (*FakeVolumeFactory) GetOrphanedVolumesReturns ¶
func (fake *FakeVolumeFactory) GetOrphanedVolumesReturns(result1 []dbng.CreatedVolume, result2 []dbng.DestroyingVolume, result3 error)
func (*FakeVolumeFactory) GetOrphanedVolumesReturnsOnCall ¶
func (fake *FakeVolumeFactory) GetOrphanedVolumesReturnsOnCall(i int, result1 []dbng.CreatedVolume, result2 []dbng.DestroyingVolume, result3 error)
func (*FakeVolumeFactory) GetTeamVolumes ¶
func (fake *FakeVolumeFactory) GetTeamVolumes(teamID int) ([]dbng.CreatedVolume, error)
func (*FakeVolumeFactory) GetTeamVolumesArgsForCall ¶
func (fake *FakeVolumeFactory) GetTeamVolumesArgsForCall(i int) int
func (*FakeVolumeFactory) GetTeamVolumesCallCount ¶
func (fake *FakeVolumeFactory) GetTeamVolumesCallCount() int
func (*FakeVolumeFactory) GetTeamVolumesReturns ¶
func (fake *FakeVolumeFactory) GetTeamVolumesReturns(result1 []dbng.CreatedVolume, result2 error)
func (*FakeVolumeFactory) GetTeamVolumesReturnsOnCall ¶
func (fake *FakeVolumeFactory) GetTeamVolumesReturnsOnCall(i int, result1 []dbng.CreatedVolume, result2 error)
func (*FakeVolumeFactory) Invocations ¶
func (fake *FakeVolumeFactory) Invocations() map[string][][]interface{}
type FakeWorker ¶
type FakeWorker struct { NameStub func() string StateStub func() dbng.WorkerState GardenAddrStub func() *string BaggageclaimURLStub func() *string HTTPProxyURLStub func() string HTTPSProxyURLStub func() string NoProxyStub func() string ActiveContainersStub func() int ResourceTypesStub func() []atc.WorkerResourceType PlatformStub func() string TagsStub func() []string TeamIDStub func() int TeamNameStub func() string StartTimeStub func() int64 ExpiresAtStub func() time.Time ReloadStub func() (bool, error) LandStub func() error RetireStub func() error PruneStub func() error DeleteStub func() error // contains filtered or unexported fields }
func (*FakeWorker) ActiveContainers ¶
func (fake *FakeWorker) ActiveContainers() int
func (*FakeWorker) ActiveContainersCallCount ¶
func (fake *FakeWorker) ActiveContainersCallCount() int
func (*FakeWorker) ActiveContainersReturns ¶
func (fake *FakeWorker) ActiveContainersReturns(result1 int)
func (*FakeWorker) ActiveContainersReturnsOnCall ¶
func (fake *FakeWorker) ActiveContainersReturnsOnCall(i int, result1 int)
func (*FakeWorker) BaggageclaimURL ¶
func (fake *FakeWorker) BaggageclaimURL() *string
func (*FakeWorker) BaggageclaimURLCallCount ¶
func (fake *FakeWorker) BaggageclaimURLCallCount() int
func (*FakeWorker) BaggageclaimURLReturns ¶
func (fake *FakeWorker) BaggageclaimURLReturns(result1 *string)
func (*FakeWorker) BaggageclaimURLReturnsOnCall ¶
func (fake *FakeWorker) BaggageclaimURLReturnsOnCall(i int, result1 *string)
func (*FakeWorker) Delete ¶
func (fake *FakeWorker) Delete() error
func (*FakeWorker) DeleteCallCount ¶
func (fake *FakeWorker) DeleteCallCount() int
func (*FakeWorker) DeleteReturns ¶
func (fake *FakeWorker) DeleteReturns(result1 error)
func (*FakeWorker) DeleteReturnsOnCall ¶
func (fake *FakeWorker) DeleteReturnsOnCall(i int, result1 error)
func (*FakeWorker) ExpiresAt ¶
func (fake *FakeWorker) ExpiresAt() time.Time
func (*FakeWorker) ExpiresAtCallCount ¶
func (fake *FakeWorker) ExpiresAtCallCount() int
func (*FakeWorker) ExpiresAtReturns ¶
func (fake *FakeWorker) ExpiresAtReturns(result1 time.Time)
func (*FakeWorker) ExpiresAtReturnsOnCall ¶
func (fake *FakeWorker) ExpiresAtReturnsOnCall(i int, result1 time.Time)
func (*FakeWorker) GardenAddr ¶
func (fake *FakeWorker) GardenAddr() *string
func (*FakeWorker) GardenAddrCallCount ¶
func (fake *FakeWorker) GardenAddrCallCount() int
func (*FakeWorker) GardenAddrReturns ¶
func (fake *FakeWorker) GardenAddrReturns(result1 *string)
func (*FakeWorker) GardenAddrReturnsOnCall ¶
func (fake *FakeWorker) GardenAddrReturnsOnCall(i int, result1 *string)
func (*FakeWorker) HTTPProxyURL ¶
func (fake *FakeWorker) HTTPProxyURL() string
func (*FakeWorker) HTTPProxyURLCallCount ¶
func (fake *FakeWorker) HTTPProxyURLCallCount() int
func (*FakeWorker) HTTPProxyURLReturns ¶
func (fake *FakeWorker) HTTPProxyURLReturns(result1 string)
func (*FakeWorker) HTTPProxyURLReturnsOnCall ¶
func (fake *FakeWorker) HTTPProxyURLReturnsOnCall(i int, result1 string)
func (*FakeWorker) HTTPSProxyURL ¶
func (fake *FakeWorker) HTTPSProxyURL() string
func (*FakeWorker) HTTPSProxyURLCallCount ¶
func (fake *FakeWorker) HTTPSProxyURLCallCount() int
func (*FakeWorker) HTTPSProxyURLReturns ¶
func (fake *FakeWorker) HTTPSProxyURLReturns(result1 string)
func (*FakeWorker) HTTPSProxyURLReturnsOnCall ¶
func (fake *FakeWorker) HTTPSProxyURLReturnsOnCall(i int, result1 string)
func (*FakeWorker) Invocations ¶
func (fake *FakeWorker) Invocations() map[string][][]interface{}
func (*FakeWorker) Land ¶
func (fake *FakeWorker) Land() error
func (*FakeWorker) LandCallCount ¶
func (fake *FakeWorker) LandCallCount() int
func (*FakeWorker) LandReturns ¶
func (fake *FakeWorker) LandReturns(result1 error)
func (*FakeWorker) LandReturnsOnCall ¶
func (fake *FakeWorker) LandReturnsOnCall(i int, result1 error)
func (*FakeWorker) Name ¶
func (fake *FakeWorker) Name() string
func (*FakeWorker) NameCallCount ¶
func (fake *FakeWorker) NameCallCount() int
func (*FakeWorker) NameReturns ¶
func (fake *FakeWorker) NameReturns(result1 string)
func (*FakeWorker) NameReturnsOnCall ¶
func (fake *FakeWorker) NameReturnsOnCall(i int, result1 string)
func (*FakeWorker) NoProxy ¶
func (fake *FakeWorker) NoProxy() string
func (*FakeWorker) NoProxyCallCount ¶
func (fake *FakeWorker) NoProxyCallCount() int
func (*FakeWorker) NoProxyReturns ¶
func (fake *FakeWorker) NoProxyReturns(result1 string)
func (*FakeWorker) NoProxyReturnsOnCall ¶
func (fake *FakeWorker) NoProxyReturnsOnCall(i int, result1 string)
func (*FakeWorker) Platform ¶
func (fake *FakeWorker) Platform() string
func (*FakeWorker) PlatformCallCount ¶
func (fake *FakeWorker) PlatformCallCount() int
func (*FakeWorker) PlatformReturns ¶
func (fake *FakeWorker) PlatformReturns(result1 string)
func (*FakeWorker) PlatformReturnsOnCall ¶
func (fake *FakeWorker) PlatformReturnsOnCall(i int, result1 string)
func (*FakeWorker) Prune ¶
func (fake *FakeWorker) Prune() error
func (*FakeWorker) PruneCallCount ¶
func (fake *FakeWorker) PruneCallCount() int
func (*FakeWorker) PruneReturns ¶
func (fake *FakeWorker) PruneReturns(result1 error)
func (*FakeWorker) PruneReturnsOnCall ¶
func (fake *FakeWorker) PruneReturnsOnCall(i int, result1 error)
func (*FakeWorker) Reload ¶
func (fake *FakeWorker) Reload() (bool, error)
func (*FakeWorker) ReloadCallCount ¶
func (fake *FakeWorker) ReloadCallCount() int
func (*FakeWorker) ReloadReturns ¶
func (fake *FakeWorker) ReloadReturns(result1 bool, result2 error)
func (*FakeWorker) ReloadReturnsOnCall ¶
func (fake *FakeWorker) ReloadReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeWorker) ResourceTypes ¶
func (fake *FakeWorker) ResourceTypes() []atc.WorkerResourceType
func (*FakeWorker) ResourceTypesCallCount ¶
func (fake *FakeWorker) ResourceTypesCallCount() int
func (*FakeWorker) ResourceTypesReturns ¶
func (fake *FakeWorker) ResourceTypesReturns(result1 []atc.WorkerResourceType)
func (*FakeWorker) ResourceTypesReturnsOnCall ¶
func (fake *FakeWorker) ResourceTypesReturnsOnCall(i int, result1 []atc.WorkerResourceType)
func (*FakeWorker) Retire ¶
func (fake *FakeWorker) Retire() error
func (*FakeWorker) RetireCallCount ¶
func (fake *FakeWorker) RetireCallCount() int
func (*FakeWorker) RetireReturns ¶
func (fake *FakeWorker) RetireReturns(result1 error)
func (*FakeWorker) RetireReturnsOnCall ¶
func (fake *FakeWorker) RetireReturnsOnCall(i int, result1 error)
func (*FakeWorker) StartTime ¶
func (fake *FakeWorker) StartTime() int64
func (*FakeWorker) StartTimeCallCount ¶
func (fake *FakeWorker) StartTimeCallCount() int
func (*FakeWorker) StartTimeReturns ¶
func (fake *FakeWorker) StartTimeReturns(result1 int64)
func (*FakeWorker) StartTimeReturnsOnCall ¶
func (fake *FakeWorker) StartTimeReturnsOnCall(i int, result1 int64)
func (*FakeWorker) State ¶
func (fake *FakeWorker) State() dbng.WorkerState
func (*FakeWorker) StateCallCount ¶
func (fake *FakeWorker) StateCallCount() int
func (*FakeWorker) StateReturns ¶
func (fake *FakeWorker) StateReturns(result1 dbng.WorkerState)
func (*FakeWorker) StateReturnsOnCall ¶
func (fake *FakeWorker) StateReturnsOnCall(i int, result1 dbng.WorkerState)
func (*FakeWorker) Tags ¶
func (fake *FakeWorker) Tags() []string
func (*FakeWorker) TagsCallCount ¶
func (fake *FakeWorker) TagsCallCount() int
func (*FakeWorker) TagsReturns ¶
func (fake *FakeWorker) TagsReturns(result1 []string)
func (*FakeWorker) TagsReturnsOnCall ¶
func (fake *FakeWorker) TagsReturnsOnCall(i int, result1 []string)
func (*FakeWorker) TeamID ¶
func (fake *FakeWorker) TeamID() int
func (*FakeWorker) TeamIDCallCount ¶
func (fake *FakeWorker) TeamIDCallCount() int
func (*FakeWorker) TeamIDReturns ¶
func (fake *FakeWorker) TeamIDReturns(result1 int)
func (*FakeWorker) TeamIDReturnsOnCall ¶
func (fake *FakeWorker) TeamIDReturnsOnCall(i int, result1 int)
func (*FakeWorker) TeamName ¶
func (fake *FakeWorker) TeamName() string
func (*FakeWorker) TeamNameCallCount ¶
func (fake *FakeWorker) TeamNameCallCount() int
func (*FakeWorker) TeamNameReturns ¶
func (fake *FakeWorker) TeamNameReturns(result1 string)
func (*FakeWorker) TeamNameReturnsOnCall ¶
func (fake *FakeWorker) TeamNameReturnsOnCall(i int, result1 string)
type FakeWorkerBaseResourceTypeFactory ¶
type FakeWorkerBaseResourceTypeFactory struct { FindStub func(name string, worker dbng.Worker) (*dbng.UsedWorkerBaseResourceType, bool, error) // contains filtered or unexported fields }
func (*FakeWorkerBaseResourceTypeFactory) Find ¶
func (fake *FakeWorkerBaseResourceTypeFactory) Find(name string, worker dbng.Worker) (*dbng.UsedWorkerBaseResourceType, bool, error)
func (*FakeWorkerBaseResourceTypeFactory) FindArgsForCall ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindArgsForCall(i int) (string, dbng.Worker)
func (*FakeWorkerBaseResourceTypeFactory) FindCallCount ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindCallCount() int
func (*FakeWorkerBaseResourceTypeFactory) FindReturns ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindReturns(result1 *dbng.UsedWorkerBaseResourceType, result2 bool, result3 error)
func (*FakeWorkerBaseResourceTypeFactory) FindReturnsOnCall ¶
func (fake *FakeWorkerBaseResourceTypeFactory) FindReturnsOnCall(i int, result1 *dbng.UsedWorkerBaseResourceType, result2 bool, result3 error)
func (*FakeWorkerBaseResourceTypeFactory) Invocations ¶
func (fake *FakeWorkerBaseResourceTypeFactory) Invocations() map[string][][]interface{}
type FakeWorkerFactory ¶
type FakeWorkerFactory struct { GetWorkerStub func(name string) (dbng.Worker, bool, error) SaveWorkerStub func(atcWorker atc.Worker, ttl time.Duration) (dbng.Worker, error) HeartbeatWorkerStub func(worker atc.Worker, ttl time.Duration) (dbng.Worker, error) WorkersStub func() ([]dbng.Worker, error) // contains filtered or unexported fields }
func (*FakeWorkerFactory) GetWorkerArgsForCall ¶
func (fake *FakeWorkerFactory) GetWorkerArgsForCall(i int) string
func (*FakeWorkerFactory) GetWorkerCallCount ¶
func (fake *FakeWorkerFactory) GetWorkerCallCount() int
func (*FakeWorkerFactory) GetWorkerReturns ¶
func (fake *FakeWorkerFactory) GetWorkerReturns(result1 dbng.Worker, result2 bool, result3 error)
func (*FakeWorkerFactory) GetWorkerReturnsOnCall ¶
func (*FakeWorkerFactory) HeartbeatWorker ¶
func (*FakeWorkerFactory) HeartbeatWorkerArgsForCall ¶
func (*FakeWorkerFactory) HeartbeatWorkerCallCount ¶
func (fake *FakeWorkerFactory) HeartbeatWorkerCallCount() int
func (*FakeWorkerFactory) HeartbeatWorkerReturns ¶
func (fake *FakeWorkerFactory) HeartbeatWorkerReturns(result1 dbng.Worker, result2 error)
func (*FakeWorkerFactory) HeartbeatWorkerReturnsOnCall ¶
func (fake *FakeWorkerFactory) HeartbeatWorkerReturnsOnCall(i int, result1 dbng.Worker, result2 error)
func (*FakeWorkerFactory) Invocations ¶
func (fake *FakeWorkerFactory) Invocations() map[string][][]interface{}
func (*FakeWorkerFactory) SaveWorker ¶
func (*FakeWorkerFactory) SaveWorkerArgsForCall ¶
func (*FakeWorkerFactory) SaveWorkerCallCount ¶
func (fake *FakeWorkerFactory) SaveWorkerCallCount() int
func (*FakeWorkerFactory) SaveWorkerReturns ¶
func (fake *FakeWorkerFactory) SaveWorkerReturns(result1 dbng.Worker, result2 error)
func (*FakeWorkerFactory) SaveWorkerReturnsOnCall ¶
func (fake *FakeWorkerFactory) SaveWorkerReturnsOnCall(i int, result1 dbng.Worker, result2 error)
func (*FakeWorkerFactory) WorkersCallCount ¶
func (fake *FakeWorkerFactory) WorkersCallCount() int
func (*FakeWorkerFactory) WorkersReturns ¶
func (fake *FakeWorkerFactory) WorkersReturns(result1 []dbng.Worker, result2 error)
func (*FakeWorkerFactory) WorkersReturnsOnCall ¶
func (fake *FakeWorkerFactory) WorkersReturnsOnCall(i int, result1 []dbng.Worker, result2 error)
type FakeWorkerLifecycle ¶
type FakeWorkerLifecycle struct { StallUnresponsiveWorkersStub func() ([]string, error) LandFinishedLandingWorkersStub func() ([]string, error) DeleteFinishedRetiringWorkersStub func() ([]string, error) // contains filtered or unexported fields }
func (*FakeWorkerLifecycle) DeleteFinishedRetiringWorkers ¶
func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkers() ([]string, error)
func (*FakeWorkerLifecycle) DeleteFinishedRetiringWorkersCallCount ¶
func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersCallCount() int
func (*FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturns ¶
func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturns(result1 []string, result2 error)
func (*FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturnsOnCall ¶
func (fake *FakeWorkerLifecycle) DeleteFinishedRetiringWorkersReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeWorkerLifecycle) Invocations ¶
func (fake *FakeWorkerLifecycle) Invocations() map[string][][]interface{}
func (*FakeWorkerLifecycle) LandFinishedLandingWorkers ¶
func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkers() ([]string, error)
func (*FakeWorkerLifecycle) LandFinishedLandingWorkersCallCount ¶
func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersCallCount() int
func (*FakeWorkerLifecycle) LandFinishedLandingWorkersReturns ¶
func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersReturns(result1 []string, result2 error)
func (*FakeWorkerLifecycle) LandFinishedLandingWorkersReturnsOnCall ¶
func (fake *FakeWorkerLifecycle) LandFinishedLandingWorkersReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeWorkerLifecycle) StallUnresponsiveWorkers ¶
func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkers() ([]string, error)
func (*FakeWorkerLifecycle) StallUnresponsiveWorkersCallCount ¶
func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersCallCount() int
func (*FakeWorkerLifecycle) StallUnresponsiveWorkersReturns ¶
func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersReturns(result1 []string, result2 error)
func (*FakeWorkerLifecycle) StallUnresponsiveWorkersReturnsOnCall ¶
func (fake *FakeWorkerLifecycle) StallUnresponsiveWorkersReturnsOnCall(i int, result1 []string, result2 error)
Source Files ¶
- fake_base_resource_type_factory.go
- fake_container.go
- fake_container_factory.go
- fake_created_container.go
- fake_created_volume.go
- fake_creating_container.go
- fake_creating_volume.go
- fake_destroying_container.go
- fake_pipeline.go
- fake_pipeline_factory.go
- fake_resource_cache_factory.go
- fake_resource_config_factory.go
- fake_resource_type.go
- fake_team.go
- fake_team_factory.go
- fake_volume_factory.go
- fake_worker.go
- fake_worker_base_resource_type_factory.go
- fake_worker_factory.go
- fake_worker_lifecycle.go
Click to show internal directories.
Click to hide internal directories.