Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
Package pkg is the collection of packages that make up the implementation of ytt.
|
Package pkg is the collection of packages that make up the implementation of ytt. |
cmd
Package cmd is home to the full set of ytt's "commands" -- instances of cobra.Command (not to be confused with ./cmd which contains the bootstrapping for executing ytt in various environments).
|
Package cmd is home to the full set of ytt's "commands" -- instances of cobra.Command (not to be confused with ./cmd which contains the bootstrapping for executing ytt in various environments). |
cmd/template
Package template implements the "template" command (not to be confused with "pkg/template" home of the templating mechanism itself).
|
Package template implements the "template" command (not to be confused with "pkg/template" home of the templating mechanism itself). |
cmd/ui
Package ui provides a thin abstraction over user input and output (typically, a tty device).
|
Package ui provides a thin abstraction over user input and output (typically, a tty device). |
experiments
Package experiments provides a global "Feature Flag" facility for circuit-breaking pre-GA code.
|
Package experiments provides a global "Feature Flag" facility for circuit-breaking pre-GA code. |
filepos
Package filepos provides the concept of Position: a source name (usually a file) and line number within that source.
|
Package filepos provides the concept of Position: a source name (usually a file) and line number within that source. |
files
Package files provides primitives for enumerating and loading data from various file or file-like Source's and for writing output to filesystem files and directories.
|
Package files provides primitives for enumerating and loading data from various file or file-like Source's and for writing output to filesystem files and directories. |
orderedmap
Package orderedmap provides a map implementation where the order of keys is maintained (unlike the native Go map).
|
Package orderedmap provides a map implementation where the order of keys is maintained (unlike the native Go map). |
schema
Package schema enhances yamlmeta.Node structures with fine-grain data types.
|
Package schema enhances yamlmeta.Node structures with fine-grain data types. |
spell
Package spell provides the ability to suggest an exact spelling of a word.
|
Package spell provides the ability to suggest an exact spelling of a word. |
template
Package template provides the core templating engine for ytt.
|
Package template provides the core templating engine for ytt. |
template/core
Package core provides facilities for low-level integration with Starlark.
|
Package core provides facilities for low-level integration with Starlark. |
texttemplate
Package texttemplate implements the text dialect of the ytt templating engine.
|
Package texttemplate implements the text dialect of the ytt templating engine. |
validations
Package validations enriches YAML structures by attaching user-defined constraints (that is, validationRun rules) onto individual yamlmeta.Node's.
|
Package validations enriches YAML structures by attaching user-defined constraints (that is, validationRun rules) onto individual yamlmeta.Node's. |
version
Package version is where the version of the ytt binary is set.
|
Package version is where the version of the ytt binary is set. |
website
Package website provides the web-based Playground via an HTTP webserver.
|
Package website provides the web-based Playground via an HTTP webserver. |
workspace
Package workspace is home to primitives for loading and processing ytt artifacts including the core four steps: pre-processing schema and data values, evaluating templates, and post-processing overlays.
|
Package workspace is home to primitives for loading and processing ytt artifacts including the core four steps: pre-processing schema and data values, evaluating templates, and post-processing overlays. |
workspace/datavalues
Package datavalues integrates the schema and data values features into the workspace, providing a means of "addressing" to specific libraries.
|
Package datavalues integrates the schema and data values features into the workspace, providing a means of "addressing" to specific libraries. |
workspace/ref
Package ref provides the general-purpose ability to mark a document as targeted for specific library.
|
Package ref provides the general-purpose ability to mark a document as targeted for specific library. |
yamlfmt
Package yamlfmt implements the "fmt" command — formatting YAML (preserving comments) into a canonical form.
|
Package yamlfmt implements the "fmt" command — formatting YAML (preserving comments) into a canonical form. |
yamlmeta
Package yamlmeta parses YAML streams into a data structure (tree of yamlmeta.Node's) on which comments and metadata can be attached.
|
Package yamlmeta parses YAML streams into a data structure (tree of yamlmeta.Node's) on which comments and metadata can be attached. |
yamlmeta/internal/yaml.v2
Package yaml implements YAML support for the Go language.
|
Package yaml implements YAML support for the Go language. |
yamltemplate
Package yamltemplate implements the YAML dialect of the ytt templating engine.
|
Package yamltemplate implements the YAML dialect of the ytt templating engine. |
yttlibrary
Package yttlibrary implements the "Standard Library" of modules that are built-in to the ytt templating engine.
|
Package yttlibrary implements the "Standard Library" of modules that are built-in to the ytt templating engine. |
yttlibrary/overlay
Package overlay implements YAML patching via ytt annotations.
|
Package overlay implements YAML patching via ytt annotations. |
yttlibraryext
Package yttlibraryext contains "Standard Library" modules that involve Go module dependencies and therefore are optional or extensions.
|
Package yttlibraryext contains "Standard Library" modules that involve Go module dependencies and therefore are optional or extensions. |
yttlibraryext/toml
Package toml extends the ytt "Standard Library" with the ability to encode and decode text in TOML format.
|
Package toml extends the ytt "Standard Library" with the ability to encode and decode text in TOML format. |
test
|
|
filetests
Package filetests houses a test harness for evaluating templates and asserting the expected output.
|
Package filetests houses a test harness for evaluating templates and asserting the expected output. |
Click to show internal directories.
Click to hide internal directories.