EnvVolumeApi

Abstraction of volume-related operations for virtualization frameworks.

In the context of this virtualization API, "volumes" refer to the framework-dependent managed persistent data stores. Examples include Docker volumes.

Parameters

RepT

Class representation for a volume.

Functions

Link copied to clipboard
abstract suspend fun create(): RepT

Creates a volume backed by the virtualization framework.

Link copied to clipboard
abstract suspend fun inspect(volume: RepT): Any?
Link copied to clipboard
abstract suspend fun list(): List<RepT>

Lists all volumes by its represented type.

Link copied to clipboard
abstract suspend fun remove(volume: RepT): Boolean

Removes the volume.