open-consul/consul/state
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
..
delay.go Completes state store for KV, sessions, tombstones, and nodes/services/checks (needs tests and integration). 2015-10-15 14:59:09 -07:00
delay_test.go Adds a delay test. 2015-10-15 14:59:09 -07:00
graveyard.go Converts sessions and ACLs over to iterators. 2015-10-19 14:56:22 -07:00
graveyard_test.go Converts sessions and ACLs over to iterators. 2015-10-19 14:56:22 -07:00
kvs.go Adds a get-tree verb to KV transaction operations. 2016-05-13 16:57:39 -07:00
kvs_test.go Refactors TxnRequest/TxnResponse into a form that will allow non-KV ops. 2016-05-11 01:39:10 -07:00
notify.go Integrates new state store for ACLs. 2015-10-15 14:59:09 -07:00
notify_test.go Integrates new state store for ACLs. 2015-10-15 14:59:09 -07:00
prepared_query.go Adds a comment about the embedded struct. 2016-03-07 10:45:39 -08:00
prepared_query_index.go Adds in basic query template lookups and vendors newly-updated memdb as well as improved iradix tree. 2016-03-07 10:45:39 -08:00
prepared_query_index_test.go Adds a test for the custom prepared query template indexer. 2016-03-07 10:45:39 -08:00
prepared_query_test.go Adds core query template tests to the state store. 2016-03-07 10:45:39 -08:00
schema.go Adds in basic query template lookups and vendors newly-updated memdb as well as improved iradix tree. 2016-03-07 10:45:39 -08:00
schema_test.go consul/state: start tests for schema 2015-10-15 14:59:09 -07:00
state_store.go Chase casting types.CheckID to a string into the state_store. 2016-06-07 16:59:02 -04:00
state_store_test.go Chase casting types.CheckID to a string into the state_store. 2016-06-07 16:59:02 -04:00
tombstone_gc.go Integrates new state store into leader and catalog/health endpoints. 2015-10-15 14:59:09 -07:00
tombstone_gc_test.go Integrates new state store into leader and catalog/health endpoints. 2015-10-15 14:59:09 -07:00
txn.go Adds a get-tree verb to KV transaction operations. 2016-05-13 16:57:39 -07:00
txn_test.go Adds a get-tree verb to KV transaction operations. 2016-05-13 16:57:39 -07:00
watch.go Prevents watches from being orphaned when KVS blocking queries loop. 2016-01-20 07:18:47 -08:00
watch_test.go Prevents watches from being orphaned when KVS blocking queries loop. 2016-01-20 07:18:47 -08:00