1 /* 2 * HCS API 3 * 4 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 * 6 * API version: 2.1 7 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 */ 9 10 package hcsschema 11 12 type DeviceType string 13 14 const ( 15 ClassGUID DeviceType = "ClassGuid" 16 DeviceInstanceID DeviceType = "DeviceInstance" 17 GPUMirror DeviceType = "GpuMirror" 18 ) 19 20 type Device struct { 21 // The type of device to assign to the container. 22 Type DeviceType `json:"Type,omitempty"` 23 // The interface class guid of the device interfaces to assign to the container. Only used when Type is ClassGuid. 24 InterfaceClassGuid string `json:"InterfaceClassGuid,omitempty"` 25 // The location path of the device to assign to the container. Only used when Type is DeviceInstanceID. 26 LocationPath string `json:"LocationPath,omitempty"` 27 } 28