moby/daemon/cluster
Sebastiaan van Stijn 84748c7d4e
API: split types for Resources Reservations and Limits
This introduces A new type (`Limit`), which allows Limits
and "Reservations" to have different options, as it's not
possible to make "Reservations" for some kind of limits.

The `GenericResources` have been removed from the new type;
the API did not handle specifying `GenericResources` as a
_Limit_ (only as _Reservations_), and this field would
therefore always be empty (omitted) in the `Limits` case.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-05-18 14:21:23 +02:00
..
controllers/plugin cluster/controllers/plugin: remove unused Controller.taskID (unused) 2019-09-18 12:57:49 +02:00
convert API: split types for Resources Reservations and Limits 2020-05-18 14:21:23 +02:00
executor Replace errors.Cause() with errors.Is() / errors.As() 2020-04-29 00:28:41 +02:00
provider Add canonical import comment 2018-02-05 16:51:57 -05:00
cluster.go Replace errors.Cause() with errors.Is() / errors.As() 2020-04-29 00:28:41 +02:00
configs.go set bigger grpc limit for GetConfigs api 2019-02-26 11:09:25 -05:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
filters.go Changes to cluster/filter, swagger.yaml, version-history.md for filtering on node labels. 2018-08-21 22:17:23 +02:00
filters_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
helpers.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
listen_addr.go daemon/cluster: normalize comment formatting 2019-11-27 15:42:53 +01:00
listen_addr_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
listen_addr_others.go Add canonical import comment 2018-02-05 16:51:57 -05:00
networks.go Move network conversions out of API router 2018-06-27 17:11:29 -07:00
noderunner.go Replace errors.Cause() with errors.Is() / errors.As() 2020-04-29 00:28:41 +02:00
nodes.go daemon/cluster: fix unused context (staticcheck) 2019-09-18 12:55:42 +02:00
secrets.go Increase max recv gRPC message size for nodes and secrets 2019-06-03 11:42:31 -05:00
services.go Add swarm jobs 2020-01-13 13:21:12 -06:00
swarm.go Replace errors.Cause() with errors.Is() / errors.As() 2020-04-29 00:28:41 +02:00
tasks.go cluster: set bigger grpc limit for array requests 2018-10-30 16:02:34 -07:00
utils.go Add canonical import comment 2018-02-05 16:51:57 -05:00