NAME
API::Docker::Type::DeviceRequest - A request for devices to be sent to device drivers
VERSION
version 0.004
DESCRIPTION
Generated from the DeviceRequest definition of spec/v1.51.yaml.
driver
Undocumented upstream. The swagger's example is "nvidia".
count
Undocumented upstream. The swagger's example is -1.
device_ids
Undocumented upstream. The swagger's example is ["0", "1", "GPU-fef8089b-4820-abfc-e83e-94318197576e"]. Serialised as DeviceIDs -- spelled out, because deriving it from the Perl name would produce DeviceIds.
capabilities
A list of capabilities; an OR list of AND lists of capabilities. An ArrayRef of ArrayRefs of strings: [["gpu", "nvidia", "compute"]] asks for a device that has all three.
options
Driver-specific options, specified as a key/value pairs. These options are passed directly to the driver. The keys are the caller's data and are never translated.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-api-docker/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <getty@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.