open-consul/consul/structs
Frank Schroeder 9f8f258d4d Remove duplicate constants
This patch removes duplicate internal copies of constants in the structs
package which are also defined in the api package. The api.KVOp type
with all its values for the TXN endpoint and the api.HealthXXX constants
are now used throughout the codebase.

This resulted in some circular dependencies in the testutil package
which have been resolved by copying code and constants and moving the
WaitForLeader function into a separate testrpc package.
2017-04-20 09:54:49 -07:00
..
operator.go Add CLI/API endpoints for removing peer by ID 2017-03-30 10:13:32 -07:00
operator_test.go Cleaned up and reorganized some autopilot-related code 2017-03-09 18:21:40 -08:00
prepared_query.go First pass at adding node meta filter to prepared queries 2017-01-18 16:23:33 -05:00
prepared_query_test.go Applies prefix ACL to a catch-all template as a special case. 2016-03-07 10:45:39 -08:00
snapshot.go Adds support for snapshots and restores. (#2396) 2016-10-25 19:20:24 -07:00
structs.go Remove duplicate constants 2017-04-20 09:54:49 -07:00
structs_test.go Remove duplicate constants 2017-04-20 09:54:49 -07:00
txn.go Remove duplicate constants 2017-04-20 09:54:49 -07:00