Commit Graph

15 Commits

Author SHA1 Message Date
Mariano Cano
528d0910ab Add omitempty to requires property. 2020-06-16 19:03:33 -07:00
Mariano Cano
907162be44 Add test for DefaultTemplates. 2020-06-16 18:44:47 -07:00
Mariano Cano
f82a248617 Add test with backfill. 2020-06-16 18:26:41 -07:00
Mariano Cano
a845b56283 Remove the template path if we load the defaults. 2020-06-16 17:56:22 -07:00
Mariano Cano
237baa5169 Check for required variables in templates.
Fixes smallstep/cli#232
2020-06-16 17:26:54 -07:00
Mariano Cano
b583d8d658 Move default templates to the template package. 2020-06-16 17:24:47 -07:00
Mariano Cano
914636668a Add support for loading templates without using files. 2020-02-20 15:48:48 -08:00
Ivan Bertona
9052da66a3 Fix linter, tidy go.mod file. 2020-02-07 14:42:56 -05:00
Mariano Cano
557a45abfa Update template tests. 2020-01-28 13:29:39 -08:00
Mariano Cano
6489c26d4c Use github.com/Masterminds/sprig/v3 2020-01-28 13:28:16 -08:00
Mariano Cano
4b68f1611f Add tests for templates and some fixes. 2020-01-28 13:28:16 -08:00
Mariano Cano
08850d5334 Add support for federated keys. 2020-01-28 13:28:16 -08:00
Mariano Cano
1b0d05097b Add Write method to templates.Output. 2020-01-28 13:28:16 -08:00
Mariano Cano
91130b9c3f Add support for user data in templates. 2020-01-28 13:28:16 -08:00
Mariano Cano
a35988ff08 Add initial support for ssh config.
Related to smallstep/cli#170
2020-01-28 13:28:16 -08:00