Documentation ¶
Overview ¶
Package yaml implements a yaml parser for the starlark programming dialect
outline: yaml yaml provides functions for working with yaml data path: encoding/yaml functions: dumps(obj) string serialize obj to a yaml string params: obj object input object loads(source) object read a source yaml string to a starlark object params: source string input string of yaml data
Index ¶
Constants ¶
View Source
const ModuleName = "encoding/yaml.star"
ModuleName defines the expected name for this Module when used in starlark's load() function, eg: load('encoding/yaml.star', 'yaml')
Variables ¶
This section is empty.
Functions ¶
func Dumps ¶
func Dumps(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)
Dumps serializes a starlark object to a yaml string
func LoadModule ¶
func LoadModule() (starlark.StringDict, error)
LoadModule loads the base64 module. It is concurrency-safe and idempotent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.