Libraries

Reference documentation for Etcha’s Jsonnet libraries.

Etcha ships with a various Jsonnet libraries. These libraries extend the Jsonnet standard library to provide additional functions and Commands. These libraries are created using etcha init.

Native Functions

Native Functions are custom Jsonnet functions provided by the Etcha binary. Etcha provides these as an importable helper file via init under lib/etcha/native.libsonnet.

Commands

Etcha contains numerous importable Command functions that will template out Commands. We are constantly adding more of these and encourage the community to contribute others. All Commands shipped in Etcha are linted and tested.

See Writing Patterns for more information about initializing these files.

Think we’re missing something? Request a library on GitHub.