moby/api/types
Sebastiaan van Stijn 2970b320aa
api: remove code for adjusting CPU shares (api < v1.19)
API versions before 1.19 allowed CpuShares that were greater than the maximum
or less than the minimum supported by the kernel, and relied on the kernel to
do the right thing.

Commit ed39fbeb2a introduced code to adjust the
CPU shares to be within the accepted range when using API version 1.18 or
lower.

API v1.23 and older are deprecated, so we can remove support for this
functionality.

Currently, there's no validation for CPU shares to be within an acceptable
range; a TODO was added to add validation for this option, and to use the
`linuxMinCPUShares` and `linuxMaxCPUShares` consts for this.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-02-06 18:44:33 +01:00
..
backend api: remove code for adjusting CPU shares (api < v1.19) 2024-02-06 18:44:33 +01:00
blkiodev Add canonical import comment 2018-02-05 16:51:57 -05:00
checkpoint api/types: move checkpoint-types to api/types/checkpoint 2023-08-26 12:37:41 +02:00
container Merge pull request #46447 from akerouanton/api-predefined-networks 2023-11-24 12:26:48 +01:00
events api/types/events: define "Action" type and consts 2023-08-29 00:38:08 +02:00
filters api/types/filters: fix errors not being matched by errors.Is() 2023-07-28 17:07:41 +02:00
image api/types: move image options to api/types/image 2024-01-24 00:10:33 +01:00
mount volumes: Implement subpath mount 2024-01-19 17:32:10 +01:00
network api/t/network: ValidateIPAM: ignore v6 subnet when IPv6 is disabled 2024-02-02 10:34:39 +01:00
plugins/logdriver update generated files 2023-05-29 03:28:35 +02:00
registry api: search: deprecate is_automated field, and is-automated filter 2023-08-01 13:45:44 +02:00
strslice api/types: fix empty-lines (revive) 2022-09-28 01:58:49 +02:00
swarm api/t/swarm: Fix deprecation for ServiceSpec.Networks 2023-11-21 10:54:53 +01:00
system docker info: expose runtime features ("rro" mount mode, etc.) 2023-12-15 11:48:46 +09:00
time api/types/time: use strings.Cut() 2022-12-21 11:09:00 +01:00
versions api/types/versions: rename max/min as it collides with go1.21 builtin 2023-08-26 19:38:47 +02:00
volume vendor: github.com/moby/swarmkit/v2 v2.0.0-20220721174824-48dd89375d0a 2022-08-09 14:03:50 +02:00
client.go api/types: move image options to api/types/image 2024-01-24 00:10:33 +01:00
configs.go api/types: move NetworkListConfig to api/types/backend 2023-12-06 02:21:21 +01:00
error_response.go Update to inline comments. 2016-10-31 11:13:41 -04:00
error_response_ext.go Make ErrorResponse implement Error 2019-07-02 10:17:03 -07:00
graph_driver_data.go api: docs: update docs for /images/{name}/json (current API version) 2022-03-03 22:50:10 +01:00
id_response.go Add an IDResponse type 2016-10-31 11:16:02 -04:00
plugin.go Move plugin client creation to the extension point 2018-05-25 15:18:53 -04:00
plugin_device.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_env.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_interface_type.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_mount.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_responses.go Add canonical import comment 2018-02-05 16:51:57 -05:00
port.go Describe IP field of Port definition 2018-05-15 12:09:42 +02:00
stats.go Fix dont typo 2018-09-08 16:58:03 +08:00
types.go api: Deprecate outdated fields in NetworkSettingsBase 2024-01-03 18:51:17 +01:00
types_deprecated.go api/types: remove deprecated container-types 2024-01-24 01:27:27 +01:00