Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFailedToAcquireLease = errors.New("failed-to-acquire-lease")
Functions ¶
This section is empty.
Types ¶
type IntervalRunner ¶
type IntervalRunner struct {
// contains filtered or unexported fields
}
func NewIntervalRunner ¶
type RadarDB ¶
type RadarDB interface { GetPipelineName() string GetPipelineID() int ScopedName(string) string TeamID() int IsPaused() (bool, error) GetConfig() (atc.Config, db.ConfigVersion, bool, error) GetLatestVersionedResource(resourceName string) (db.SavedVersionedResource, bool, error) GetResource(resourceName string) (db.SavedResource, bool, error) GetResourceType(resourceTypeName string) (db.SavedResourceType, bool, error) PauseResource(resourceName string) error UnpauseResource(resourceName string) error SaveResourceVersions(atc.ResourceConfig, []atc.Version) error SaveResourceTypeVersion(atc.ResourceType, atc.Version) error SetResourceCheckError(resource db.SavedResource, err error) error LeaseResourceChecking(logger lager.Logger, resource string, interval time.Duration, immediate bool) (db.Lease, bool, error) LeaseResourceTypeChecking(logger lager.Logger, resourceType string, interval time.Duration, immediate bool) (db.Lease, bool, error) }
type ResourceNotConfiguredError ¶
type ResourceNotConfiguredError struct {
ResourceName string
}
func (ResourceNotConfiguredError) Error ¶
func (err ResourceNotConfiguredError) Error() string
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
type 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 ¶
type ScannerFactory ¶
func NewScannerFactory ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.