Modules advanced topics
Wrappers and outer functions
Outer functions is a mechanism of using existing module functions in a given iteration.
In the event where a module or function is to be run in a remote target, it is possible to leverage the wrapping mechanism provided by Space. This wrapping mechanism will wrap any command and run it inside some other context, for instance, a remote shell over SSH, a container or a combination of the two.
Writing your own Space Module wrappers
- Make your own wrapper.
- Wrapping to be run inside a docker container.
- Wrapping to be run over SSH.
- Wrapping to be run inside a docker container over SSH.
- Run outer functions locally
[[ to be written ]]
Previous: Modules best practices
Next: Advanced Space.sh configuration
Edit this page