go-ceph/rbd
Sven Anderson 6c944e8b65 rbd: make RBDError type unexported
In order to avoid external dependencies on implementation details,
this change replaces RBDError with the unexported rbdError. 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
..
callback_shims.go rbd: add DiffIterate wrapper for rbd_diff_iterate2 2020-03-04 08:10:48 -05:00
diff_iterate.go rbd: make RBDError type unexported 2020-07-17 13:47:32 -04:00
diff_iterate_test.go rbd: make RBDError type unexported 2020-07-17 13:47:32 -04:00
doc.go rbd: use correct style for package doc comment 2019-12-12 11:34:51 -05:00
errors.go rbd: make RBDError type unexported 2020-07-17 13:47:32 -04:00
errors_test.go rbd: consolidate error types & values in an errors.go file 2020-04-06 17:10:09 -04:00
features.go rbd: make RBDError type unexported 2020-07-17 13:47:32 -04:00
features_mimic.go rbd/features: add FeatureSet for mapping features between bits and names 2020-02-24 16:28:03 -05:00
features_mimic_test.go rbd/features: add FeatureSet for mapping features between bits and names 2020-02-24 16:28:03 -05:00
features_nautilus.go rbd/features: add FeatureSet for mapping features between bits and names 2020-02-24 16:28:03 -05:00
features_nautilus_test.go rbd/features: add FeatureSet for mapping features between bits and names 2020-02-24 16:28:03 -05:00
features_test.go rbd: convert uses of RbdImageOptionX to ImageOptionX 2020-03-23 10:09:25 -04:00
namespace_nautilus.go rbd: add wrapper for rbd_namespace_list() function. 2020-06-15 13:43:26 -04:00
namespace_nautilus_test.go rbd: add wrapper for rbd_namespace_list() function. 2020-06-15 13:43:26 -04:00
options.go rbd: add RBD_IMAGE_OPTION_FLATTEN for Mimic 2020-06-09 08:54:33 -04:00
options_mimic.go rbd: add RBD_IMAGE_OPTION_FLATTEN for Mimic 2020-06-09 08:54:33 -04:00
options_nautilus.go rbd: add RBD_IMAGE_OPTION_CLONE_FORMAT for Nautilus 2020-06-09 08:54:33 -04:00
options_octopus.go rbd: add RBD_IMAGE_OPTION_MIRROR_IMAGE_MODE for Octopus 2020-06-09 08:54:33 -04:00
options_test.go rbd: rename uses of RbdImageOptions to ImageOptions 2020-03-23 10:09:25 -04:00
pool_nautilus.go rbd: additional error checking in GetPoolMetadata, SetPoolMetadata and RemovePoolMetadata 2020-06-15 13:20:37 -04:00
pool_nautilus_test.go rbd: additional error checking in GetPoolMetadata, SetPoolMetadata and RemovePoolMetadata 2020-06-15 13:20:37 -04:00
rbd.go rbd: make RBDError type unexported 2020-07-17 13:47:32 -04:00
rbd_mimic.go update more code to use the retry lib. 2020-04-20 15:08:36 -04:00
rbd_nautilus.go rbd: add Image.GetModifyTimestamp() 2020-06-22 09:22:18 -04:00
rbd_nautilus_test.go rbd: make RBDError type unexported 2020-07-17 13:47:32 -04:00
rbd_test.go rbd: add error checking in CreateImage() 2020-06-11 10:42:57 -04:00
snapshot.go rbd: make RBDError type unexported 2020-07-17 13:47:32 -04:00
snapshot_mimic.go rbd: make RBDError type unexported 2020-07-17 13:47:32 -04:00
snapshot_nautilus.go rbd: make RBDError type unexported 2020-07-17 13:47:32 -04:00
snapshot_test.go rbd: move snapshot test funcs to a new file 2020-03-10 07:47:59 +01:00
watchers_mimic.go update more code to use the retry lib. 2020-04-20 15:08:36 -04:00
watchers_mimic_test.go rbd: add minimal support for listing watchers on an RBD image 2020-02-26 13:04:25 -05:00