open-nomad/command/agent/host
Lang Martin 6c22cd587d
api: `nomad debug` new /agent/host (#8325)
* command/agent/host: collect host data, multi platform

* nomad/structs/structs: new HostDataRequest/Response

* client/agent_endpoint: add RPC endpoint

* command/agent/agent_endpoint: add Host

* api/agent: add the Host endpoint

* nomad/client_agent_endpoint: add Agent Host with forwarding

* nomad/client_agent_endpoint: use findClientConn

This changes forwardMonitorClient and forwardProfileClient to use
findClientConn, which was cribbed from the common parts of those
funcs.

* command/debug: call agent hosts

* command/agent/host: eliminate calling external programs
2020-07-02 09:51:25 -04:00
..
darwin.go api: `nomad debug` new /agent/host (#8325) 2020-07-02 09:51:25 -04:00
host.go api: `nomad debug` new /agent/host (#8325) 2020-07-02 09:51:25 -04:00
host_test.go api: `nomad debug` new /agent/host (#8325) 2020-07-02 09:51:25 -04:00
linux.go api: `nomad debug` new /agent/host (#8325) 2020-07-02 09:51:25 -04:00
network.go api: `nomad debug` new /agent/host (#8325) 2020-07-02 09:51:25 -04:00
unix.go api: `nomad debug` new /agent/host (#8325) 2020-07-02 09:51:25 -04:00
windows.go api: `nomad debug` new /agent/host (#8325) 2020-07-02 09:51:25 -04:00