yamloc

package
v0.34.3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package yamloc provides a tool that converts a location in a yaml file into a jsonnet "path" into that file. Jsonnet paths are similar to JSONPaths.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LineToPath

func LineToPath(src []byte, line int) (string, error)

Return a JsonnetPath that will locate the yaml field at a given line. Lines are numbered from 1 (like most editors do).

Types

This section is empty.

Jump to

Keyboard shortcuts

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