Commit graph

13 commits

Author SHA1 Message Date
Matthew Jaffee
04f5d5875c
api docs, rename funcs, refactor usage of internal
All exported funcs in api.go are now documented

Several poorly named methods of API and Cluster were renamed. Particularly, the
word Fragment was often changed to Slice in cases where it was really a slice
being specified and not a fragment.

several methods which received or returned internal data structures have been
refactored to be more opaque.

Deprecation logging was added to input definition methods.
2018-04-12 11:28:35 -05:00
Matthew Jaffee
9257029da5
simplify Status endpoint
had to update test which was relying on a fake ClusterStatus implementation. Now
the status endpoint uses information directly from Cluster.Nodes and
Cluster.state - which is what Server (the usual ClusterStatus impl) uses, so it
should make no difference for real clusters.
2018-04-11 14:25:02 -05:00
Matthew Jaffee
9daef2180c
rename a number of API methods 2018-04-11 13:49:51 -05:00
Matthew Jaffee
feec5f07e1
add more doc comments to api 2018-04-11 13:30:35 -05:00
Matthew Jaffee
07ca6d57ad
variety of cleanup in api and handler
don't export QueryValidationSpecRequired
add docs to some methods
simplify /debug/vars handling using expvar.Handler()
implement Version in API and simplify
2018-04-11 09:42:05 -05:00
Matthew Jaffee
f8cb579187
get tests passing 2018-04-09 14:29:43 -05:00
Matthew Jaffee
be4965d962
fixup logger, handler.FileSystem 2018-04-03 16:09:11 -07:00
Yuce Tekol
c36dd395e6
All tests pass 2018-04-03 15:20:33 -07:00
Yuce Tekol
8336784d57
More API updates; removed Cluster, Holder, etc from Handler 2018-04-03 15:01:36 -07:00
Yuce Tekol
72526f753c
Moved more of handler to API 2018-04-03 14:52:59 -07:00
Yuce Tekol
b702f70610
Moved more of handler to API 2018-04-03 14:34:40 -07:00
Yuce Tekol
2ebc1914be
More API functions 2018-04-03 14:34:39 -07:00
Yuce Tekol
6c3f3ac0f0
Added API struct; moved query logic to API 2018-04-03 13:41:15 -07:00