Sybren A. Stüvel
289bcf6414
Move job compiler JS code into its own function
...
Each job compiler script now must define a `compileJob(job)` function,
which will be called by Flamenco when necessary.
This makes it possible to run the script without a job, and get other
exported symbols from it, such as metadata about which settings its job
type needs/exposes.
2022-01-10 17:45:14 +01:00
Sybren A. Stüvel
b605330c57
API for getting supported job types from the Manager
...
Not yet hooked up to the job compiler, only reports one hard-coded job
type.
2022-01-10 17:45:13 +01:00
Sybren A. Stüvel
7728c072ae
Add copyright notices
...
No functional changes.
2022-01-10 17:45:13 +01:00
Sybren A. Stüvel
f43673aaa7
Move the API implementation to the internal package
...
The server implementation is private, not something that's suitable for
reuse.
2022-01-10 17:45:13 +01:00
Sybren A. Stüvel
30c04f4ddb
Worker: set user agent string
2022-01-10 17:45:13 +01:00
Sybren A. Stüvel
ad75b5c705
Cleanup: Move some files around
...
No functional changes
2022-01-10 17:45:13 +01:00
Sybren A. Stüvel
af4304565a
Lots of changes to merge the Gin/OpenAPI PoC
2022-01-10 17:45:13 +01:00
Sybren A. Stüvel
0e424d0a70
Move to more standard Go project structure
2022-01-10 17:45:12 +01:00