class

Swarmy::App

Inherits Reference < Object

The interactive service browser: lists swarm services, drills into a service's tasks, and can exec into or tail logs from a running task.

Constants

LIST_CHROME_ROWS = 5

Non-list chrome around the service rows: title, blank line, header, trailing blank line, and footer/prompt — each takes one terminal row.

SHELLS = ["/bin/bash", "/bin/sh"]

Constructors

new(docker : Docker, filter : String | Nil = nil)
Source

Instance methods

quit?

Whether the user chose to quit the whole app (vs. going back to the welcome screen).

Source
run

Runs the service list loop until the user backs out or quits.

Source