Documentation ¶
Index ¶
- Constants
- func NewBuildCollector(logger lager.Logger, buildFactory buildFactory) *buildCollector
- type BaggageclaimClientFactory
- type BuildReaper
- type Collector
- func NewCollector(logger lager.Logger, buildCollector Collector, workers Collector, ...) Collector
- func NewContainerCollector(logger lager.Logger, containerFactory containerFactory, ...) Collector
- func NewResourceCacheCollector(logger lager.Logger, cacheFactory db.ResourceCacheFactory) Collector
- func NewResourceCacheUseCollector(logger lager.Logger, cacheFactory db.ResourceCacheFactory) Collector
- func NewResourceConfigCheckSessionCollector(logger lager.Logger, ...) Collector
- func NewResourceConfigCollector(logger lager.Logger, configFactory db.ResourceConfigFactory) Collector
- func NewResourceConfigUseCollector(logger lager.Logger, configFactory db.ResourceConfigFactory) Collector
- func NewVolumeCollector(logger lager.Logger, volumeFactory db.VolumeFactory, ...) Collector
- func NewWorkerCollector(logger lager.Logger, workerLifecycle db.WorkerLifecycle) Collector
- type GardenClientFactory
Constants ¶
View Source
const HijackedContainerTimeout = 5 * time.Minute
Variables ¶
This section is empty.
Functions ¶
func NewBuildCollector ¶
Types ¶
type BaggageclaimClientFactory ¶
type BaggageclaimClientFactory interface {
NewClient(apiURL string, workerName string) bclient.Client
}
func NewBaggageclaimClientFactory ¶
func NewBaggageclaimClientFactory(dbWorkerFactory db.WorkerFactory) BaggageclaimClientFactory
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, containerFactory containerFactory, workerProvider db.WorkerFactory, gardenClientFactory GardenClientFactory, ) Collector
func NewResourceCacheCollector ¶
func NewResourceCacheCollector( logger lager.Logger, cacheFactory db.ResourceCacheFactory, ) Collector
func NewResourceCacheUseCollector ¶
func NewResourceCacheUseCollector( logger lager.Logger, cacheFactory db.ResourceCacheFactory, ) Collector
func NewResourceConfigCheckSessionCollector ¶
func NewResourceConfigCheckSessionCollector( logger lager.Logger, configCheckSessionLifecycle db.ResourceConfigCheckSessionLifecycle, ) Collector
func NewResourceConfigCollector ¶
func NewResourceConfigCollector( logger lager.Logger, configFactory db.ResourceConfigFactory, ) Collector
func NewResourceConfigUseCollector ¶
func NewResourceConfigUseCollector( logger lager.Logger, configFactory db.ResourceConfigFactory, ) Collector
func NewVolumeCollector ¶
func NewVolumeCollector( logger lager.Logger, volumeFactory db.VolumeFactory, workerFactory db.WorkerFactory, baggageclaimClientFactory BaggageclaimClientFactory, ) Collector
func NewWorkerCollector ¶
func NewWorkerCollector( logger lager.Logger, workerLifecycle db.WorkerLifecycle, ) Collector
type GardenClientFactory ¶
func NewGardenClientFactory ¶
func NewGardenClientFactory() GardenClientFactory
Source Files ¶
Click to show internal directories.
Click to hide internal directories.