strongdm 2.5.0 → 2.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-c180677ba60e518124a696667c7cc0c268db3b1a.idx → pack-c1032d928dd0743ace6399b06d0f0fe8ddbefb6a.idx} +0 -0
- data/.git/objects/pack/{pack-c180677ba60e518124a696667c7cc0c268db3b1a.pack → pack-c1032d928dd0743ace6399b06d0f0fe8ddbefb6a.pack} +0 -0
- data/.git/packed-refs +5 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +16 -0
- data/lib/grpc/plumbing.rb +298 -0
- data/lib/grpc/remote_identities_pb.rb +90 -0
- data/lib/grpc/remote_identities_services_pb.rb +45 -0
- data/lib/grpc/remote_identity_groups_pb.rb +55 -0
- data/lib/grpc/remote_identity_groups_services_pb.rb +58 -0
- data/lib/models/porcelain.rb +260 -2
- data/lib/strongdm.rb +12 -1
- data/lib/svc.rb +266 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f78248045a36cbb5d38420a9f5b201bbaf0fbcfd4e1176b437f31631bf4cbf9b
|
4
|
+
data.tar.gz: 10de19b54d8fdf954ef96a839a1cb702554a5481c9875c6dc73912dbd4adda0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e828194c4c2a03b0420b7c4b35c32719c04519f1f599c75e771535f67d3d3dca25a38995e0f68b3e78f68088ab2773cd5931646accb085809cc12f76ef7c7309
|
7
|
+
data.tar.gz: aa1aa10314dc9f6ca08e17918374c4c9b4757b9aca8c7738a7b67c594631640b6a72ce981959c78cb4e7478592b1030f9f8cb68e9daa9def8e19d80d1d01d934
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2642d78fb0ddb1c7d7e24e63cd4915894605cb6f
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 2642d78fb0ddb1c7d7e24e63cd4915894605cb6f sdmrelease <support@strongdm.com> 1656530948 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
2642d78fb0ddb1c7d7e24e63cd4915894605cb6f 2642d78fb0ddb1c7d7e24e63cd4915894605cb6f sdmrelease <support@strongdm.com> 1656530948 +0000 checkout: moving from master to master
|
3
|
+
2642d78fb0ddb1c7d7e24e63cd4915894605cb6f be1460e0ed022801549a84a12897334b7064f1a7 sdmrelease <support@strongdm.com> 1656530948 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 2642d78fb0ddb1c7d7e24e63cd4915894605cb6f sdmrelease <support@strongdm.com> 1656530948 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
2642d78fb0ddb1c7d7e24e63cd4915894605cb6f be1460e0ed022801549a84a12897334b7064f1a7 sdmrelease <support@strongdm.com> 1656530948 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 2642d78fb0ddb1c7d7e24e63cd4915894605cb6f sdmrelease <support@strongdm.com> 1656530948 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
Binary file
|
Binary file
|
data/.git/packed-refs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# pack-refs with: peeled fully-peeled sorted
|
2
|
-
|
3
|
-
|
2
|
+
be1460e0ed022801549a84a12897334b7064f1a7 refs/remotes/origin/development
|
3
|
+
2642d78fb0ddb1c7d7e24e63cd4915894605cb6f refs/remotes/origin/master
|
4
4
|
2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
|
5
5
|
04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
|
6
6
|
6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
|
@@ -36,3 +36,6 @@ d035aa3acb4c3a0935121bc00bfbb0a9e999d410 refs/tags/v1.0.7
|
|
36
36
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
37
37
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
38
38
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
39
|
+
42523443a7148266578542cb9c64167dee1a817f refs/tags/v2.5.0
|
40
|
+
ee164dbda02c66cd898f0357884c58f822b486dc refs/tags/v2.6.0
|
41
|
+
2642d78fb0ddb1c7d7e24e63cd4915894605cb6f refs/tags/v2.6.1
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
be1460e0ed022801549a84a12897334b7064f1a7
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -110,6 +110,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
110
110
|
optional :healthcheck_namespace, :string, 9
|
111
111
|
optional :hostname, :string, 1
|
112
112
|
optional :port, :int32, 2
|
113
|
+
optional :remote_identity_group_id, :string, 10
|
114
|
+
optional :remote_identity_healthcheck_username, :string, 11
|
113
115
|
end
|
114
116
|
add_message "v1.AKSBasicAuth" do
|
115
117
|
optional :id, :string, 32768
|
@@ -136,6 +138,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
136
138
|
optional :healthcheck_namespace, :string, 4
|
137
139
|
optional :hostname, :string, 1
|
138
140
|
optional :port, :int32, 2
|
141
|
+
optional :remote_identity_group_id, :string, 5
|
142
|
+
optional :remote_identity_healthcheck_username, :string, 6
|
139
143
|
optional :token, :string, 3
|
140
144
|
end
|
141
145
|
add_message "v1.AKSServiceAccountUserImpersonation" do
|
@@ -194,6 +198,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
194
198
|
optional :endpoint, :string, 1
|
195
199
|
optional :healthcheck_namespace, :string, 9
|
196
200
|
optional :region, :string, 6
|
201
|
+
optional :remote_identity_group_id, :string, 11
|
202
|
+
optional :remote_identity_healthcheck_username, :string, 12
|
197
203
|
optional :role_arn, :string, 8
|
198
204
|
optional :role_external_id, :string, 10
|
199
205
|
optional :secret_access_key, :string, 3
|
@@ -552,6 +558,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
552
558
|
optional :certificate_authority, :string, 2
|
553
559
|
optional :endpoint, :string, 1
|
554
560
|
optional :healthcheck_namespace, :string, 6
|
561
|
+
optional :remote_identity_group_id, :string, 7
|
562
|
+
optional :remote_identity_healthcheck_username, :string, 8
|
555
563
|
optional :service_account_key, :string, 4
|
556
564
|
end
|
557
565
|
add_message "v1.GoogleGKEUserImpersonation" do
|
@@ -642,6 +650,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
642
650
|
optional :healthcheck_namespace, :string, 9
|
643
651
|
optional :hostname, :string, 1
|
644
652
|
optional :port, :int32, 2
|
653
|
+
optional :remote_identity_group_id, :string, 10
|
654
|
+
optional :remote_identity_healthcheck_username, :string, 11
|
645
655
|
end
|
646
656
|
add_message "v1.KubernetesBasicAuth" do
|
647
657
|
optional :id, :string, 32768
|
@@ -668,6 +678,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
668
678
|
optional :healthcheck_namespace, :string, 4
|
669
679
|
optional :hostname, :string, 1
|
670
680
|
optional :port, :int32, 2
|
681
|
+
optional :remote_identity_group_id, :string, 5
|
682
|
+
optional :remote_identity_healthcheck_username, :string, 6
|
671
683
|
optional :token, :string, 3
|
672
684
|
end
|
673
685
|
add_message "v1.KubernetesServiceAccountUserImpersonation" do
|
@@ -1053,6 +1065,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1053
1065
|
optional :bind_interface, :string, 32774
|
1054
1066
|
optional :allow_deprecated_key_exchanges, :bool, 6
|
1055
1067
|
optional :hostname, :string, 1
|
1068
|
+
optional :key_type, :string, 8
|
1056
1069
|
optional :port, :int32, 3
|
1057
1070
|
optional :port_forwarding, :bool, 5
|
1058
1071
|
optional :port_override, :int32, 7
|
@@ -1069,9 +1082,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1069
1082
|
optional :bind_interface, :string, 32774
|
1070
1083
|
optional :allow_deprecated_key_exchanges, :bool, 5
|
1071
1084
|
optional :hostname, :string, 1
|
1085
|
+
optional :key_type, :string, 9
|
1072
1086
|
optional :port, :int32, 3
|
1073
1087
|
optional :port_forwarding, :bool, 4
|
1074
1088
|
optional :port_override, :int32, 6
|
1089
|
+
optional :remote_identity_group_id, :string, 7
|
1090
|
+
optional :remote_identity_healthcheck_username, :string, 8
|
1075
1091
|
optional :username, :string, 2
|
1076
1092
|
end
|
1077
1093
|
add_message "v1.SSHCustomerKey" do
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -27,6 +27,8 @@ require_relative "./accounts_pb"
|
|
27
27
|
require_relative "./control_panel_pb"
|
28
28
|
require_relative "./drivers_pb"
|
29
29
|
require_relative "./nodes_pb"
|
30
|
+
require_relative "./remote_identities_pb"
|
31
|
+
require_relative "./remote_identity_groups_pb"
|
30
32
|
require_relative "./resources_pb"
|
31
33
|
require_relative "./role_attachments_pb"
|
32
34
|
require_relative "./role_grants_pb"
|
@@ -126,6 +128,8 @@ module SDM
|
|
126
128
|
porcelain.id = (plumbing.id)
|
127
129
|
porcelain.name = (plumbing.name)
|
128
130
|
porcelain.port = (plumbing.port)
|
131
|
+
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
132
|
+
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
129
133
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
130
134
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
131
135
|
porcelain
|
@@ -147,6 +151,8 @@ module SDM
|
|
147
151
|
plumbing.id = (porcelain.id)
|
148
152
|
plumbing.name = (porcelain.name)
|
149
153
|
plumbing.port = (porcelain.port)
|
154
|
+
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
155
|
+
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
150
156
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
151
157
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
152
158
|
plumbing
|
@@ -237,6 +243,8 @@ module SDM
|
|
237
243
|
porcelain.id = (plumbing.id)
|
238
244
|
porcelain.name = (plumbing.name)
|
239
245
|
porcelain.port = (plumbing.port)
|
246
|
+
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
247
|
+
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
240
248
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
241
249
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
242
250
|
porcelain.token = (plumbing.token)
|
@@ -256,6 +264,8 @@ module SDM
|
|
256
264
|
plumbing.id = (porcelain.id)
|
257
265
|
plumbing.name = (porcelain.name)
|
258
266
|
plumbing.port = (porcelain.port)
|
267
|
+
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
268
|
+
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
259
269
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
260
270
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
261
271
|
plumbing.token = (porcelain.token)
|
@@ -1000,6 +1010,8 @@ module SDM
|
|
1000
1010
|
porcelain.id = (plumbing.id)
|
1001
1011
|
porcelain.name = (plumbing.name)
|
1002
1012
|
porcelain.region = (plumbing.region)
|
1013
|
+
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
1014
|
+
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
1003
1015
|
porcelain.role_arn = (plumbing.role_arn)
|
1004
1016
|
porcelain.role_external_id = (plumbing.role_external_id)
|
1005
1017
|
porcelain.secret_access_key = (plumbing.secret_access_key)
|
@@ -1024,6 +1036,8 @@ module SDM
|
|
1024
1036
|
plumbing.id = (porcelain.id)
|
1025
1037
|
plumbing.name = (porcelain.name)
|
1026
1038
|
plumbing.region = (porcelain.region)
|
1039
|
+
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
1040
|
+
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
1027
1041
|
plumbing.role_arn = (porcelain.role_arn)
|
1028
1042
|
plumbing.role_external_id = (porcelain.role_external_id)
|
1029
1043
|
plumbing.secret_access_key = (porcelain.secret_access_key)
|
@@ -2689,6 +2703,8 @@ module SDM
|
|
2689
2703
|
porcelain.healthy = (plumbing.healthy)
|
2690
2704
|
porcelain.id = (plumbing.id)
|
2691
2705
|
porcelain.name = (plumbing.name)
|
2706
|
+
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
2707
|
+
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
2692
2708
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2693
2709
|
porcelain.service_account_key = (plumbing.service_account_key)
|
2694
2710
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
@@ -2708,6 +2724,8 @@ module SDM
|
|
2708
2724
|
plumbing.healthy = (porcelain.healthy)
|
2709
2725
|
plumbing.id = (porcelain.id)
|
2710
2726
|
plumbing.name = (porcelain.name)
|
2727
|
+
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
2728
|
+
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
2711
2729
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
2712
2730
|
plumbing.service_account_key = (porcelain.service_account_key)
|
2713
2731
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
@@ -3034,6 +3052,8 @@ module SDM
|
|
3034
3052
|
porcelain.id = (plumbing.id)
|
3035
3053
|
porcelain.name = (plumbing.name)
|
3036
3054
|
porcelain.port = (plumbing.port)
|
3055
|
+
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
3056
|
+
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
3037
3057
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3038
3058
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3039
3059
|
porcelain
|
@@ -3055,6 +3075,8 @@ module SDM
|
|
3055
3075
|
plumbing.id = (porcelain.id)
|
3056
3076
|
plumbing.name = (porcelain.name)
|
3057
3077
|
plumbing.port = (porcelain.port)
|
3078
|
+
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
3079
|
+
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
3058
3080
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
3059
3081
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
3060
3082
|
plumbing
|
@@ -3145,6 +3167,8 @@ module SDM
|
|
3145
3167
|
porcelain.id = (plumbing.id)
|
3146
3168
|
porcelain.name = (plumbing.name)
|
3147
3169
|
porcelain.port = (plumbing.port)
|
3170
|
+
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
3171
|
+
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
3148
3172
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3149
3173
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3150
3174
|
porcelain.token = (plumbing.token)
|
@@ -3164,6 +3188,8 @@ module SDM
|
|
3164
3188
|
plumbing.id = (porcelain.id)
|
3165
3189
|
plumbing.name = (porcelain.name)
|
3166
3190
|
plumbing.port = (porcelain.port)
|
3191
|
+
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
3192
|
+
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
3167
3193
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
3168
3194
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
3169
3195
|
plumbing.token = (porcelain.token)
|
@@ -4818,6 +4844,270 @@ module SDM
|
|
4818
4844
|
end
|
4819
4845
|
items
|
4820
4846
|
end
|
4847
|
+
def self.convert_remote_identity_to_porcelain(plumbing)
|
4848
|
+
if plumbing == nil
|
4849
|
+
return nil
|
4850
|
+
end
|
4851
|
+
porcelain = RemoteIdentity.new()
|
4852
|
+
porcelain.account_id = (plumbing.account_id)
|
4853
|
+
porcelain.id = (plumbing.id)
|
4854
|
+
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
4855
|
+
porcelain.username = (plumbing.username)
|
4856
|
+
porcelain
|
4857
|
+
end
|
4858
|
+
|
4859
|
+
def self.convert_remote_identity_to_plumbing(porcelain)
|
4860
|
+
if porcelain == nil
|
4861
|
+
return nil
|
4862
|
+
end
|
4863
|
+
plumbing = V1::RemoteIdentity.new()
|
4864
|
+
plumbing.account_id = (porcelain.account_id)
|
4865
|
+
plumbing.id = (porcelain.id)
|
4866
|
+
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
4867
|
+
plumbing.username = (porcelain.username)
|
4868
|
+
plumbing
|
4869
|
+
end
|
4870
|
+
def self.convert_repeated_remote_identity_to_plumbing(porcelains)
|
4871
|
+
items = Array.new
|
4872
|
+
porcelains.each do |porcelain|
|
4873
|
+
plumbing = convert_remote_identity_to_plumbing(porcelain)
|
4874
|
+
items.append(plumbing)
|
4875
|
+
end
|
4876
|
+
items
|
4877
|
+
end
|
4878
|
+
|
4879
|
+
def self.convert_repeated_remote_identity_to_porcelain(plumbings)
|
4880
|
+
items = Array.new
|
4881
|
+
plumbings.each do |plumbing|
|
4882
|
+
porcelain = convert_remote_identity_to_porcelain(plumbing)
|
4883
|
+
items.append(porcelain)
|
4884
|
+
end
|
4885
|
+
items
|
4886
|
+
end
|
4887
|
+
def self.convert_remote_identity_create_response_to_porcelain(plumbing)
|
4888
|
+
if plumbing == nil
|
4889
|
+
return nil
|
4890
|
+
end
|
4891
|
+
porcelain = RemoteIdentityCreateResponse.new()
|
4892
|
+
porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
|
4893
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
4894
|
+
porcelain.remote_identity = convert_remote_identity_to_porcelain(plumbing.remote_identity)
|
4895
|
+
porcelain
|
4896
|
+
end
|
4897
|
+
|
4898
|
+
def self.convert_remote_identity_create_response_to_plumbing(porcelain)
|
4899
|
+
if porcelain == nil
|
4900
|
+
return nil
|
4901
|
+
end
|
4902
|
+
plumbing = V1::RemoteIdentityCreateResponse.new()
|
4903
|
+
plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
|
4904
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
4905
|
+
plumbing.remote_identity = convert_remote_identity_to_plumbing(porcelain.remote_identity)
|
4906
|
+
plumbing
|
4907
|
+
end
|
4908
|
+
def self.convert_repeated_remote_identity_create_response_to_plumbing(porcelains)
|
4909
|
+
items = Array.new
|
4910
|
+
porcelains.each do |porcelain|
|
4911
|
+
plumbing = convert_remote_identity_create_response_to_plumbing(porcelain)
|
4912
|
+
items.append(plumbing)
|
4913
|
+
end
|
4914
|
+
items
|
4915
|
+
end
|
4916
|
+
|
4917
|
+
def self.convert_repeated_remote_identity_create_response_to_porcelain(plumbings)
|
4918
|
+
items = Array.new
|
4919
|
+
plumbings.each do |plumbing|
|
4920
|
+
porcelain = convert_remote_identity_create_response_to_porcelain(plumbing)
|
4921
|
+
items.append(porcelain)
|
4922
|
+
end
|
4923
|
+
items
|
4924
|
+
end
|
4925
|
+
def self.convert_remote_identity_delete_response_to_porcelain(plumbing)
|
4926
|
+
if plumbing == nil
|
4927
|
+
return nil
|
4928
|
+
end
|
4929
|
+
porcelain = RemoteIdentityDeleteResponse.new()
|
4930
|
+
porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
|
4931
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
4932
|
+
porcelain
|
4933
|
+
end
|
4934
|
+
|
4935
|
+
def self.convert_remote_identity_delete_response_to_plumbing(porcelain)
|
4936
|
+
if porcelain == nil
|
4937
|
+
return nil
|
4938
|
+
end
|
4939
|
+
plumbing = V1::RemoteIdentityDeleteResponse.new()
|
4940
|
+
plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
|
4941
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
4942
|
+
plumbing
|
4943
|
+
end
|
4944
|
+
def self.convert_repeated_remote_identity_delete_response_to_plumbing(porcelains)
|
4945
|
+
items = Array.new
|
4946
|
+
porcelains.each do |porcelain|
|
4947
|
+
plumbing = convert_remote_identity_delete_response_to_plumbing(porcelain)
|
4948
|
+
items.append(plumbing)
|
4949
|
+
end
|
4950
|
+
items
|
4951
|
+
end
|
4952
|
+
|
4953
|
+
def self.convert_repeated_remote_identity_delete_response_to_porcelain(plumbings)
|
4954
|
+
items = Array.new
|
4955
|
+
plumbings.each do |plumbing|
|
4956
|
+
porcelain = convert_remote_identity_delete_response_to_porcelain(plumbing)
|
4957
|
+
items.append(porcelain)
|
4958
|
+
end
|
4959
|
+
items
|
4960
|
+
end
|
4961
|
+
def self.convert_remote_identity_get_response_to_porcelain(plumbing)
|
4962
|
+
if plumbing == nil
|
4963
|
+
return nil
|
4964
|
+
end
|
4965
|
+
porcelain = RemoteIdentityGetResponse.new()
|
4966
|
+
porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
|
4967
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
4968
|
+
porcelain.remote_identity = convert_remote_identity_to_porcelain(plumbing.remote_identity)
|
4969
|
+
porcelain
|
4970
|
+
end
|
4971
|
+
|
4972
|
+
def self.convert_remote_identity_get_response_to_plumbing(porcelain)
|
4973
|
+
if porcelain == nil
|
4974
|
+
return nil
|
4975
|
+
end
|
4976
|
+
plumbing = V1::RemoteIdentityGetResponse.new()
|
4977
|
+
plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
|
4978
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
4979
|
+
plumbing.remote_identity = convert_remote_identity_to_plumbing(porcelain.remote_identity)
|
4980
|
+
plumbing
|
4981
|
+
end
|
4982
|
+
def self.convert_repeated_remote_identity_get_response_to_plumbing(porcelains)
|
4983
|
+
items = Array.new
|
4984
|
+
porcelains.each do |porcelain|
|
4985
|
+
plumbing = convert_remote_identity_get_response_to_plumbing(porcelain)
|
4986
|
+
items.append(plumbing)
|
4987
|
+
end
|
4988
|
+
items
|
4989
|
+
end
|
4990
|
+
|
4991
|
+
def self.convert_repeated_remote_identity_get_response_to_porcelain(plumbings)
|
4992
|
+
items = Array.new
|
4993
|
+
plumbings.each do |plumbing|
|
4994
|
+
porcelain = convert_remote_identity_get_response_to_porcelain(plumbing)
|
4995
|
+
items.append(porcelain)
|
4996
|
+
end
|
4997
|
+
items
|
4998
|
+
end
|
4999
|
+
def self.convert_remote_identity_group_to_porcelain(plumbing)
|
5000
|
+
if plumbing == nil
|
5001
|
+
return nil
|
5002
|
+
end
|
5003
|
+
porcelain = RemoteIdentityGroup.new()
|
5004
|
+
porcelain.id = (plumbing.id)
|
5005
|
+
porcelain.name = (plumbing.name)
|
5006
|
+
porcelain
|
5007
|
+
end
|
5008
|
+
|
5009
|
+
def self.convert_remote_identity_group_to_plumbing(porcelain)
|
5010
|
+
if porcelain == nil
|
5011
|
+
return nil
|
5012
|
+
end
|
5013
|
+
plumbing = V1::RemoteIdentityGroup.new()
|
5014
|
+
plumbing.id = (porcelain.id)
|
5015
|
+
plumbing.name = (porcelain.name)
|
5016
|
+
plumbing
|
5017
|
+
end
|
5018
|
+
def self.convert_repeated_remote_identity_group_to_plumbing(porcelains)
|
5019
|
+
items = Array.new
|
5020
|
+
porcelains.each do |porcelain|
|
5021
|
+
plumbing = convert_remote_identity_group_to_plumbing(porcelain)
|
5022
|
+
items.append(plumbing)
|
5023
|
+
end
|
5024
|
+
items
|
5025
|
+
end
|
5026
|
+
|
5027
|
+
def self.convert_repeated_remote_identity_group_to_porcelain(plumbings)
|
5028
|
+
items = Array.new
|
5029
|
+
plumbings.each do |plumbing|
|
5030
|
+
porcelain = convert_remote_identity_group_to_porcelain(plumbing)
|
5031
|
+
items.append(porcelain)
|
5032
|
+
end
|
5033
|
+
items
|
5034
|
+
end
|
5035
|
+
def self.convert_remote_identity_group_get_response_to_porcelain(plumbing)
|
5036
|
+
if plumbing == nil
|
5037
|
+
return nil
|
5038
|
+
end
|
5039
|
+
porcelain = RemoteIdentityGroupGetResponse.new()
|
5040
|
+
porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
|
5041
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
5042
|
+
porcelain.remote_identity_group = convert_remote_identity_group_to_porcelain(plumbing.remote_identity_group)
|
5043
|
+
porcelain
|
5044
|
+
end
|
5045
|
+
|
5046
|
+
def self.convert_remote_identity_group_get_response_to_plumbing(porcelain)
|
5047
|
+
if porcelain == nil
|
5048
|
+
return nil
|
5049
|
+
end
|
5050
|
+
plumbing = V1::RemoteIdentityGroupGetResponse.new()
|
5051
|
+
plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
|
5052
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
5053
|
+
plumbing.remote_identity_group = convert_remote_identity_group_to_plumbing(porcelain.remote_identity_group)
|
5054
|
+
plumbing
|
5055
|
+
end
|
5056
|
+
def self.convert_repeated_remote_identity_group_get_response_to_plumbing(porcelains)
|
5057
|
+
items = Array.new
|
5058
|
+
porcelains.each do |porcelain|
|
5059
|
+
plumbing = convert_remote_identity_group_get_response_to_plumbing(porcelain)
|
5060
|
+
items.append(plumbing)
|
5061
|
+
end
|
5062
|
+
items
|
5063
|
+
end
|
5064
|
+
|
5065
|
+
def self.convert_repeated_remote_identity_group_get_response_to_porcelain(plumbings)
|
5066
|
+
items = Array.new
|
5067
|
+
plumbings.each do |plumbing|
|
5068
|
+
porcelain = convert_remote_identity_group_get_response_to_porcelain(plumbing)
|
5069
|
+
items.append(porcelain)
|
5070
|
+
end
|
5071
|
+
items
|
5072
|
+
end
|
5073
|
+
def self.convert_remote_identity_update_response_to_porcelain(plumbing)
|
5074
|
+
if plumbing == nil
|
5075
|
+
return nil
|
5076
|
+
end
|
5077
|
+
porcelain = RemoteIdentityUpdateResponse.new()
|
5078
|
+
porcelain.meta = convert_update_response_metadata_to_porcelain(plumbing.meta)
|
5079
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
5080
|
+
porcelain.remote_identity = convert_remote_identity_to_porcelain(plumbing.remote_identity)
|
5081
|
+
porcelain
|
5082
|
+
end
|
5083
|
+
|
5084
|
+
def self.convert_remote_identity_update_response_to_plumbing(porcelain)
|
5085
|
+
if porcelain == nil
|
5086
|
+
return nil
|
5087
|
+
end
|
5088
|
+
plumbing = V1::RemoteIdentityUpdateResponse.new()
|
5089
|
+
plumbing.meta = convert_update_response_metadata_to_plumbing(porcelain.meta)
|
5090
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
5091
|
+
plumbing.remote_identity = convert_remote_identity_to_plumbing(porcelain.remote_identity)
|
5092
|
+
plumbing
|
5093
|
+
end
|
5094
|
+
def self.convert_repeated_remote_identity_update_response_to_plumbing(porcelains)
|
5095
|
+
items = Array.new
|
5096
|
+
porcelains.each do |porcelain|
|
5097
|
+
plumbing = convert_remote_identity_update_response_to_plumbing(porcelain)
|
5098
|
+
items.append(plumbing)
|
5099
|
+
end
|
5100
|
+
items
|
5101
|
+
end
|
5102
|
+
|
5103
|
+
def self.convert_repeated_remote_identity_update_response_to_porcelain(plumbings)
|
5104
|
+
items = Array.new
|
5105
|
+
plumbings.each do |plumbing|
|
5106
|
+
porcelain = convert_remote_identity_update_response_to_porcelain(plumbing)
|
5107
|
+
items.append(porcelain)
|
5108
|
+
end
|
5109
|
+
items
|
5110
|
+
end
|
4821
5111
|
def self.convert_resource_to_plumbing(porcelain)
|
4822
5112
|
if porcelain == nil
|
4823
5113
|
return nil
|
@@ -5989,6 +6279,7 @@ module SDM
|
|
5989
6279
|
porcelain.healthy = (plumbing.healthy)
|
5990
6280
|
porcelain.hostname = (plumbing.hostname)
|
5991
6281
|
porcelain.id = (plumbing.id)
|
6282
|
+
porcelain.key_type = (plumbing.key_type)
|
5992
6283
|
porcelain.name = (plumbing.name)
|
5993
6284
|
porcelain.port = (plumbing.port)
|
5994
6285
|
porcelain.port_forwarding = (plumbing.port_forwarding)
|
@@ -6011,6 +6302,7 @@ module SDM
|
|
6011
6302
|
plumbing.healthy = (porcelain.healthy)
|
6012
6303
|
plumbing.hostname = (porcelain.hostname)
|
6013
6304
|
plumbing.id = (porcelain.id)
|
6305
|
+
plumbing.key_type = (porcelain.key_type)
|
6014
6306
|
plumbing.name = (porcelain.name)
|
6015
6307
|
plumbing.port = (porcelain.port)
|
6016
6308
|
plumbing.port_forwarding = (porcelain.port_forwarding)
|
@@ -6049,10 +6341,13 @@ module SDM
|
|
6049
6341
|
porcelain.healthy = (plumbing.healthy)
|
6050
6342
|
porcelain.hostname = (plumbing.hostname)
|
6051
6343
|
porcelain.id = (plumbing.id)
|
6344
|
+
porcelain.key_type = (plumbing.key_type)
|
6052
6345
|
porcelain.name = (plumbing.name)
|
6053
6346
|
porcelain.port = (plumbing.port)
|
6054
6347
|
porcelain.port_forwarding = (plumbing.port_forwarding)
|
6055
6348
|
porcelain.port_override = (plumbing.port_override)
|
6349
|
+
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
6350
|
+
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
6056
6351
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
6057
6352
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
6058
6353
|
porcelain.username = (plumbing.username)
|
@@ -6070,10 +6365,13 @@ module SDM
|
|
6070
6365
|
plumbing.healthy = (porcelain.healthy)
|
6071
6366
|
plumbing.hostname = (porcelain.hostname)
|
6072
6367
|
plumbing.id = (porcelain.id)
|
6368
|
+
plumbing.key_type = (porcelain.key_type)
|
6073
6369
|
plumbing.name = (porcelain.name)
|
6074
6370
|
plumbing.port = (porcelain.port)
|
6075
6371
|
plumbing.port_forwarding = (porcelain.port_forwarding)
|
6076
6372
|
plumbing.port_override = (porcelain.port_override)
|
6373
|
+
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
6374
|
+
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
6077
6375
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
6078
6376
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
6079
6377
|
plumbing.username = (porcelain.username)
|
@@ -0,0 +1,90 @@
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
#
|
15
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
16
|
+
# source: remote_identities.proto
|
17
|
+
|
18
|
+
require "google/protobuf"
|
19
|
+
|
20
|
+
require "options_pb"
|
21
|
+
require "spec_pb"
|
22
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
23
|
+
add_file("remote_identities.proto", :syntax => :proto3) do
|
24
|
+
add_message "v1.RemoteIdentityCreateRequest" do
|
25
|
+
optional :meta, :message, 1, "v1.CreateRequestMetadata"
|
26
|
+
optional :remote_identity, :message, 2, "v1.RemoteIdentity"
|
27
|
+
end
|
28
|
+
add_message "v1.RemoteIdentityCreateResponse" do
|
29
|
+
optional :meta, :message, 1, "v1.CreateResponseMetadata"
|
30
|
+
optional :remote_identity, :message, 2, "v1.RemoteIdentity"
|
31
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
32
|
+
end
|
33
|
+
add_message "v1.RemoteIdentityGetRequest" do
|
34
|
+
optional :meta, :message, 1, "v1.GetRequestMetadata"
|
35
|
+
optional :id, :string, 2
|
36
|
+
end
|
37
|
+
add_message "v1.RemoteIdentityGetResponse" do
|
38
|
+
optional :meta, :message, 1, "v1.GetResponseMetadata"
|
39
|
+
optional :remote_identity, :message, 2, "v1.RemoteIdentity"
|
40
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
41
|
+
end
|
42
|
+
add_message "v1.RemoteIdentityUpdateRequest" do
|
43
|
+
optional :meta, :message, 1, "v1.UpdateRequestMetadata"
|
44
|
+
optional :id, :string, 2
|
45
|
+
optional :remote_identity, :message, 3, "v1.RemoteIdentity"
|
46
|
+
end
|
47
|
+
add_message "v1.RemoteIdentityUpdateResponse" do
|
48
|
+
optional :meta, :message, 1, "v1.UpdateResponseMetadata"
|
49
|
+
optional :remote_identity, :message, 2, "v1.RemoteIdentity"
|
50
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
51
|
+
end
|
52
|
+
add_message "v1.RemoteIdentityDeleteRequest" do
|
53
|
+
optional :meta, :message, 1, "v1.DeleteRequestMetadata"
|
54
|
+
optional :id, :string, 2
|
55
|
+
end
|
56
|
+
add_message "v1.RemoteIdentityDeleteResponse" do
|
57
|
+
optional :meta, :message, 1, "v1.DeleteResponseMetadata"
|
58
|
+
optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
|
59
|
+
end
|
60
|
+
add_message "v1.RemoteIdentityListRequest" do
|
61
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
62
|
+
optional :filter, :string, 2
|
63
|
+
end
|
64
|
+
add_message "v1.RemoteIdentityListResponse" do
|
65
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
66
|
+
repeated :remote_identities, :message, 2, "v1.RemoteIdentity"
|
67
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
68
|
+
end
|
69
|
+
add_message "v1.RemoteIdentity" do
|
70
|
+
optional :id, :string, 1
|
71
|
+
optional :account_id, :string, 2
|
72
|
+
optional :remote_identity_group_id, :string, 3
|
73
|
+
optional :username, :string, 4
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
module V1
|
79
|
+
RemoteIdentityCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RemoteIdentityCreateRequest").msgclass
|
80
|
+
RemoteIdentityCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RemoteIdentityCreateResponse").msgclass
|
81
|
+
RemoteIdentityGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RemoteIdentityGetRequest").msgclass
|
82
|
+
RemoteIdentityGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RemoteIdentityGetResponse").msgclass
|
83
|
+
RemoteIdentityUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RemoteIdentityUpdateRequest").msgclass
|
84
|
+
RemoteIdentityUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RemoteIdentityUpdateResponse").msgclass
|
85
|
+
RemoteIdentityDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RemoteIdentityDeleteRequest").msgclass
|
86
|
+
RemoteIdentityDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RemoteIdentityDeleteResponse").msgclass
|
87
|
+
RemoteIdentityListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RemoteIdentityListRequest").msgclass
|
88
|
+
RemoteIdentityListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RemoteIdentityListResponse").msgclass
|
89
|
+
RemoteIdentity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RemoteIdentity").msgclass
|
90
|
+
end
|