yq

package
v0.68.18 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmptyError

type EmptyError struct {
	Err error
}

func (*EmptyError) Error

func (*EmptyError) Error() string

func (*EmptyError) ExitCode

func (err *EmptyError) ExitCode() int

func (*EmptyError) IsEmptyError

func (*EmptyError) IsEmptyError() bool

type InputIter

type InputIter interface {
	gojq.Iter
	io.Closer
	Name() string
}

func NewYAMLInputIter

func NewYAMLInputIter(r io.Reader, fname string) InputIter

type Marshaler

type Marshaler interface {
	Marshal(interface{}, io.Writer) error
}

type YamlMarshaler

type YamlMarshaler struct {
	// contains filtered or unexported fields
}

func YamlFormatter

func YamlFormatter(indent *int) *YamlMarshaler

func (*YamlMarshaler) Marshal

func (m *YamlMarshaler) Marshal(v interface{}, w io.Writer) error

Jump to

Keyboard shortcuts

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