Commit Graph

14 Commits

Author SHA1 Message Date
pcaseiro 473ff8ea35 Merge pull request 'Merge bootstraper' (#3) from dev into master
Reviewed-on: #3
2023-01-12 11:46:20 +01:00
Philippe Caseiro a9aa10cb3e feat(test): adding tests for the "File" struct
feat(test): moving util funcs into utils module
2022-07-06 14:42:26 +02:00
Philippe Caseiro d9379f7e33 feat(test): adding unit tests 2022-07-06 14:37:00 +02:00
Philippe Caseiro 1dfc9b8a24 Cleanup data directory 2022-07-01 15:22:57 +02:00
Philippe Caseiro e9f8ff2506 fix(bootstraper): adding global variables support
Now we can declare "global" variables, in the "Globals" section the  the
configuration, this variables will be merged into the "Service"
variables and used in the templates. This how we share variables between
services.
2022-07-01 14:56:41 +02:00
Philippe Caseiro 9bb4e93d65 fix(bootstraper): adding system group management 2022-07-01 09:58:22 +02:00
pcaseiro a28563e8d6 Merge pull request 'feat(bootstraper): complete rewrite of the bootstraper tool' (#2) from feat/bootstraper into dev
Reviewed-on: #2
2022-06-30 16:46:14 +02:00
Philippe Caseiro b5172da6a7 Complete rewrite of the bootstraper tool 2022-06-30 16:45:46 +02:00
pcaseiro 5085bd4d69 Merge pull request 'feat(api): adding api server code' (#1) from feat/api into dev
Reviewed-on: #1
2022-06-15 14:33:43 +02:00
Philippe Caseiro 67e8485958 feat(api): adding api server code
templater can be used as a commmand line tool or as an api server.
2022-06-15 14:33:10 +02:00
Philippe Caseiro b22cbcaf78 Remove unwanted output 2022-03-14 14:09:19 +01:00
Philippe Caseiro 54ef86c46e fix(template): fix go txt/template support
We can parse go text/template again.
2022-03-11 10:39:07 +01:00
Philippe Caseiro 66d290c298 feat(templater): provides a simple tool to process templates
You can provide a go template (text/template) or a hcl2 template with a
JSON representation of your configuration and this tool will print the
generated "file" on stdout.
2022-03-10 17:31:29 +01:00
pcaseiro 30d2ceb84f Initial commit 2022-03-10 10:40:33 +01:00