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