Tasks
Manager operations. HTTP failures return Result errors; transport failures and cancellation throw.
Functions
Link copied to clipboard
suspend fun getLogs(id: String, parameters: SwarmLogsParameters = SwarmLogsParameters()): Result<Flow<LogLine>, ErrorResponse>
Inspects TTY framing now, then returns a cold log flow. Collection opens the log request. Collection HTTP errors throw DockerApiException; cancellation/completion closes the request. Docker requires a supported logging driver. No retry or ordering across tasks is added.