go-ceph/rados
Sven Anderson e77ecf68f6 rados: make RadosError type unexported
In order to avoid external dependencies on implementation details,
this change replaces RadosError with the unexported radosError. In case
some application really needs access to the integer value, it can use
the pattern
  var errno interface{ Errno() int }
  if errors.As(err, errno) { ... errno.Errno() ... }

Signed-off-by: Sven Anderson <sven@redhat.com>
2020-07-17 13:47:32 -04: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: make RadosError type unexported 2020-07-17 13:47:32 -04:00
doc.go rados: use correct style for package doc comment 2019-12-12 11:34:51 -05:00
errors.go rados: make RadosError type unexported 2020-07-17 13:47:32 -04:00
errors_test.go rados: update error conversion func to be consistent with rbd & cephfs 2020-04-06 17:10:09 -04:00
ioctx.go rados: make RadosError type unexported 2020-07-17 13:47:32 -04: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: use getError helper in general error conversion cases 2020-04-06 17:10:09 -04:00
rados.go rados: use getError helper in general error conversion cases 2020-04-06 17:10:09 -04:00
rados_test.go rados: move *Command functions into a separate file 2020-04-27 14:38:16 -04:00