Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect: simplify the compiled discovery chain data structures #6242

Merged
merged 1 commit into from
Aug 2, 2019

Commits on Aug 2, 2019

  1. connect: simplify the compiled discovery chain data structures

    This should make them better for sending over RPC or the API.
    
    Instead of a chain implemented explicitly like a linked list (nodes
    holding pointers to other nodes) instead switch to a flat map of named
    nodes with nodes linking other other nodes by name. The shipped
    structure is just a map and a string to indicate which key to start
    from.
    
    Other changes:
    
    * inline the compiler option InferDefaults as true
    
    * introduce compiled target config to avoid needing to send back
      additional maps of Resolvers; future target-specific compiled state
      can go here
    
    * move compiled MeshGateway out of the Resolver and into the
      TargetConfig where it makes more sense.
    rboyer committed Aug 2, 2019
    Configuration menu
    Copy the full SHA
    a8e1888 View commit details
    Browse the repository at this point in the history