Commit Graph

11 Commits

Author SHA1 Message Date
Aleksandr Melnikov
59cbf7d15e Refactored CronWorkflow message.
- Moved Parameters to it's own field
- Using WorkflowTemplate directly, instead of nesting it inside of
WorkflowExecution.
- Updated related code to use new structure.
2020-03-30 11:59:13 -07:00
Aleksandr Melnikov
9045b1a3eb Added UpdateCronWorkflow endpoint. 2020-03-29 22:56:40 -07:00
Aleksandr Melnikov
8b4d93af4b Added TerminateCronWorkflow endpoint.
- Also updated CronWorkflow message to include the name of the cron workflow.
- Updated related function that parses and sets the struct values, to include the name attribute
2020-03-29 22:16:33 -07:00
Aleksandr Melnikov
2ada65e87a Added ListCronWorkflows endpoint. 2020-03-29 22:00:11 -07:00
Aleksandr Melnikov
1096a21058 Adding GetCronWorkflow endpoint.
- Added supporting proto code
- Added supporting server function and cron_workflow client function
- Added extra checking for possible nil values
2020-03-29 21:37:03 -07:00
Aleksandr Melnikov
d7a289c895 Renaming variable testCWF.
Adding the workflow spec correctly to the CronWorkflow spec.
2020-03-27 12:22:01 -07:00
Aleksandr Melnikov
f6d5161bdb Generating the CronWorkflow fields.
- WIP, Workflow spec is not filled in yet.
2020-03-27 12:20:58 -07:00
Aleksandr Melnikov
9ea94f5bb1 Implementing more details for CreateCronWorkflow.
- Added unmarshalCronWorkflows
- Tweaking how certain parameters are set
- WIP
2020-03-27 12:20:58 -07:00
Aleksandr Melnikov
b8c732863f Adding a CreateCronWorkflow function to Client, inside pkg. 2020-03-27 12:20:58 -07:00
Aleksandr Melnikov
44a4eb8d67 Adding createCronWorkflow to Client.
- Similar to create() command for Workflows.
2020-03-27 12:20:58 -07:00
Aleksandr Melnikov
4be4dd8419 Updating go.mod to use the latest argoproj/argo
- Alongside, updating other modules to fix conflicts with versioning.
Sourced from: https://github.com/onepanelio/core/pull/123/files
2020-03-27 12:20:58 -07:00