jsonnetfile

package
v0.0.0-...-4d61859 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	File     = "jsonnetfile.json"
	LockFile = "jsonnetfile.lock.json"
)

Variables

View Source
var ErrUpdateJB = errors.New("jsonnetfile version unknown, update jb")

Functions

func Exists

func Exists(path string) (bool, error)

Exists returns whether the file at the given path exists

func Load

func Load(filepath string) (v1.JsonnetFile, error)

Load reads a jsonnetfile.(lock).json from disk

func Unmarshal

func Unmarshal(bytes []byte) (v1.JsonnetFile, error)

Unmarshal creates a spec.JsonnetFile from bytes. Empty bytes will create an empty spec.

Types

This section is empty.

Jump to

Keyboard shortcuts

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