go-ceph/rados
Sven Anderson c45fa95b32 rados: remove pointer arithmetic on C-buffers
This change uses slices on top of C allocated array memory in order
to have a simple (no pointer arithmetic) and safe (boundary-checked)
access to its elements.

Signed-off-by: Sven Anderson <sven@redhat.com>
2021-05-03 16:20:34 +00:00
..
command.go rados: add MonCommandTarget & MonCommandTargetWithInputBuffer functions 2020-05-27 13:38:07 -04:00
command_mimic_test.go rados: add MgrCommand and MgrCommandWithInputBuffer functions 2020-04-27 14:38:16 -04:00
command_test.go rados: test functions for MonCommandTarget 2020-05-27 13:38:07 -04:00
conn.go rados: document what env variable ceph uses for ParseDefaultConfigEnv. 2020-07-24 09:54:04 -04:00
doc.go rados: use correct style for package doc comment 2019-12-12 11:34:51 -05:00
errors.go rados: add an error to be used if data is requested too early 2021-01-12 14:47:30 +00:00
errors_test.go rados: use FormatErrorCode for formatting rados errors 2020-08-10 13:03:24 -04:00
ioctx.go rados: make ioctx create internally based on WriteOp Create 2021-01-12 14:47:30 +00:00
ioctx_nautilus.go rados: add GetNamespace implementing rados_ioctx_get_namespace 2020-11-03 17:50:44 +00:00
ioctx_nautilus_test.go rados: add GetNamespace implementing rados_ioctx_get_namespace 2020-11-03 17:50:44 +00:00
object_iter.go rados: update error conversion func to be consistent with rbd & cephfs 2020-04-06 17:10:09 -04:00
omap.go rados: remove pointer arithmetic on C-buffers 2021-05-03 16:20:34 +00:00
operation.go rados: add withRefs type 2021-01-12 14:47:30 +00:00
operation_flags.go rados: add a file to expose librados operation flags to our rados pkg 2021-01-12 14:47:30 +00:00
operation_test.go rados: add test cases for basic operation types 2021-01-12 14:47:30 +00:00
rados.go rados: add LIBRADOS_OP_FLAG_* constants 2020-11-12 12:50:03 +00:00
rados_nautilus.go rados: add LIBRADOS_OP_FLAG_* constants 2020-11-12 12:50:03 +00:00
rados_test.go rados: add GetLastVersion implementing rados_get_last_version 2020-07-31 09:17:38 -04:00
read_op.go rados: add AssertExists function to ReadOp 2021-01-12 14:47:30 +00:00
read_op_test.go rados: add test cases for ReadOp type and functions 2021-01-12 14:47:30 +00:00
snapshot.go rados: add wrapper for rados_ioctx_snap_set_read() function 2020-08-04 11:07:40 -04:00
snapshot_test.go rados: add wrapper for rados_ioctx_snap_set_read() function 2020-08-04 11:07:40 -04:00
write_op.go rados: remove pointer arithmetic on C-buffers 2021-05-03 16:20:34 +00:00
write_op_test.go rados: add an initial set of tests for WriteOp operations 2021-01-12 14:47:30 +00:00
write_step.go rados: add Write, WriteFull, and WriteSame WriteOp functions 2021-01-12 14:47:30 +00:00