PacketFire / gemini

Cluster container orchestration tool
Apache License 2.0
0 stars 0 forks source link

Create a node repository interface #72

Closed RaasAhsan closed 5 years ago

RaasAhsan commented 5 years ago

The master persists node data to Consul right now. To make developing and testing a bit easier, we should define an in-memory repository instead and be able to swap it out with Consul.

  1. Define an abstract, common interface that is responsible for all the operations on node data (create, authenticate)
  2. Write a Consul implementation for that interface.
  3. Write an in-memory implementation for that interface.