class
Swarmy::Welcome
Defined in:
swarmy/welcome.cr
Constant Summary
-
BASE_ITEMS =
[Item.new("Browse services", "View and inspect swarm services", :services), Item.new("Quit", "Exit swarmy", :quit)]
-
ITEMS =
BASE_ITEMS
-
LOGO =
[" ", " ███████ ██ ██ █████ ██████ ███ ███ ██ ██ ", " ██ ██ ██ ██ ██ ██ ██ ████ ████ ██ ██ ", " ███████ ██ █ ██ ███████ ██████ ██ ████ ██ ████ ", " ██ ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ", " ███████ ███ ███ ██ ██ ██ ██ ██ ██ ██ "]
-
SERVER_ITEM =
Item.new("Select server", "Switch between local and remote Docker Swarm hosts", :select_server)
Constructors
Instance Method Summary
Constructor Detail
def self.
new(screen :
Tui::Screen =
Tui::Screen.new, servers : Array(
Server) =
Server.load_all)
#
Instance Method Detail