open-nomad/command/agent
Tim Gross 826d9d47f9
CSI: replace structs->api with serialization extension (#12583)
The CSI HTTP API has to transform the CSI volume to redact secrets,
remove the claims fields, and to consolidate the allocation stubs into
a single slice of alloc stubs. This was done manually in #8590 but
this is a large amount of code and has proven both very bug prone
(see #8659, #8666, #8699, #8735, and #12150) and requires updating
lots of code every time we add a field to volumes or plugins.

In #10202 we introduce encoding improvements for the `Node` struct
that allow a more minimal transformation. Apply this same approach to
serializing `structs.CSIVolume` to API responses.

Also, the original reasoning behind #8590 for plugins no longer holds
because the counts are now denormalized within the state store, so we
can simply remove this transformation entirely.
2022-04-15 14:29:34 -04:00
..
consul connect: prefix tag with nomad.; merge into envoy_stats_tags; update docs 2022-04-14 12:52:52 -05:00
event
host ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
monitor ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
pprof ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
test-resources Update IsEmpty to check for pre-1.2.4 fields (#11930) 2022-01-28 14:41:49 -05:00
testdata core: remove all traces of unused protocol version 2022-02-18 16:12:36 -08:00
acl_endpoint.go
acl_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
agent.go feat: remove dependency to consul/lib 2022-04-09 13:22:44 +02:00
agent_endpoint.go api: prevent excessice CPU load on job parse 2022-02-09 19:51:47 -05:00
agent_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
agent_oss.go
agent_test.go Merge branch 'main' into f-1.3-boogie-nights 2022-03-23 09:41:25 +01:00
alloc_endpoint.go http: add alloc service registration agent HTTP endpoint. 2022-03-03 12:13:32 +01:00
alloc_endpoint_test.go test: move remaining tests to use ci.Parallel. 2022-03-24 08:45:13 +01:00
bindata_assetfs.go Generate files for release 2022-04-07 20:21:26 +00:00
command.go feat: remove dependency to consul/lib 2022-04-09 13:22:44 +02:00
command_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
config.go template: disallow writeToFile by default 2022-03-28 17:05:42 -07:00
config_oss.go
config_parse.go Expose Consul template configuration parameters (#11606) 2022-01-10 10:19:07 -05:00
config_parse_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
config_test.go template: disallow writeToFile by default 2022-03-28 17:05:42 -07:00
csi_endpoint.go CSI: replace structs->api with serialization extension (#12583) 2022-04-15 14:29:34 -04:00
csi_endpoint_test.go CSI: replace structs->api with serialization extension (#12583) 2022-04-15 14:29:34 -04:00
deployment_endpoint.go initial base work for implementing sorting and filter across API endpoints (#12076) 2022-02-16 14:34:36 -05:00
deployment_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
eval_endpoint.go api: add related evals to eval details (#12305) 2022-03-17 13:56:14 -04:00
eval_endpoint_test.go test: move remaining tests to use ci.Parallel. 2022-03-24 08:45:13 +01:00
event_endpoint.go
event_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
fs_endpoint.go api: return 404 for alloc FS list/stat endpoints (#11482) 2021-11-17 11:15:07 -05:00
fs_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
helpers.go
helpers_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
http.go client: add Nomad template service functionality to runner. (#12458) 2022-04-06 19:17:05 +02:00
http_oss.go
http_stdlog.go
http_stdlog_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
http_test.go command/agent: check err before close (#12574) 2022-04-15 08:54:03 -04:00
job_endpoint.go MaxClientDisconnect Jobspec checklist (#12177) 2022-04-05 17:12:23 -04:00
job_endpoint_test.go MaxClientDisconnect Jobspec checklist (#12177) 2022-04-05 17:12:23 -04:00
keyring.go
keyring_test.go ci: set test log level off in gha 2022-03-25 13:43:33 -05:00
log_file.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_file_bsd.go freebsd: build fix for ARM7 32-bit (#11854) 2022-01-14 12:25:32 -05:00
log_file_linux.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_file_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
log_file_windows.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_levels.go ci: set test log level off in gha 2022-03-25 13:43:33 -05:00
log_levels_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
metrics_endpoint.go
metrics_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
namespace_endpoint.go
namespace_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
node_endpoint.go
node_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_endpoint.go scheduler: config option to reject job registration (#11610) 2021-12-06 15:20:34 -05:00
operator_endpoint_oss.go
operator_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
plugins.go
region_endpoint.go
region_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
retry_join.go
retry_join_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
scaling_endpoint.go
scaling_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
search_endpoint.go
search_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
service_registration_endpoint.go http: add agent service registration HTTP endpoint. 2022-03-03 12:13:00 +01:00
service_registration_endpoint_test.go test: move remaining tests to use ci.Parallel. 2022-03-24 08:45:13 +01:00
stats_endpoint.go
stats_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
status_endpoint.go
status_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
stub_asset.go
syslog.go
syslog_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
system_endpoint.go
system_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
testagent.go ci: set test log level off in gha 2022-03-25 13:43:33 -05:00
testagent_oss.go
testingutils_test.go