gce-host 0.4.4 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/docs/GCE.html +45 -44
- data/docs/GCE/Host.html +79 -79
- data/docs/GCE/Host/CLI.html +63 -62
- data/docs/GCE/Host/Config.html +251 -196
- data/docs/GCE/Host/ConfigError.html +44 -43
- data/docs/GCE/Host/GCEClient.html +49 -48
- data/docs/GCE/Host/GCEClient/Error.html +44 -43
- data/docs/GCE/Host/GCEClient/NotFound.html +44 -43
- data/docs/GCE/Host/HashUtil.html +41 -41
- data/docs/GCE/Host/HostData.html +102 -101
- data/docs/GCE/Host/RoleData.html +113 -89
- data/docs/GCE/Host/StringUtil.html +47 -47
- data/docs/_index.html +28 -31
- data/docs/class_list.html +24 -31
- data/docs/css/full_list.css +32 -31
- data/docs/css/style.css +244 -91
- data/docs/file.LICENSE.html +28 -31
- data/docs/file.README.html +29 -32
- data/docs/file_list.html +29 -31
- data/docs/frames.html +7 -16
- data/docs/index.html +29 -32
- data/docs/js/app.js +106 -77
- data/docs/js/full_list.js +170 -135
- data/docs/method_list.html +401 -251
- data/docs/top-level-namespace.html +34 -36
- data/lib/gce/host/config.rb +13 -2
- data/lib/gce/host/gce_client.rb +8 -2
- data/lib/gce/host/role_data.rb +5 -2
- data/lib/gce/host/version.rb +1 -1
- metadata +1 -1
data/docs/GCE/Host/CLI.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: GCE::Host::CLI
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.9
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "GCE::Host::CLI";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!GCE/Host/CLI.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (C)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../GCE.html" title="GCE (class)">GCE</a></span></span> » <span class='title'><span class='object_link'><a href="../Host.html" title="GCE::Host (class)">Host</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">CLI</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: GCE::Host::CLI
|
62
|
+
<div id="content"><h1>Class: GCE::Host::CLI
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName">Object</span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -83,33 +79,37 @@
|
|
83
79
|
</ul>
|
84
80
|
<a href="#" class="inheritanceTree">show all</a>
|
85
81
|
|
86
|
-
|
87
|
-
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
88
86
|
|
89
87
|
|
90
|
-
|
91
88
|
|
92
|
-
|
93
89
|
|
94
90
|
|
91
|
+
|
92
|
+
|
93
|
+
|
95
94
|
|
96
|
-
|
97
|
-
<
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>lib/gce/host/cli.rb</dd>
|
98
|
+
</dl>
|
98
99
|
|
99
|
-
</
|
100
|
-
<div class="clear"></div>
|
100
|
+
</div>
|
101
101
|
|
102
102
|
|
103
103
|
|
104
104
|
|
105
105
|
|
106
|
-
<h2>Instance Attribute Summary <small
|
106
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
107
107
|
<ul class="summary">
|
108
108
|
|
109
109
|
<li class="public ">
|
110
110
|
<span class="summary_signature">
|
111
111
|
|
112
|
-
<a href="#options-instance_method" title="#options (instance method)"
|
112
|
+
<a href="#options-instance_method" title="#options (instance method)">#<strong>options</strong> ⇒ Object </a>
|
113
113
|
|
114
114
|
|
115
115
|
|
@@ -143,7 +143,7 @@
|
|
143
143
|
|
144
144
|
<h2>
|
145
145
|
Instance Method Summary
|
146
|
-
<small
|
146
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
147
147
|
</h2>
|
148
148
|
|
149
149
|
<ul class="summary">
|
@@ -151,7 +151,7 @@
|
|
151
151
|
<li class="public ">
|
152
152
|
<span class="summary_signature">
|
153
153
|
|
154
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
154
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(argv = ARGV) ⇒ CLI </a>
|
155
155
|
|
156
156
|
|
157
157
|
|
@@ -177,7 +177,7 @@
|
|
177
177
|
<li class="public ">
|
178
178
|
<span class="summary_signature">
|
179
179
|
|
180
|
-
<a href="#parse_options-instance_method" title="#parse_options (instance method)"
|
180
|
+
<a href="#parse_options-instance_method" title="#parse_options (instance method)">#<strong>parse_options</strong>(argv = ARGV) ⇒ Object </a>
|
181
181
|
|
182
182
|
|
183
183
|
|
@@ -199,7 +199,7 @@
|
|
199
199
|
<li class="public ">
|
200
200
|
<span class="summary_signature">
|
201
201
|
|
202
|
-
<a href="#run-instance_method" title="#run (instance method)"
|
202
|
+
<a href="#run-instance_method" title="#run (instance method)">#<strong>run</strong> ⇒ Object </a>
|
203
203
|
|
204
204
|
|
205
205
|
|
@@ -227,7 +227,7 @@
|
|
227
227
|
<div class="method_details first">
|
228
228
|
<h3 class="signature first" id="initialize-instance_method">
|
229
229
|
|
230
|
-
|
230
|
+
#<strong>initialize</strong>(argv = ARGV) ⇒ <tt><span class='object_link'><a href="" title="GCE::Host::CLI (class)">CLI</a></span></tt>
|
231
231
|
|
232
232
|
|
233
233
|
|
@@ -275,7 +275,7 @@
|
|
275
275
|
<div class="method_details first">
|
276
276
|
<h3 class="signature first" id="options-instance_method">
|
277
277
|
|
278
|
-
|
278
|
+
#<strong>options</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
279
279
|
|
280
280
|
|
281
281
|
|
@@ -323,7 +323,7 @@
|
|
323
323
|
<div class="method_details first">
|
324
324
|
<h3 class="signature first" id="parse_options-instance_method">
|
325
325
|
|
326
|
-
|
326
|
+
#<strong>parse_options</strong>(argv = ARGV) ⇒ <tt>Object</tt>
|
327
327
|
|
328
328
|
|
329
329
|
|
@@ -445,30 +445,30 @@
|
|
445
445
|
<span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>-r</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--role one,two,three</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>role</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
|
446
446
|
<span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:role</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
|
447
447
|
<span class='rbrace'>}</span>
|
448
|
-
<span class='int'>1</span><span class='period'>.</span><span class='id identifier rubyid_upto'>upto</span><span class='lparen'>(</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_role_max_depth'>role_max_depth</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span>
|
449
|
-
<span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>--r</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>--role</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_content'> one,two,three</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>role</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_content'>, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_content'>th part of role delimited by </span><span class='embexpr_beg'>#{</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_role_value_delimiter'>role_value_delimiter</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
|
448
|
+
<span class='int'>1</span><span class='period'>.</span><span class='id identifier rubyid_upto'>upto</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Config.html" title="GCE::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_role_max_depth'><span class='object_link'><a href="Config.html#role_max_depth-class_method" title="GCE::Host::Config.role_max_depth (method)">role_max_depth</a></span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span>
|
449
|
+
<span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>--r</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>--role</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_content'> one,two,three</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>role</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_content'>, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_content'>th part of role delimited by </span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Config.html" title="GCE::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_role_value_delimiter'><span class='object_link'><a href="Config.html#role_value_delimiter-class_method" title="GCE::Host::Config.role_value_delimiter (method)">role_value_delimiter</a></span></span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
|
450
450
|
<span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>role</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
|
451
451
|
<span class='rbrace'>}</span>
|
452
452
|
<span class='kw'>end</span>
|
453
453
|
<span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--instance-id one,two,three</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>instance_id</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
|
454
454
|
<span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:instance_id</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
|
455
455
|
<span class='rbrace'>}</span>
|
456
|
-
<span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>--</span><span class='embexpr_beg'>#{</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span><span class='embexpr_end'>}</span><span class='tstring_content'> one,two,three</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>filter with instance </span><span class='embexpr_beg'>#{</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span><span class='embexpr_end'>}</span><span class='tstring_content'> (default: running)</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
|
457
|
-
<span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
|
456
|
+
<span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>--</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Config.html" title="GCE::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_status'><span class='object_link'><a href="Config.html#status-class_method" title="GCE::Host::Config.status (method)">status</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'> one,two,three</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>filter with instance </span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Config.html" title="GCE::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_status'><span class='object_link'><a href="Config.html#status-class_method" title="GCE::Host::Config.status (method)">status</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'> (default: running)</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
|
457
|
+
<span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='const'><span class='object_link'><a href="Config.html" title="GCE::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_status'><span class='object_link'><a href="Config.html#status-class_method" title="GCE::Host::Config.status (method)">status</a></span></span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
|
458
458
|
<span class='rbrace'>}</span>
|
459
|
-
<span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_optional_options'>optional_options</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_opt'>opt</span><span class='op'>|</span>
|
459
|
+
<span class='const'><span class='object_link'><a href="Config.html" title="GCE::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_optional_options'><span class='object_link'><a href="Config.html#optional_options-class_method" title="GCE::Host::Config.optional_options (method)">optional_options</a></span></span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_opt'>opt</span><span class='op'>|</span>
|
460
460
|
<span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>--</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_opt'>opt</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>_</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>-</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'> one,two,three</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='id identifier rubyid_opt'>opt</span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
|
461
461
|
<span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='id identifier rubyid_opt'>opt</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
|
462
462
|
<span class='rbrace'>}</span>
|
463
463
|
<span class='kw'>end</span>
|
464
464
|
<span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>-a</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--all</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>list all hosts (remove default filter)</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
|
465
|
-
<span class='lbracket'>[</span><span class='symbol'>:hostname</span><span class='comma'>,</span> <span class='symbol'>:role</span><span class='comma'>,</span> <span class='symbol'>:instance_id</span><span class='comma'>,</span> <span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='op'>|</span>
|
465
|
+
<span class='lbracket'>[</span><span class='symbol'>:hostname</span><span class='comma'>,</span> <span class='symbol'>:role</span><span class='comma'>,</span> <span class='symbol'>:instance_id</span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="Config.html" title="GCE::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_status'><span class='object_link'><a href="Config.html#status-class_method" title="GCE::Host::Config.status (method)">status</a></span></span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='op'>|</span>
|
466
466
|
<span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='rparen'>)</span>
|
467
467
|
<span class='kw'>end</span>
|
468
|
-
<span class='int'>1</span><span class='period'>.</span><span class='id identifier rubyid_upto'>upto</span><span class='lparen'>(</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_role_max_depth'>role_max_depth</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span>
|
468
|
+
<span class='int'>1</span><span class='period'>.</span><span class='id identifier rubyid_upto'>upto</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Config.html" title="GCE::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_role_max_depth'><span class='object_link'><a href="Config.html#role_max_depth-class_method" title="GCE::Host::Config.role_max_depth (method)">role_max_depth</a></span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span>
|
469
469
|
<span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>role</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rparen'>)</span>
|
470
470
|
<span class='kw'>end</span>
|
471
|
-
<span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_optional_options'>optional_options</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_opt'>opt</span><span class='op'>|</span>
|
471
|
+
<span class='const'><span class='object_link'><a href="Config.html" title="GCE::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_optional_options'><span class='object_link'><a href="Config.html#optional_options-class_method" title="GCE::Host::Config.optional_options (method)">optional_options</a></span></span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_opt'>opt</span><span class='op'>|</span>
|
472
472
|
<span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_opt'>opt</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rparen'>)</span>
|
473
473
|
<span class='kw'>end</span>
|
474
474
|
<span class='rbrace'>}</span>
|
@@ -517,7 +517,7 @@
|
|
517
517
|
<div class="method_details ">
|
518
518
|
<h3 class="signature " id="run-instance_method">
|
519
519
|
|
520
|
-
|
520
|
+
#<strong>run</strong> ⇒ <tt>Object</tt>
|
521
521
|
|
522
522
|
|
523
523
|
|
@@ -562,7 +562,7 @@
|
|
562
562
|
<pre class="code"><span class="info file"># File 'lib/gce/host/cli.rb', line 99</span>
|
563
563
|
|
564
564
|
<span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
|
565
|
-
<span class='id identifier rubyid_hosts'>hosts</span> <span class='op'>=</span> <span class='const'>GCE</span><span class='op'>::</span><span class='const'>Host</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_condition'>condition</span><span class='rparen'>)</span>
|
565
|
+
<span class='id identifier rubyid_hosts'>hosts</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../GCE.html" title="GCE (class)">GCE</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Host.html" title="GCE::Host (class)">Host</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Host.html#initialize-instance_method" title="GCE::Host#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_condition'>condition</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_sort_by'>sort_by</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_host'>host</span><span class='op'>|</span> <span class='id identifier rubyid_host'>host</span><span class='period'>.</span><span class='id identifier rubyid_hostname'>hostname</span> <span class='rbrace'>}</span>
|
566
566
|
<span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:info</span><span class='rbracket'>]</span>
|
567
567
|
<span class='id identifier rubyid_hosts'>hosts</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_host'>host</span><span class='op'>|</span>
|
568
568
|
<span class='gvar'>$stdout</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_host'>host</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span>
|
@@ -598,11 +598,12 @@
|
|
598
598
|
|
599
599
|
</div>
|
600
600
|
|
601
|
-
|
602
|
-
Generated on
|
601
|
+
<div id="footer">
|
602
|
+
Generated on Sat May 20 00:24:52 2017 by
|
603
603
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
604
|
-
0.
|
604
|
+
0.9.9 (ruby-2.4.1).
|
605
605
|
</div>
|
606
606
|
|
607
|
+
</div>
|
607
608
|
</body>
|
608
609
|
</html>
|
data/docs/GCE/Host/Config.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: GCE::Host::Config
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.9
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "GCE::Host::Config";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!GCE/Host/Config.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (C)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../GCE.html" title="GCE (class)">GCE</a></span></span> » <span class='title'><span class='object_link'><a href="../Host.html" title="GCE::Host (class)">Host</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Config</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
65
61
|
|
66
|
-
|
62
|
+
<div id="content"><h1>Class: GCE::Host::Config
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName">Object</span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -83,21 +79,25 @@
|
|
83
79
|
</ul>
|
84
80
|
<a href="#" class="inheritanceTree">show all</a>
|
85
81
|
|
86
|
-
|
87
|
-
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
88
86
|
|
89
87
|
|
90
|
-
|
91
88
|
|
92
|
-
|
93
89
|
|
94
90
|
|
91
|
+
|
92
|
+
|
93
|
+
|
95
94
|
|
96
|
-
|
97
|
-
<
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>lib/gce/host/config.rb</dd>
|
98
|
+
</dl>
|
98
99
|
|
99
|
-
</
|
100
|
-
<div class="clear"></div>
|
100
|
+
</div>
|
101
101
|
|
102
102
|
|
103
103
|
|
@@ -109,7 +109,7 @@
|
|
109
109
|
|
110
110
|
<h2>
|
111
111
|
Class Method Summary
|
112
|
-
<small
|
112
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
113
113
|
</h2>
|
114
114
|
|
115
115
|
<ul class="summary">
|
@@ -117,7 +117,7 @@
|
|
117
117
|
<li class="public ">
|
118
118
|
<span class="summary_signature">
|
119
119
|
|
120
|
-
<a href="#
|
120
|
+
<a href="#application_default_credentials_file-class_method" title="application_default_credentials_file (class method)">.<strong>application_default_credentials_file</strong> ⇒ Object </a>
|
121
121
|
|
122
122
|
|
123
123
|
|
@@ -139,7 +139,7 @@
|
|
139
139
|
<li class="public ">
|
140
140
|
<span class="summary_signature">
|
141
141
|
|
142
|
-
<a href="#
|
142
|
+
<a href="#array_value_delimiter-class_method" title="array_value_delimiter (class method)">.<strong>array_value_delimiter</strong> ⇒ Object </a>
|
143
143
|
|
144
144
|
|
145
145
|
|
@@ -161,7 +161,7 @@
|
|
161
161
|
<li class="public ">
|
162
162
|
<span class="summary_signature">
|
163
163
|
|
164
|
-
<a href="#
|
164
|
+
<a href="#auth_method-class_method" title="auth_method (class method)">.<strong>auth_method</strong> ⇒ Object </a>
|
165
165
|
|
166
166
|
|
167
167
|
|
@@ -183,7 +183,7 @@
|
|
183
183
|
<li class="public ">
|
184
184
|
<span class="summary_signature">
|
185
185
|
|
186
|
-
<a href="#
|
186
|
+
<a href="#config-class_method" title="config (class method)">.<strong>config</strong> ⇒ Object </a>
|
187
187
|
|
188
188
|
|
189
189
|
|
@@ -205,7 +205,7 @@
|
|
205
205
|
<li class="public ">
|
206
206
|
<span class="summary_signature">
|
207
207
|
|
208
|
-
<a href="#
|
208
|
+
<a href="#config_default-class_method" title="config_default (class method)">.<strong>config_default</strong> ⇒ Object </a>
|
209
209
|
|
210
210
|
|
211
211
|
|
@@ -227,7 +227,7 @@
|
|
227
227
|
<li class="public ">
|
228
228
|
<span class="summary_signature">
|
229
229
|
|
230
|
-
<a href="#
|
230
|
+
<a href="#config_default_file-class_method" title="config_default_file (class method)">.<strong>config_default_file</strong> ⇒ Object </a>
|
231
231
|
|
232
232
|
|
233
233
|
|
@@ -249,7 +249,7 @@
|
|
249
249
|
<li class="public ">
|
250
250
|
<span class="summary_signature">
|
251
251
|
|
252
|
-
<a href="#
|
252
|
+
<a href="#config_file-class_method" title="config_file (class method)">.<strong>config_file</strong> ⇒ Object </a>
|
253
253
|
|
254
254
|
|
255
255
|
|
@@ -271,7 +271,7 @@
|
|
271
271
|
<li class="public ">
|
272
272
|
<span class="summary_signature">
|
273
273
|
|
274
|
-
<a href="#
|
274
|
+
<a href="#configure-class_method" title="configure (class method)">.<strong>configure</strong>(params) ⇒ Object </a>
|
275
275
|
|
276
276
|
|
277
277
|
|
@@ -293,7 +293,7 @@
|
|
293
293
|
<li class="public ">
|
294
294
|
<span class="summary_signature">
|
295
295
|
|
296
|
-
<a href="#
|
296
|
+
<a href="#credentials-class_method" title="credentials (class method)">.<strong>credentials</strong> ⇒ Object </a>
|
297
297
|
|
298
298
|
|
299
299
|
|
@@ -315,7 +315,7 @@
|
|
315
315
|
<li class="public ">
|
316
316
|
<span class="summary_signature">
|
317
317
|
|
318
|
-
<a href="#
|
318
|
+
<a href="#credentials_file-class_method" title="credentials_file (class method)">.<strong>credentials_file</strong> ⇒ Object </a>
|
319
319
|
|
320
320
|
|
321
321
|
|
@@ -337,7 +337,7 @@
|
|
337
337
|
<li class="public ">
|
338
338
|
<span class="summary_signature">
|
339
339
|
|
340
|
-
<a href="#
|
340
|
+
<a href="#global_application_default_credentials_file-class_method" title="global_application_default_credentials_file (class method)">.<strong>global_application_default_credentials_file</strong> ⇒ Object </a>
|
341
341
|
|
342
342
|
|
343
343
|
|
@@ -359,7 +359,7 @@
|
|
359
359
|
<li class="public ">
|
360
360
|
<span class="summary_signature">
|
361
361
|
|
362
|
-
<a href="#
|
362
|
+
<a href="#log_level-class_method" title="log_level (class method)">.<strong>log_level</strong> ⇒ Object </a>
|
363
363
|
|
364
364
|
|
365
365
|
|
@@ -381,7 +381,7 @@
|
|
381
381
|
<li class="public ">
|
382
382
|
<span class="summary_signature">
|
383
383
|
|
384
|
-
<a href="#
|
384
|
+
<a href="#open_timeout_sec-class_method" title="open_timeout_sec (class method)">.<strong>open_timeout_sec</strong> ⇒ Object </a>
|
385
385
|
|
386
386
|
|
387
387
|
|
@@ -403,7 +403,29 @@
|
|
403
403
|
<li class="public ">
|
404
404
|
<span class="summary_signature">
|
405
405
|
|
406
|
-
<a href="#
|
406
|
+
<a href="#optional_array_keys-class_method" title="optional_array_keys (class method)">.<strong>optional_array_keys</strong> ⇒ Object </a>
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
</span>
|
411
|
+
|
412
|
+
|
413
|
+
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
|
420
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
421
|
+
|
422
|
+
</li>
|
423
|
+
|
424
|
+
|
425
|
+
<li class="public ">
|
426
|
+
<span class="summary_signature">
|
427
|
+
|
428
|
+
<a href="#optional_array_options-class_method" title="optional_array_options (class method)">.<strong>optional_array_options</strong> ⇒ Object </a>
|
407
429
|
|
408
430
|
|
409
431
|
|
@@ -427,7 +449,7 @@
|
|
427
449
|
<li class="public ">
|
428
450
|
<span class="summary_signature">
|
429
451
|
|
430
|
-
<a href="#optional_options-class_method" title="optional_options (class method)"
|
452
|
+
<a href="#optional_options-class_method" title="optional_options (class method)">.<strong>optional_options</strong> ⇒ Object </a>
|
431
453
|
|
432
454
|
|
433
455
|
|
@@ -449,7 +471,7 @@
|
|
449
471
|
<li class="public ">
|
450
472
|
<span class="summary_signature">
|
451
473
|
|
452
|
-
<a href="#optional_string_keys-class_method" title="optional_string_keys (class method)"
|
474
|
+
<a href="#optional_string_keys-class_method" title="optional_string_keys (class method)">.<strong>optional_string_keys</strong> ⇒ Object </a>
|
453
475
|
|
454
476
|
|
455
477
|
|
@@ -471,7 +493,7 @@
|
|
471
493
|
<li class="public ">
|
472
494
|
<span class="summary_signature">
|
473
495
|
|
474
|
-
<a href="#optional_string_options-class_method" title="optional_string_options (class method)"
|
496
|
+
<a href="#optional_string_options-class_method" title="optional_string_options (class method)">.<strong>optional_string_options</strong> ⇒ Object </a>
|
475
497
|
|
476
498
|
|
477
499
|
|
@@ -493,7 +515,7 @@
|
|
493
515
|
<li class="public ">
|
494
516
|
<span class="summary_signature">
|
495
517
|
|
496
|
-
<a href="#project-class_method" title="project (class method)"
|
518
|
+
<a href="#project-class_method" title="project (class method)">.<strong>project</strong> ⇒ Object </a>
|
497
519
|
|
498
520
|
|
499
521
|
|
@@ -515,7 +537,7 @@
|
|
515
537
|
<li class="public ">
|
516
538
|
<span class="summary_signature">
|
517
539
|
|
518
|
-
<a href="#project_default-class_method" title="project_default (class method)"
|
540
|
+
<a href="#project_default-class_method" title="project_default (class method)">.<strong>project_default</strong> ⇒ Object </a>
|
519
541
|
|
520
542
|
|
521
543
|
|
@@ -537,7 +559,7 @@
|
|
537
559
|
<li class="public ">
|
538
560
|
<span class="summary_signature">
|
539
561
|
|
540
|
-
<a href="#retries-class_method" title="retries (class method)"
|
562
|
+
<a href="#retries-class_method" title="retries (class method)">.<strong>retries</strong> ⇒ Object </a>
|
541
563
|
|
542
564
|
|
543
565
|
|
@@ -559,7 +581,7 @@
|
|
559
581
|
<li class="public ">
|
560
582
|
<span class="summary_signature">
|
561
583
|
|
562
|
-
<a href="#role_max_depth-class_method" title="role_max_depth (class method)"
|
584
|
+
<a href="#role_max_depth-class_method" title="role_max_depth (class method)">.<strong>role_max_depth</strong> ⇒ Object </a>
|
563
585
|
|
564
586
|
|
565
587
|
|
@@ -581,7 +603,7 @@
|
|
581
603
|
<li class="public ">
|
582
604
|
<span class="summary_signature">
|
583
605
|
|
584
|
-
<a href="#role_value_delimiter-class_method" title="role_value_delimiter (class method)"
|
606
|
+
<a href="#role_value_delimiter-class_method" title="role_value_delimiter (class method)">.<strong>role_value_delimiter</strong> ⇒ Object </a>
|
585
607
|
|
586
608
|
|
587
609
|
|
@@ -603,7 +625,7 @@
|
|
603
625
|
<li class="public ">
|
604
626
|
<span class="summary_signature">
|
605
627
|
|
606
|
-
<a href="#roles_key-class_method" title="roles_key (class method)"
|
628
|
+
<a href="#roles_key-class_method" title="roles_key (class method)">.<strong>roles_key</strong> ⇒ Object </a>
|
607
629
|
|
608
630
|
|
609
631
|
|
@@ -625,7 +647,7 @@
|
|
625
647
|
<li class="public ">
|
626
648
|
<span class="summary_signature">
|
627
649
|
|
628
|
-
<a href="#status-class_method" title="status (class method)"
|
650
|
+
<a href="#status-class_method" title="status (class method)">.<strong>status</strong> ⇒ Object </a>
|
629
651
|
|
630
652
|
|
631
653
|
|
@@ -650,7 +672,7 @@ AWS usually, users do not need to care of this.</p>
|
|
650
672
|
<li class="public ">
|
651
673
|
<span class="summary_signature">
|
652
674
|
|
653
|
-
<a href="#timeout_sec-class_method" title="timeout_sec (class method)"
|
675
|
+
<a href="#timeout_sec-class_method" title="timeout_sec (class method)">.<strong>timeout_sec</strong> ⇒ Object </a>
|
654
676
|
|
655
677
|
|
656
678
|
|
@@ -679,9 +701,9 @@ AWS usually, users do not need to care of this.</p>
|
|
679
701
|
|
680
702
|
|
681
703
|
<div class="method_details first">
|
682
|
-
<h3 class="signature first" id="
|
704
|
+
<h3 class="signature first" id="application_default_credentials_file-class_method">
|
683
705
|
|
684
|
-
|
706
|
+
.<strong>application_default_credentials_file</strong> ⇒ <tt>Object</tt>
|
685
707
|
|
686
708
|
|
687
709
|
|
@@ -693,12 +715,42 @@ AWS usually, users do not need to care of this.</p>
|
|
693
715
|
<pre class="lines">
|
694
716
|
|
695
717
|
|
696
|
-
|
697
|
-
|
698
|
-
|
718
|
+
30
|
719
|
+
31
|
720
|
+
32</pre>
|
721
|
+
</td>
|
722
|
+
<td>
|
723
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 30</span>
|
724
|
+
|
725
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_application_default_credentials_file'>application_default_credentials_file</span>
|
726
|
+
<span class='ivar'>@application_default_credentials_file</span> <span class='op'>||=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>~/.config/gcloud/application_default_credentials.json</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
727
|
+
<span class='kw'>end</span></pre>
|
728
|
+
</td>
|
729
|
+
</tr>
|
730
|
+
</table>
|
731
|
+
</div>
|
732
|
+
|
733
|
+
<div class="method_details ">
|
734
|
+
<h3 class="signature " id="array_value_delimiter-class_method">
|
735
|
+
|
736
|
+
.<strong>array_value_delimiter</strong> ⇒ <tt>Object</tt>
|
737
|
+
|
738
|
+
|
739
|
+
|
740
|
+
|
741
|
+
|
742
|
+
</h3><table class="source_code">
|
743
|
+
<tr>
|
744
|
+
<td>
|
745
|
+
<pre class="lines">
|
746
|
+
|
747
|
+
|
748
|
+
93
|
749
|
+
94
|
750
|
+
95</pre>
|
699
751
|
</td>
|
700
752
|
<td>
|
701
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
753
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 93</span>
|
702
754
|
|
703
755
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_array_value_delimiter'>array_value_delimiter</span>
|
704
756
|
<span class='ivar'>@array_value_delimiter</span> <span class='op'>||=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>ARRAY_VALUE_DELIMITER</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>ARRAY_VALUE_DELIMITER</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>,</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
@@ -711,7 +763,7 @@ AWS usually, users do not need to care of this.</p>
|
|
711
763
|
<div class="method_details ">
|
712
764
|
<h3 class="signature " id="auth_method-class_method">
|
713
765
|
|
714
|
-
|
766
|
+
.<strong>auth_method</strong> ⇒ <tt>Object</tt>
|
715
767
|
|
716
768
|
|
717
769
|
|
@@ -741,7 +793,7 @@ AWS usually, users do not need to care of this.</p>
|
|
741
793
|
<div class="method_details ">
|
742
794
|
<h3 class="signature " id="config-class_method">
|
743
795
|
|
744
|
-
|
796
|
+
.<strong>config</strong> ⇒ <tt>Object</tt>
|
745
797
|
|
746
798
|
|
747
799
|
|
@@ -753,21 +805,21 @@ AWS usually, users do not need to care of this.</p>
|
|
753
805
|
<pre class="lines">
|
754
806
|
|
755
807
|
|
756
|
-
120
|
757
|
-
121
|
758
|
-
122
|
759
|
-
123
|
760
|
-
124
|
761
808
|
125
|
762
809
|
126
|
763
810
|
127
|
764
811
|
128
|
765
812
|
129
|
766
813
|
130
|
767
|
-
131
|
814
|
+
131
|
815
|
+
132
|
816
|
+
133
|
817
|
+
134
|
818
|
+
135
|
819
|
+
136</pre>
|
768
820
|
</td>
|
769
821
|
<td>
|
770
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
822
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 125</span>
|
771
823
|
|
772
824
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span>
|
773
825
|
<span class='kw'>return</span> <span class='ivar'>@config</span> <span class='kw'>if</span> <span class='ivar'>@config</span>
|
@@ -789,7 +841,7 @@ AWS usually, users do not need to care of this.</p>
|
|
789
841
|
<div class="method_details ">
|
790
842
|
<h3 class="signature " id="config_default-class_method">
|
791
843
|
|
792
|
-
|
844
|
+
.<strong>config_default</strong> ⇒ <tt>Object</tt>
|
793
845
|
|
794
846
|
|
795
847
|
|
@@ -801,13 +853,13 @@ AWS usually, users do not need to care of this.</p>
|
|
801
853
|
<pre class="lines">
|
802
854
|
|
803
855
|
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
856
|
+
46
|
857
|
+
47
|
858
|
+
48
|
859
|
+
49</pre>
|
808
860
|
</td>
|
809
861
|
<td>
|
810
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
862
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 46</span>
|
811
863
|
|
812
864
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_config_default'>config_default</span>
|
813
865
|
<span class='comment'># {'core'=>{'account'=>'xxx','project'=>'xxx'},'compute'=>{'zone'=>'xxx}}
|
@@ -821,7 +873,7 @@ AWS usually, users do not need to care of this.</p>
|
|
821
873
|
<div class="method_details ">
|
822
874
|
<h3 class="signature " id="config_default_file-class_method">
|
823
875
|
|
824
|
-
|
876
|
+
.<strong>config_default_file</strong> ⇒ <tt>Object</tt>
|
825
877
|
|
826
878
|
|
827
879
|
|
@@ -833,12 +885,12 @@ AWS usually, users do not need to care of this.</p>
|
|
833
885
|
<pre class="lines">
|
834
886
|
|
835
887
|
|
836
|
-
|
837
|
-
|
838
|
-
|
888
|
+
42
|
889
|
+
43
|
890
|
+
44</pre>
|
839
891
|
</td>
|
840
892
|
<td>
|
841
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
893
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 42</span>
|
842
894
|
|
843
895
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_config_default_file'>config_default_file</span>
|
844
896
|
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>~/.config/gcloud/configurations/config_default</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
@@ -851,7 +903,7 @@ AWS usually, users do not need to care of this.</p>
|
|
851
903
|
<div class="method_details ">
|
852
904
|
<h3 class="signature " id="config_file-class_method">
|
853
905
|
|
854
|
-
|
906
|
+
.<strong>config_file</strong> ⇒ <tt>Object</tt>
|
855
907
|
|
856
908
|
|
857
909
|
|
@@ -881,7 +933,7 @@ AWS usually, users do not need to care of this.</p>
|
|
881
933
|
<div class="method_details ">
|
882
934
|
<h3 class="signature " id="configure-class_method">
|
883
935
|
|
884
|
-
|
936
|
+
.<strong>configure</strong>(params) ⇒ <tt>Object</tt>
|
885
937
|
|
886
938
|
|
887
939
|
|
@@ -915,7 +967,7 @@ AWS usually, users do not need to care of this.</p>
|
|
915
967
|
<div class="method_details ">
|
916
968
|
<h3 class="signature " id="credentials-class_method">
|
917
969
|
|
918
|
-
|
970
|
+
.<strong>credentials</strong> ⇒ <tt>Object</tt>
|
919
971
|
|
920
972
|
|
921
973
|
|
@@ -927,12 +979,12 @@ AWS usually, users do not need to care of this.</p>
|
|
927
979
|
<pre class="lines">
|
928
980
|
|
929
981
|
|
930
|
-
|
931
|
-
|
932
|
-
|
982
|
+
38
|
983
|
+
39
|
984
|
+
40</pre>
|
933
985
|
</td>
|
934
986
|
<td>
|
935
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
987
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 38</span>
|
936
988
|
|
937
989
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_credentials'>credentials</span>
|
938
990
|
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_readable?'>readable?</span><span class='lparen'>(</span><span class='id identifier rubyid_credentials_file'>credentials_file</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span><span class='lparen'>(</span><span class='id identifier rubyid_credentials_file'>credentials_file</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
@@ -945,7 +997,7 @@ AWS usually, users do not need to care of this.</p>
|
|
945
997
|
<div class="method_details ">
|
946
998
|
<h3 class="signature " id="credentials_file-class_method">
|
947
999
|
|
948
|
-
|
1000
|
+
.<strong>credentials_file</strong> ⇒ <tt>Object</tt>
|
949
1001
|
|
950
1002
|
|
951
1003
|
|
@@ -960,14 +1012,16 @@ AWS usually, users do not need to care of this.</p>
|
|
960
1012
|
24
|
961
1013
|
25
|
962
1014
|
26
|
963
|
-
27
|
1015
|
+
27
|
1016
|
+
28</pre>
|
964
1017
|
</td>
|
965
1018
|
<td>
|
966
1019
|
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 24</span>
|
967
1020
|
|
968
1021
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_credentials_file'>credentials_file</span>
|
969
1022
|
<span class='comment'># ref. https://developers.google.com/identity/protocols/application-default-credentials
|
970
|
-
</span> <span class='ivar'>@credentials_file</span> <span class='op'>||=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>GOOGLE_APPLICATION_CREDENTIALS</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>GOOGLE_APPLICATION_CREDENTIALS</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span> <span class='op'>||</span>
|
1023
|
+
</span> <span class='ivar'>@credentials_file</span> <span class='op'>||=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>GOOGLE_APPLICATION_CREDENTIALS</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>GOOGLE_APPLICATION_CREDENTIALS</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span> <span class='op'>||</span>
|
1024
|
+
<span class='lparen'>(</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_exist?'>exist?</span><span class='lparen'>(</span><span class='id identifier rubyid_global_application_default_credentials_file'>global_application_default_credentials_file</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_global_application_default_credentials_file'>global_application_default_credentials_file</span> <span class='op'>:</span> <span class='id identifier rubyid_application_default_credentials_file'>application_default_credentials_file</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
971
1025
|
<span class='kw'>end</span></pre>
|
972
1026
|
</td>
|
973
1027
|
</tr>
|
@@ -975,9 +1029,9 @@ AWS usually, users do not need to care of this.</p>
|
|
975
1029
|
</div>
|
976
1030
|
|
977
1031
|
<div class="method_details ">
|
978
|
-
<h3 class="signature " id="
|
1032
|
+
<h3 class="signature " id="global_application_default_credentials_file-class_method">
|
979
1033
|
|
980
|
-
|
1034
|
+
.<strong>global_application_default_credentials_file</strong> ⇒ <tt>Object</tt>
|
981
1035
|
|
982
1036
|
|
983
1037
|
|
@@ -989,15 +1043,15 @@ AWS usually, users do not need to care of this.</p>
|
|
989
1043
|
<pre class="lines">
|
990
1044
|
|
991
1045
|
|
992
|
-
|
993
|
-
|
994
|
-
|
1046
|
+
34
|
1047
|
+
35
|
1048
|
+
36</pre>
|
995
1049
|
</td>
|
996
1050
|
<td>
|
997
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1051
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 34</span>
|
998
1052
|
|
999
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier
|
1000
|
-
<span class='ivar'>@
|
1053
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_global_application_default_credentials_file'>global_application_default_credentials_file</span>
|
1054
|
+
<span class='ivar'>@global_application_default_credentials_file</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/etc/google/auth/application_default_credentials.json</span><span class='tstring_end'>'</span></span>
|
1001
1055
|
<span class='kw'>end</span></pre>
|
1002
1056
|
</td>
|
1003
1057
|
</tr>
|
@@ -1007,7 +1061,7 @@ AWS usually, users do not need to care of this.</p>
|
|
1007
1061
|
<div class="method_details ">
|
1008
1062
|
<h3 class="signature " id="log_level-class_method">
|
1009
1063
|
|
1010
|
-
|
1064
|
+
.<strong>log_level</strong> ⇒ <tt>Object</tt>
|
1011
1065
|
|
1012
1066
|
|
1013
1067
|
|
@@ -1019,12 +1073,12 @@ AWS usually, users do not need to care of this.</p>
|
|
1019
1073
|
<pre class="lines">
|
1020
1074
|
|
1021
1075
|
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1076
|
+
61
|
1077
|
+
62
|
1078
|
+
63</pre>
|
1025
1079
|
</td>
|
1026
1080
|
<td>
|
1027
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1081
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 61</span>
|
1028
1082
|
|
1029
1083
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_log_level'>log_level</span>
|
1030
1084
|
<span class='ivar'>@log_level</span> <span class='op'>||=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>LOG_LEVEL</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>LOG_LEVEL</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>info</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
@@ -1037,7 +1091,7 @@ AWS usually, users do not need to care of this.</p>
|
|
1037
1091
|
<div class="method_details ">
|
1038
1092
|
<h3 class="signature " id="open_timeout_sec-class_method">
|
1039
1093
|
|
1040
|
-
|
1094
|
+
.<strong>open_timeout_sec</strong> ⇒ <tt>Object</tt>
|
1041
1095
|
|
1042
1096
|
|
1043
1097
|
|
@@ -1049,12 +1103,12 @@ AWS usually, users do not need to care of this.</p>
|
|
1049
1103
|
<pre class="lines">
|
1050
1104
|
|
1051
1105
|
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1106
|
+
73
|
1107
|
+
74
|
1108
|
+
75</pre>
|
1055
1109
|
</td>
|
1056
1110
|
<td>
|
1057
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1111
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 73</span>
|
1058
1112
|
|
1059
1113
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_open_timeout_sec'>open_timeout_sec</span>
|
1060
1114
|
<span class='ivar'>@open_timeout_sec</span> <span class='op'>||=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>OPEN_TIMEOUT_SEC</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>OPEN_TIMEOUT_SEC</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='int'>300</span><span class='rparen'>)</span>
|
@@ -1067,7 +1121,7 @@ AWS usually, users do not need to care of this.</p>
|
|
1067
1121
|
<div class="method_details ">
|
1068
1122
|
<h3 class="signature " id="optional_array_keys-class_method">
|
1069
1123
|
|
1070
|
-
|
1124
|
+
.<strong>optional_array_keys</strong> ⇒ <tt>Object</tt>
|
1071
1125
|
|
1072
1126
|
|
1073
1127
|
|
@@ -1079,12 +1133,12 @@ AWS usually, users do not need to care of this.</p>
|
|
1079
1133
|
<pre class="lines">
|
1080
1134
|
|
1081
1135
|
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1136
|
+
81
|
1137
|
+
82
|
1138
|
+
83</pre>
|
1085
1139
|
</td>
|
1086
1140
|
<td>
|
1087
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1141
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 81</span>
|
1088
1142
|
|
1089
1143
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_optional_array_keys'>optional_array_keys</span>
|
1090
1144
|
<span class='ivar'>@optional_array_keys</span> <span class='op'>||=</span> <span class='lparen'>(</span><span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>OPTIONAL_ARRAY_KEYS</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>OPTIONAL_ARRAY_KEYS</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>,</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
@@ -1097,7 +1151,7 @@ AWS usually, users do not need to care of this.</p>
|
|
1097
1151
|
<div class="method_details ">
|
1098
1152
|
<h3 class="signature " id="optional_array_options-class_method">
|
1099
1153
|
|
1100
|
-
|
1154
|
+
.<strong>optional_array_options</strong> ⇒ <tt>Object</tt>
|
1101
1155
|
|
1102
1156
|
|
1103
1157
|
|
@@ -1120,18 +1174,18 @@ AWS usually, users do not need to care of this.</p>
|
|
1120
1174
|
<pre class="lines">
|
1121
1175
|
|
1122
1176
|
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1177
|
+
109
|
1178
|
+
110
|
1179
|
+
111
|
1180
|
+
112
|
1181
|
+
113</pre>
|
1128
1182
|
</td>
|
1129
1183
|
<td>
|
1130
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1184
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 109</span>
|
1131
1185
|
|
1132
1186
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_optional_array_options'>optional_array_options</span>
|
1133
1187
|
<span class='ivar'>@optional_array_options</span> <span class='op'>||=</span> <span class='const'>Hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_optional_array_keys'>optional_array_keys</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='op'>|</span>
|
1134
|
-
<span class='lbracket'>[</span><span class='const'>StringUtil</span><span class='period'>.</span><span class='id identifier rubyid_singularize'>singularize</span><span class='lparen'>(</span><span class='const'>StringUtil</span><span class='period'>.</span><span class='id identifier rubyid_underscore'>underscore</span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span>
|
1188
|
+
<span class='lbracket'>[</span><span class='const'><span class='object_link'><a href="StringUtil.html" title="GCE::Host::StringUtil (module)">StringUtil</a></span></span><span class='period'>.</span><span class='id identifier rubyid_singularize'><span class='object_link'><a href="StringUtil.html#singularize-class_method" title="GCE::Host::StringUtil.singularize (method)">singularize</a></span></span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="StringUtil.html" title="GCE::Host::StringUtil (module)">StringUtil</a></span></span><span class='period'>.</span><span class='id identifier rubyid_underscore'><span class='object_link'><a href="StringUtil.html#underscore-class_method" title="GCE::Host::StringUtil.underscore (method)">underscore</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span>
|
1135
1189
|
<span class='rbrace'>}</span><span class='rbracket'>]</span>
|
1136
1190
|
<span class='kw'>end</span></pre>
|
1137
1191
|
</td>
|
@@ -1142,7 +1196,7 @@ AWS usually, users do not need to care of this.</p>
|
|
1142
1196
|
<div class="method_details ">
|
1143
1197
|
<h3 class="signature " id="optional_options-class_method">
|
1144
1198
|
|
1145
|
-
|
1199
|
+
.<strong>optional_options</strong> ⇒ <tt>Object</tt>
|
1146
1200
|
|
1147
1201
|
|
1148
1202
|
|
@@ -1154,12 +1208,12 @@ AWS usually, users do not need to care of this.</p>
|
|
1154
1208
|
<pre class="lines">
|
1155
1209
|
|
1156
1210
|
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1211
|
+
121
|
1212
|
+
122
|
1213
|
+
123</pre>
|
1160
1214
|
</td>
|
1161
1215
|
<td>
|
1162
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1216
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 121</span>
|
1163
1217
|
|
1164
1218
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_optional_options'>optional_options</span>
|
1165
1219
|
<span class='ivar'>@optional_options</span> <span class='op'>||=</span> <span class='id identifier rubyid_optional_array_options'>optional_array_options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_optional_string_options'>optional_string_options</span><span class='rparen'>)</span>
|
@@ -1172,7 +1226,7 @@ AWS usually, users do not need to care of this.</p>
|
|
1172
1226
|
<div class="method_details ">
|
1173
1227
|
<h3 class="signature " id="optional_string_keys-class_method">
|
1174
1228
|
|
1175
|
-
|
1229
|
+
.<strong>optional_string_keys</strong> ⇒ <tt>Object</tt>
|
1176
1230
|
|
1177
1231
|
|
1178
1232
|
|
@@ -1184,12 +1238,12 @@ AWS usually, users do not need to care of this.</p>
|
|
1184
1238
|
<pre class="lines">
|
1185
1239
|
|
1186
1240
|
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1241
|
+
85
|
1242
|
+
86
|
1243
|
+
87</pre>
|
1190
1244
|
</td>
|
1191
1245
|
<td>
|
1192
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1246
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 85</span>
|
1193
1247
|
|
1194
1248
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_optional_string_keys'>optional_string_keys</span>
|
1195
1249
|
<span class='ivar'>@optional_string_keys</span> <span class='op'>||=</span> <span class='lparen'>(</span><span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>OPTIONAL_STRING_KEYS</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>OPTIONAL_STRING_KEYS</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>,</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
@@ -1202,7 +1256,7 @@ AWS usually, users do not need to care of this.</p>
|
|
1202
1256
|
<div class="method_details ">
|
1203
1257
|
<h3 class="signature " id="optional_string_options-class_method">
|
1204
1258
|
|
1205
|
-
|
1259
|
+
.<strong>optional_string_options</strong> ⇒ <tt>Object</tt>
|
1206
1260
|
|
1207
1261
|
|
1208
1262
|
|
@@ -1214,18 +1268,18 @@ AWS usually, users do not need to care of this.</p>
|
|
1214
1268
|
<pre class="lines">
|
1215
1269
|
|
1216
1270
|
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1271
|
+
115
|
1272
|
+
116
|
1273
|
+
117
|
1274
|
+
118
|
1275
|
+
119</pre>
|
1222
1276
|
</td>
|
1223
1277
|
<td>
|
1224
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1278
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 115</span>
|
1225
1279
|
|
1226
1280
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_optional_string_options'>optional_string_options</span>
|
1227
1281
|
<span class='ivar'>@optional_string_options</span> <span class='op'>||=</span> <span class='const'>Hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_optional_string_keys'>optional_string_keys</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='op'>|</span>
|
1228
|
-
<span class='lbracket'>[</span><span class='const'>StringUtil</span><span class='period'>.</span><span class='id identifier rubyid_underscore'>underscore</span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span>
|
1282
|
+
<span class='lbracket'>[</span><span class='const'><span class='object_link'><a href="StringUtil.html" title="GCE::Host::StringUtil (module)">StringUtil</a></span></span><span class='period'>.</span><span class='id identifier rubyid_underscore'><span class='object_link'><a href="StringUtil.html#underscore-class_method" title="GCE::Host::StringUtil.underscore (method)">underscore</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span>
|
1229
1283
|
<span class='rbrace'>}</span><span class='rbracket'>]</span>
|
1230
1284
|
<span class='kw'>end</span></pre>
|
1231
1285
|
</td>
|
@@ -1236,7 +1290,7 @@ AWS usually, users do not need to care of this.</p>
|
|
1236
1290
|
<div class="method_details ">
|
1237
1291
|
<h3 class="signature " id="project-class_method">
|
1238
1292
|
|
1239
|
-
|
1293
|
+
.<strong>project</strong> ⇒ <tt>Object</tt>
|
1240
1294
|
|
1241
1295
|
|
1242
1296
|
|
@@ -1248,14 +1302,14 @@ AWS usually, users do not need to care of this.</p>
|
|
1248
1302
|
<pre class="lines">
|
1249
1303
|
|
1250
1304
|
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1305
|
+
55
|
1306
|
+
56
|
1307
|
+
57
|
1308
|
+
58
|
1309
|
+
59</pre>
|
1256
1310
|
</td>
|
1257
1311
|
<td>
|
1258
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1312
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 55</span>
|
1259
1313
|
|
1260
1314
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_project'>project</span>
|
1261
1315
|
<span class='ivar'>@project</span> <span class='op'>||=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>GOOGLE_PROJECT</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>GOOGLE_PROJECT</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='id identifier rubyid_credentials'>credentials</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>project_id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
@@ -1270,7 +1324,7 @@ AWS usually, users do not need to care of this.</p>
|
|
1270
1324
|
<div class="method_details ">
|
1271
1325
|
<h3 class="signature " id="project_default-class_method">
|
1272
1326
|
|
1273
|
-
|
1327
|
+
.<strong>project_default</strong> ⇒ <tt>Object</tt>
|
1274
1328
|
|
1275
1329
|
|
1276
1330
|
|
@@ -1282,12 +1336,12 @@ AWS usually, users do not need to care of this.</p>
|
|
1282
1336
|
<pre class="lines">
|
1283
1337
|
|
1284
1338
|
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1339
|
+
51
|
1340
|
+
52
|
1341
|
+
53</pre>
|
1288
1342
|
</td>
|
1289
1343
|
<td>
|
1290
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1344
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 51</span>
|
1291
1345
|
|
1292
1346
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_project_default'>project_default</span>
|
1293
1347
|
<span class='lparen'>(</span><span class='id identifier rubyid_config_default'>config_default</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>core</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>project</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
@@ -1300,7 +1354,7 @@ AWS usually, users do not need to care of this.</p>
|
|
1300
1354
|
<div class="method_details ">
|
1301
1355
|
<h3 class="signature " id="retries-class_method">
|
1302
1356
|
|
1303
|
-
|
1357
|
+
.<strong>retries</strong> ⇒ <tt>Object</tt>
|
1304
1358
|
|
1305
1359
|
|
1306
1360
|
|
@@ -1312,12 +1366,12 @@ AWS usually, users do not need to care of this.</p>
|
|
1312
1366
|
<pre class="lines">
|
1313
1367
|
|
1314
1368
|
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1369
|
+
65
|
1370
|
+
66
|
1371
|
+
67</pre>
|
1318
1372
|
</td>
|
1319
1373
|
<td>
|
1320
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1374
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 65</span>
|
1321
1375
|
|
1322
1376
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_retries'>retries</span>
|
1323
1377
|
<span class='ivar'>@retries</span> <span class='op'>||=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>RETRIES</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>RETRIES</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='int'>5</span><span class='rparen'>)</span>
|
@@ -1330,7 +1384,7 @@ AWS usually, users do not need to care of this.</p>
|
|
1330
1384
|
<div class="method_details ">
|
1331
1385
|
<h3 class="signature " id="role_max_depth-class_method">
|
1332
1386
|
|
1333
|
-
|
1387
|
+
.<strong>role_max_depth</strong> ⇒ <tt>Object</tt>
|
1334
1388
|
|
1335
1389
|
|
1336
1390
|
|
@@ -1342,12 +1396,12 @@ AWS usually, users do not need to care of this.</p>
|
|
1342
1396
|
<pre class="lines">
|
1343
1397
|
|
1344
1398
|
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1399
|
+
103
|
1400
|
+
104
|
1401
|
+
105</pre>
|
1348
1402
|
</td>
|
1349
1403
|
<td>
|
1350
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1404
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 103</span>
|
1351
1405
|
|
1352
1406
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_role_max_depth'>role_max_depth</span>
|
1353
1407
|
<span class='ivar'>@role_max_depth</span> <span class='op'>||=</span> <span class='const'>Integer</span><span class='lparen'>(</span><span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>ROLE_MAX_DEPTH</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>ROLE_MAX_DEPTH</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='int'>3</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
@@ -1360,7 +1414,7 @@ AWS usually, users do not need to care of this.</p>
|
|
1360
1414
|
<div class="method_details ">
|
1361
1415
|
<h3 class="signature " id="role_value_delimiter-class_method">
|
1362
1416
|
|
1363
|
-
|
1417
|
+
.<strong>role_value_delimiter</strong> ⇒ <tt>Object</tt>
|
1364
1418
|
|
1365
1419
|
|
1366
1420
|
|
@@ -1372,12 +1426,12 @@ AWS usually, users do not need to care of this.</p>
|
|
1372
1426
|
<pre class="lines">
|
1373
1427
|
|
1374
1428
|
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1429
|
+
89
|
1430
|
+
90
|
1431
|
+
91</pre>
|
1378
1432
|
</td>
|
1379
1433
|
<td>
|
1380
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1434
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 89</span>
|
1381
1435
|
|
1382
1436
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_role_value_delimiter'>role_value_delimiter</span>
|
1383
1437
|
<span class='ivar'>@role_value_delimiter</span> <span class='op'>||=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>ROLE_VALUE_DELIMITER</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>ROLE_VALUE_DELIMITER</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>:</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
@@ -1390,7 +1444,7 @@ AWS usually, users do not need to care of this.</p>
|
|
1390
1444
|
<div class="method_details ">
|
1391
1445
|
<h3 class="signature " id="roles_key-class_method">
|
1392
1446
|
|
1393
|
-
|
1447
|
+
.<strong>roles_key</strong> ⇒ <tt>Object</tt>
|
1394
1448
|
|
1395
1449
|
|
1396
1450
|
|
@@ -1402,12 +1456,12 @@ AWS usually, users do not need to care of this.</p>
|
|
1402
1456
|
<pre class="lines">
|
1403
1457
|
|
1404
1458
|
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1459
|
+
77
|
1460
|
+
78
|
1461
|
+
79</pre>
|
1408
1462
|
</td>
|
1409
1463
|
<td>
|
1410
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1464
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 77</span>
|
1411
1465
|
|
1412
1466
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_roles_key'>roles_key</span>
|
1413
1467
|
<span class='ivar'>@roles_key</span> <span class='op'>||=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>ROLES_KEY</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>ROLES_KEY</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>roles</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
@@ -1420,7 +1474,7 @@ AWS usually, users do not need to care of this.</p>
|
|
1420
1474
|
<div class="method_details ">
|
1421
1475
|
<h3 class="signature " id="status-class_method">
|
1422
1476
|
|
1423
|
-
|
1477
|
+
.<strong>status</strong> ⇒ <tt>Object</tt>
|
1424
1478
|
|
1425
1479
|
|
1426
1480
|
|
@@ -1444,12 +1498,12 @@ AWS usually, users do not need to care of this</p>
|
|
1444
1498
|
<pre class="lines">
|
1445
1499
|
|
1446
1500
|
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1501
|
+
99
|
1502
|
+
100
|
1503
|
+
101</pre>
|
1450
1504
|
</td>
|
1451
1505
|
<td>
|
1452
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1506
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 99</span>
|
1453
1507
|
|
1454
1508
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span>
|
1455
1509
|
<span class='ivar'>@status</span> <span class='op'>||=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>STATUS</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>STATUS</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>status</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
@@ -1462,7 +1516,7 @@ AWS usually, users do not need to care of this</p>
|
|
1462
1516
|
<div class="method_details ">
|
1463
1517
|
<h3 class="signature " id="timeout_sec-class_method">
|
1464
1518
|
|
1465
|
-
|
1519
|
+
.<strong>timeout_sec</strong> ⇒ <tt>Object</tt>
|
1466
1520
|
|
1467
1521
|
|
1468
1522
|
|
@@ -1474,12 +1528,12 @@ AWS usually, users do not need to care of this</p>
|
|
1474
1528
|
<pre class="lines">
|
1475
1529
|
|
1476
1530
|
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1531
|
+
69
|
1532
|
+
70
|
1533
|
+
71</pre>
|
1480
1534
|
</td>
|
1481
1535
|
<td>
|
1482
|
-
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line
|
1536
|
+
<pre class="code"><span class="info file"># File 'lib/gce/host/config.rb', line 69</span>
|
1483
1537
|
|
1484
1538
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_timeout_sec'>timeout_sec</span>
|
1485
1539
|
<span class='ivar'>@timeout_sec</span> <span class='op'>||=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>TIMEOUT_SEC</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>TIMEOUT_SEC</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='int'>300</span><span class='rparen'>)</span>
|
@@ -1493,11 +1547,12 @@ AWS usually, users do not need to care of this</p>
|
|
1493
1547
|
|
1494
1548
|
</div>
|
1495
1549
|
|
1496
|
-
|
1497
|
-
Generated on
|
1550
|
+
<div id="footer">
|
1551
|
+
Generated on Sat May 20 00:24:52 2017 by
|
1498
1552
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1499
|
-
0.
|
1553
|
+
0.9.9 (ruby-2.4.1).
|
1500
1554
|
</div>
|
1501
1555
|
|
1556
|
+
</div>
|
1502
1557
|
</body>
|
1503
1558
|
</html>
|