-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buildchain/targets: add a YAML Renderer
Add a new serialization format: YAML. This can be used as base for an SLS serializer. In order to handle long string payload and binary content we add two helpers (`YAMLDocument.text` and `YAMLDocument.bytestring`) that use custom renderers in order to have a readable encoding (using `|` string block literal) and right encoding (use Base64 for binary contents). Refs: #2070 Signed-off-by: Sylvain Laperche <[email protected]>
- Loading branch information
1 parent
132d975
commit 7f34c58
Showing
2 changed files
with
60 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters