Module Values.DeviceSource

An object representing a container instance host device.

Sourcetype nonrec t = {
  1. hostPath : String_.t;
    (*

    The path for the device on the host container instance.

    *)
  2. containerPath : String_.t option;
    (*

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

    *)
  3. permissions : DeviceCgroupPermissions.t option;
    (*

    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.

    *)
}
Sourceval context_ : string
Sourceval make : ?containerPath:??? -> ?permissions:??? -> hostPath:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Enum of string ] list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t