ananaysingh
b0743636a1
KillTask API ( #37 )
2022-08-18 10:27:57 -07:00
Renan DelValle
d5d19cf448
Changing default value of monitor to true.
2020-09-30 16:46:14 -07:00
lenhattan86
5efbbce6c7
skip monitoring create/kill jobs ( #13 )
...
Added flag -m and --monitor that can be set in order to monitor a job creation or a job kill. By default monitor is set to true.
2020-09-30 16:32:53 -07:00
Renán I. Del Valle
5f510b74ea
Changing dependencies to point to aurora-scheduler organization ( #9 )
...
* Removing support for dep as we should now only be building with go1.13+ and mod.
* Ignoring go.sum being created. Use the database instead.
* Upgrading dependencies to their latest versions.
* Replacing thrift dependency temporarily with a patched thrift dependency while we wait for 0.14.0 to be released.
* Change location of gorealis to point to auora-scheduler repository.
* Update .gitignore to contain DS_Store.
* Adding changelog.
* Putting unreleased back into the changelog as this isn't a release PR.
2020-02-19 12:18:50 -08:00
Renan I. Del Valle
f94a055b47
JSON support for taking in host list ( #8 )
...
* Bumping up the version.
* Adding flags to take in JSON from the command line.
* go.sum no longer strictly necessary since go1.13
* Adding support for reading JSON list of hosts to drain from STDIN or from a file.
* Adding changes to changelogs
2020-02-07 18:41:59 -08:00
Renan DelValle
6e6934a3d3
Adding Apache v2 license.
2019-03-25 17:36:24 -07:00
Renan DelValle
1a18f21e46
Removing stub for kill entire cluster command.
2019-03-25 08:27:47 -07:00
Renan DelValle
616d4bc57e
goimports style fixes.
2019-03-19 15:28:24 -07:00
Renan DelValle
4551231644
Adding fetch task status. Changed how logrus is used to be able to be passed down to gorealis.
2019-03-19 15:27:20 -07:00
Renan DelValle
5056eff933
Adding version number to imports in several files.
2019-01-31 18:15:11 -08:00
Renan DelValle
6ab5c9334d
gorealis v2 refactor ( #5 )
...
* Changing default timeout for start maintenance.
* Upgrading dependencies to gorealis v2 and thrift 0.12.0
* Refactored to update to gorealis v2.
2018-12-27 11:31:51 -08:00
Renan DelValle
bc28198c2d
Adding ability to print out responses as JSON.
2018-11-09 15:58:26 -08:00
Renan DelValle
579bc33936
Simplifying command since gorealis now handles error case scenarios and we don't care about resp code here.
2018-10-23 12:54:34 -07:00
Renan DelValle
0a3288a1dd
Changing role, env, and name to be string pointers. This is due to the fact that TaskQuery can now take nil pointers to ignore certain fields. This allows querying for all jobs of a certain environment, all jobs from a certain role, and all jobs with a certain name.
2018-09-16 21:23:36 -07:00
Renan DelValle
8e0988513a
Adding new verbs and fleshing out the skeleton. Drain works while Kill has an error tha requires a deeper dive.
2017-12-03 12:41:23 -08:00
Renan DelValle
74b416c109
Added flags required for the execution of the kill command, environment, role, and name.
2017-12-02 15:52:56 -08:00
Renan DelValle
cc4c95d55a
Initial commit of client.
2017-12-02 15:08:43 -08:00