Documentation ¶
Index ¶
- Constants
- func NewBuildCollector(logger lager.Logger, buildFactory buildFactory) *buildCollector
- type BaggageclaimClientFactory
- 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 dbng.ResourceCacheFactory) Collector
- func NewResourceCacheUseCollector(logger lager.Logger, cacheFactory dbng.ResourceCacheFactory) Collector
- func NewResourceConfigCollector(logger lager.Logger, configFactory dbng.ResourceConfigFactory) Collector
- func NewResourceConfigUseCollector(logger lager.Logger, configFactory dbng.ResourceConfigFactory) Collector
- func NewVolumeCollector(logger lager.Logger, volumeFactory dbng.VolumeFactory, ...) Collector
- func NewWorkerCollector(logger lager.Logger, workerLifecycle dbng.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 dbng.WorkerFactory) BaggageclaimClientFactory
type Collector ¶
type Collector interface {
Run() error
}
func NewCollector ¶
func NewContainerCollector ¶
func NewContainerCollector( logger lager.Logger, containerFactory containerFactory, workerProvider dbng.WorkerFactory, gardenClientFactory GardenClientFactory, ) Collector
func NewResourceCacheCollector ¶
func NewResourceCacheCollector( logger lager.Logger, cacheFactory dbng.ResourceCacheFactory, ) Collector
func NewResourceCacheUseCollector ¶
func NewResourceCacheUseCollector( logger lager.Logger, cacheFactory dbng.ResourceCacheFactory, ) Collector
func NewResourceConfigCollector ¶
func NewResourceConfigCollector( logger lager.Logger, configFactory dbng.ResourceConfigFactory, ) Collector
func NewResourceConfigUseCollector ¶
func NewResourceConfigUseCollector( logger lager.Logger, configFactory dbng.ResourceConfigFactory, ) Collector
func NewVolumeCollector ¶
func NewVolumeCollector( logger lager.Logger, volumeFactory dbng.VolumeFactory, baggageclaimClientFactory BaggageclaimClientFactory, ) Collector
func NewWorkerCollector ¶
func NewWorkerCollector( logger lager.Logger, workerLifecycle dbng.WorkerLifecycle, ) Collector
type GardenClientFactory ¶
func NewGardenClientFactory ¶
func NewGardenClientFactory() GardenClientFactory
Source Files ¶
Click to show internal directories.
Click to hide internal directories.