KontainerRunner

interface KontainerRunner

Defines methods to be implemented by any platform capable of running Kontainers.

Author

Scott Rossillo

Functions

Link copied to clipboard
abstract suspend fun create(kontainerSpec: KontainerSpec): PlatformKontainer

Creates a new Kontainer from the given kontainerSpec.

Link copied to clipboard
open fun createSync(kontainerSpec: KontainerSpec): PlatformKontainer

Synchronously creates a Kontainer from the given kontainerSpec on Dispatchers.IO while blocking the current thread.

Link copied to clipboard
abstract suspend fun delete(kontainerId: String)

Deletes the Kontainer with the given, platform assigned kontainerId.

Link copied to clipboard
abstract suspend fun start(kontainerId: String)

Starts the Kontainer with the given, platform assigned kontainerId.