Documentation ¶
Overview ¶
Package for abstracting agent downstream updates and notifying upstream
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AliasNotifer ¶
type AliasNotifer[T Clonable[T]] updateNotifier[T]
type Finder ¶
func NewMultiFinder ¶ added in v0.9.2
type UpdateNotifier ¶
type UpdateNotifier[T any] interface { // Returns a channel that will receive a list of update groups whenever // any rules are added, removed, or updated. The channel has a small buffer // and will initially contain the latest update group list. // // If the context is canceled, the channel will be closed. Additionally, if // the channel's buffer is full, any updates will be dropped. NotifyC(ctx context.Context) <-chan []T Refresh(ctx context.Context) }
func NewUpdateNotifier ¶
func NewUpdateNotifier[T Clonable[T]](finder Finder[T]) UpdateNotifier[T]
Click to show internal directories.
Click to hide internal directories.