Per-computer volume attachment management.
GET /computers/:id/volumes— list/2POST /computers/:id/volumes— attach/4DELETE /computers/:id/volumes/:aid— detach/3
Summary
Functions
Attach a volume at mount_path inside the VM
(POST /computers/:computer_id/volumes).
Detach a volume attachment by attachment ID
(DELETE /computers/:computer_id/volumes/:attachment_id).
List volume attachments for a computer
(GET /computers/:computer_id/volumes).
Functions
@spec attach(Miosa.Client.t(), String.t(), String.t(), String.t()) :: Miosa.Client.result(map())
Attach a volume at mount_path inside the VM
(POST /computers/:computer_id/volumes).
@spec detach(Miosa.Client.t(), String.t(), String.t()) :: :ok | {:error, Miosa.Error.t()}
Detach a volume attachment by attachment ID
(DELETE /computers/:computer_id/volumes/:attachment_id).
@spec list(Miosa.Client.t(), String.t()) :: Miosa.Client.result(list())
List volume attachments for a computer
(GET /computers/:computer_id/volumes).