9a2ae39430
A Peer as defined by the `cluster` package represents the node in the cluster. It is used in other packages to know the status of all of the members or how long should we wait to know if a notification has already fired. In Cortex, we'd like to implement a slightly different way of clustering (using gRPC for communication and a hash ring for node discovery). This is a small change to support that by changing the consumer of other packages to an interface. Silences and Notification channels don't need an interface as they take a `func([]byte) error` as a parameter. Signed-off-by: gotjosh <josue@grafana.com> |
||
---|---|---|
.. | ||
clusterpb | ||
advertise.go | ||
advertise_test.go | ||
channel.go | ||
channel_test.go | ||
cluster.go | ||
cluster_test.go | ||
delegate.go |