Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class CgroupReading(val throttled: Long?, val memoryMax: Long?, val oom: Long?, val oomKill: Long?)
The counters of the cgroup v2 that holds this process at one moment: nr_throttled of cpu.stat and max, oom and oom_kill of memory.events. A field is null when its file or counter is missing.
Link copied to clipboard
Link copied to clipboard
class FakeHost(val platform: String = "fake", val os: String = "linux", val arch: String = "x86_64", env: Map<String, String> = emptyMap(), files: Map<String, String> = emptyMap(), commands: Map<List<String>, CommandResult> = emptyMap(), canRun: Boolean = true, facts: List<Attribute> = emptyList(), val capabilities: Set<Capability> = Capability.entries.toSet(), sync: List<Long>? = null) : Host
Link copied to clipboard
class FakeSsh(remoteFiles: Map<String, String> = emptyMap(), remoteEnv: Map<String, String> = emptyMap(), remoteCommands: Map<List<String>, CommandResult> = emptyMap(), uname: String = "Linux x86_64", sshResult: CommandResult? = null, canRun: Boolean = true, val os: String = "macos", val capabilities: Set<Capability> = Capability.entries.toSet(), machines: Map<String, FakeSsh> = emptyMap()) : Host
Link copied to clipboard
What the child cost, in whole milliseconds and KiB. A field is null when the platform cannot measure it, never zero: absent means unknown.
Link copied to clipboard
An ssh capture that stopped; message says what happened and what to do next.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A command outside the fixed allowlist; it never reaches ssh.