Signed-off-by: Daniel Nephin <dnephin@docker.com>
| ... | ... |
@@ -829,22 +829,40 @@ definitions: |
| 829 | 829 |
items: |
| 830 | 830 |
$ref: "#/definitions/Port" |
| 831 | 831 |
|
| 832 |
- GraphDriver: |
|
| 833 |
- description: "Information about this container's graph driver." |
|
| 832 |
+ GraphDriverData: |
|
| 833 |
+ description: "Information about a container's graph driver." |
|
| 834 | 834 |
type: "object" |
| 835 |
+ required: [Name, Data] |
|
| 835 | 836 |
properties: |
| 836 | 837 |
Name: |
| 837 | 838 |
type: "string" |
| 839 |
+ x-nullable: false |
|
| 838 | 840 |
Data: |
| 839 | 841 |
type: "object" |
| 842 |
+ x-nullable: false |
|
| 840 | 843 |
additionalProperties: |
| 841 | 844 |
type: "string" |
| 842 | 845 |
|
| 843 | 846 |
Image: |
| 844 | 847 |
type: "object" |
| 848 |
+ required: |
|
| 849 |
+ - Id |
|
| 850 |
+ - Parent |
|
| 851 |
+ - Comment |
|
| 852 |
+ - Created |
|
| 853 |
+ - Container |
|
| 854 |
+ - DockerVersion |
|
| 855 |
+ - Author |
|
| 856 |
+ - Architecture |
|
| 857 |
+ - Os |
|
| 858 |
+ - Size |
|
| 859 |
+ - VirtualSize |
|
| 860 |
+ - GraphDrvier |
|
| 861 |
+ - RootFS |
|
| 845 | 862 |
properties: |
| 846 | 863 |
Id: |
| 847 | 864 |
type: "string" |
| 865 |
+ x-nullable: false |
|
| 848 | 866 |
RepoTags: |
| 849 | 867 |
type: "array" |
| 850 | 868 |
items: |
| ... | ... |
@@ -855,37 +873,51 @@ definitions: |
| 855 | 855 |
type: "string" |
| 856 | 856 |
Parent: |
| 857 | 857 |
type: "string" |
| 858 |
+ x-nullable: false |
|
| 858 | 859 |
Comment: |
| 859 | 860 |
type: "string" |
| 861 |
+ x-nullable: false |
|
| 860 | 862 |
Created: |
| 861 | 863 |
type: "string" |
| 864 |
+ x-nullable: false |
|
| 862 | 865 |
Container: |
| 863 | 866 |
type: "string" |
| 867 |
+ x-nullable: false |
|
| 864 | 868 |
ContainerConfig: |
| 865 | 869 |
$ref: "#/definitions/Config" |
| 866 | 870 |
DockerVersion: |
| 867 | 871 |
type: "string" |
| 872 |
+ x-nullable: false |
|
| 868 | 873 |
Author: |
| 869 | 874 |
type: "string" |
| 875 |
+ x-nullable: false |
|
| 870 | 876 |
Config: |
| 871 | 877 |
$ref: "#/definitions/Config" |
| 872 | 878 |
Architecture: |
| 873 | 879 |
type: "string" |
| 880 |
+ x-nullable: false |
|
| 874 | 881 |
Os: |
| 875 | 882 |
type: "string" |
| 883 |
+ x-nullable: false |
|
| 884 |
+ OsVersion: |
|
| 885 |
+ type: "string" |
|
| 876 | 886 |
Size: |
| 877 | 887 |
type: "integer" |
| 878 | 888 |
format: "int64" |
| 889 |
+ x-nullable: false |
|
| 879 | 890 |
VirtualSize: |
| 880 | 891 |
type: "integer" |
| 881 | 892 |
format: "int64" |
| 893 |
+ x-nullable: false |
|
| 882 | 894 |
GraphDriver: |
| 883 |
- $ref: "#/definitions/GraphDriver" |
|
| 895 |
+ $ref: "#/definitions/GraphDriverData" |
|
| 884 | 896 |
RootFS: |
| 885 | 897 |
type: "object" |
| 898 |
+ required: [Type] |
|
| 886 | 899 |
properties: |
| 887 | 900 |
Type: |
| 888 | 901 |
type: "string" |
| 902 |
+ x-nullable: false |
|
| 889 | 903 |
Layers: |
| 890 | 904 |
type: "array" |
| 891 | 905 |
items: |
| ... | ... |
@@ -2934,7 +2966,7 @@ paths: |
| 2934 | 2934 |
HostConfig: |
| 2935 | 2935 |
$ref: "#/definitions/HostConfig" |
| 2936 | 2936 |
GraphDriver: |
| 2937 |
- $ref: "#/definitions/GraphDriver" |
|
| 2937 |
+ $ref: "#/definitions/GraphDriverData" |
|
| 2938 | 2938 |
SizeRw: |
| 2939 | 2939 |
description: "The size of files that have been created or changed by this container." |
| 2940 | 2940 |
type: "integer" |
| 2941 | 2941 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,17 @@ |
| 0 |
+package types |
|
| 1 |
+ |
|
| 2 |
+// This file was generated by the swagger tool. |
|
| 3 |
+// Editing this file might prove futile when you re-run the swagger generate command |
|
| 4 |
+ |
|
| 5 |
+// GraphDriverData Information about a container's graph driver. |
|
| 6 |
+// swagger:model GraphDriverData |
|
| 7 |
+type GraphDriverData struct {
|
|
| 8 |
+ |
|
| 9 |
+ // data |
|
| 10 |
+ // Required: true |
|
| 11 |
+ Data map[string]string `json:"Data"` |
|
| 12 |
+ |
|
| 13 |
+ // name |
|
| 14 |
+ // Required: true |
|
| 15 |
+ Name string `json:"Name"` |
|
| 16 |
+} |
| ... | ... |
@@ -17,13 +17,6 @@ import ( |
| 17 | 17 |
"github.com/docker/go-connections/nat" |
| 18 | 18 |
) |
| 19 | 19 |
|
| 20 |
-// GraphDriverData returns Image's graph driver config info |
|
| 21 |
-// when calling inspect command |
|
| 22 |
-type GraphDriverData struct {
|
|
| 23 |
- Name string |
|
| 24 |
- Data map[string]string |
|
| 25 |
-} |
|
| 26 |
- |
|
| 27 | 20 |
// RootFS returns Image's RootFS description including the layer IDs. |
| 28 | 21 |
type RootFS struct {
|
| 29 | 22 |
Type string |