Add etcd support in infrastructure layer 03/101403/5
authorRitu Sood <ritu.sood@intel.com>
Sat, 8 Feb 2020 02:36:54 +0000 (18:36 -0800)
committerMarcus Williams <marcus.williams@intel.com>
Fri, 14 Feb 2020 21:57:46 +0000 (21:57 +0000)
commitc3e1c9a5fefde3fcb6aaf05c19b18f211c1a43ba
tree52de09121293ad1fec9c0be1d1f24439f9b73fc0
parenta75d489bbf87712371d67dce0753577bdacce0c3
Add etcd support in infrastructure layer

Create a etcd client and provide minimal
functionality needed by the orchestrator
for using etcd

Issue-ID: MULTICLOUD-871
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: I56fb4643addf43cdc59366e7163b66bb1618876d
src/orchestrator/cmd/main.go
src/orchestrator/pkg/infra/contextdb/contextdb.go [new file with mode: 0644]
src/orchestrator/pkg/infra/contextdb/etcd.go [new file with mode: 0644]
src/orchestrator/pkg/infra/contextdb/etcd_test.go [new file with mode: 0644]
src/orchestrator/pkg/infra/contextdb/mock.go [new file with mode: 0644]