open-consul/consul
Sean Chittenden 7482a9207d
Chase casting types.CheckID to a string into the state_store.
It turns out the indexer can only use strings as arguments when
creating a query.  Cast `types.CheckID` to a `string` before calling
into `memdb`.

Ideally the indexer would be smart enough to do this at compile-time,
but I need to look into how to do this without reflection and the
runtime package.  For the time being statically cast `types.CheckID`
to a `string` at the call sites.
2016-06-07 16:59:02 -04:00
..
agent Rename server_details package to agent 2016-03-29 17:39:19 -07:00
prepared_query Hardens the match interoplator against negative arguments. 2016-03-07 13:32:32 -08:00
servers Remove stray type definition 2016-05-10 18:56:28 -07:00
state Chase casting types.CheckID to a string into the state_store. 2016-06-07 16:59:02 -04:00
structs Chase casting types.CheckID to a string into the state_store. 2016-06-07 16:59:02 -04:00
acl.go Adds missing token redact in the GET path. 2016-02-26 15:59:00 -08:00
acl_endpoint.go Factor out duplicate functions into a lib package 2016-01-29 16:57:45 -08:00
acl_endpoint_test.go Factor out duplicate functions into a lib package 2016-01-29 16:57:45 -08:00
acl_test.go Adds missing token redact in the GET path. 2016-02-26 15:59:00 -08:00
catalog_endpoint.go Revert "Move `structs.CheckID` to a new top-level package, `types`." 2016-06-07 16:59:02 -04:00
catalog_endpoint_test.go Gets rid of flaky sort check. 2016-03-21 17:30:05 -07:00
client.go Rename server_details package to agent 2016-03-29 17:39:19 -07:00
client_test.go Add description to rpc test client pool member failure message 2016-04-01 19:17:38 -07:00
config.go consul: dev mode works 2015-12-26 20:19:36 -05:00
coordinate_endpoint.go Cleans up some small `go vet` findings. 2015-12-18 22:14:48 -08:00
coordinate_endpoint_test.go Increases timeouts for coordinate tests. 2016-03-21 16:44:35 -07:00
endpoints.md consul: remove explicit leave, use reconciliation 2014-05-28 16:32:24 -07:00
filter.go Switches GETs to a filtering model for ACLs. 2016-05-13 15:58:55 -07:00
filter_test.go Switches GETs to a filtering model for ACLs. 2016-05-13 15:58:55 -07:00
fsm.go Adds a read-only optimized path for transactions. 2016-05-13 00:34:05 -07:00
fsm_test.go Chase casting types.CheckID to a string into the state_store. 2016-06-07 16:59:02 -04:00
health_endpoint.go Adds distance sorting to health endpoint. Cleans up unit tests. 2015-10-23 15:23:01 -07:00
health_endpoint_test.go Factor out duplicate functions into a lib package 2016-01-29 16:57:45 -08:00
internal_endpoint.go Gets rid of the transitional "New" suffix on state store and RPC. 2015-10-15 14:59:09 -07:00
internal_endpoint_test.go Factor out duplicate functions into a lib package 2016-01-29 16:57:45 -08:00
issue_test.go Gets rid of the transitional "New" suffix on state store and RPC. 2015-10-15 14:59:09 -07:00
kvs_endpoint.go Adds a get-tree verb to KV transaction operations. 2016-05-13 16:57:39 -07:00
kvs_endpoint_test.go Moves txn code into a new endpoint, not specific to KV. 2016-05-10 21:58:02 -07:00
leader.go Chase casting types.CheckID to a string into the state_store. 2016-06-07 16:59:02 -04:00
leader_test.go Makes the iterator naming more consistent. 2015-10-19 15:51:11 -07:00
merge.go Rename server_details package to agent 2016-03-29 17:39:19 -07:00
pool.go Rename server_details package to agent 2016-03-29 17:39:19 -07:00
prepared_query_endpoint.go Renames "debug" endpoint and structures to "explain". 2016-03-07 10:45:39 -08:00
prepared_query_endpoint_test.go Increases timeouts for coordinate tests. 2016-03-21 16:44:35 -07:00
raft_rpc.go consul: use tlsutil.Wrapper instead of tls.Config directly 2015-05-11 13:09:19 -07:00
rpc.go Factor out duplicate functions into a lib package 2016-01-29 16:57:45 -08:00
rtt.go Cleans up some small `go vet` findings. 2015-12-18 22:14:48 -08:00
rtt_test.go Adds a unit test for the new RTT getDatacentersByDistance fn. 2015-11-15 17:06:00 -08:00
serf.go Rename server_details package to agent 2016-03-29 17:39:19 -07:00
serf_test.go agent: -encrypt appends to keyring if one exists 2014-11-19 16:36:01 -08:00
server.go Merge pull request #2028 from hashicorp/f-atomic-kv 2016-05-15 13:46:05 -07:00
server_test.go Adds coordinate sorting support to catalog queries for nodes and service nodes. 2015-10-23 15:23:01 -07:00
session_endpoint.go Factor out duplicate functions into a lib package 2016-01-29 16:57:45 -08:00
session_endpoint_test.go Factor out duplicate functions into a lib package 2016-01-29 16:57:45 -08:00
session_ttl.go Gets rid of the transitional "New" suffix on state store and RPC. 2015-10-15 14:59:09 -07:00
session_ttl_test.go Switches sessions over to UUIDFieldIndex. 2015-10-19 17:09:02 -07:00
status_endpoint.go consul: updating for Raft API changes 2015-05-08 11:35:52 -07:00
status_endpoint_test.go consul: initial pass at refactoring RPC using net-rpc-msgpackrpc 2015-10-13 22:15:23 -07:00
txn_endpoint.go Switches GETs to a filtering model for ACLs. 2016-05-13 15:58:55 -07:00
txn_endpoint_test.go Adds a get-tree verb to KV transaction operations. 2016-05-13 16:57:39 -07:00
util.go Refactor consul.serverParts into server_details.ServerDetails 2016-03-23 16:15:47 -07:00
util_test.go Refactor consul.serverParts into server_details.ServerDetails 2016-03-23 16:15:47 -07:00