ruby-xenstore Code
Brought to you by:
andrew_w_19
| File | Date | Author | Commit |
|---|---|---|---|
| debian | 2014-03-06 |
|
[398fba] Added Debian packaging |
| COPYING | 2012-09-04 |
|
[ba1461] initial implementation of XenStore binding for ... |
| README | 2012-09-04 |
|
[ba1461] initial implementation of XenStore binding for ... |
| extconf.rb | 2012-09-04 |
|
[ba1461] initial implementation of XenStore binding for ... |
| xenstore.c | 2012-09-04 |
|
[ba1461] initial implementation of XenStore binding for ... |
This is a Ruby binding for XenStore. All of the functionality is implemented in
the XenStore::XenStore class. The constructor takes an argment specifying the
connection type.
Supported connection types:
XenStore::XS_DOM0 Dom0
XenStore::XS_DOM0_RO Dom0 read-only
XenStore::XS_DOMU DomU
Supported methods:
(these are basically equivalent to the corresponding C functions, except
that explicit string lengths aren't used)
directory
read
write
mkdir
rm
watch
unwatch
read_watch (returns a [path, token] array)
(these are not quite direct equivalents)
get_watch_file (equivalent to xs_fileno; returns an IO object that can be
watched by an event loop; this object should not be read or
written)