open-consul/agent/consul/stream
Matt Keeler 3badd4c35c
Add event generation for autopilot state updates (#12626)
Whenever autopilot updates its state it notifies Consul. That notification will then trigger Consul to extract out the ready server information. If the ready servers have changed, then an event will be published to notify any subscribers of the full set of ready servers.

All these ready server event things are contained within an autopilotevents package instead of the consul package to make importing them into the grpc related packages possible
2022-04-19 13:03:03 -04:00
..
event.go Add event generation for autopilot state updates (#12626) 2022-04-19 13:03:03 -04:00
event_buffer.go stream: remove bufferItem.NextLink 2021-06-07 17:04:46 -04:00
event_buffer_test.go stream: remove bufferItem.NextLink 2021-06-07 17:04:46 -04:00
event_publisher.go Move to using a shared EventPublisher (#12673) 2022-04-12 09:47:42 -04:00
event_publisher_test.go Add event generation for autopilot state updates (#12626) 2022-04-19 13:03:03 -04:00
event_snapshot.go stream: remove bufferItem.NextLink 2021-06-07 17:04:46 -04:00
event_snapshot_test.go stream: remove bufferItem.NextLink 2021-06-07 17:04:46 -04:00
event_test.go streaming: split event buffer by key (#12080) 2022-01-28 12:27:00 +00:00
noop.go Move to using a shared EventPublisher (#12673) 2022-04-12 09:47:42 -04:00
string_types.go Add event generation for autopilot state updates (#12626) 2022-04-19 13:03:03 -04:00
subscription.go WatchRoots gRPC endpoint (#12678) 2022-04-05 15:26:14 +01:00
subscription_test.go Add event generation for autopilot state updates (#12626) 2022-04-19 13:03:03 -04:00