moby/libnetwork/datastore
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
..
cache.go libnetwork/datastore: remove DataStore interface 2023-07-24 15:54:05 +02:00
datastore.go libnetwork: move datastore Scope consts to libnetwork/scope 2023-07-28 21:56:48 +02:00
datastore_test.go libnetwork: move datastore Scope consts to libnetwork/scope 2023-07-28 21:56:48 +02:00
mockstore_test.go libnetwork/datastore: move MockData to a _test file 2023-07-24 15:28:07 +02:00