Commit Graph

589 Commits

Author SHA1 Message Date
Noah Watkins
7ca7bc5376 doc: add doc file
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-09 11:11:46 -08:00
Noah Watkins
f2ebce042d doc: fix formatting in README
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-12-03 21:05:59 -08:00
Noah Watkins
5d79dd9718 test: make read/write test simpler
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-12-03 21:05:18 -08:00
Noah Watkins
507dc20bc7 doc: add read/write example to readme
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-12-03 21:05:08 -08:00
Noah Watkins
04fbadc60d test: add basic read/write test
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-12-03 20:47:47 -08:00
Noah Watkins
b0bfca11f1 doc: add badges
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-12-03 20:14:04 -08:00
Noah Watkins
9ebff556c2 doc: add semver note to readme
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-11-27 16:44:02 -08:00
Noah Watkins
860a0316a9 Merge pull request #5 from noahdesu/wip-travis-ci-build
test: fix travis-ci builds

Signed-off-by: Noah Watkins noahwatkins@gmail.com
2014-11-27 16:42:24 -08:00
Noah Watkins
e89a709f21 test: display stat changes
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-11-27 16:36:01 -08:00
Noah Watkins
70e325826b test: use micro-osd script to setup ci build
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-11-27 16:28:52 -08:00
Noah Watkins
d0609a1c54 test: add micro-osd script for travis-ci build
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-11-27 16:28:10 -08:00
Noah Watkins
802930e9e5 test: check for any stat change
The memstore doesn't seem to refresh kb_used, so we wait for anything to
change. It looks like num_objects changes for memstore.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-11-27 16:27:23 -08:00
Noah Watkins
a5f7bb1350 test: check numeric osd id
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-11-27 16:27:13 -08:00
Noah Watkins
e2332ecd37 test: fix import path
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-11-27 16:26:45 -08:00
Noah Watkins
ced9be0281 license: add MIT license
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-11-27 10:53:04 -08:00
Noah Watkins
c7a05b9108 Merge pull request #1 from noahdesu/doc
doc: update README with examples
2014-09-03 07:18:21 -07:00
Noah Watkins
d509f9f5da doc: update README with examples
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-09-03 07:16:18 -07:00
Noah Watkins
ae857db917 travis: install ceph in ci environment
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-09-03 07:15:36 -07:00
Noah Watkins
a63cf0bd74 lib: updating comments
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-08-30 18:03:23 -07:00
Noah Watkins
f912b97bce test: make ping monitor robust; clean-ups
Tries to guess a monitor id to ping. Currently tests "a" which is used
with vstart.sh, or tests all hostnames that are found via a reverse
lookup of the 'mon-host' configuration option value.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-08-30 10:36:10 -07:00
Noah Watkins
79f2f12041 test: add some test cleanup
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-08-30 10:34:53 -07:00
Noah Watkins
222a935b40 test: add data to cluster before stat
For an empty cluster we need to write data into the cluster so cluster
stats come back as non-zero. This also adds a max 30 second delay to
wait for the stats to update.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-08-30 10:33:09 -07:00
Noah Watkins
b8609f826c lib: fix parse commnad line arguments
Adds a placeholder string at argv[0] position because Ceph will start
parsing the provided arguments at position argv[1] (skipping what would
normally be the executable name).

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-08-30 10:30:16 -07:00
Noah Watkins
728afd56be lib: update comments
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-08-30 10:29:17 -07:00
Noah Watkins
fae473416b lib: add make/delete pool interfaces
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-08-30 10:28:30 -07:00
Noah Watkins
3103698734 lib: add accessor for cluster fsid/instance_id
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-08-29 15:56:17 -07:00
Noah Watkins
4ff181b2e5 lib: add and update comments
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-08-29 09:40:44 -07:00
Noah Watkins
130cb56e1c lib: more conf_* wrappers and test clean-ups
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-08-29 09:21:14 -07:00
Noah Watkins
c995a1c1ec lib: implemement parsecmdlineargs
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-05-27 20:12:17 -07:00
Noah Watkins
bb67ba13a4 lib: implement GetClusterStats
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-05-26 12:43:44 -07:00
Noah Watkins
fc036b6edd lib: implement WaitForLatestOSDMap
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-05-26 11:38:46 -07:00
Noah Watkins
8659a52379 doc: update readme with example
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-05-26 11:14:12 -07:00
Noah Watkins
c4f0d8cbf2 lib: implement SetConfigOption
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-05-26 11:11:47 -07:00
Noah Watkins
eb1efa6edb lib: add conn.ListPools
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-05-26 10:53:30 -07:00
Noah Watkins
8ba5ad18e5 lib: rename Open to NewConn
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-05-24 11:42:18 -07:00
Noah Watkins
56038c2675 doc: update method doc
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-05-24 11:41:58 -07:00
Noah Watkins
af6b92d0e0 doc: update method docs
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-05-24 11:28:19 -07:00
Noah Watkins
e9bf732345 doc: add readme
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-05-24 11:13:54 -07:00
Noah Watkins
3a6efa08d6 initial commit: starting go-rados library
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-05-24 10:36:12 -07:00