Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Poller ¶
type Poller interface {
Poll(ctx context.Context, identifiers []object.ObjMetadata, options polling.Options) <-chan pollevent.Event
}
Poller defines the interface the applier needs to poll for status of resources. The context is the preferred way to shut down the poller. The identifiers defines the resources which the poller should poll and compute status for. The options allows callers to override some of the settings of the poller, like the polling frequency and the caching strategy.
Click to show internal directories.
Click to hide internal directories.