NAME
Ceph::Rados - Perl wrapper to librados.
SYNOPSIS
use Ceph::Rados;
my $cluster = Ceph::Rados->new('admin');
$cluster->set_config_file;
$cluster->set_config_option( keyring => '/etc/ceph/ceph.client.admin.keyring');
$cluster->connect;
my $io = $cluster->io('testing_pool');
$io->write('greeting', 'hello');
my $stored_data = $io->read('greeting');
$io->delete('greeting');
my $list = $io->list;
while (my $entry = $list->next) {
print "Found $entry\n";
}
DESCRIPTION
This module provides a very limited subset of the librados API, currently just read/writes and lists.
SEE ALSO
librados documentation - http://ceph.com/docs/master/rados/api/librados/
AUTHOR
Alex Bowley, <alex@openimp.net>
COPYRIGHT AND LICENSE
Copyright (C) 2014 by Alex Bowley.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.