[−][src]Trait ttstack::model::Storage
This trait describes how to manage the 'runtime image'.
Required methods
pub fn create_image(&self, vm: &mut Vm) -> Result<()>
[src]
Create a runtime image from it's template.
pub fn destroy_image(&self, vm: &mut Vm) -> Result<()>
[src]
Destroy a runtime image.
pub fn create_snapshot(
&self,
vm: &mut Vm,
snapshot: &Snapshot
) -> Result<String>
[src]
&self,
vm: &mut Vm,
snapshot: &Snapshot
) -> Result<String>
Add a snapshot for the runtime image.
pub fn destroy_snapshot(&self, vm: &Vm, snapshot_path: &str) -> Result<()>
[src]
Delete a snapshot of the runtime image.
pub fn apply_snapshot(&self, vm: &Vm, snapshot: &Snapshot) -> Result<()>
[src]
Revert to the state of this snapshot.