go-ceph/rbd
Niels de Vos 1257d817db rbd: include details for parent image in the trash
When a parent image has been removed, it will linger in the trash until
all siblings are gone. The image is not accessible through it's name
anymore, only through its ID.

The ImageSpec that is returned by Image.GetParent() now contains the
Trash boolean and the ImageID to identify if the image is in the trash,
and use OpenImageById() to access the removed parent image.

Related-to: ceph/ceph-csi#4013
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-08-02 13:56:45 +00:00
..
admin gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
diff_iterate_test.go
diff_iterate.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
doc.go
encryption_test.go format: run gofmt on all files 2021-10-04 18:58:35 +00:00
encryption.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
errors_test.go
errors.go rbd: add GetGlobalMirrorStatus implementing rbd_mirror_image_get_global_status 2021-04-13 09:47:43 +00:00
features_nautilus_test.go rbd: remove luminous and mimic build tags 2021-11-09 01:24:01 +00:00
features_nautilus.go rbd: remove luminous and mimic build tags 2021-11-09 01:24:01 +00:00
features_test.go rbd: remove features_mimic.go 2021-08-02 15:15:48 +00:00
features.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
group_snap_test.go rbd: add GroupSnapRollbackWithProgress function 2021-02-08 15:29:11 +00:00
group_snap.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
group_test.go rbd: add GetGroup implementing rbd_get_group 2021-02-02 15:48:00 +00:00
group.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
locks_test.go rbd: Add locking rbd APIs 2023-04-13 14:29:53 +00:00
locks.go rbd: Add locking rbd APIs 2023-04-13 14:29:53 +00:00
metadata_test.go
metadata.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
migration_test.go rbd: Make migration APIs stable 2023-06-08 17:35:55 +00:00
migration.go rbd: Make migration APIs stable 2023-06-08 17:35:55 +00:00
mirror_desc_status_test.go rbd: add tests for DescriptionReplayStatus and UnmarshalDescriptionJSON 2023-03-17 18:10:53 +00:00
mirror_desc_status.go rbd: add functions to parse json in mirroring status description field 2023-03-17 18:10:53 +00:00
mirror_nautilus_test.go rbd: add mirroring support for nautilus 2022-07-13 13:00:48 +00:00
mirror_nautilus.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
mirror_peer_site_test.go rbd: Add mirror peer site API components 2023-03-27 08:39:12 +00:00
mirror_peer_site.go rbd: Remove redundant LastSeen property from MirrorPeerSite struct 2023-04-28 09:02:57 +00:00
mirror_stub_test.go rbd: add tests for DescriptionReplayStatus and UnmarshalDescriptionJSON 2023-03-17 18:10:53 +00:00
mirror_test.go rbd: remove stray debugging prints from mirror tests 2023-03-17 18:10:53 +00:00
mirror.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
namespace_nautilus_test.go rbd: remove luminous and mimic build tags 2021-11-09 01:24:01 +00:00
namespace_nautilus.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
options_octopus.go format: run gofmt on all files 2021-10-04 18:58:35 +00:00
options_test.go
options.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
pool_nautilus_test.go rbd: remove luminous and mimic build tags 2021-11-09 01:24:01 +00:00
pool_nautilus.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
rbd_nautilus_test.go rbd: include details for parent image in the trash 2023-08-02 13:56:45 +00:00
rbd_nautilus.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
rbd_test.go rbd: export image name 2021-11-09 02:31:09 +00:00
rbd.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
snapshot_namespace_test.go rbd: remove luminous and mimic build tags 2021-11-09 01:24:01 +00:00
snapshot_namespace.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
snapshot_nautilus.go rbd: include details for parent image in the trash 2023-08-02 13:56:45 +00:00
snapshot_octopus_test.go format: run gofmt on all files 2021-10-04 18:58:35 +00:00
snapshot_octopus.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
snapshot_rename_test.go rbd: make Snapshot.Remove stable 2022-10-17 17:18:49 +00:00
snapshot_rename.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
snapshot_test.go rbd: add SetSnapshot (re)implementing rbd_snap_set 2021-06-01 10:28:25 +00:00
snapshot.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
sparsify_test.go rbd: rename recently formed files to remove redundant prefix 2023-04-05 13:43:53 +00:00
sparsify.go rbd: rename recently formed files to remove redundant prefix 2023-04-05 13:43:53 +00:00
watchers_test.go rbd: remove build tag for luminous from watchers.go 2021-08-02 15:15:48 +00:00
watchers.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00