Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalStream ¶
MarshalStream returns the YAML encoding of v.
func UnmarshalStream ¶ added in v0.4.2
UnmarshalStream parses the YAML to a CUE list expression on success.
func Validate ¶ added in v0.0.6
Validate validates YAML and confirms it is an instance of the schema specified by v. If the YAML source is a stream, every object must match v.
func ValidatePartial ¶ added in v0.1.0
ValidatePartial validates YAML and confirms it matches the constraints specified by v using unification. This means that b must be consistent with, but does not have to be an instance of v. If the YAML source is a stream, every object must match v.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.