File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change 1111 "description" : " The kind of the device usually of the form 'vendor.com/device'" ,
1212 "type" : " string"
1313 },
14- "kindShort" : {
15- "description" : " List of shorthand terms which refers to kind. That can be used on the cli, e.g: 'device' instead of 'vendor.com/device'." ,
16- "$ref" : " defs.json#/definitions/ArrayOfStrings"
17- },
1814 "containerRuntime" : {
1915 "description" : " A list of container runtimes this spec applies to" ,
2016 "$ref" : " defs.json#/definitions/ArrayOfStrings"
2824 "description" : " The name of the device" ,
2925 "type" : " string"
3026 },
31- "nameShort" : {
32- "description" : " A list of aliases which refers to the device" ,
33- "$ref" : " defs.json#/definitions/ArrayOfStrings"
34- },
3527 "containerEdits" : {
3628 "$ref" : " defs.json#/definitions/containerEdits"
3729 }
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import "os"
66type Spec struct {
77 Version string `json:"cdiVersion"`
88 Kind string `json:"kind"`
9- KindShort []string `json:"kindShort,omitempty"`
109 ContainerRuntime []string `json:"containerRuntime,omitempty"`
1110
1211 Devices []Device `json:"devices"`
@@ -16,7 +15,6 @@ type Spec struct {
1615// Device is a "Device" a container runtime can add to a container
1716type Device struct {
1817 Name string `json:"name"`
19- NameShort []string `json:"nameShort"`
2018 ContainerEdits ContainerEdits `json:"containerEdits"`
2119}
2220
You can’t perform that action at this time.
0 commit comments