nfs admin: make core nfs admin apis stable

As per the api stability doc, the NFS admin apis are due to be stable in 0.18.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2022-10-17 12:50:20 -04:00 committed by mergify[bot]
parent f2f7e1c51d
commit 94f1c7b8a4
5 changed files with 18 additions and 22 deletions

View File

@ -1,5 +1,5 @@
//go:build !(nautilus || octopus) && ceph_preview //go:build !(nautilus || octopus)
// +build !nautilus,!octopus,ceph_preview // +build !nautilus,!octopus
package nfs package nfs

View File

@ -1,5 +1,5 @@
//go:build !(nautilus || octopus) && ceph_preview //go:build !(nautilus || octopus)
// +build !nautilus,!octopus,ceph_preview // +build !nautilus,!octopus
package nfs package nfs

View File

@ -1,5 +1,5 @@
//go:build !(nautilus || octopus) && ceph_preview //go:build !(nautilus || octopus)
// +build !nautilus,!octopus,ceph_preview // +build !nautilus,!octopus
package nfs package nfs

View File

@ -1921,36 +1921,37 @@
] ]
}, },
"common/admin/nfs": { "common/admin/nfs": {
"preview_api": [ "preview_api": [],
"stable_api": [
{ {
"name": "NewFromConn", "name": "NewFromConn",
"comment": "NewFromConn creates an new management object from a preexisting\nrados connection. The existing connection can be rados.Conn or any\ntype implementing the RadosCommander interface.\n PREVIEW\n", "comment": "NewFromConn creates an new management object from a preexisting\nrados connection. The existing connection can be rados.Conn or any\ntype implementing the RadosCommander interface.\n",
"added_in_version": "v0.16.0", "added_in_version": "v0.16.0",
"expected_stable_version": "v0.18.0" "became_stable_version": "v0.18.0"
}, },
{ {
"name": "Admin.CreateCephFSExport", "name": "Admin.CreateCephFSExport",
"comment": "CreateCephFSExport will create a new NFS export for a CephFS file system.\n PREVIEW\n\nSimilar To:\n ceph nfs export create cephfs\n", "comment": "CreateCephFSExport will create a new NFS export for a CephFS file system.\n\nSimilar To:\n ceph nfs export create cephfs\n",
"added_in_version": "v0.16.0", "added_in_version": "v0.16.0",
"expected_stable_version": "v0.18.0" "became_stable_version": "v0.18.0"
}, },
{ {
"name": "Admin.RemoveExport", "name": "Admin.RemoveExport",
"comment": "RemoveExport will remove an NFS export based on the pseudo-path of the export.\n PREVIEW\n\nSimilar To:\n ceph nfs export rm\n", "comment": "RemoveExport will remove an NFS export based on the pseudo-path of the export.\n\nSimilar To:\n ceph nfs export rm\n",
"added_in_version": "v0.16.0", "added_in_version": "v0.16.0",
"expected_stable_version": "v0.18.0" "became_stable_version": "v0.18.0"
}, },
{ {
"name": "Admin.ListDetailedExports", "name": "Admin.ListDetailedExports",
"comment": "ListDetailedExports will return a list of exports with details.\n PREVIEW\n\nSimilar To:\n ceph nfs export ls --detailed\n", "comment": "ListDetailedExports will return a list of exports with details.\n\nSimilar To:\n ceph nfs export ls --detailed\n",
"added_in_version": "v0.16.0", "added_in_version": "v0.16.0",
"expected_stable_version": "v0.18.0" "became_stable_version": "v0.18.0"
}, },
{ {
"name": "Admin.ExportInfo", "name": "Admin.ExportInfo",
"comment": "ExportInfo will return a structure describing the export specified by it's\npseudo-path.\n PREVIEW\n\nSimilar To:\n ceph nfs export info\n", "comment": "ExportInfo will return a structure describing the export specified by it's\npseudo-path.\n\nSimilar To:\n ceph nfs export info\n",
"added_in_version": "v0.16.0", "added_in_version": "v0.16.0",
"expected_stable_version": "v0.18.0" "became_stable_version": "v0.18.0"
} }
] ]
} }

View File

@ -74,9 +74,4 @@ No Preview/Deprecated APIs found. All APIs are considered stable.
Name | Added in Version | Expected Stable Version | Name | Added in Version | Expected Stable Version |
---- | ---------------- | ----------------------- | ---- | ---------------- | ----------------------- |
NewFromConn | v0.16.0 | v0.18.0 |
Admin.CreateCephFSExport | v0.16.0 | v0.18.0 |
Admin.RemoveExport | v0.16.0 | v0.18.0 |
Admin.ListDetailedExports | v0.16.0 | v0.18.0 |
Admin.ExportInfo | v0.16.0 | v0.18.0 |