go-ceph/rados
Niels de Vos 09b6977dc9 rados: free cluster runtime resources automatically
Release resources that are allocated while configuring the connection to
the cluster. rados_shutdown() should only be needed after a successful
call to rados_connect(), however if the connection has been configured
with non-default parameters, some of the parameters may be allocated
before connecting. rados_shutdown() will free the allocated resources,
even if there has not been a connection yet.

Note that the finalizers get executed during garbage collection, which
can be forced by calling runtime.GC() for testing.

Fixes: #109
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2019-11-26 09:59:19 -05:00
..
conn.go rados: free cluster runtime resources automatically 2019-11-26 09:59:19 -05:00
doc.go doc: setup docs for multiple packages 2015-01-12 20:57:40 -08:00
ioctx.go bugfix: fix function deprecated rados_read_op_omap_get_vals 2018-12-02 11:04:21 +08:00
rados.go rados: free cluster runtime resources automatically 2019-11-26 09:59:19 -05:00
rados_test.go Add GetPoolByID() for calling rados_pool_reverse_lookup() 2019-11-01 14:40:47 -04:00