Module: Uffizzi

Defined in:
lib/uffizzi.rb,
lib/uffizzi/cli.rb,
lib/uffizzi/error.rb,
lib/uffizzi/promt.rb,
lib/uffizzi/shell.rb,
lib/uffizzi/token.rb,
lib/uffizzi/cli/dev.rb,
lib/uffizzi/version.rb,
lib/uffizzi/cli/login.rb,
lib/uffizzi/cli/common.rb,
lib/uffizzi/cli/config.rb,
lib/uffizzi/cli/logout.rb,
lib/uffizzi/cli/status.rb,
lib/uffizzi/auth_helper.rb,
lib/uffizzi/cli/account.rb,
lib/uffizzi/cli/cluster.rb,
lib/uffizzi/cli/connect.rb,
lib/uffizzi/cli/install.rb,
lib/uffizzi/cli/preview.rb,
lib/uffizzi/cli/project.rb,
lib/uffizzi/config_file.rb,
lib/uffizzi/date_helper.rb,
lib/uffizzi/cli/uninstall.rb,
lib/uffizzi/cli/disconnect.rb,
lib/uffizzi/cli/dev/ingress.rb,
lib/uffizzi/response_helper.rb,
lib/uffizzi/cli/project/secret.rb,
lib/uffizzi/cli/preview/service.rb,
lib/uffizzi/cli/project/compose.rb,
lib/uffizzi/helpers/file_helper.rb,
lib/uffizzi/helpers/login_helper.rb,
lib/uffizzi/helpers/config_helper.rb,
lib/uffizzi/helpers/connect_helper.rb,
lib/uffizzi/helpers/project_helper.rb,
lib/uffizzi/clients/api/http_client.rb,
lib/uffizzi/cli/login_by_identity_token.rb

Defined Under Namespace

Modules: AuthHelper, ConfigHelper, ConnectHelper, DateHelper, FileHelper, LoginHelper, ProjectHelper, ResponseHelper, UI Classes: Cli, CliError, ConfigFile, Error, HttpClient, ServerResponseError, Token

Constant Summary collapse

RESPONSE_SERVER_ERROR_HEADER =
"Server Error:\n"
CLI_ERROR_HEADER =
"CLI Error:\n"
VERSION =
'2.4.11'

Class Method Summary collapse

Class Method Details

.at_exit(&block) ⇒ Object



54
55
56
# File 'lib/uffizzi.rb', line 54

def at_exit(&block)
  Kernel.at_exit(&block)
end

.launchyObject



58
59
60
# File 'lib/uffizzi.rb', line 58

def launchy
  Launchy
end

.processObject



42
43
44
# File 'lib/uffizzi.rb', line 42

def process
  Process
end

.promptObject



34
35
36
# File 'lib/uffizzi.rb', line 34

def prompt
  @prompt ||= Uffizzi::UI::Prompt.new
end

.rootObject



38
39
40
# File 'lib/uffizzi.rb', line 38

def root
  @root ||= Pathname.new(File.expand_path('..', __dir__))
end

.signalObject



46
47
48
# File 'lib/uffizzi.rb', line 46

def signal
  Signal
end

.threadObject



50
51
52
# File 'lib/uffizzi.rb', line 50

def thread
  Thread
end

.uiObject



30
31
32
# File 'lib/uffizzi.rb', line 30

def ui
  @ui ||= Uffizzi::UI::Shell.new
end