Documentation
¶
Index ¶
- func NewDecoderContext(ctx context.Context, rd io.Reader, opts ...yaml.DecodeOption) (context.Context, *yaml.Decoder)
- func NodeToValueContext(ctx context.Context, node ast.Node, val any) error
- func UnmarshalContext(ctx context.Context, rd io.Reader, val any) error
- type Decoder
- type NodeUnmarshalerContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDecoderContext ¶
func NewDecoderContext(ctx context.Context, rd io.Reader, opts ...yaml.DecodeOption) (context.Context, *yaml.Decoder)
NewDecoderContext creates a new yaml.Decoder and binds it to the given context.Context.
func NodeToValueContext ¶
NodeToValueContext unmarshals from the given node.
Types ¶
type NodeUnmarshalerContext ¶
type NodeUnmarshalerContext = yaml.NodeUnmarshalerContext
Click to show internal directories.
Click to hide internal directories.