yaml

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocumentSplitter

type DocumentSplitter interface {
	WithReader(r io.Reader) DocumentSplitter
	Next() bool
	Err() error
	Bytes() []byte
	Object() runtime.Object
}

func NewDocumentSplitter

func NewDocumentSplitter() DocumentSplitter

type Serializer

type Serializer interface {
	Marshal(o interface{}) ([]byte, error)
	Unmarshal(y []byte, o interface{}, opts ...yaml.JSONOpt) error
}

func NewSerializer

func NewSerializer() Serializer

Jump to

Keyboard shortcuts

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