This repository contains a grapesy client for etcd.
It is divided into packages:
- grapesy-etcd - Contains the metadata instances for use with grapesy, and a simple client as library code. Released under grapesy-etcd.
- grapesy-etcd-testing - Contains an executable (not cabal test) for running a test against a live etcd service.
- proto-lens-etcd - Contains the protocol buffer bindings, released to hackage under proto-lens-etcd.
Do this to get started.
nix develop
cabal build all
Testing the must be done against a real etcd service, which is provided by a NixOS VM test in a flake check attribute. To run all of the tests, run
nix flake check
You may run the test executable against a version of etcd installed on your host if you wish.