open-nomad/command/agent
Tim Gross 9e1c0b46d8
API for Eval.Count (#15147)
Add a new `Eval.Count` RPC and associated HTTP API endpoints. This API is
designed to support interactive use in the `nomad eval delete` command to get a
count of evals expected to be deleted before doing so.

The state store operations to do this sort of thing are somewhat expensive, but
it's cheaper than serializing a big list of evals to JSON. Note that although it
seems like this could be done as an extra parameter and response field on
`Eval.List`, having it as its own endpoint avoids having to change the response
body shape and lets us avoid handling the legacy filter params supported by
`Eval.List`.
2022-11-07 08:53:19 -05:00
..
consul deps: bump shoenig for str func bugfixes (#14974) 2022-10-20 08:11:43 -05:00
event
host testing: setting env var incompatible with parallel tests (#14405) 2022-08-30 14:49:03 -04:00
monitor
pprof
test-resources
testdata acl: correctly resolve ACL roles within client cache. (#14922) 2022-10-20 09:37:32 +02:00
acl_endpoint.go api: provide more detail on ACL bootstrap request error (#14629) 2022-09-20 21:20:04 -04:00
acl_endpoint_test.go acl: allow tokens to lookup linked roles. (#14227) 2022-08-24 13:51:51 +02:00
agent.go keyring: fix missing GC config, don't rotate on manual GC (#15009) 2022-10-24 08:43:42 -04:00
agent_endpoint.go
agent_endpoint_test.go
agent_oss.go
agent_test.go vault: detect namespace change in config reload (#14298) 2022-08-24 17:03:29 -04:00
alloc_endpoint.go client: fix RPC forwarding when querying checks for alloc. (#14498) 2022-09-08 16:55:23 +02:00
alloc_endpoint_test.go
bindata_assetfs.go Generate files for 1.4.2 release 2022-10-27 13:08:05 -04:00
command.go
command_test.go
config.go acl: correctly resolve ACL roles within client cache. (#14922) 2022-10-20 09:37:32 +02:00
config_oss.go
config_parse.go acl: correctly resolve ACL roles within client cache. (#14922) 2022-10-20 09:37:32 +02:00
config_parse_test.go acl: correctly resolve ACL roles within client cache. (#14922) 2022-10-20 09:37:32 +02:00
config_test.go acl: correctly resolve ACL roles within client cache. (#14922) 2022-10-20 09:37:32 +02:00
csi_endpoint.go
csi_endpoint_test.go
deployment_endpoint.go
deployment_endpoint_test.go
eval_endpoint.go API for Eval.Count (#15147) 2022-11-07 08:53:19 -05:00
eval_endpoint_test.go API for Eval.Count (#15147) 2022-11-07 08:53:19 -05:00
event_endpoint.go
event_endpoint_test.go
fs_endpoint.go
fs_endpoint_test.go
helpers.go
helpers_test.go
http.go API for Eval.Count (#15147) 2022-11-07 08:53:19 -05:00
http_oss.go
http_stdlog.go
http_stdlog_test.go
http_test.go
job_endpoint.go template: error on missing key (#15141) 2022-11-04 13:23:01 -04:00
job_endpoint_test.go template: error on missing key (#15141) 2022-11-04 13:23:01 -04:00
keyring.go
keyring_endpoint.go remove root keyring install API (#14514) 2022-09-09 08:50:35 -04:00
keyring_endpoint_test.go remove root keyring install API (#14514) 2022-09-09 08:50:35 -04:00
keyring_test.go
log_file.go
log_file_bsd.go
log_file_linux.go
log_file_test.go
log_file_windows.go
log_levels.go
log_levels_test.go
metrics_endpoint.go
metrics_endpoint_test.go
namespace_endpoint.go
namespace_endpoint_test.go
node_endpoint.go
node_endpoint_test.go
operator_endpoint.go migrate autopilot implementation to raft-autopilot (#14441) 2022-09-01 14:27:10 -04:00
operator_endpoint_oss.go
operator_endpoint_test.go
plugins.go
region_endpoint.go
region_endpoint_test.go
retry_join.go
retry_join_test.go
scaling_endpoint.go
scaling_endpoint_test.go
search_endpoint.go
search_endpoint_test.go search: enforce correct ACL for search over variables (#14397) 2022-08-30 13:27:31 -04:00
service_registration_endpoint.go
service_registration_endpoint_test.go
stats_endpoint.go
stats_endpoint_test.go
status_endpoint.go
status_endpoint_test.go
stub_asset.go
syslog.go
syslog_test.go
system_endpoint.go
system_endpoint_test.go
testagent.go
testagent_oss.go
testingutils_test.go
variable_endpoint.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
variable_endpoint_test.go cleanup: rename Equals to Equal for consistency (#14759) 2022-10-10 09:28:46 -05:00