yaml

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

func NodeToValueContext(ctx context.Context, node ast.Node, val any) error

NodeToValueContext unmarshals from the given node.

func UnmarshalContext

func UnmarshalContext(ctx context.Context, rd io.Reader, val any) error

UnmarshalYAML unmarshals from the given reader.

Types

type Decoder

type Decoder = yaml.Decoder

type NodeUnmarshalerContext

type NodeUnmarshalerContext = yaml.NodeUnmarshalerContext

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL