davemay99
67b4161411
added comment to operator metrics function
2020-10-06 11:22:10 -04:00
davemay99
18aa30c00f
metrics return bytes instead of string for more flexibility
2020-10-06 10:49:15 -04:00
davemay99
603cc1776c
Add metrics command / output to debug bundle
2020-10-05 22:30:01 -04:00
Drew Bailey
c2d7b61939
allow raw body instead of JSON encoded string ( #8211 )
2020-06-19 10:57:09 -04:00
Mahmood Ali
5cf04b5762
api: add snapshot restore
2020-06-07 15:47:07 -04:00
Mahmood Ali
de44d9641b
Merge pull request #8047 from hashicorp/f-snapshot-save
...
API for atomic snapshot backups
2020-06-01 07:55:16 -04:00
Drew Bailey
5948c4f497
Revert "disable license cli commands"
2020-05-26 12:39:39 -04:00
Mahmood Ali
b548f603dc
Add api/ package function to save snapshot
2020-05-21 20:04:38 -04:00
Drew Bailey
64b58775ab
remove tags from api struct
2020-05-11 16:38:35 -04:00
Drew Bailey
466e8d5043
disable license cli commands
2020-05-11 13:49:29 -04:00
Drew Bailey
48c451709e
update license command output to reflect api changes
2020-05-05 10:28:58 -04:00
Mahmood Ali
b9e3cde865
tests and some clean up
2020-05-01 13:13:30 -04:00
Charlie Voiselle
663fb677cf
Add SchedulerAlgorithm to SchedulerConfig
2020-05-01 13:13:29 -04:00
Drew Bailey
acacecc67b
add license reset command to commands
...
help text formatting
remove reset
no signed option
2020-04-30 14:46:20 -04:00
Drew Bailey
74abe6ef48
license cli commands
...
cli changes, formatting
2020-04-30 14:46:17 -04:00
Preetha Appan
ad3c263d3f
Rename to match system scheduler config.
...
Also added docs
2019-05-03 14:06:12 -05:00
Preetha Appan
6615d5c868
Add config to disable preemption for batch/service jobs
2019-04-29 18:48:07 -05:00
Preetha Appan
fd0ba320da
change path to v1/scheduler/configuration
2018-11-12 15:57:45 -06:00
Preetha Appan
75662b50d1
Use response object/querymeta/writemeta in scheduler config API
2018-11-10 10:31:10 -06:00
Preetha Appan
8f7eb61823
Introduce a response object for scheduler configuration
2018-10-30 11:06:32 -05:00
Preetha Appan
c1c1c230e4
Make preemption config a struct to allow for enabling based on scheduler type
2018-10-30 11:06:32 -05:00
Preetha Appan
bd34cbb1f7
Support for new scheduler config API, first use case is to disable preemption
2018-10-30 11:06:32 -05:00
Josh Soref
95f8098e99
spelling: configuration
2018-03-11 17:48:04 +00:00
Kyle Havlovitz
7b980c42d8
Add raft remove by id endpoint/command
2018-01-16 13:35:32 -08:00
Kyle Havlovitz
b775fc7b33
Added support for v2 raft APIs and -raft-protocol option
2017-12-12 10:17:16 -06:00
Alex Dadgar
4173834231
Enable more linters
2017-09-26 15:26:33 -07:00
Michael Schurter
0758c73ef3
Fix API panic and bad missing port check
...
The format of the missing port error message changed from Go 1.7 to 1.8.
The fix is to just use strings.Contains instead of strings.HasPrefix
when looking for the "missing port" part.
Also add an error return to Client.newRequest as parsing the path
processes arbitrary user input and would panic if given an invalid URL.
See: https://groups.google.com/d/topic/nomad-tool/gi3-CTE7oXo/discussion
2017-02-20 11:12:34 -08:00
Alex Dadgar
2d4d9b79d8
Operator command/endpoint/documentation
2017-02-09 18:04:46 -08:00