This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
Add operations
functionality
#45
Labels
Milestone
The design dicussion around this yielded the following:
There are three entities involved here:
jobs
cronJobs
operations
jobTemplates
A
job
is something ran once during an acorn deployment. The acorn might say deploy a mysql container and run this job (at deploy time) to set the root password and insert some data in it.A
cronJob
...is a job that runs on a cron instead of just once.An
operation
is a description of extra functionality available to a deployed instance of that acorn like backup and restore.A
jobTemplate
can be used in the definition of any of the above. It has the core definition of what will be ran. Each of the types can augment a template with their own fields. cronJob will have acronSchedule
field. Operation will define additional parmaters that the user can specify when they invoke the operation via the cli.The text was updated successfully, but these errors were encountered: