bonzai
bonzai copied to clipboard
Make Fill into form/pkg -> mark/pkg
Eventually form
should take the following variable parameters:
- template string, struct, FuncMap ...
The struct (if any) will be used as the {{.Foo}}
stuff. The FuncMap(s)
will be combined with the existing FuncMap full of builtins. It will
override any with conflicting names.
It will be perfectly acceptable to just use the string only since there
will be a ton of builtins including {{ exe "ls", "-l" }}
as well as
system agnostic things like {{ hostname }}
. The default library will
be very exhaustive and allow anyone to easily create a formatted report
about most anything they want to know about the system by just putting
them into the template form fields. This will significantly decrease the
amount of time required to generate forensics and auditing reports
originating from systems.
Eventually it will be made Kubernetes and Docker aware as well. But anything can be added with the FuncMaps.