Skip to content
Snippets Groups Projects
This project is mirrored from https://gitlab.com/gitlab-org/build/omnibus-mirror/consul.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Oct 02, 2020
  2. Oct 01, 2020
  3. Sep 30, 2020
  4. Sep 29, 2020
  5. Sep 28, 2020
    • Daniel Nephin's avatar
      stream: move goroutine out of New · b7ca15e9
      Daniel Nephin authored
      This change will make it easier to manage goroutine lifecycle from the caller.
      
      Also expose EventPublisher from state.Store
      b7ca15e9
    • Daniel Nephin's avatar
      0fb2a5b9
    • Daniel Nephin's avatar
      state: rename and export EventPayload · 7b1534ef
      Daniel Nephin authored
      The subscribe endpoint needs to be able to inspect the payload to filter
      events, and convert them into the protobuf types.
      
      Use the protobuf CatalogOp type for the operation field, for now. In the
      future if we end up with multiple interfaces we should be able to remove
      the protobuf dependency by changing this to an int32 and adding a test
      for the mapping between the values.
      
      Make the value of the payload a concrete type instead of interface{}. We
      can create other payloads for other event types.
      7b1534ef