Documentation
¶
Overview ¶
/ Package for abstracting agent downstream updates and notifying upstream
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUpdateNotifier ¶
Types ¶
type AliasNotifer ¶
type AliasNotifer[T Clonable[T]] updateNotifier[T]
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) }
Click to show internal directories.
Click to hide internal directories.