Ceph::Rados::IO - Perl wrapper to librados IO context.
Wraps rados_objects_list_open(). Returns a list context for the pool, as a Ceph::Rados::List object.
rados_objects_list_open()
Wraps rados_write(). Write data from the source, to a ceph object with the supplied ID. Source can either be a perl scalar, or a handle to read data from. Returns 1 on success. Croaks on failure.
rados_write()
As write_data(), but explicitly declaring the source type.
Wraps rados_append(). Appends data to the ceph object with the supplied ID. Data must be a perl scalar, not a handle. Returns 1 on success. Croaks on failure.
rados_append()
Wraps rados_stat(). Returns a 2-element list of (filesize, mtime) for the ceph object with the supplied ID.
rados_stat()
Wraps rados_read(). Read data from the ceph object with the supplied ID, and return the data read. Croaks on failure.
rados_read()
As read(), but writes the data directly to the supplied handle instead of returning it.
read()
Wraps rados_remove(). Deletes the ceph object with the supplied ID. Returns 1 on success. Croaks on failure.
rados_remove()
To install Ceph::Rados, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ceph::Rados
CPAN shell
perl -MCPAN -e shell install Ceph::Rados
For more information on module installation, please visit the detailed CPAN module installation guide.