inspect

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inspector

type Inspector struct {
	Registry *marker.Registry
}

func NewInspector

func NewInspector(registry *marker.Registry) *Inspector

func (*Inspector) InspectYAML

func (s *Inspector) InspectYAML(data []byte, transforms ...YAMLTransformer) ([]*yaml.Node, []*YAMLResult, error)

type YAMLResult

type YAMLResult struct {
	*parser.Result
	Nodes []*yaml.Node
}

type YAMLTransformer

type YAMLTransformer func(...*YAMLResult) error

Jump to

Keyboard shortcuts

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