Documentation ¶ Index ¶ func FromYaml(opts ...any) gloo.Command[[]byte, []byte] type Error func (e Error) Error() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FromYaml ¶ func FromYaml(opts ...any) gloo.Command[[]byte, []byte] FromYaml converts a YAML document on the input into a single compact JSON value (object, array, or scalar), letting YAML feed the rest of the json pipeline. The whole input is one document, so it is buffered and emitted as one value. Types ¶ type Error ¶ type Error string Error is the sentinel error type for the fromyaml package. func (Error) Error ¶ func (e Error) Error() string Source Files ¶ View all Source files command.goerrors.goopt.go Click to show internal directories. Click to hide internal directories.