diff --git a/cephfs/admin/snapshot_metadata.go b/cephfs/admin/snapshot_metadata.go index 199f94316..62681ea62 100644 --- a/cephfs/admin/snapshot_metadata.go +++ b/cephfs/admin/snapshot_metadata.go @@ -1,5 +1,5 @@ -//go:build !(nautilus || octopus || pacific) && ceph_preview -// +build !nautilus,!octopus,!pacific,ceph_preview +//go:build !(nautilus || octopus || pacific) +// +build !nautilus,!octopus,!pacific package admin diff --git a/cephfs/admin/snapshot_metadata_test.go b/cephfs/admin/snapshot_metadata_test.go index 20a899cee..6c1efacef 100644 --- a/cephfs/admin/snapshot_metadata_test.go +++ b/cephfs/admin/snapshot_metadata_test.go @@ -1,5 +1,5 @@ -//go:build !(nautilus || octopus || pacific) && ceph_preview -// +build !nautilus,!octopus,!pacific,ceph_preview +//go:build !(nautilus || octopus || pacific) +// +build !nautilus,!octopus,!pacific package admin diff --git a/docs/api-status.json b/docs/api-status.json index 625c8dacd..4725a00b1 100644 --- a/docs/api-status.json +++ b/docs/api-status.json @@ -564,47 +564,47 @@ "comment": "ListMetadata lists custom metadata (key-value pairs) set on the subvolume\nin a volume belonging to an optional subvolume group.\n\nSimilar To:\n\n\tceph fs subvolume metadata ls [--group_name ]\n", "added_in_version": "v0.20.0", "became_stable_version": "v0.22.0" - } - ], - "deprecated_api": [ - { - "name": "New", - "comment": "New creates an FSAdmin automatically based on the default ceph\nconfiguration file. If more customization is needed, create a\n*rados.Conn as you see fit and use NewFromConn to use that\nconnection with these administrative functions.\n\nDeprecated: Use NewFromConn instead of New. The New function does not expose\nthe rados connection and therefore can not be deterministically cleaned up.\n", - "deprecated_in_version": "v0.21.0", - "expected_remove_version": "v0.24.0" - } - ], - "preview_api": [ + }, { "name": "FSAdmin.GetSnapshotMetadata", - "comment": "GetSnapshotMetadata gets custom metadata on the subvolume snapshot in a\nvolume belonging to an optional subvolume group based on provided key name.\n\nSimilar To:\n ceph fs subvolume snapshot metadata get [--group_name ]\n", + "comment": "GetSnapshotMetadata gets custom metadata on the subvolume snapshot in a\nvolume belonging to an optional subvolume group based on provided key name.\n\nSimilar To:\n\n\tceph fs subvolume snapshot metadata get [--group_name ]\n", "added_in_version": "v0.20.0", - "expected_stable_version": "v0.22.0" + "became_stable_version": "v0.22.0" }, { "name": "FSAdmin.SetSnapshotMetadata", - "comment": "SetSnapshotMetadata sets custom metadata on the subvolume snapshot in a\nvolume belonging to an optional subvolume group as a key-value pair.\n\nSimilar To:\n ceph fs subvolume snapshot metadata set [--group_name ]\n", + "comment": "SetSnapshotMetadata sets custom metadata on the subvolume snapshot in a\nvolume belonging to an optional subvolume group as a key-value pair.\n\nSimilar To:\n\n\tceph fs subvolume snapshot metadata set [--group_name ]\n", "added_in_version": "v0.20.0", - "expected_stable_version": "v0.22.0" + "became_stable_version": "v0.22.0" }, { "name": "FSAdmin.RemoveSnapshotMetadata", - "comment": "RemoveSnapshotMetadata removes custom metadata set on the subvolume\nsnapshot in a volume belonging to an optional subvolume group using the\nmetadata key.\n\nSimilar To:\n ceph fs subvolume snapshot metadata rm [--group_name ]\n", + "comment": "RemoveSnapshotMetadata removes custom metadata set on the subvolume\nsnapshot in a volume belonging to an optional subvolume group using the\nmetadata key.\n\nSimilar To:\n\n\tceph fs subvolume snapshot metadata rm [--group_name ]\n", "added_in_version": "v0.20.0", - "expected_stable_version": "v0.22.0" + "became_stable_version": "v0.22.0" }, { "name": "FSAdmin.ForceRemoveSnapshotMetadata", - "comment": "ForceRemoveSnapshotMetadata attempt to forcefully remove custom metadata\nset on the subvolume snapshot in a volume belonging to an optional\nsubvolume group using the metadata key.\n\nSimilar To:\n ceph fs subvolume snapshot metadata rm [--group_name ] --force\n", + "comment": "ForceRemoveSnapshotMetadata attempt to forcefully remove custom metadata\nset on the subvolume snapshot in a volume belonging to an optional\nsubvolume group using the metadata key.\n\nSimilar To:\n\n\tceph fs subvolume snapshot metadata rm [--group_name ] --force\n", "added_in_version": "v0.20.0", - "expected_stable_version": "v0.22.0" + "became_stable_version": "v0.22.0" }, { "name": "FSAdmin.ListSnapshotMetadata", - "comment": "ListSnapshotMetadata lists custom metadata (key-value pairs) set on the subvolume\nsnapshot in a volume belonging to an optional subvolume group.\n\nSimilar To:\n ceph fs subvolume snapshot metadata ls [--group_name ]\n", + "comment": "ListSnapshotMetadata lists custom metadata (key-value pairs) set on the subvolume\nsnapshot in a volume belonging to an optional subvolume group.\n\nSimilar To:\n\n\tceph fs subvolume snapshot metadata ls [--group_name ]\n", "added_in_version": "v0.20.0", - "expected_stable_version": "v0.22.0" - }, + "became_stable_version": "v0.22.0" + } + ], + "deprecated_api": [ + { + "name": "New", + "comment": "New creates an FSAdmin automatically based on the default ceph\nconfiguration file. If more customization is needed, create a\n*rados.Conn as you see fit and use NewFromConn to use that\nconnection with these administrative functions.\n\nDeprecated: Use NewFromConn instead of New. The New function does not expose\nthe rados connection and therefore can not be deterministically cleaned up.\n", + "deprecated_in_version": "v0.21.0", + "expected_remove_version": "v0.24.0" + } + ], + "preview_api": [ { "name": "FSAdmin.PinSubVolume", "comment": "PinSubVolume pins subvolume to ranks according to policies. A valid pin\nsetting value depends on the type of pin as described in the docs from\nhttps://docs.ceph.com/en/latest/cephfs/multimds/#cephfs-pinning and\nhttps://docs.ceph.com/en/latest/cephfs/multimds/#setting-subtree-partitioning-policies\n\nSimilar To:\n\n\tceph fs subvolume pin \n", diff --git a/docs/api-status.md b/docs/api-status.md index 7190ecdc9..881153fb8 100644 --- a/docs/api-status.md +++ b/docs/api-status.md @@ -20,11 +20,6 @@ MountInfo.Futimes | v0.22.0 | v0.24.0 | Name | Added in Version | Expected Stable Version | ---- | ---------------- | ----------------------- | -FSAdmin.GetSnapshotMetadata | v0.20.0 | v0.22.0 | -FSAdmin.SetSnapshotMetadata | v0.20.0 | v0.22.0 | -FSAdmin.RemoveSnapshotMetadata | v0.20.0 | v0.22.0 | -FSAdmin.ForceRemoveSnapshotMetadata | v0.20.0 | v0.22.0 | -FSAdmin.ListSnapshotMetadata | v0.20.0 | v0.22.0 | FSAdmin.PinSubVolume | v0.21.0 | v0.23.0 | FSAdmin.PinSubVolumeGroup | v0.21.0 | v0.23.0 | FSAdmin.FetchVolumeInfo | v0.21.0 | v0.23.0 |