]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: add a new BigString helper type for serializing yaml
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 2 Jul 2025 21:41:26 +0000 (17:41 -0400)
committerAdam King <adking@redhat.com>
Thu, 21 Aug 2025 18:13:55 +0000 (14:13 -0400)
commit16cf5ddace7bc8232402b5c07fd34e16937edd24
treecacf1bfcec6c5dabd266663ac2fab291ac3c9fe4
parenta0ef84a3a0ab63182c6471c8628279686077b735
mgr/smb: add a new BigString helper type for serializing yaml

Add a new BigString type that serves to help serialize resources to
YAML, causing it to use the multi-line literal style. A BigString is
a string so it should be transparent to other serializations, but
note that it should only be used in "simplified" structures.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 39f73e2b7926e2f717947243a24c8743e4dcb815)
src/pybind/mgr/smb/resources.py