moby/api/server
Sebastiaan van Stijn 6ec03d6745
libnetwork: move datastore Scope consts to libnetwork/scope
The "Capability" type defines DataScope and ConnectivityScope fields,
but their value was set from consts in the datastore package, which
required importing that package and its dependencies for the consts
only.

This patch:

- Moves the consts to a separate "scope" package
- Adds aliases for the consts in the datastore package.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-07-28 21:56:48 +02:00
..
backend/build api/server: format code with gofumpt 2023-06-29 00:25:20 +02:00
httpstatus Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
httputils chore: use http constants to replace numbers 2023-02-21 23:02:56 +08:00
middleware Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
router libnetwork: move datastore Scope consts to libnetwork/scope 2023-07-28 21:56:48 +02:00
errorhandler.go errdefs: move GetHTTPErrorStatusCode to api/server/httpstatus 2022-03-21 12:22:39 +01:00
middleware.go api/server: remove "Logging" from config 2022-04-23 23:38:30 +02:00
server.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
server_test.go api/server: drop unused Config struct 2023-02-28 13:49:53 -05:00