Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetScanEstimationPoller ¶
type AssetScanEstimationPoller = common.Poller[AssetScanEstimationReconcileEvent]
type AssetScanEstimationQueue ¶
type AssetScanEstimationQueue = common.Queue[AssetScanEstimationReconcileEvent]
type AssetScanEstimationReconcileEvent ¶
type AssetScanEstimationReconcileEvent struct { AssetScanEstimationID models.AssetScanEstimationID ScanEstimationID models.ScanEstimationID AssetID models.AssetScanID }
func (AssetScanEstimationReconcileEvent) Hash ¶
func (e AssetScanEstimationReconcileEvent) Hash() string
func (AssetScanEstimationReconcileEvent) String ¶
func (e AssetScanEstimationReconcileEvent) String() string
func (AssetScanEstimationReconcileEvent) ToFields ¶
func (e AssetScanEstimationReconcileEvent) ToFields() log.Fields
type AssetScanEstimationReconciler ¶
type AssetScanEstimationReconciler = common.Reconciler[AssetScanEstimationReconcileEvent]
type Config ¶
type Config struct { Backend *backendclient.BackendClient Provider provider.Provider PollPeriod time.Duration `mapstructure:"poll_period"` ReconcileTimeout time.Duration `mapstructure:"reconcile_timeout"` }
func (Config) WithBackendClient ¶
func (c Config) WithBackendClient(b *backendclient.BackendClient) Config
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func (*Watcher) GetAssetScanEstimations ¶
func (w *Watcher) GetAssetScanEstimations(ctx context.Context) ([]AssetScanEstimationReconcileEvent, error)
nolint:cyclop
Click to show internal directories.
Click to hide internal directories.