Package-level declarations

Types

Link copied to clipboard
class BoundedByteArrayOutputStream(capacity: Int = 32, val limit: Long = capacity.toLong()) : ByteArrayOutputStream
Link copied to clipboard
class CloseablePath(path: Path, closeHandler: (Path) -> Unit) : Closeable
Link copied to clipboard
abstract class DirectoryManager(val root: Path)
Link copied to clipboard
class DurableFileWriter(val path: Path, append: Boolean) : AutoCloseable
Link copied to clipboard
open class GoblinClient(val server: String, val timeout: Long = 5)

Network client implementation. Routines for

Link copied to clipboard
class GoblinClientAPI2(val server: String, val defaultTimeout: Long = 30)
Link copied to clipboard

Helper class for quickly calculating hashes.

Link copied to clipboard
object IO
Link copied to clipboard
object JSON
Link copied to clipboard
open class Processor(val executor: ExecutorService, defaultTimeOut: Long = 6, val printErrors: Boolean = true, val lineReader: (String) -> Any? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun gatherNodeSpecs(executor: ExecutorService, name: String? = null, description: String? = null, units: List<String> = listOf(), interfaceAddresses: List<String> = interfaceAddresses(), cpuInfo: InputStream = Path.of("/proc/cpuinfo").inputStream(), memInfo: InputStream = Path.of("/proc/meminfo").inputStream(), specsData: String = Processor(executor).run( listOf( "/usr/bin/hostnamectl", "--json=pretty" ) ).decodeToString(), image: String? = null, imageFormat: String? = null, includeEnvironment: Boolean = false): NodeSpecs
Link copied to clipboard
fun procInfoFile(inputStream: InputStream): <Error class: unknown class>