Versions in this module Expand all Collapse all v0 v0.6.0 Nov 8, 2023 Changes in this version + const DefaultPollInterval + const DefaultReconcileTimeout + type AssetScanProcessor struct + func New(config Config) *AssetScanProcessor + func (asp *AssetScanProcessor) GetItems(ctx context.Context) ([]AssetScanReconcileEvent, error) + func (asp *AssetScanProcessor) Reconcile(ctx context.Context, event AssetScanReconcileEvent) error + func (asp *AssetScanProcessor) Start(ctx context.Context) + type AssetScanReconcileEvent struct + AssetScanID models.AssetScanID + func (e AssetScanReconcileEvent) Hash() string + func (e AssetScanReconcileEvent) String() string + func (e AssetScanReconcileEvent) ToFields() logrus.Fields + type Config struct + Backend *backendclient.BackendClient + PollPeriod time.Duration + ReconcileTimeout time.Duration + func (c Config) WithBackendClient(b *backendclient.BackendClient) Config + func (c Config) WithPollPeriod(t time.Duration) Config + func (c Config) WithReconcileTimeout(t time.Duration) Config