mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-14 18:07:43 +00:00
Bumps: - c/storage to v1.29.0 - c/image to v5.11.0 - c/common to v0.36.0 - Buildah to v1.20.1 Signed-off-by: Matthew Heon <mheon@redhat.com>
27 lines
876 B
Go
27 lines
876 B
Go
/*
|
|
* HCS API
|
|
*
|
|
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
*
|
|
* API version: 2.1
|
|
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
*/
|
|
|
|
package hcsschema
|
|
|
|
type DeviceType string
|
|
|
|
const (
|
|
ClassGUID DeviceType = "ClassGuid"
|
|
DeviceInstance DeviceType = "DeviceInstance"
|
|
GPUMirror DeviceType = "GpuMirror"
|
|
)
|
|
|
|
type Device struct {
|
|
// The type of device to assign to the container.
|
|
Type DeviceType `json:"Type,omitempty"`
|
|
// The interface class guid of the device interfaces to assign to the container. Only used when Type is ClassGuid.
|
|
InterfaceClassGuid string `json:"InterfaceClassGuid,omitempty"`
|
|
// The location path of the device to assign to the container. Only used when Type is DeviceInstance.
|
|
LocationPath string `json:"LocationPath,omitempty"`
|
|
}
|