3badd4c35c
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 |
||
---|---|---|
.. | ||
event.go | ||
event_buffer.go | ||
event_buffer_test.go | ||
event_publisher.go | ||
event_publisher_test.go | ||
event_snapshot.go | ||
event_snapshot_test.go | ||
event_test.go | ||
noop.go | ||
string_types.go | ||
subscription.go | ||
subscription_test.go |