Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFailedToAcquireLock = errors.New("failed-to-acquire-lock")
Functions ¶
This section is empty.
Types ¶
type IntervalRunner ¶
type IntervalRunner struct {
// contains filtered or unexported fields
}
func NewIntervalRunner ¶
type ResourceNotFoundError ¶
type ResourceNotFoundError struct {
Name string
}
func (ResourceNotFoundError) Error ¶
func (e ResourceNotFoundError) Error() string
type ScanRunnerFactory ¶
type ScanRunnerFactory interface { ScanResourceRunner(lager.Logger, string) ifrit.Runner ScanResourceTypeRunner(lager.Logger, string) ifrit.Runner }
func NewScanRunnerFactory ¶
func NewScanRunnerFactory( resourceFactory resource.ResourceFactory, defaultInterval time.Duration, dbPipeline dbng.Pipeline, clock clock.Clock, externalURL string, ) 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, defaultInterval time.Duration, externalURL string, ) ScannerFactory
Source Files ¶
Click to show internal directories.
Click to hide internal directories.