Skip to content

Commit

Permalink
Add documentation of templating helper functions
Browse files Browse the repository at this point in the history
  • Loading branch information
nocturnalastro committed Jul 2, 2024
1 parent a655228 commit 107c72d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/templating-functions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Templating functions

On top of golangs normal templating we provide some functions to make writitng references easier.
The (sprig functions)[http://masterminds.github.io/sprig/] are included along with some other functions that can be found in the (subpackages pkg.go.dev page)[https://pkg.go.dev/github.com/openshift/kube-compare/pkg/funcmap#pkg-functions]

If you want to custom functions you can define them as a templates and include them a paths under `templateFunctionFiles` at the root of your reference `metadata.yml`

0 comments on commit 107c72d

Please sign in to comment.