Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ContainerExpiries = db.ContainerOwnerExpiries{ GraceTime: 2 * time.Minute, Min: 5 * time.Minute, Max: 1 * time.Hour, }
View Source
var ErrFailedToAcquireLock = errors.New("failed-to-acquire-lock")
Functions ¶
This section is empty.
Types ¶
type IntervalRunner ¶
func NewIntervalRunner ¶
type ScanRunnerFactory ¶
type ScanRunnerFactory interface { ScanResourceRunner(lager.Logger, string) IntervalRunner ScanResourceTypeRunner(lager.Logger, string) IntervalRunner }
func NewScanRunnerFactory ¶
func NewScanRunnerFactory( resourceFactory resource.ResourceFactory, resourceConfigCheckSessionFactory db.ResourceConfigCheckSessionFactory, defaultInterval time.Duration, dbPipeline db.Pipeline, clock clock.Clock, externalURL string, variables creds.Variables, ) ScanRunnerFactory
type Scanner ¶
type Scanner interface { Run(lager.Logger, string) (time.Duration, error) Scan(lager.Logger, string) error ScanFromVersion(lager.Logger, string, atc.Version) error }
func NewResourceScanner ¶
func NewResourceTypeScanner ¶
type ScannerFactory ¶
func NewScannerFactory ¶
func NewScannerFactory( resourceFactory resource.ResourceFactory, resourceConfigCheckSessionFactory db.ResourceConfigCheckSessionFactory, defaultInterval time.Duration, externalURL string, variablesFactory creds.VariablesFactory, ) ScannerFactory
Source Files ¶
Click to show internal directories.
Click to hide internal directories.