pachtmpl

package
v2.8.0-rc.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eval

func Eval(fsContext map[string][]byte, entrypointPath string) ([]byte, error)

Eval evaluates the jsonnet at entrypointPath using fsContext to resolve imports

func ParseArgs

func ParseArgs(argStrs []string) (map[string]string, error)

ParseArgs parses args of the form key=value

func RenderTemplate

func RenderTemplate(tmpl string, args map[string]string) (string, error)

RenderTemplate renders the template tmpl, using args and returns the result.

Types

This section is empty.

Jump to

Keyboard shortcuts

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