Note: A group is a set of parameters defined for a subpart of a config file
DEFAULT_MAX_LENGTH | = | 16 | ||
APP_NAME_MAX_LENGTH | = | 32 | ||
MAX_RETRIES | = | 7 | ||
DEFAULT_DELAY | = | 2.0 | ||
API | = | "1.1.3" | ||
PATTERN_VERSION | = | /\A\d+\.\d+\.\d+\z/ | ||
CLEAR_LINE | = | "\r" + "\e[0K" | reset lines \r moves the cursor to the beginning of line ANSI escape code to clear line from cursor to end of line "\e" is an alternative to "\033" cf. en.wikipedia.org/wiki/ANSI_escape_code | |
DEBUG_INGORE_KEYS | = | { 'result' => nil, 'debug' => nil, 'exit_code' => nil, 'messages' => nil, 'data' => nil, 'api' => nil |
An application is considered available if the health check URL unambiguously returns a 1 or 0. Otherwise, if the root URL for the app successfully returns content it is also considered successful. In the future, applications that do not expose a public web interface will need a more advanced check mechanism, or the check should not prevent creation.
Public: Get a list of ssh keys
type - The String type RSA or DSS. libra_server - The String DNS for the broker rhlogin - The String login name password - The String password for login net_http - The NET::HTTP Object to use
Examples
RHC::get_ssh_keys('openshift.redhat.com', 'mylogin@example.com', 'mypassword', RHC::Config.default_proxy) # => { "ssh_type" => "ssh-rsa", "ssh_key" => "AAAAB3NzaC1yc2EAAAADAQAB....", "fingerprint" => "ea:08:e3:c7:e3:c3:8e:6a:66:34:65:e4:56:f4:3e:ff"}
FIXME! Exits on failure! Should return something instead
Returns Hash on success or exits on failure