strongdm 1.0.1 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +26 -7
- data/doc/LICENSE.html +1 -11
- data/doc/Object.html +1 -356
- data/doc/README_md.html +31 -20
- data/doc/SDM.html +1 -1
- data/doc/SDM/AKS.html +40 -4
- data/doc/SDM/AKSBasicAuth.html +40 -4
- data/doc/SDM/AKSServiceAccount.html +40 -4
- data/doc/SDM/AccountAttachment.html +3 -3
- data/doc/SDM/AccountAttachmentCreateResponse.html +3 -3
- data/doc/SDM/AccountAttachmentDeleteResponse.html +3 -3
- data/doc/SDM/AccountAttachmentGetResponse.html +3 -3
- data/doc/SDM/AccountAttachments.html +22 -24
- data/doc/SDM/AccountCreateResponse.html +3 -3
- data/doc/SDM/AccountDeleteResponse.html +3 -3
- data/doc/SDM/AccountGetResponse.html +3 -3
- data/doc/SDM/AccountGrant.html +3 -3
- data/doc/SDM/AccountGrantCreateResponse.html +3 -3
- data/doc/SDM/AccountGrantDeleteResponse.html +3 -3
- data/doc/SDM/AccountGrantGetResponse.html +3 -3
- data/doc/SDM/AccountGrants.html +24 -24
- data/doc/SDM/AccountUpdateResponse.html +3 -3
- data/doc/SDM/Accounts.html +30 -30
- data/doc/SDM/AlreadyExistsError.html +1 -1
- data/doc/SDM/AmazonEKS.html +58 -4
- data/doc/SDM/AmazonES.html +22 -4
- data/doc/SDM/Athena.html +22 -4
- data/doc/SDM/AuroraMysql.html +22 -4
- data/doc/SDM/AuroraPostgres.html +22 -4
- data/doc/SDM/AuthenticationError.html +1 -1
- data/doc/SDM/BadRequestError.html +1 -1
- data/doc/SDM/BigQuery.html +22 -4
- data/doc/SDM/Cassandra.html +22 -4
- data/doc/SDM/Citus.html +409 -0
- data/doc/SDM/Client.html +2 -2
- data/doc/SDM/Clustrix.html +22 -4
- data/doc/SDM/Cockroach.html +22 -4
- data/doc/SDM/CreateResponseMetadata.html +1 -1
- data/doc/SDM/DB2.html +391 -0
- data/doc/SDM/DB2LUW.html +391 -0
- data/doc/SDM/DB2i.html +391 -0
- data/doc/SDM/DeadlineExceededError.html +1 -1
- data/doc/SDM/DeleteResponseMetadata.html +1 -1
- data/doc/SDM/Druid.html +22 -4
- data/doc/SDM/DynamoDB.html +22 -4
- data/doc/SDM/Elastic.html +22 -4
- data/doc/SDM/ElasticacheRedis.html +22 -4
- data/doc/SDM/Gateway.html +22 -4
- data/doc/SDM/GetResponseMetadata.html +1 -1
- data/doc/SDM/GoogleGKE.html +40 -4
- data/doc/SDM/Greenplum.html +22 -4
- data/doc/SDM/HTTPAuth.html +22 -4
- data/doc/SDM/HTTPBasicAuth.html +22 -4
- data/doc/SDM/HTTPNoAuth.html +22 -4
- data/doc/SDM/InternalError.html +1 -1
- data/doc/SDM/Kubernetes.html +40 -4
- data/doc/SDM/KubernetesBasicAuth.html +40 -4
- data/doc/SDM/KubernetesServiceAccount.html +40 -4
- data/doc/SDM/Maria.html +22 -4
- data/doc/SDM/Memcached.html +22 -4
- data/doc/SDM/Memsql.html +22 -4
- data/doc/SDM/MongoHost.html +22 -4
- data/doc/SDM/MongoLegacyHost.html +22 -4
- data/doc/SDM/MongoLegacyReplicaset.html +22 -4
- data/doc/SDM/MongoReplicaSet.html +22 -4
- data/doc/SDM/Mysql.html +22 -4
- data/doc/SDM/NodeCreateResponse.html +3 -3
- data/doc/SDM/NodeDeleteResponse.html +3 -3
- data/doc/SDM/NodeGetResponse.html +3 -3
- data/doc/SDM/NodeUpdateResponse.html +3 -3
- data/doc/SDM/Nodes.html +30 -30
- data/doc/SDM/NotFoundError.html +1 -1
- data/doc/SDM/Oracle.html +22 -4
- data/doc/SDM/PermissionError.html +1 -1
- data/doc/SDM/Plumbing.html +4355 -3574
- data/doc/SDM/Postgres.html +22 -4
- data/doc/SDM/Presto.html +22 -4
- data/doc/SDM/RDP.html +22 -4
- data/doc/SDM/RPCError.html +1 -1
- data/doc/SDM/RateLimitError.html +1 -1
- data/doc/SDM/RateLimitMetadata.html +1 -1
- data/doc/SDM/Redis.html +22 -4
- data/doc/SDM/Redshift.html +22 -4
- data/doc/SDM/Relay.html +23 -5
- data/doc/SDM/ResourceCreateResponse.html +3 -3
- data/doc/SDM/ResourceDeleteResponse.html +3 -3
- data/doc/SDM/ResourceGetResponse.html +3 -3
- data/doc/SDM/ResourceUpdateResponse.html +3 -3
- data/doc/SDM/Resources.html +29 -29
- data/doc/SDM/Role.html +22 -4
- data/doc/SDM/RoleAttachment.html +3 -3
- data/doc/SDM/RoleAttachmentCreateResponse.html +3 -3
- data/doc/SDM/RoleAttachmentDeleteResponse.html +3 -3
- data/doc/SDM/RoleAttachmentGetResponse.html +3 -3
- data/doc/SDM/RoleAttachments.html +23 -23
- data/doc/SDM/RoleCreateResponse.html +3 -3
- data/doc/SDM/RoleDeleteResponse.html +3 -3
- data/doc/SDM/RoleGetResponse.html +3 -3
- data/doc/SDM/RoleGrant.html +3 -3
- data/doc/SDM/RoleGrantCreateResponse.html +3 -3
- data/doc/SDM/RoleGrantDeleteResponse.html +3 -3
- data/doc/SDM/RoleGrantGetResponse.html +3 -3
- data/doc/SDM/RoleGrants.html +23 -23
- data/doc/SDM/RoleUpdateResponse.html +3 -3
- data/doc/SDM/Roles.html +29 -29
- data/doc/SDM/SQLServer.html +22 -4
- data/doc/SDM/SSH.html +40 -4
- data/doc/SDM/SSHCert.html +373 -0
- data/doc/SDM/Service.html +22 -4
- data/doc/SDM/Snowflake.html +22 -4
- data/doc/SDM/Sybase.html +22 -4
- data/doc/SDM/SybaseIQ.html +22 -4
- data/doc/SDM/Teradata.html +22 -4
- data/doc/SDM/UpdateResponseMetadata.html +1 -1
- data/doc/SDM/User.html +22 -4
- data/doc/V1.html +31 -6
- data/doc/V1/AccountAttachments.html +1 -1
- data/doc/V1/AccountAttachments/Service.html +1 -1
- data/doc/V1/AccountGrants.html +1 -1
- data/doc/V1/AccountGrants/Service.html +2 -2
- data/doc/V1/Accounts.html +1 -1
- data/doc/V1/Accounts/Service.html +1 -1
- data/doc/V1/Nodes.html +1 -1
- data/doc/V1/Nodes/Service.html +1 -1
- data/doc/V1/Resources.html +1 -1
- data/doc/V1/Resources/Service.html +1 -1
- data/doc/V1/RoleAttachments.html +1 -1
- data/doc/V1/RoleAttachments/Service.html +1 -1
- data/doc/V1/RoleGrants.html +1 -1
- data/doc/V1/RoleGrants/Service.html +1 -1
- data/doc/V1/Roles.html +1 -1
- data/doc/V1/Roles/Service.html +1 -1
- data/doc/V1/Tags.html +113 -0
- data/doc/created.rid +35 -41
- data/doc/css/rdoc.css +13 -5
- data/doc/examples/Gemfile.html +1 -11
- data/doc/index.html +11 -13
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +3 -13
- data/doc/table_of_contents.html +1028 -933
- data/lib/grpc/account_attachments_pb.rb +0 -5
- data/lib/grpc/account_grants_services_pb.rb +1 -1
- data/lib/grpc/accounts_pb.rb +3 -0
- data/lib/grpc/drivers_pb.rb +111 -0
- data/lib/grpc/nodes_pb.rb +3 -0
- data/lib/grpc/options_pb.rb +11 -0
- data/lib/grpc/plumbing.rb +2024 -1682
- data/lib/grpc/roles_pb.rb +2 -0
- data/lib/grpc/spec_pb.rb +0 -1
- data/lib/grpc/tags_pb.rb +36 -0
- data/lib/models/porcelain.rb +670 -38
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +159 -161
- data/lib/version +16 -2
- data/lib/version.rb +1 -1
- metadata +23 -24
- data/examples/Gemfile +0 -3
- data/examples/Gemfile.lock +0 -14
- data/examples/README.md +0 -5
- data/examples/listUsers.rb +0 -21
- data/examples/okta-sync/Gemfile +0 -4
- data/examples/okta-sync/Gemfile.lock +0 -38
- data/examples/okta-sync/matchers.yml +0 -11
- data/examples/okta-sync/oktaSync.rb +0 -173
- data/examples/panicButton.rb +0 -138
@@ -239,6 +239,19 @@
|
|
239
239
|
</div>
|
240
240
|
</div>
|
241
241
|
|
242
|
+
<div id="attribute-i-tags" class="method-detail">
|
243
|
+
<div class="method-heading attribute-method-heading">
|
244
|
+
<span class="method-name">tags</span><span
|
245
|
+
class="attribute-access-type">[RW]</span>
|
246
|
+
</div>
|
247
|
+
|
248
|
+
<div class="method-description">
|
249
|
+
|
250
|
+
<p>Tags is a map of key, value pairs.</p>
|
251
|
+
|
252
|
+
</div>
|
253
|
+
</div>
|
254
|
+
|
242
255
|
<div id="attribute-i-tls_required" class="method-detail">
|
243
256
|
<div class="method-heading attribute-method-heading">
|
244
257
|
<span class="method-name">tls_required</span><span
|
@@ -279,7 +292,7 @@
|
|
279
292
|
|
280
293
|
<div class="method-heading">
|
281
294
|
<span class="method-name">new</span><span
|
282
|
-
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , hostname:nil \ , auth_database:nil \ , port_override:nil \ , username:nil \ , password:nil \ , port:nil \ , replica_set:nil \ , connect_to_replica:nil \ , tls_required:nil \ )</span>
|
295
|
+
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , hostname:nil \ , auth_database:nil \ , port_override:nil \ , username:nil \ , password:nil \ , port:nil \ , replica_set:nil \ , connect_to_replica:nil \ , tls_required:nil \ )</span>
|
283
296
|
|
284
297
|
<span class="method-click-advice">click to toggle source</span>
|
285
298
|
|
@@ -294,13 +307,15 @@
|
|
294
307
|
|
295
308
|
|
296
309
|
<div class="method-source-code" id="new-source">
|
297
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
310
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2421</span>
|
298
311
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
299
312
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
300
313
|
,
|
301
314
|
<span class="ruby-value">name:</span><span class="ruby-keyword">nil</span> \
|
302
315
|
,
|
303
316
|
<span class="ruby-value">healthy:</span><span class="ruby-keyword">nil</span> \
|
317
|
+
,
|
318
|
+
<span class="ruby-value">tags:</span><span class="ruby-keyword">nil</span> \
|
304
319
|
,
|
305
320
|
<span class="ruby-value">hostname:</span><span class="ruby-keyword">nil</span> \
|
306
321
|
,
|
@@ -329,6 +344,9 @@
|
|
329
344
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">healthy</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
330
345
|
<span class="ruby-ivar">@healthy</span> = <span class="ruby-identifier">healthy</span>
|
331
346
|
<span class="ruby-keyword">end</span>
|
347
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">tags</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
348
|
+
<span class="ruby-ivar">@tags</span> = <span class="ruby-identifier">tags</span>
|
349
|
+
<span class="ruby-keyword">end</span>
|
332
350
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">hostname</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
333
351
|
<span class="ruby-ivar">@hostname</span> = <span class="ruby-identifier">hostname</span>
|
334
352
|
<span class="ruby-keyword">end</span>
|
@@ -394,7 +412,7 @@
|
|
394
412
|
|
395
413
|
|
396
414
|
<div class="method-source-code" id="to_json-source">
|
397
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
415
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2488</span>
|
398
416
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
399
417
|
<span class="ruby-identifier">hash</span> = {}
|
400
418
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -421,7 +439,7 @@
|
|
421
439
|
|
422
440
|
<footer id="validator-badges" role="contentinfo">
|
423
441
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
424
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
442
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
425
443
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
426
444
|
</footer>
|
427
445
|
|
@@ -239,6 +239,19 @@
|
|
239
239
|
</div>
|
240
240
|
</div>
|
241
241
|
|
242
|
+
<div id="attribute-i-tags" class="method-detail">
|
243
|
+
<div class="method-heading attribute-method-heading">
|
244
|
+
<span class="method-name">tags</span><span
|
245
|
+
class="attribute-access-type">[RW]</span>
|
246
|
+
</div>
|
247
|
+
|
248
|
+
<div class="method-description">
|
249
|
+
|
250
|
+
<p>Tags is a map of key, value pairs.</p>
|
251
|
+
|
252
|
+
</div>
|
253
|
+
</div>
|
254
|
+
|
242
255
|
<div id="attribute-i-tls_required" class="method-detail">
|
243
256
|
<div class="method-heading attribute-method-heading">
|
244
257
|
<span class="method-name">tls_required</span><span
|
@@ -279,7 +292,7 @@
|
|
279
292
|
|
280
293
|
<div class="method-heading">
|
281
294
|
<span class="method-name">new</span><span
|
282
|
-
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , hostname:nil \ , auth_database:nil \ , port_override:nil \ , username:nil \ , password:nil \ , port:nil \ , replica_set:nil \ , connect_to_replica:nil \ , tls_required:nil \ )</span>
|
295
|
+
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , hostname:nil \ , auth_database:nil \ , port_override:nil \ , username:nil \ , password:nil \ , port:nil \ , replica_set:nil \ , connect_to_replica:nil \ , tls_required:nil \ )</span>
|
283
296
|
|
284
297
|
<span class="method-click-advice">click to toggle source</span>
|
285
298
|
|
@@ -294,13 +307,15 @@
|
|
294
307
|
|
295
308
|
|
296
309
|
<div class="method-source-code" id="new-source">
|
297
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
310
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2613</span>
|
298
311
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
299
312
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
300
313
|
,
|
301
314
|
<span class="ruby-value">name:</span><span class="ruby-keyword">nil</span> \
|
302
315
|
,
|
303
316
|
<span class="ruby-value">healthy:</span><span class="ruby-keyword">nil</span> \
|
317
|
+
,
|
318
|
+
<span class="ruby-value">tags:</span><span class="ruby-keyword">nil</span> \
|
304
319
|
,
|
305
320
|
<span class="ruby-value">hostname:</span><span class="ruby-keyword">nil</span> \
|
306
321
|
,
|
@@ -329,6 +344,9 @@
|
|
329
344
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">healthy</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
330
345
|
<span class="ruby-ivar">@healthy</span> = <span class="ruby-identifier">healthy</span>
|
331
346
|
<span class="ruby-keyword">end</span>
|
347
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">tags</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
348
|
+
<span class="ruby-ivar">@tags</span> = <span class="ruby-identifier">tags</span>
|
349
|
+
<span class="ruby-keyword">end</span>
|
332
350
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">hostname</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
333
351
|
<span class="ruby-ivar">@hostname</span> = <span class="ruby-identifier">hostname</span>
|
334
352
|
<span class="ruby-keyword">end</span>
|
@@ -394,7 +412,7 @@
|
|
394
412
|
|
395
413
|
|
396
414
|
<div class="method-source-code" id="to_json-source">
|
397
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
415
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2680</span>
|
398
416
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
399
417
|
<span class="ruby-identifier">hash</span> = {}
|
400
418
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -421,7 +439,7 @@
|
|
421
439
|
|
422
440
|
<footer id="validator-badges" role="contentinfo">
|
423
441
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
424
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
442
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
425
443
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
426
444
|
</footer>
|
427
445
|
|
data/doc/SDM/Mysql.html
CHANGED
@@ -213,6 +213,19 @@
|
|
213
213
|
</div>
|
214
214
|
</div>
|
215
215
|
|
216
|
+
<div id="attribute-i-tags" class="method-detail">
|
217
|
+
<div class="method-heading attribute-method-heading">
|
218
|
+
<span class="method-name">tags</span><span
|
219
|
+
class="attribute-access-type">[RW]</span>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
<div class="method-description">
|
223
|
+
|
224
|
+
<p>Tags is a map of key, value pairs.</p>
|
225
|
+
|
226
|
+
</div>
|
227
|
+
</div>
|
228
|
+
|
216
229
|
<div id="attribute-i-username" class="method-detail">
|
217
230
|
<div class="method-heading attribute-method-heading">
|
218
231
|
<span class="method-name">username</span><span
|
@@ -240,7 +253,7 @@
|
|
240
253
|
|
241
254
|
<div class="method-heading">
|
242
255
|
<span class="method-name">new</span><span
|
243
|
-
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , hostname:nil \ , username:nil \ , password:nil \ , database:nil \ , port_override:nil \ , port:nil \ )</span>
|
256
|
+
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , hostname:nil \ , username:nil \ , password:nil \ , database:nil \ , port_override:nil \ , port:nil \ )</span>
|
244
257
|
|
245
258
|
<span class="method-click-advice">click to toggle source</span>
|
246
259
|
|
@@ -255,13 +268,15 @@
|
|
255
268
|
|
256
269
|
|
257
270
|
<div class="method-source-code" id="new-source">
|
258
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
271
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2710</span>
|
259
272
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
260
273
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
261
274
|
,
|
262
275
|
<span class="ruby-value">name:</span><span class="ruby-keyword">nil</span> \
|
263
276
|
,
|
264
277
|
<span class="ruby-value">healthy:</span><span class="ruby-keyword">nil</span> \
|
278
|
+
,
|
279
|
+
<span class="ruby-value">tags:</span><span class="ruby-keyword">nil</span> \
|
265
280
|
,
|
266
281
|
<span class="ruby-value">hostname:</span><span class="ruby-keyword">nil</span> \
|
267
282
|
,
|
@@ -284,6 +299,9 @@
|
|
284
299
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">healthy</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
285
300
|
<span class="ruby-ivar">@healthy</span> = <span class="ruby-identifier">healthy</span>
|
286
301
|
<span class="ruby-keyword">end</span>
|
302
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">tags</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
303
|
+
<span class="ruby-ivar">@tags</span> = <span class="ruby-identifier">tags</span>
|
304
|
+
<span class="ruby-keyword">end</span>
|
287
305
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">hostname</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
288
306
|
<span class="ruby-ivar">@hostname</span> = <span class="ruby-identifier">hostname</span>
|
289
307
|
<span class="ruby-keyword">end</span>
|
@@ -340,7 +358,7 @@
|
|
340
358
|
|
341
359
|
|
342
360
|
<div class="method-source-code" id="to_json-source">
|
343
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
361
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2762</span>
|
344
362
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
345
363
|
<span class="ruby-identifier">hash</span> = {}
|
346
364
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -367,7 +385,7 @@
|
|
367
385
|
|
368
386
|
<footer id="validator-badges" role="contentinfo">
|
369
387
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
370
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
388
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
371
389
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
372
390
|
</footer>
|
373
391
|
|
@@ -192,7 +192,7 @@
|
|
192
192
|
|
193
193
|
|
194
194
|
<div class="method-source-code" id="new-source">
|
195
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
195
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4599</span>
|
196
196
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
197
197
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
198
198
|
,
|
@@ -252,7 +252,7 @@
|
|
252
252
|
|
253
253
|
|
254
254
|
<div class="method-source-code" id="to_json-source">
|
255
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
255
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4621</span>
|
256
256
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
257
257
|
<span class="ruby-identifier">hash</span> = {}
|
258
258
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -279,7 +279,7 @@
|
|
279
279
|
|
280
280
|
<footer id="validator-badges" role="contentinfo">
|
281
281
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
282
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
282
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
283
283
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
284
284
|
</footer>
|
285
285
|
|
@@ -166,7 +166,7 @@
|
|
166
166
|
|
167
167
|
|
168
168
|
<div class="method-source-code" id="new-source">
|
169
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
169
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4702</span>
|
170
170
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
171
171
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
172
172
|
,
|
@@ -216,7 +216,7 @@
|
|
216
216
|
|
217
217
|
|
218
218
|
<div class="method-source-code" id="to_json-source">
|
219
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
219
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4714</span>
|
220
220
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
221
221
|
<span class="ruby-identifier">hash</span> = {}
|
222
222
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -243,7 +243,7 @@
|
|
243
243
|
|
244
244
|
<footer id="validator-badges" role="contentinfo">
|
245
245
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
246
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
246
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
247
247
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
248
248
|
</footer>
|
249
249
|
|
@@ -179,7 +179,7 @@
|
|
179
179
|
|
180
180
|
|
181
181
|
<div class="method-source-code" id="new-source">
|
182
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
182
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4637</span>
|
183
183
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
184
184
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
185
185
|
,
|
@@ -234,7 +234,7 @@
|
|
234
234
|
|
235
235
|
|
236
236
|
<div class="method-source-code" id="to_json-source">
|
237
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
237
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4654</span>
|
238
238
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
239
239
|
<span class="ruby-identifier">hash</span> = {}
|
240
240
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -261,7 +261,7 @@
|
|
261
261
|
|
262
262
|
<footer id="validator-badges" role="contentinfo">
|
263
263
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
264
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
264
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
265
265
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
266
266
|
</footer>
|
267
267
|
|
@@ -179,7 +179,7 @@
|
|
179
179
|
|
180
180
|
|
181
181
|
<div class="method-source-code" id="new-source">
|
182
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
182
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4671</span>
|
183
183
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
184
184
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
185
185
|
,
|
@@ -234,7 +234,7 @@
|
|
234
234
|
|
235
235
|
|
236
236
|
<div class="method-source-code" id="to_json-source">
|
237
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
237
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4688</span>
|
238
238
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
239
239
|
<span class="ruby-identifier">hash</span> = {}
|
240
240
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -261,7 +261,7 @@
|
|
261
261
|
|
262
262
|
<footer id="validator-badges" role="contentinfo">
|
263
263
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
264
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
264
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
265
265
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
266
266
|
</footer>
|
267
267
|
|
data/doc/SDM/Nodes.html
CHANGED
@@ -145,7 +145,7 @@
|
|
145
145
|
|
146
146
|
|
147
147
|
<div class="method-source-code" id="new-source">
|
148
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
148
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 502</span>
|
149
149
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">host</span>, <span class="ruby-identifier">insecure</span>, <span class="ruby-identifier">parent</span>)
|
150
150
|
<span class="ruby-keyword">begin</span>
|
151
151
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">insecure</span>
|
@@ -155,7 +155,7 @@
|
|
155
155
|
<span class="ruby-ivar">@stub</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">Nodes</span><span class="ruby-operator">::</span><span class="ruby-constant">Stub</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">host</span>, <span class="ruby-identifier">cred</span>)
|
156
156
|
<span class="ruby-keyword">end</span>
|
157
157
|
<span class="ruby-keyword">rescue</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">exception</span>
|
158
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
158
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
159
159
|
<span class="ruby-keyword">end</span>
|
160
160
|
<span class="ruby-ivar">@parent</span> = <span class="ruby-identifier">parent</span>
|
161
161
|
<span class="ruby-keyword">end</span></pre>
|
@@ -196,14 +196,14 @@
|
|
196
196
|
|
197
197
|
|
198
198
|
<div class="method-source-code" id="create-source">
|
199
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
199
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 516</span>
|
200
200
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">create</span>(
|
201
201
|
<span class="ruby-identifier">node</span> \
|
202
202
|
,
|
203
203
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
204
204
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">NodeCreateRequest</span>.<span class="ruby-identifier">new</span>()
|
205
205
|
|
206
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">node</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
206
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">node</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_node_to_plumbing</span>(<span class="ruby-identifier">node</span>)
|
207
207
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
208
208
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
209
209
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -215,17 +215,17 @@
|
|
215
215
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
216
216
|
<span class="ruby-keyword">next</span>
|
217
217
|
<span class="ruby-keyword">end</span>
|
218
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
218
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
219
219
|
<span class="ruby-keyword">end</span>
|
220
220
|
<span class="ruby-keyword">break</span>
|
221
221
|
<span class="ruby-keyword">end</span>
|
222
222
|
|
223
223
|
|
224
224
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">NodeCreateResponse</span>.<span class="ruby-identifier">new</span>()
|
225
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
226
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">node</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
227
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">token</span> = <span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">token</span>
|
228
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
225
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_create_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>)
|
226
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">node</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_node_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">node</span>)
|
227
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">token</span> = (<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">token</span>)
|
228
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>)
|
229
229
|
<span class="ruby-identifier">resp</span>
|
230
230
|
<span class="ruby-keyword">end</span></pre>
|
231
231
|
</div>
|
@@ -257,14 +257,14 @@
|
|
257
257
|
|
258
258
|
|
259
259
|
<div class="method-source-code" id="delete-source">
|
260
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
260
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 610</span>
|
261
261
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">delete</span>(
|
262
262
|
<span class="ruby-identifier">id</span> \
|
263
263
|
,
|
264
264
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
265
265
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">NodeDeleteRequest</span>.<span class="ruby-identifier">new</span>()
|
266
266
|
|
267
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = <span class="ruby-identifier">id</span>
|
267
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = (<span class="ruby-identifier">id</span>)
|
268
268
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
269
269
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
270
270
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -276,15 +276,15 @@
|
|
276
276
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
277
277
|
<span class="ruby-keyword">next</span>
|
278
278
|
<span class="ruby-keyword">end</span>
|
279
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
279
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
280
280
|
<span class="ruby-keyword">end</span>
|
281
281
|
<span class="ruby-keyword">break</span>
|
282
282
|
<span class="ruby-keyword">end</span>
|
283
283
|
|
284
284
|
|
285
285
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">NodeDeleteResponse</span>.<span class="ruby-identifier">new</span>()
|
286
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
287
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
286
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_delete_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>)
|
287
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>)
|
288
288
|
<span class="ruby-identifier">resp</span>
|
289
289
|
<span class="ruby-keyword">end</span></pre>
|
290
290
|
</div>
|
@@ -316,14 +316,14 @@
|
|
316
316
|
|
317
317
|
|
318
318
|
<div class="method-source-code" id="get-source">
|
319
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
319
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 548</span>
|
320
320
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get</span>(
|
321
321
|
<span class="ruby-identifier">id</span> \
|
322
322
|
,
|
323
323
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
324
324
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">NodeGetRequest</span>.<span class="ruby-identifier">new</span>()
|
325
325
|
|
326
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = <span class="ruby-identifier">id</span>
|
326
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = (<span class="ruby-identifier">id</span>)
|
327
327
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
328
328
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
329
329
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -335,16 +335,16 @@
|
|
335
335
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
336
336
|
<span class="ruby-keyword">next</span>
|
337
337
|
<span class="ruby-keyword">end</span>
|
338
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
338
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
339
339
|
<span class="ruby-keyword">end</span>
|
340
340
|
<span class="ruby-keyword">break</span>
|
341
341
|
<span class="ruby-keyword">end</span>
|
342
342
|
|
343
343
|
|
344
344
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">NodeGetResponse</span>.<span class="ruby-identifier">new</span>()
|
345
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
346
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">node</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
347
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
345
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_get_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>)
|
346
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">node</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_node_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">node</span>)
|
347
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>)
|
348
348
|
<span class="ruby-identifier">resp</span>
|
349
349
|
<span class="ruby-keyword">end</span></pre>
|
350
350
|
</div>
|
@@ -376,7 +376,7 @@
|
|
376
376
|
|
377
377
|
|
378
378
|
<div class="method-source-code" id="list-source">
|
379
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
379
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 640</span>
|
380
380
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">list</span>(
|
381
381
|
<span class="ruby-identifier">filter</span> \
|
382
382
|
,
|
@@ -401,11 +401,11 @@
|
|
401
401
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
402
402
|
<span class="ruby-keyword">next</span>
|
403
403
|
<span class="ruby-keyword">end</span>
|
404
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
404
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
405
405
|
<span class="ruby-keyword">end</span>
|
406
406
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
407
407
|
<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">nodes</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">plumbing_item</span><span class="ruby-operator">|</span>
|
408
|
-
<span class="ruby-identifier">g</span>.<span class="ruby-identifier">yield</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
408
|
+
<span class="ruby-identifier">g</span>.<span class="ruby-identifier">yield</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_node_to_porcelain</span>(<span class="ruby-identifier">plumbing_item</span>)
|
409
409
|
<span class="ruby-keyword">end</span>
|
410
410
|
<span class="ruby-keyword">break</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">next_cursor</span> <span class="ruby-operator">==</span> <span class="ruby-string">""</span>
|
411
411
|
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">cursor</span> = <span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">next_cursor</span>
|
@@ -442,14 +442,14 @@
|
|
442
442
|
|
443
443
|
|
444
444
|
<div class="method-source-code" id="update-source">
|
445
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
445
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 579</span>
|
446
446
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">update</span>(
|
447
447
|
<span class="ruby-identifier">node</span> \
|
448
448
|
,
|
449
449
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
450
450
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">NodeUpdateRequest</span>.<span class="ruby-identifier">new</span>()
|
451
451
|
|
452
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">node</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
452
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">node</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_node_to_plumbing</span>(<span class="ruby-identifier">node</span>)
|
453
453
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
454
454
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
455
455
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -461,16 +461,16 @@
|
|
461
461
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
462
462
|
<span class="ruby-keyword">next</span>
|
463
463
|
<span class="ruby-keyword">end</span>
|
464
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
464
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
465
465
|
<span class="ruby-keyword">end</span>
|
466
466
|
<span class="ruby-keyword">break</span>
|
467
467
|
<span class="ruby-keyword">end</span>
|
468
468
|
|
469
469
|
|
470
470
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">NodeUpdateResponse</span>.<span class="ruby-identifier">new</span>()
|
471
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
472
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">node</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
473
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
471
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_update_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>)
|
472
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">node</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_node_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">node</span>)
|
473
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>)
|
474
474
|
<span class="ruby-identifier">resp</span>
|
475
475
|
<span class="ruby-keyword">end</span></pre>
|
476
476
|
</div>
|
@@ -492,7 +492,7 @@
|
|
492
492
|
|
493
493
|
<footer id="validator-badges" role="contentinfo">
|
494
494
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
495
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
495
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
496
496
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
497
497
|
</footer>
|
498
498
|
|