mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
api/types: move GraphDriverData to api/types/storage
The `GraphDriverData` type is shared between images and containers, and putting it in either package would result in a circular import, so adding a new package for this type. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -4,7 +4,6 @@ set -eu
|
||||
swagger generate model -f api/swagger.yaml \
|
||||
-t api -m types --skip-validator -C api/swagger-gen.yaml \
|
||||
-n ErrorResponse \
|
||||
-n GraphDriverData \
|
||||
-n IdResponse \
|
||||
-n Plugin \
|
||||
-n PluginDevice \
|
||||
@@ -12,6 +11,10 @@ swagger generate model -f api/swagger.yaml \
|
||||
-n PluginEnv \
|
||||
-n PluginInterfaceType
|
||||
|
||||
swagger generate model -f api/swagger.yaml \
|
||||
-t api -m types/storage --skip-validator -C api/swagger-gen.yaml \
|
||||
-n DriverData
|
||||
|
||||
swagger generate model -f api/swagger.yaml \
|
||||
-t api -m types/container --skip-validator -C api/swagger-gen.yaml \
|
||||
-n ContainerCreateResponse \
|
||||
|
||||
Reference in New Issue
Block a user