open-nomad/vendor
Mahmood Ali 18b581656d oversubscription: adds CLI and API support
This commit updates the API to pass the MemoryMaxMB field, and the CLI to show
the max set for the task.

Also, start parsing the MemoryMaxMB in hcl2, as it's set by tags.

A sample CLI output; note the additional `Max: ` for "task":

```
$ nomad alloc status 96fbeb0b
ID                  = 96fbeb0b-a0b3-aa95-62bf-b8a39492fd5c
[...]

Task "cgroup-fetcher" is "running"
Task Resources
CPU        Memory         Disk     Addresses
0/500 MHz  32 MiB/20 MiB  300 MiB

Task Events:
[...]

Task "task" is "running"
Task Resources
CPU        Memory          Disk     Addresses
0/500 MHz  176 KiB/20 MiB  300 MiB
           Max: 30 MiB

Task Events:
[...]
```
2021-03-30 16:55:58 -04:00
..
cloud.google.com/go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
github.com oversubscription: adds CLI and API support 2021-03-30 16:55:58 -04:00
go.opencensus.io consul/connect: update consul to match current 2020-08-24 10:48:27 -05:00
golang.org/x deps: bump gopsutil to v3.21.2 2021-03-30 16:02:51 -04:00
google.golang.org consul/connect: update consul to match current 2020-08-24 10:48:27 -05:00
gopkg.in feat: upgrade consul 1.7, and go-discover 2020-09-13 11:40:47 +02:00
honnef.co/go/tools deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
modules.txt deps: bump gopsutil to v3.21.2 2021-03-30 16:02:51 -04:00