strongdm 1.0.16 → 1.0.22
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/doc/SDM/AKS.html +21 -3
- data/doc/SDM/AKSBasicAuth.html +21 -3
- data/doc/SDM/AKSServiceAccount.html +21 -3
- data/doc/SDM/AKSServiceAccountUserImpersonation.html +391 -0
- data/doc/SDM/AKSUserImpersonation.html +427 -0
- data/doc/SDM/AWS.html +39 -3
- data/doc/SDM/AWSStore.html +2 -2
- data/doc/SDM/AccountAttachment.html +2 -2
- data/doc/SDM/AccountAttachmentCreateResponse.html +2 -2
- data/doc/SDM/AccountAttachmentDeleteResponse.html +2 -2
- data/doc/SDM/AccountAttachmentGetResponse.html +2 -2
- data/doc/SDM/AccountCreateResponse.html +2 -2
- data/doc/SDM/AccountDeleteResponse.html +2 -2
- data/doc/SDM/AccountGetResponse.html +2 -2
- data/doc/SDM/AccountGrant.html +2 -2
- data/doc/SDM/AccountGrantCreateResponse.html +2 -2
- data/doc/SDM/AccountGrantDeleteResponse.html +2 -2
- data/doc/SDM/AccountGrantGetResponse.html +2 -2
- data/doc/SDM/AccountUpdateResponse.html +2 -2
- data/doc/SDM/AmazonEKS.html +39 -3
- data/doc/SDM/AmazonEKSUserImpersonation.html +481 -0
- data/doc/SDM/AmazonES.html +57 -3
- data/doc/SDM/Athena.html +57 -3
- data/doc/SDM/AuroraMysql.html +21 -3
- data/doc/SDM/AuroraPostgres.html +21 -3
- data/doc/SDM/BigQuery.html +21 -3
- data/doc/SDM/Cassandra.html +21 -3
- data/doc/SDM/Citus.html +21 -3
- data/doc/SDM/Client.html +7 -4
- data/doc/SDM/Clustrix.html +21 -3
- data/doc/SDM/Cockroach.html +21 -3
- data/doc/SDM/ControlPanel.html +62 -0
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +2 -2
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +267 -0
- data/doc/SDM/DB2LUW.html +21 -3
- data/doc/SDM/DB2i.html +21 -3
- data/doc/SDM/Druid.html +21 -3
- data/doc/SDM/DynamoDB.html +57 -3
- data/doc/SDM/Elastic.html +21 -3
- data/doc/SDM/ElasticacheRedis.html +21 -3
- data/doc/SDM/Gateway.html +21 -3
- data/doc/SDM/GoogleGKE.html +21 -3
- data/doc/SDM/GoogleGKEUserImpersonation.html +391 -0
- data/doc/SDM/Greenplum.html +21 -3
- data/doc/SDM/HTTPAuth.html +21 -3
- data/doc/SDM/HTTPBasicAuth.html +21 -3
- data/doc/SDM/HTTPNoAuth.html +21 -3
- data/doc/SDM/Kubernetes.html +21 -3
- data/doc/SDM/KubernetesBasicAuth.html +21 -3
- data/doc/SDM/KubernetesServiceAccount.html +21 -3
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +391 -0
- data/doc/SDM/KubernetesUserImpersonation.html +427 -0
- data/doc/SDM/Maria.html +21 -3
- data/doc/SDM/Memcached.html +21 -3
- data/doc/SDM/Memsql.html +21 -3
- data/doc/SDM/MongoHost.html +21 -3
- data/doc/SDM/MongoLegacyHost.html +21 -3
- data/doc/SDM/MongoLegacyReplicaset.html +21 -3
- data/doc/SDM/MongoReplicaSet.html +21 -3
- data/doc/SDM/Mysql.html +21 -3
- data/doc/SDM/NodeCreateResponse.html +2 -2
- data/doc/SDM/NodeDeleteResponse.html +2 -2
- data/doc/SDM/NodeGetResponse.html +2 -2
- data/doc/SDM/NodeUpdateResponse.html +2 -2
- data/doc/SDM/Nodes.html +6 -6
- data/doc/SDM/Oracle.html +21 -3
- data/doc/SDM/Plumbing.html +2552 -798
- data/doc/SDM/Postgres.html +21 -3
- data/doc/SDM/Presto.html +21 -3
- data/doc/SDM/RDP.html +21 -3
- data/doc/SDM/Redis.html +21 -3
- data/doc/SDM/Redshift.html +21 -3
- data/doc/SDM/Relay.html +21 -3
- data/doc/SDM/ResourceCreateResponse.html +2 -2
- data/doc/SDM/ResourceDeleteResponse.html +2 -2
- data/doc/SDM/ResourceGetResponse.html +2 -2
- data/doc/SDM/ResourceUpdateResponse.html +2 -2
- data/doc/SDM/Resources.html +74 -6
- data/doc/SDM/Role.html +2 -2
- data/doc/SDM/RoleAttachment.html +2 -2
- data/doc/SDM/RoleAttachmentCreateResponse.html +2 -2
- data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
- data/doc/SDM/RoleAttachmentGetResponse.html +2 -2
- data/doc/SDM/RoleAttachments.html +5 -5
- data/doc/SDM/RoleCreateResponse.html +2 -2
- data/doc/SDM/RoleDeleteResponse.html +2 -2
- data/doc/SDM/RoleGetResponse.html +2 -2
- data/doc/SDM/RoleGrant.html +2 -2
- data/doc/SDM/RoleGrantCreateResponse.html +2 -2
- data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
- data/doc/SDM/RoleGrantGetResponse.html +2 -2
- data/doc/SDM/RoleGrants.html +5 -5
- data/doc/SDM/RoleUpdateResponse.html +2 -2
- data/doc/SDM/Roles.html +6 -6
- data/doc/SDM/SQLServer.html +21 -3
- data/doc/SDM/SSH.html +21 -3
- data/doc/SDM/SSHCert.html +21 -3
- data/doc/SDM/SSHCustomerKey.html +427 -0
- data/doc/SDM/SecretStoreCreateResponse.html +2 -2
- data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
- data/doc/SDM/SecretStoreGetResponse.html +2 -2
- data/doc/SDM/SecretStoreUpdateResponse.html +2 -2
- data/doc/SDM/SecretStores.html +6 -6
- data/doc/SDM/Service.html +2 -2
- data/doc/SDM/Snowflake.html +21 -3
- data/doc/SDM/Sybase.html +21 -3
- data/doc/SDM/SybaseIQ.html +21 -3
- data/doc/SDM/Tag.html +247 -0
- data/doc/SDM/Teradata.html +21 -3
- data/doc/SDM/User.html +2 -2
- data/doc/SDM/VaultTLSStore.html +2 -2
- data/doc/SDM/VaultTokenStore.html +2 -2
- data/doc/V1.html +75 -0
- data/doc/V1/Permissions/Service.html +119 -0
- data/doc/created.rid +52 -51
- data/doc/index.html +18 -0
- 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 +1 -1
- data/doc/strongdm_gemspec.html +1 -1
- data/doc/table_of_contents.html +546 -221
- data/lib/grpc/account_attachments_services_pb.rb +4 -4
- data/lib/grpc/account_grants_services_pb.rb +4 -4
- data/lib/grpc/accounts_pb.rb +1 -0
- data/lib/grpc/accounts_services_pb.rb +5 -5
- data/lib/grpc/control_panel_pb.rb +11 -0
- data/lib/grpc/control_panel_services_pb.rb +3 -1
- data/lib/grpc/drivers_pb.rb +166 -0
- data/lib/grpc/nodes_pb.rb +2 -0
- data/lib/grpc/nodes_services_pb.rb +5 -5
- data/lib/grpc/options_pb.rb +6 -1
- data/lib/grpc/plumbing.rb +620 -1
- data/lib/grpc/resources_pb.rb +12 -0
- data/lib/grpc/resources_services_pb.rb +7 -5
- data/lib/grpc/role_attachments_services_pb.rb +4 -4
- data/lib/grpc/role_grants_services_pb.rb +4 -4
- data/lib/grpc/roles_services_pb.rb +5 -5
- data/lib/grpc/secret_stores_services_pb.rb +5 -5
- data/lib/grpc/spec_pb.rb +7 -0
- data/lib/grpc/tags_pb.rb +5 -0
- data/lib/models/porcelain.rb +1087 -80
- data/lib/strongdm.rb +3 -0
- data/lib/svc.rb +67 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +13 -5
- data/lib/grpc/demo_provisioning_requests_pb.rb +0 -93
- data/lib/grpc/demo_provisioning_requests_services_pb.rb +0 -49
data/doc/SDM/Roles.html
CHANGED
@@ -140,7 +140,7 @@
|
|
140
140
|
|
141
141
|
|
142
142
|
<div class="method-source-code" id="new-source">
|
143
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
143
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 1265</span>
|
144
144
|
<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>)
|
145
145
|
<span class="ruby-keyword">begin</span>
|
146
146
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">insecure</span>
|
@@ -191,7 +191,7 @@
|
|
191
191
|
|
192
192
|
|
193
193
|
<div class="method-source-code" id="create-source">
|
194
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
194
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 1279</span>
|
195
195
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">create</span>(
|
196
196
|
<span class="ruby-identifier">role</span> \
|
197
197
|
,
|
@@ -251,7 +251,7 @@
|
|
251
251
|
|
252
252
|
|
253
253
|
<div class="method-source-code" id="delete-source">
|
254
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
254
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 1372</span>
|
255
255
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">delete</span>(
|
256
256
|
<span class="ruby-identifier">id</span> \
|
257
257
|
,
|
@@ -310,7 +310,7 @@
|
|
310
310
|
|
311
311
|
|
312
312
|
<div class="method-source-code" id="get-source">
|
313
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
313
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 1310</span>
|
314
314
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get</span>(
|
315
315
|
<span class="ruby-identifier">id</span> \
|
316
316
|
,
|
@@ -370,7 +370,7 @@
|
|
370
370
|
|
371
371
|
|
372
372
|
<div class="method-source-code" id="list-source">
|
373
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
373
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 1402</span>
|
374
374
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">list</span>(
|
375
375
|
<span class="ruby-identifier">filter</span> \
|
376
376
|
,
|
@@ -436,7 +436,7 @@
|
|
436
436
|
|
437
437
|
|
438
438
|
<div class="method-source-code" id="update-source">
|
439
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
439
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 1341</span>
|
440
440
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">update</span>(
|
441
441
|
<span class="ruby-identifier">role</span> \
|
442
442
|
,
|
data/doc/SDM/SQLServer.html
CHANGED
@@ -122,6 +122,19 @@
|
|
122
122
|
</div>
|
123
123
|
</div>
|
124
124
|
|
125
|
+
<div id="attribute-i-egress_filter" class="method-detail">
|
126
|
+
<div class="method-heading attribute-method-heading">
|
127
|
+
<span class="method-name">egress_filter</span><span
|
128
|
+
class="attribute-access-type">[RW]</span>
|
129
|
+
</div>
|
130
|
+
|
131
|
+
<div class="method-description">
|
132
|
+
|
133
|
+
<p>A filter applied to the routing logic to pin datasource to nodes.</p>
|
134
|
+
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
|
125
138
|
<div id="attribute-i-healthy" class="method-detail">
|
126
139
|
<div class="method-heading attribute-method-heading">
|
127
140
|
<span class="method-name">healthy</span><span
|
@@ -292,7 +305,7 @@
|
|
292
305
|
|
293
306
|
<div class="method-heading">
|
294
307
|
<span class="method-name">new</span><span
|
295
|
-
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , secret_store_id:nil \ , hostname:nil \ , username:nil \ , password:nil \ , database:nil \ , port_override:nil \ , schema:nil \ , port:nil \ , override_database:nil \ )</span>
|
308
|
+
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , secret_store_id:nil \ , egress_filter:nil \ , hostname:nil \ , username:nil \ , password:nil \ , database:nil \ , port_override:nil \ , schema:nil \ , port:nil \ , override_database:nil \ )</span>
|
296
309
|
|
297
310
|
<span class="method-click-advice">click to toggle source</span>
|
298
311
|
|
@@ -307,7 +320,7 @@
|
|
307
320
|
|
308
321
|
|
309
322
|
<div class="method-source-code" id="new-source">
|
310
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
323
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 5452</span>
|
311
324
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
312
325
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
313
326
|
,
|
@@ -318,6 +331,8 @@
|
|
318
331
|
<span class="ruby-value">tags:</span><span class="ruby-keyword">nil</span> \
|
319
332
|
,
|
320
333
|
<span class="ruby-value">secret_store_id:</span><span class="ruby-keyword">nil</span> \
|
334
|
+
,
|
335
|
+
<span class="ruby-value">egress_filter:</span><span class="ruby-keyword">nil</span> \
|
321
336
|
,
|
322
337
|
<span class="ruby-value">hostname:</span><span class="ruby-keyword">nil</span> \
|
323
338
|
,
|
@@ -350,6 +365,9 @@
|
|
350
365
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">secret_store_id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
351
366
|
<span class="ruby-ivar">@secret_store_id</span> = <span class="ruby-identifier">secret_store_id</span>
|
352
367
|
<span class="ruby-keyword">end</span>
|
368
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">egress_filter</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
369
|
+
<span class="ruby-ivar">@egress_filter</span> = <span class="ruby-identifier">egress_filter</span>
|
370
|
+
<span class="ruby-keyword">end</span>
|
353
371
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">hostname</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
354
372
|
<span class="ruby-ivar">@hostname</span> = <span class="ruby-identifier">hostname</span>
|
355
373
|
<span class="ruby-keyword">end</span>
|
@@ -412,7 +430,7 @@
|
|
412
430
|
|
413
431
|
|
414
432
|
<div class="method-source-code" id="to_json-source">
|
415
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
433
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 5524</span>
|
416
434
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
417
435
|
<span class="ruby-identifier">hash</span> = {}
|
418
436
|
<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>
|
data/doc/SDM/SSH.html
CHANGED
@@ -122,6 +122,19 @@
|
|
122
122
|
</div>
|
123
123
|
</div>
|
124
124
|
|
125
|
+
<div id="attribute-i-egress_filter" class="method-detail">
|
126
|
+
<div class="method-heading attribute-method-heading">
|
127
|
+
<span class="method-name">egress_filter</span><span
|
128
|
+
class="attribute-access-type">[RW]</span>
|
129
|
+
</div>
|
130
|
+
|
131
|
+
<div class="method-description">
|
132
|
+
|
133
|
+
<p>A filter applied to the routing logic to pin datasource to nodes.</p>
|
134
|
+
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
|
125
138
|
<div id="attribute-i-healthy" class="method-detail">
|
126
139
|
<div class="method-heading attribute-method-heading">
|
127
140
|
<span class="method-name">healthy</span><span
|
@@ -266,7 +279,7 @@
|
|
266
279
|
|
267
280
|
<div class="method-heading">
|
268
281
|
<span class="method-name">new</span><span
|
269
|
-
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , secret_store_id:nil \ , hostname:nil \ , username:nil \ , port:nil \ , public_key:nil \ , port_forwarding:nil \ , allow_deprecated_key_exchanges:nil \ )</span>
|
282
|
+
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , secret_store_id:nil \ , egress_filter:nil \ , hostname:nil \ , username:nil \ , port:nil \ , public_key:nil \ , port_forwarding:nil \ , allow_deprecated_key_exchanges:nil \ )</span>
|
270
283
|
|
271
284
|
<span class="method-click-advice">click to toggle source</span>
|
272
285
|
|
@@ -281,7 +294,7 @@
|
|
281
294
|
|
282
295
|
|
283
296
|
<div class="method-source-code" id="new-source">
|
284
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
297
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 5558</span>
|
285
298
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
286
299
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
287
300
|
,
|
@@ -292,6 +305,8 @@
|
|
292
305
|
<span class="ruby-value">tags:</span><span class="ruby-keyword">nil</span> \
|
293
306
|
,
|
294
307
|
<span class="ruby-value">secret_store_id:</span><span class="ruby-keyword">nil</span> \
|
308
|
+
,
|
309
|
+
<span class="ruby-value">egress_filter:</span><span class="ruby-keyword">nil</span> \
|
295
310
|
,
|
296
311
|
<span class="ruby-value">hostname:</span><span class="ruby-keyword">nil</span> \
|
297
312
|
,
|
@@ -320,6 +335,9 @@
|
|
320
335
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">secret_store_id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
321
336
|
<span class="ruby-ivar">@secret_store_id</span> = <span class="ruby-identifier">secret_store_id</span>
|
322
337
|
<span class="ruby-keyword">end</span>
|
338
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">egress_filter</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
339
|
+
<span class="ruby-ivar">@egress_filter</span> = <span class="ruby-identifier">egress_filter</span>
|
340
|
+
<span class="ruby-keyword">end</span>
|
323
341
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">hostname</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
324
342
|
<span class="ruby-ivar">@hostname</span> = <span class="ruby-identifier">hostname</span>
|
325
343
|
<span class="ruby-keyword">end</span>
|
@@ -376,7 +394,7 @@
|
|
376
394
|
|
377
395
|
|
378
396
|
<div class="method-source-code" id="to_json-source">
|
379
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
397
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 5620</span>
|
380
398
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
381
399
|
<span class="ruby-identifier">hash</span> = {}
|
382
400
|
<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>
|
data/doc/SDM/SSHCert.html
CHANGED
@@ -122,6 +122,19 @@
|
|
122
122
|
</div>
|
123
123
|
</div>
|
124
124
|
|
125
|
+
<div id="attribute-i-egress_filter" class="method-detail">
|
126
|
+
<div class="method-heading attribute-method-heading">
|
127
|
+
<span class="method-name">egress_filter</span><span
|
128
|
+
class="attribute-access-type">[RW]</span>
|
129
|
+
</div>
|
130
|
+
|
131
|
+
<div class="method-description">
|
132
|
+
|
133
|
+
<p>A filter applied to the routing logic to pin datasource to nodes.</p>
|
134
|
+
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
|
125
138
|
<div id="attribute-i-healthy" class="method-detail">
|
126
139
|
<div class="method-heading attribute-method-heading">
|
127
140
|
<span class="method-name">healthy</span><span
|
@@ -253,7 +266,7 @@
|
|
253
266
|
|
254
267
|
<div class="method-heading">
|
255
268
|
<span class="method-name">new</span><span
|
256
|
-
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , secret_store_id:nil \ , hostname:nil \ , username:nil \ , port:nil \ , port_forwarding:nil \ , allow_deprecated_key_exchanges:nil \ )</span>
|
269
|
+
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , secret_store_id:nil \ , egress_filter:nil \ , hostname:nil \ , username:nil \ , port:nil \ , port_forwarding:nil \ , allow_deprecated_key_exchanges:nil \ )</span>
|
257
270
|
|
258
271
|
<span class="method-click-advice">click to toggle source</span>
|
259
272
|
|
@@ -268,7 +281,7 @@
|
|
268
281
|
|
269
282
|
|
270
283
|
<div class="method-source-code" id="new-source">
|
271
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
284
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 5652</span>
|
272
285
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
273
286
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
274
287
|
,
|
@@ -279,6 +292,8 @@
|
|
279
292
|
<span class="ruby-value">tags:</span><span class="ruby-keyword">nil</span> \
|
280
293
|
,
|
281
294
|
<span class="ruby-value">secret_store_id:</span><span class="ruby-keyword">nil</span> \
|
295
|
+
,
|
296
|
+
<span class="ruby-value">egress_filter:</span><span class="ruby-keyword">nil</span> \
|
282
297
|
,
|
283
298
|
<span class="ruby-value">hostname:</span><span class="ruby-keyword">nil</span> \
|
284
299
|
,
|
@@ -305,6 +320,9 @@
|
|
305
320
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">secret_store_id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
306
321
|
<span class="ruby-ivar">@secret_store_id</span> = <span class="ruby-identifier">secret_store_id</span>
|
307
322
|
<span class="ruby-keyword">end</span>
|
323
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">egress_filter</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
324
|
+
<span class="ruby-ivar">@egress_filter</span> = <span class="ruby-identifier">egress_filter</span>
|
325
|
+
<span class="ruby-keyword">end</span>
|
308
326
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">hostname</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
309
327
|
<span class="ruby-ivar">@hostname</span> = <span class="ruby-identifier">hostname</span>
|
310
328
|
<span class="ruby-keyword">end</span>
|
@@ -358,7 +376,7 @@
|
|
358
376
|
|
359
377
|
|
360
378
|
<div class="method-source-code" id="to_json-source">
|
361
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
379
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 5709</span>
|
362
380
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
363
381
|
<span class="ruby-identifier">hash</span> = {}
|
364
382
|
<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>
|
@@ -0,0 +1,427 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>class SDM::SSHCustomerKey - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../";
|
11
|
+
var index_rel_prefix = "../";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="../js/navigation.js" defer></script>
|
15
|
+
<script src="../js/search.js" defer></script>
|
16
|
+
<script src="../js/search_index.js" defer></script>
|
17
|
+
<script src="../js/searcher.js" defer></script>
|
18
|
+
<script src="../js/darkfish.js" defer></script>
|
19
|
+
|
20
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
21
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
<body id="top" role="document" class="class">
|
27
|
+
<nav role="navigation">
|
28
|
+
<div id="project-navigation">
|
29
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
30
|
+
<h2>
|
31
|
+
<a href="../index.html" rel="home">Home</a>
|
32
|
+
</h2>
|
33
|
+
|
34
|
+
<div id="table-of-contents-navigation">
|
35
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
36
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
37
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
42
|
+
<form action="#" method="get" accept-charset="utf-8">
|
43
|
+
<div id="search-field-wrapper">
|
44
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
45
|
+
aria-autocomplete="list" aria-controls="search-results"
|
46
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
47
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
48
|
+
</div>
|
49
|
+
|
50
|
+
<ul id="search-results" aria-label="Search Results"
|
51
|
+
aria-busy="false" aria-expanded="false"
|
52
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
53
|
+
</form>
|
54
|
+
</div>
|
55
|
+
|
56
|
+
</div>
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
<div id="class-metadata">
|
61
|
+
|
62
|
+
<div id="parent-class-section" class="nav-section">
|
63
|
+
<h3>Parent</h3>
|
64
|
+
|
65
|
+
|
66
|
+
<p class="link"><a href="../Object.html">Object</a>
|
67
|
+
|
68
|
+
</div>
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
<!-- Method Quickref -->
|
73
|
+
<div id="method-list-section" class="nav-section">
|
74
|
+
<h3>Methods</h3>
|
75
|
+
|
76
|
+
<ul class="link-list" role="directory">
|
77
|
+
|
78
|
+
<li ><a href="#method-c-new">::new</a>
|
79
|
+
|
80
|
+
<li ><a href="#method-i-to_json">#to_json</a>
|
81
|
+
|
82
|
+
</ul>
|
83
|
+
</div>
|
84
|
+
|
85
|
+
</div>
|
86
|
+
</nav>
|
87
|
+
|
88
|
+
<main role="main" aria-labelledby="class-SDM::SSHCustomerKey">
|
89
|
+
<h1 id="class-SDM::SSHCustomerKey" class="class">
|
90
|
+
class SDM::SSHCustomerKey
|
91
|
+
</h1>
|
92
|
+
|
93
|
+
<section class="description">
|
94
|
+
|
95
|
+
</section>
|
96
|
+
|
97
|
+
|
98
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
<section class="attribute-method-details" class="method-section">
|
107
|
+
<header>
|
108
|
+
<h3>Attributes</h3>
|
109
|
+
</header>
|
110
|
+
|
111
|
+
|
112
|
+
<div id="attribute-i-allow_deprecated_key_exchanges" class="method-detail">
|
113
|
+
<div class="method-heading attribute-method-heading">
|
114
|
+
<span class="method-name">allow_deprecated_key_exchanges</span><span
|
115
|
+
class="attribute-access-type">[RW]</span>
|
116
|
+
</div>
|
117
|
+
|
118
|
+
<div class="method-description">
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
</div>
|
123
|
+
</div>
|
124
|
+
|
125
|
+
<div id="attribute-i-egress_filter" class="method-detail">
|
126
|
+
<div class="method-heading attribute-method-heading">
|
127
|
+
<span class="method-name">egress_filter</span><span
|
128
|
+
class="attribute-access-type">[RW]</span>
|
129
|
+
</div>
|
130
|
+
|
131
|
+
<div class="method-description">
|
132
|
+
|
133
|
+
<p>A filter applied to the routing logic to pin datasource to nodes.</p>
|
134
|
+
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
|
138
|
+
<div id="attribute-i-healthy" class="method-detail">
|
139
|
+
<div class="method-heading attribute-method-heading">
|
140
|
+
<span class="method-name">healthy</span><span
|
141
|
+
class="attribute-access-type">[RW]</span>
|
142
|
+
</div>
|
143
|
+
|
144
|
+
<div class="method-description">
|
145
|
+
|
146
|
+
<p>True if the datasource is reachable and the credentials are valid.</p>
|
147
|
+
|
148
|
+
</div>
|
149
|
+
</div>
|
150
|
+
|
151
|
+
<div id="attribute-i-hostname" class="method-detail">
|
152
|
+
<div class="method-heading attribute-method-heading">
|
153
|
+
<span class="method-name">hostname</span><span
|
154
|
+
class="attribute-access-type">[RW]</span>
|
155
|
+
</div>
|
156
|
+
|
157
|
+
<div class="method-description">
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
</div>
|
162
|
+
</div>
|
163
|
+
|
164
|
+
<div id="attribute-i-id" class="method-detail">
|
165
|
+
<div class="method-heading attribute-method-heading">
|
166
|
+
<span class="method-name">id</span><span
|
167
|
+
class="attribute-access-type">[RW]</span>
|
168
|
+
</div>
|
169
|
+
|
170
|
+
<div class="method-description">
|
171
|
+
|
172
|
+
<p>Unique identifier of the Resource.</p>
|
173
|
+
|
174
|
+
</div>
|
175
|
+
</div>
|
176
|
+
|
177
|
+
<div id="attribute-i-name" class="method-detail">
|
178
|
+
<div class="method-heading attribute-method-heading">
|
179
|
+
<span class="method-name">name</span><span
|
180
|
+
class="attribute-access-type">[RW]</span>
|
181
|
+
</div>
|
182
|
+
|
183
|
+
<div class="method-description">
|
184
|
+
|
185
|
+
<p>Unique human-readable name of the Resource.</p>
|
186
|
+
|
187
|
+
</div>
|
188
|
+
</div>
|
189
|
+
|
190
|
+
<div id="attribute-i-port" class="method-detail">
|
191
|
+
<div class="method-heading attribute-method-heading">
|
192
|
+
<span class="method-name">port</span><span
|
193
|
+
class="attribute-access-type">[RW]</span>
|
194
|
+
</div>
|
195
|
+
|
196
|
+
<div class="method-description">
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
</div>
|
201
|
+
</div>
|
202
|
+
|
203
|
+
<div id="attribute-i-port_forwarding" class="method-detail">
|
204
|
+
<div class="method-heading attribute-method-heading">
|
205
|
+
<span class="method-name">port_forwarding</span><span
|
206
|
+
class="attribute-access-type">[RW]</span>
|
207
|
+
</div>
|
208
|
+
|
209
|
+
<div class="method-description">
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
</div>
|
214
|
+
</div>
|
215
|
+
|
216
|
+
<div id="attribute-i-private_key" class="method-detail">
|
217
|
+
<div class="method-heading attribute-method-heading">
|
218
|
+
<span class="method-name">private_key</span><span
|
219
|
+
class="attribute-access-type">[RW]</span>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
<div class="method-description">
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
</div>
|
227
|
+
</div>
|
228
|
+
|
229
|
+
<div id="attribute-i-secret_store_id" class="method-detail">
|
230
|
+
<div class="method-heading attribute-method-heading">
|
231
|
+
<span class="method-name">secret_store_id</span><span
|
232
|
+
class="attribute-access-type">[RW]</span>
|
233
|
+
</div>
|
234
|
+
|
235
|
+
<div class="method-description">
|
236
|
+
|
237
|
+
<p>ID of the secret store containing credentials for this resource, if any.</p>
|
238
|
+
|
239
|
+
</div>
|
240
|
+
</div>
|
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
|
+
|
255
|
+
<div id="attribute-i-username" class="method-detail">
|
256
|
+
<div class="method-heading attribute-method-heading">
|
257
|
+
<span class="method-name">username</span><span
|
258
|
+
class="attribute-access-type">[RW]</span>
|
259
|
+
</div>
|
260
|
+
|
261
|
+
<div class="method-description">
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
</div>
|
266
|
+
</div>
|
267
|
+
|
268
|
+
</section>
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
273
|
+
<header>
|
274
|
+
<h3>Public Class Methods</h3>
|
275
|
+
</header>
|
276
|
+
|
277
|
+
|
278
|
+
<div id="method-c-new" class="method-detail ">
|
279
|
+
|
280
|
+
<div class="method-heading">
|
281
|
+
<span class="method-name">new</span><span
|
282
|
+
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , secret_store_id:nil \ , egress_filter:nil \ , hostname:nil \ , username:nil \ , port:nil \ , private_key:nil \ , port_forwarding:nil \ , allow_deprecated_key_exchanges:nil \ )</span>
|
283
|
+
|
284
|
+
<span class="method-click-advice">click to toggle source</span>
|
285
|
+
|
286
|
+
</div>
|
287
|
+
|
288
|
+
|
289
|
+
<div class="method-description">
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
<div class="method-source-code" id="new-source">
|
297
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 5743</span>
|
298
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
299
|
+
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
300
|
+
,
|
301
|
+
<span class="ruby-value">name:</span><span class="ruby-keyword">nil</span> \
|
302
|
+
,
|
303
|
+
<span class="ruby-value">healthy:</span><span class="ruby-keyword">nil</span> \
|
304
|
+
,
|
305
|
+
<span class="ruby-value">tags:</span><span class="ruby-keyword">nil</span> \
|
306
|
+
,
|
307
|
+
<span class="ruby-value">secret_store_id:</span><span class="ruby-keyword">nil</span> \
|
308
|
+
,
|
309
|
+
<span class="ruby-value">egress_filter:</span><span class="ruby-keyword">nil</span> \
|
310
|
+
,
|
311
|
+
<span class="ruby-value">hostname:</span><span class="ruby-keyword">nil</span> \
|
312
|
+
,
|
313
|
+
<span class="ruby-value">username:</span><span class="ruby-keyword">nil</span> \
|
314
|
+
,
|
315
|
+
<span class="ruby-value">port:</span><span class="ruby-keyword">nil</span> \
|
316
|
+
,
|
317
|
+
<span class="ruby-value">private_key:</span><span class="ruby-keyword">nil</span> \
|
318
|
+
,
|
319
|
+
<span class="ruby-value">port_forwarding:</span><span class="ruby-keyword">nil</span> \
|
320
|
+
,
|
321
|
+
<span class="ruby-value">allow_deprecated_key_exchanges:</span><span class="ruby-keyword">nil</span> \
|
322
|
+
)
|
323
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
324
|
+
<span class="ruby-ivar">@id</span> = <span class="ruby-identifier">id</span>
|
325
|
+
<span class="ruby-keyword">end</span>
|
326
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">name</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
327
|
+
<span class="ruby-ivar">@name</span> = <span class="ruby-identifier">name</span>
|
328
|
+
<span class="ruby-keyword">end</span>
|
329
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">healthy</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
330
|
+
<span class="ruby-ivar">@healthy</span> = <span class="ruby-identifier">healthy</span>
|
331
|
+
<span class="ruby-keyword">end</span>
|
332
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">tags</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
333
|
+
<span class="ruby-ivar">@tags</span> = <span class="ruby-identifier">tags</span>
|
334
|
+
<span class="ruby-keyword">end</span>
|
335
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">secret_store_id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
336
|
+
<span class="ruby-ivar">@secret_store_id</span> = <span class="ruby-identifier">secret_store_id</span>
|
337
|
+
<span class="ruby-keyword">end</span>
|
338
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">egress_filter</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
339
|
+
<span class="ruby-ivar">@egress_filter</span> = <span class="ruby-identifier">egress_filter</span>
|
340
|
+
<span class="ruby-keyword">end</span>
|
341
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">hostname</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
342
|
+
<span class="ruby-ivar">@hostname</span> = <span class="ruby-identifier">hostname</span>
|
343
|
+
<span class="ruby-keyword">end</span>
|
344
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">username</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
345
|
+
<span class="ruby-ivar">@username</span> = <span class="ruby-identifier">username</span>
|
346
|
+
<span class="ruby-keyword">end</span>
|
347
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">port</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
348
|
+
<span class="ruby-ivar">@port</span> = <span class="ruby-identifier">port</span>
|
349
|
+
<span class="ruby-keyword">end</span>
|
350
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">private_key</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
351
|
+
<span class="ruby-ivar">@private_key</span> = <span class="ruby-identifier">private_key</span>
|
352
|
+
<span class="ruby-keyword">end</span>
|
353
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">port_forwarding</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
354
|
+
<span class="ruby-ivar">@port_forwarding</span> = <span class="ruby-identifier">port_forwarding</span>
|
355
|
+
<span class="ruby-keyword">end</span>
|
356
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">allow_deprecated_key_exchanges</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
357
|
+
<span class="ruby-ivar">@allow_deprecated_key_exchanges</span> = <span class="ruby-identifier">allow_deprecated_key_exchanges</span>
|
358
|
+
<span class="ruby-keyword">end</span>
|
359
|
+
<span class="ruby-keyword">end</span></pre>
|
360
|
+
</div>
|
361
|
+
|
362
|
+
</div>
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
</div>
|
368
|
+
|
369
|
+
|
370
|
+
</section>
|
371
|
+
|
372
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
373
|
+
<header>
|
374
|
+
<h3>Public Instance Methods</h3>
|
375
|
+
</header>
|
376
|
+
|
377
|
+
|
378
|
+
<div id="method-i-to_json" class="method-detail ">
|
379
|
+
|
380
|
+
<div class="method-heading">
|
381
|
+
<span class="method-name">to_json</span><span
|
382
|
+
class="method-args">(options={})</span>
|
383
|
+
|
384
|
+
<span class="method-click-advice">click to toggle source</span>
|
385
|
+
|
386
|
+
</div>
|
387
|
+
|
388
|
+
|
389
|
+
<div class="method-description">
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
|
396
|
+
<div class="method-source-code" id="to_json-source">
|
397
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 5805</span>
|
398
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
399
|
+
<span class="ruby-identifier">hash</span> = {}
|
400
|
+
<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>
|
401
|
+
<span class="ruby-identifier">hash</span>[<span class="ruby-identifier">var</span>.<span class="ruby-identifier">id2name</span>.<span class="ruby-identifier">delete_prefix</span>(<span class="ruby-string">'@'</span>)] = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variable_get</span> <span class="ruby-identifier">var</span>
|
402
|
+
<span class="ruby-keyword">end</span>
|
403
|
+
<span class="ruby-identifier">hash</span>.<span class="ruby-identifier">to_json</span>
|
404
|
+
<span class="ruby-keyword">end</span></pre>
|
405
|
+
</div>
|
406
|
+
|
407
|
+
</div>
|
408
|
+
|
409
|
+
|
410
|
+
|
411
|
+
|
412
|
+
</div>
|
413
|
+
|
414
|
+
|
415
|
+
</section>
|
416
|
+
|
417
|
+
</section>
|
418
|
+
|
419
|
+
</main>
|
420
|
+
|
421
|
+
|
422
|
+
<footer id="validator-badges" role="contentinfo">
|
423
|
+
<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.2.1.
|
425
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
426
|
+
</footer>
|
427
|
+
|