types

package
v0.31.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonnetEvaluator

type JsonnetEvaluator interface {
	EvaluateAnonymousSnippet(snippet string) (string, error)
	EvaluateFile(filename string) (string, error)
}

JsonnetEvaluator represents a struct that can evaluate Jsonnet code It is configured with import paths, external code and top-level arguments

type JsonnetImplementation

type JsonnetImplementation interface {
	MakeEvaluator(importPaths []string, extCode map[string]string, tlaCode map[string]string, maxStack int) JsonnetEvaluator
}

JsonnetImplementation is a factory for JsonnetEvaluator

Jump to

Keyboard shortcuts

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