DeviceResponse

data class DeviceResponse(val containerPath: String? = null, val hostPath: String? = null, val permissions: List<String>? = null)

Definition of Device

Constructors

Link copied to clipboard
constructor(containerPath: String? = null, hostPath: String? = null, permissions: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val containerPath: String? = null

The path inside the container at which to expose the host device.

Link copied to clipboard
val hostPath: String? = null

The path for the device on the host container instance.

Link copied to clipboard
val permissions: List<String>? = null

The explicit permissions to provide to the container for the device. By default, the container has permissions for `read`, `write`, and `mknod` for the device.