Documentation ¶
Index ¶
- Constants
- func NewBuildCollector(logger lager.Logger, buildFactory buildFactory) *buildCollector
- type BuildReaper
- type Collector
- func NewCollector(logger lager.Logger, buildCollector Collector, workers Collector, ...) Collector
- func NewContainerCollector(logger lager.Logger, containerRepository db.ContainerRepository, ...) Collector
- func NewResourceCacheCollector(logger lager.Logger, cacheLifecycle db.ResourceCacheLifecycle) Collector
- func NewResourceCacheUseCollector(logger lager.Logger, cacheLifecycle db.ResourceCacheLifecycle) Collector
- func NewResourceConfigCheckSessionCollector(logger lager.Logger, ...) Collector
- func NewResourceConfigCollector(logger lager.Logger, configFactory db.ResourceConfigFactory) Collector
- func NewVolumeCollector(logger lager.Logger, volumeFactory db.VolumeFactory, jobRunner WorkerJobRunner) Collector
- func NewWorkerCollector(logger lager.Logger, workerLifecycle db.WorkerLifecycle) Collector
- type Job
- type JobFunc
- type WorkerJobRunner
Constants ¶
View Source
const HijackedContainerTimeout = 5 * time.Minute
Variables ¶
This section is empty.
Functions ¶
func NewBuildCollector ¶
Types ¶
type BuildReaper ¶
type BuildReaper interface {
Run() error
}
func NewBuildReaper ¶
func NewBuildReaper( logger lager.Logger, pipelineFactory db.PipelineFactory, batchSize int, ) BuildReaper
type Collector ¶
type Collector interface {
Run() error
}
func NewCollector ¶
func NewContainerCollector ¶
func NewContainerCollector( logger lager.Logger, containerRepository db.ContainerRepository, jobRunner WorkerJobRunner, ) Collector
func NewResourceCacheCollector ¶
func NewResourceCacheCollector( logger lager.Logger, cacheLifecycle db.ResourceCacheLifecycle, ) Collector
func NewResourceCacheUseCollector ¶
func NewResourceCacheUseCollector( logger lager.Logger, cacheLifecycle db.ResourceCacheLifecycle, ) Collector
func NewResourceConfigCheckSessionCollector ¶
func NewResourceConfigCheckSessionCollector( logger lager.Logger, configCheckSessionLifecycle db.ResourceConfigCheckSessionLifecycle, ) Collector
func NewResourceConfigCollector ¶
func NewResourceConfigCollector( logger lager.Logger, configFactory db.ResourceConfigFactory, ) Collector
func NewVolumeCollector ¶
func NewVolumeCollector( logger lager.Logger, volumeFactory db.VolumeFactory, jobRunner WorkerJobRunner, ) Collector
func NewWorkerCollector ¶
func NewWorkerCollector( logger lager.Logger, workerLifecycle db.WorkerLifecycle, ) Collector
type WorkerJobRunner ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.