strongdm 11.10.0__zip → 11.11.0__zip

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.
Files changed (143) hide show
  1. {strongdm-11.10.0 → strongdm-11.11.0}/PKG-INFO +2 -2
  2. {strongdm-11.10.0 → strongdm-11.11.0}/setup.py +2 -2
  3. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/client.py +20 -1
  4. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/constants.py +1 -0
  5. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/drivers_pb2.py +348 -348
  6. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/models.py +313 -0
  7. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/nodes_pb2.py +37 -37
  8. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/organization_history_pb2.py +6 -4
  9. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/plumbing.py +205 -0
  10. strongdm-11.11.0/strongdm/proxy_cluster_keys_pb2.py +191 -0
  11. strongdm-11.11.0/strongdm/proxy_cluster_keys_pb2_grpc.py +192 -0
  12. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/svc.py +178 -0
  13. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm.egg-info/PKG-INFO +2 -2
  14. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm.egg-info/SOURCES.txt +2 -0
  15. {strongdm-11.10.0 → strongdm-11.11.0}/LICENSE +0 -0
  16. {strongdm-11.10.0 → strongdm-11.11.0}/README.md +0 -0
  17. {strongdm-11.10.0 → strongdm-11.11.0}/setup.cfg +0 -0
  18. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/__init__.py +0 -0
  19. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/access_request_events_history_pb2.py +0 -0
  20. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/access_request_events_history_pb2_grpc.py +0 -0
  21. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/access_requests_history_pb2.py +0 -0
  22. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/access_requests_history_pb2_grpc.py +0 -0
  23. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/access_requests_pb2.py +0 -0
  24. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/access_requests_pb2_grpc.py +0 -0
  25. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/account_attachments_history_pb2.py +0 -0
  26. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/account_attachments_history_pb2_grpc.py +0 -0
  27. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/account_attachments_pb2.py +0 -0
  28. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/account_attachments_pb2_grpc.py +0 -0
  29. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/account_grants_history_pb2.py +0 -0
  30. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/account_grants_history_pb2_grpc.py +0 -0
  31. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/account_grants_pb2.py +0 -0
  32. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/account_grants_pb2_grpc.py +0 -0
  33. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/account_permissions_pb2.py +0 -0
  34. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/account_permissions_pb2_grpc.py +0 -0
  35. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/account_resources_history_pb2.py +0 -0
  36. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/account_resources_history_pb2_grpc.py +0 -0
  37. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/account_resources_pb2.py +0 -0
  38. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/account_resources_pb2_grpc.py +0 -0
  39. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/accounts_history_pb2.py +0 -0
  40. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/accounts_history_pb2_grpc.py +0 -0
  41. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/accounts_pb2.py +0 -0
  42. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/accounts_pb2_grpc.py +0 -0
  43. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/activities_pb2.py +0 -0
  44. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/activities_pb2_grpc.py +0 -0
  45. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/approval_workflow_approvers_history_pb2.py +0 -0
  46. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/approval_workflow_approvers_history_pb2_grpc.py +0 -0
  47. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/approval_workflow_approvers_pb2.py +0 -0
  48. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/approval_workflow_approvers_pb2_grpc.py +0 -0
  49. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/approval_workflow_steps_history_pb2.py +0 -0
  50. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/approval_workflow_steps_history_pb2_grpc.py +0 -0
  51. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/approval_workflow_steps_pb2.py +0 -0
  52. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/approval_workflow_steps_pb2_grpc.py +0 -0
  53. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/approval_workflows_history_pb2.py +0 -0
  54. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/approval_workflows_history_pb2_grpc.py +0 -0
  55. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/approval_workflows_pb2.py +0 -0
  56. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/approval_workflows_pb2_grpc.py +0 -0
  57. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/control_panel_pb2.py +0 -0
  58. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/control_panel_pb2_grpc.py +0 -0
  59. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/drivers_pb2_grpc.py +0 -0
  60. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/errors.py +0 -0
  61. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/identity_aliases_history_pb2.py +0 -0
  62. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/identity_aliases_history_pb2_grpc.py +0 -0
  63. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/identity_aliases_pb2.py +0 -0
  64. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/identity_aliases_pb2_grpc.py +0 -0
  65. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/identity_sets_history_pb2.py +0 -0
  66. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/identity_sets_history_pb2_grpc.py +0 -0
  67. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/identity_sets_pb2.py +0 -0
  68. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/identity_sets_pb2_grpc.py +0 -0
  69. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/nodes_history_pb2.py +0 -0
  70. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/nodes_history_pb2_grpc.py +0 -0
  71. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/nodes_pb2_grpc.py +0 -0
  72. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/options_pb2.py +0 -0
  73. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/options_pb2_grpc.py +0 -0
  74. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/organization_history_pb2_grpc.py +0 -0
  75. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/peering_group_nodes_pb2.py +0 -0
  76. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/peering_group_nodes_pb2_grpc.py +0 -0
  77. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/peering_group_peers_pb2.py +0 -0
  78. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/peering_group_peers_pb2_grpc.py +0 -0
  79. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/peering_group_resources_pb2.py +0 -0
  80. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/peering_group_resources_pb2_grpc.py +0 -0
  81. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/peering_groups_pb2.py +0 -0
  82. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/peering_groups_pb2_grpc.py +0 -0
  83. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/policies_history_pb2.py +0 -0
  84. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/policies_history_pb2_grpc.py +0 -0
  85. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/policies_pb2.py +0 -0
  86. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/policies_pb2_grpc.py +0 -0
  87. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/queries_pb2.py +0 -0
  88. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/queries_pb2_grpc.py +0 -0
  89. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/remote_identities_history_pb2.py +0 -0
  90. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/remote_identities_history_pb2_grpc.py +0 -0
  91. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/remote_identities_pb2.py +0 -0
  92. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/remote_identities_pb2_grpc.py +0 -0
  93. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/remote_identity_groups_history_pb2.py +0 -0
  94. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/remote_identity_groups_history_pb2_grpc.py +0 -0
  95. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/remote_identity_groups_pb2.py +0 -0
  96. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/remote_identity_groups_pb2_grpc.py +0 -0
  97. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/replays_pb2.py +0 -0
  98. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/replays_pb2_grpc.py +0 -0
  99. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/resources_history_pb2.py +0 -0
  100. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/resources_history_pb2_grpc.py +0 -0
  101. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/resources_pb2.py +0 -0
  102. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/resources_pb2_grpc.py +0 -0
  103. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/role_resources_history_pb2.py +0 -0
  104. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/role_resources_history_pb2_grpc.py +0 -0
  105. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/role_resources_pb2.py +0 -0
  106. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/role_resources_pb2_grpc.py +0 -0
  107. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/roles_history_pb2.py +0 -0
  108. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/roles_history_pb2_grpc.py +0 -0
  109. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/roles_pb2.py +0 -0
  110. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/roles_pb2_grpc.py +0 -0
  111. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/secret_engine_policy_pb2_grpc.py +0 -0
  112. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/secret_engine_types_pb2_grpc.py +0 -0
  113. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/secret_store_healths_pb2.py +0 -0
  114. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/secret_store_healths_pb2_grpc.py +0 -0
  115. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/secret_store_types_pb2.py +0 -0
  116. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/secret_store_types_pb2_grpc.py +0 -0
  117. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/secret_stores_history_pb2.py +0 -0
  118. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/secret_stores_history_pb2_grpc.py +0 -0
  119. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/secret_stores_pb2.py +0 -0
  120. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/secret_stores_pb2_grpc.py +0 -0
  121. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/spec_pb2.py +0 -0
  122. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/spec_pb2_grpc.py +0 -0
  123. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/tags_pb2.py +0 -0
  124. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/tags_pb2_grpc.py +0 -0
  125. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflow_approvers_history_pb2.py +0 -0
  126. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflow_approvers_history_pb2_grpc.py +0 -0
  127. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflow_approvers_pb2.py +0 -0
  128. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflow_approvers_pb2_grpc.py +0 -0
  129. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflow_assignments_history_pb2.py +0 -0
  130. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflow_assignments_history_pb2_grpc.py +0 -0
  131. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflow_assignments_pb2.py +0 -0
  132. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflow_assignments_pb2_grpc.py +0 -0
  133. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflow_roles_history_pb2.py +0 -0
  134. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflow_roles_history_pb2_grpc.py +0 -0
  135. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflow_roles_pb2.py +0 -0
  136. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflow_roles_pb2_grpc.py +0 -0
  137. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflows_history_pb2.py +0 -0
  138. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflows_history_pb2_grpc.py +0 -0
  139. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflows_pb2.py +0 -0
  140. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm/workflows_pb2_grpc.py +0 -0
  141. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm.egg-info/dependency_links.txt +0 -0
  142. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm.egg-info/requires.txt +0 -0
  143. {strongdm-11.10.0 → strongdm-11.11.0}/strongdm.egg-info/top_level.txt +0 -0
@@ -61,6 +61,7 @@ from .peering_group_resources_pb2 import *
61
61
  from .peering_groups_pb2 import *
62
62
  from .policies_pb2 import *
63
63
  from .policies_history_pb2 import *
64
+ from .proxy_cluster_keys_pb2 import *
64
65
  from .queries_pb2 import *
65
66
  from .remote_identities_pb2 import *
66
67
  from .remote_identities_history_pb2 import *
@@ -6864,6 +6865,9 @@ def convert_node_to_plumbing(porcelain):
6864
6865
  return plumbing
6865
6866
  if isinstance(porcelain, models.Gateway):
6866
6867
  plumbing.gateway.CopyFrom(convert_gateway_to_plumbing(porcelain))
6868
+ if isinstance(porcelain, models.ProxyCluster):
6869
+ plumbing.proxy_cluster.CopyFrom(
6870
+ convert_proxy_cluster_to_plumbing(porcelain))
6867
6871
  if isinstance(porcelain, models.Relay):
6868
6872
  plumbing.relay.CopyFrom(convert_relay_to_plumbing(porcelain))
6869
6873
  return plumbing
@@ -6874,6 +6878,8 @@ def convert_node_to_porcelain(plumbing):
6874
6878
  return None
6875
6879
  if plumbing.HasField('gateway'):
6876
6880
  return convert_gateway_to_porcelain(plumbing.gateway)
6881
+ if plumbing.HasField('proxy_cluster'):
6882
+ return convert_proxy_cluster_to_porcelain(plumbing.proxy_cluster)
6877
6883
  if plumbing.HasField('relay'):
6878
6884
  return convert_relay_to_porcelain(plumbing.relay)
6879
6885
  raise errors.UnknownError(
@@ -7167,6 +7173,7 @@ def convert_organization_to_porcelain(plumbing):
7167
7173
  porcelain.created_at = convert_timestamp_to_porcelain(plumbing.created_at)
7168
7174
  porcelain.device_trust_enabled = (plumbing.device_trust_enabled)
7169
7175
  porcelain.device_trust_provider = (plumbing.device_trust_provider)
7176
+ porcelain.enforce_single_session = (plumbing.enforce_single_session)
7170
7177
  porcelain.idle_timeout = convert_duration_to_porcelain(
7171
7178
  plumbing.idle_timeout)
7172
7179
  porcelain.idle_timeout_enabled = (plumbing.idle_timeout_enabled)
@@ -7206,6 +7213,7 @@ def convert_organization_to_plumbing(porcelain):
7206
7213
  convert_timestamp_to_plumbing(porcelain.created_at))
7207
7214
  plumbing.device_trust_enabled = (porcelain.device_trust_enabled)
7208
7215
  plumbing.device_trust_provider = (porcelain.device_trust_provider)
7216
+ plumbing.enforce_single_session = (porcelain.enforce_single_session)
7209
7217
  plumbing.idle_timeout.CopyFrom(
7210
7218
  convert_duration_to_plumbing(porcelain.idle_timeout))
7211
7219
  plumbing.idle_timeout_enabled = (porcelain.idle_timeout_enabled)
@@ -8238,6 +8246,203 @@ def convert_repeated_presto_to_porcelain(plumbings):
8238
8246
  return [convert_presto_to_porcelain(plumbing) for plumbing in plumbings]
8239
8247
 
8240
8248
 
8249
+ def convert_proxy_cluster_to_porcelain(plumbing):
8250
+ if plumbing is None:
8251
+ return None
8252
+ porcelain = models.ProxyCluster()
8253
+ porcelain.address = (plumbing.address)
8254
+ porcelain.id = (plumbing.id)
8255
+ porcelain.maintenance_windows = convert_repeated_node_maintenance_window_to_porcelain(
8256
+ plumbing.maintenance_windows)
8257
+ porcelain.name = (plumbing.name)
8258
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
8259
+ return porcelain
8260
+
8261
+
8262
+ def convert_proxy_cluster_to_plumbing(porcelain):
8263
+ plumbing = ProxyCluster()
8264
+ if porcelain is None:
8265
+ return plumbing
8266
+ plumbing.address = (porcelain.address)
8267
+ plumbing.id = (porcelain.id)
8268
+ del plumbing.maintenance_windows[:]
8269
+ plumbing.maintenance_windows.extend(
8270
+ convert_repeated_node_maintenance_window_to_plumbing(
8271
+ porcelain.maintenance_windows))
8272
+ plumbing.name = (porcelain.name)
8273
+ plumbing.tags.CopyFrom(convert_tags_to_plumbing(porcelain.tags))
8274
+ return plumbing
8275
+
8276
+
8277
+ def convert_repeated_proxy_cluster_to_plumbing(porcelains):
8278
+ return [
8279
+ convert_proxy_cluster_to_plumbing(porcelain)
8280
+ for porcelain in porcelains
8281
+ ]
8282
+
8283
+
8284
+ def convert_repeated_proxy_cluster_to_porcelain(plumbings):
8285
+ return [
8286
+ convert_proxy_cluster_to_porcelain(plumbing) for plumbing in plumbings
8287
+ ]
8288
+
8289
+
8290
+ def convert_proxy_cluster_key_to_porcelain(plumbing):
8291
+ if plumbing is None:
8292
+ return None
8293
+ porcelain = models.ProxyClusterKey()
8294
+ porcelain.created_at = convert_timestamp_to_porcelain(plumbing.created_at)
8295
+ porcelain.id = (plumbing.id)
8296
+ porcelain.last_used_at = convert_timestamp_to_porcelain(
8297
+ plumbing.last_used_at)
8298
+ porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
8299
+ return porcelain
8300
+
8301
+
8302
+ def convert_proxy_cluster_key_to_plumbing(porcelain):
8303
+ plumbing = ProxyClusterKey()
8304
+ if porcelain is None:
8305
+ return plumbing
8306
+ plumbing.created_at.CopyFrom(
8307
+ convert_timestamp_to_plumbing(porcelain.created_at))
8308
+ plumbing.id = (porcelain.id)
8309
+ plumbing.last_used_at.CopyFrom(
8310
+ convert_timestamp_to_plumbing(porcelain.last_used_at))
8311
+ plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
8312
+ return plumbing
8313
+
8314
+
8315
+ def convert_repeated_proxy_cluster_key_to_plumbing(porcelains):
8316
+ return [
8317
+ convert_proxy_cluster_key_to_plumbing(porcelain)
8318
+ for porcelain in porcelains
8319
+ ]
8320
+
8321
+
8322
+ def convert_repeated_proxy_cluster_key_to_porcelain(plumbings):
8323
+ return [
8324
+ convert_proxy_cluster_key_to_porcelain(plumbing)
8325
+ for plumbing in plumbings
8326
+ ]
8327
+
8328
+
8329
+ def convert_proxy_cluster_key_create_response_to_porcelain(plumbing):
8330
+ if plumbing is None:
8331
+ return None
8332
+ porcelain = models.ProxyClusterKeyCreateResponse()
8333
+ porcelain.meta = convert_create_response_metadata_to_porcelain(
8334
+ plumbing.meta)
8335
+ porcelain.proxy_cluster_key = convert_proxy_cluster_key_to_porcelain(
8336
+ plumbing.proxy_cluster_key)
8337
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
8338
+ plumbing.rate_limit)
8339
+ porcelain.secret_key = (plumbing.secret_key)
8340
+ return porcelain
8341
+
8342
+
8343
+ def convert_proxy_cluster_key_create_response_to_plumbing(porcelain):
8344
+ plumbing = ProxyClusterKeyCreateResponse()
8345
+ if porcelain is None:
8346
+ return plumbing
8347
+ plumbing.meta.CopyFrom(
8348
+ convert_create_response_metadata_to_plumbing(porcelain.meta))
8349
+ plumbing.proxy_cluster_key.CopyFrom(
8350
+ convert_proxy_cluster_key_to_plumbing(porcelain.proxy_cluster_key))
8351
+ plumbing.rate_limit.CopyFrom(
8352
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
8353
+ plumbing.secret_key = (porcelain.secret_key)
8354
+ return plumbing
8355
+
8356
+
8357
+ def convert_repeated_proxy_cluster_key_create_response_to_plumbing(porcelains):
8358
+ return [
8359
+ convert_proxy_cluster_key_create_response_to_plumbing(porcelain)
8360
+ for porcelain in porcelains
8361
+ ]
8362
+
8363
+
8364
+ def convert_repeated_proxy_cluster_key_create_response_to_porcelain(plumbings):
8365
+ return [
8366
+ convert_proxy_cluster_key_create_response_to_porcelain(plumbing)
8367
+ for plumbing in plumbings
8368
+ ]
8369
+
8370
+
8371
+ def convert_proxy_cluster_key_delete_response_to_porcelain(plumbing):
8372
+ if plumbing is None:
8373
+ return None
8374
+ porcelain = models.ProxyClusterKeyDeleteResponse()
8375
+ porcelain.meta = convert_delete_response_metadata_to_porcelain(
8376
+ plumbing.meta)
8377
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
8378
+ plumbing.rate_limit)
8379
+ return porcelain
8380
+
8381
+
8382
+ def convert_proxy_cluster_key_delete_response_to_plumbing(porcelain):
8383
+ plumbing = ProxyClusterKeyDeleteResponse()
8384
+ if porcelain is None:
8385
+ return plumbing
8386
+ plumbing.meta.CopyFrom(
8387
+ convert_delete_response_metadata_to_plumbing(porcelain.meta))
8388
+ plumbing.rate_limit.CopyFrom(
8389
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
8390
+ return plumbing
8391
+
8392
+
8393
+ def convert_repeated_proxy_cluster_key_delete_response_to_plumbing(porcelains):
8394
+ return [
8395
+ convert_proxy_cluster_key_delete_response_to_plumbing(porcelain)
8396
+ for porcelain in porcelains
8397
+ ]
8398
+
8399
+
8400
+ def convert_repeated_proxy_cluster_key_delete_response_to_porcelain(plumbings):
8401
+ return [
8402
+ convert_proxy_cluster_key_delete_response_to_porcelain(plumbing)
8403
+ for plumbing in plumbings
8404
+ ]
8405
+
8406
+
8407
+ def convert_proxy_cluster_key_get_response_to_porcelain(plumbing):
8408
+ if plumbing is None:
8409
+ return None
8410
+ porcelain = models.ProxyClusterKeyGetResponse()
8411
+ porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
8412
+ porcelain.proxy_cluster_key = convert_proxy_cluster_key_to_porcelain(
8413
+ plumbing.proxy_cluster_key)
8414
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
8415
+ plumbing.rate_limit)
8416
+ return porcelain
8417
+
8418
+
8419
+ def convert_proxy_cluster_key_get_response_to_plumbing(porcelain):
8420
+ plumbing = ProxyClusterKeyGetResponse()
8421
+ if porcelain is None:
8422
+ return plumbing
8423
+ plumbing.meta.CopyFrom(
8424
+ convert_get_response_metadata_to_plumbing(porcelain.meta))
8425
+ plumbing.proxy_cluster_key.CopyFrom(
8426
+ convert_proxy_cluster_key_to_plumbing(porcelain.proxy_cluster_key))
8427
+ plumbing.rate_limit.CopyFrom(
8428
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
8429
+ return plumbing
8430
+
8431
+
8432
+ def convert_repeated_proxy_cluster_key_get_response_to_plumbing(porcelains):
8433
+ return [
8434
+ convert_proxy_cluster_key_get_response_to_plumbing(porcelain)
8435
+ for porcelain in porcelains
8436
+ ]
8437
+
8438
+
8439
+ def convert_repeated_proxy_cluster_key_get_response_to_porcelain(plumbings):
8440
+ return [
8441
+ convert_proxy_cluster_key_get_response_to_porcelain(plumbing)
8442
+ for plumbing in plumbings
8443
+ ]
8444
+
8445
+
8241
8446
  def convert_query_to_porcelain(plumbing):
8242
8447
  if plumbing is None:
8243
8448
  return None
@@ -0,0 +1,191 @@
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
+ # -*- coding: utf-8 -*-
16
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
17
+ # source: proxy_cluster_keys.proto
18
+ """Generated protocol buffer code."""
19
+ from google.protobuf import descriptor as _descriptor
20
+ from google.protobuf import descriptor_pool as _descriptor_pool
21
+ from google.protobuf import message as _message
22
+ from google.protobuf import reflection as _reflection
23
+ from google.protobuf import symbol_database as _symbol_database
24
+ # @@protoc_insertion_point(imports)
25
+
26
+ _sym_db = _symbol_database.Default()
27
+
28
+
29
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
30
+ from . import options_pb2 as options__pb2
31
+ from . import spec_pb2 as spec__pb2
32
+
33
+
34
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18proxy_cluster_keys.proto\x12\x02v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\roptions.proto\x1a\nspec.proto\"\x83\x01\n\x1cProxyClusterKeyCreateRequest\x12\'\n\x04meta\x18\x01 \x01(\x0b\x32\x19.v1.CreateRequestMetadata\x12:\n\x11proxy_cluster_key\x18\x02 \x01(\x0b\x32\x13.v1.ProxyClusterKeyB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\x9b\x02\n\x1dProxyClusterKeyCreateResponse\x12\x34\n\x04meta\x18\x01 \x01(\x0b\x32\x1a.v1.CreateResponseMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12:\n\x11proxy_cluster_key\x18\x02 \x01(\x0b\x32\x13.v1.ProxyClusterKeyB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12#\n\nsecret_key\x18\x03 \x01(\tB\x0f\xf2\xf8\xb3\x07\n\xb0\xf3\xb3\x07\x01\xf0\xf3\xb3\x07\x01\x12W\n\nrate_limit\x18\x04 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\"Y\n\x19ProxyClusterKeyGetRequest\x12$\n\x04meta\x18\x01 \x01(\x0b\x32\x16.v1.GetRequestMetadata\x12\x16\n\x02id\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\xf0\x01\n\x1aProxyClusterKeyGetResponse\x12\x31\n\x04meta\x18\x01 \x01(\x0b\x32\x17.v1.GetResponseMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12:\n\x11proxy_cluster_key\x18\x02 \x01(\x0b\x32\x13.v1.ProxyClusterKeyB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12W\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\"_\n\x1cProxyClusterKeyDeleteRequest\x12\'\n\x04meta\x18\x01 \x01(\x0b\x32\x19.v1.DeleteRequestMetadata\x12\x16\n\x02id\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\xba\x01\n\x1dProxyClusterKeyDeleteResponse\x12\x34\n\x04meta\x18\x01 \x01(\x0b\x32\x1a.v1.DeleteResponseMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12W\n\nrate_limit\x18\x02 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\"_\n\x1aProxyClusterKeyListRequest\x12%\n\x04meta\x18\x01 \x01(\x0b\x32\x17.v1.ListRequestMetadata\x12\x1a\n\x06\x66ilter\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\xdb\x01\n\x1bProxyClusterKeyListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12;\n\x12proxy_cluster_keys\x18\x02 \x03(\x0b\x32\x13.v1.ProxyClusterKeyB\n\xf2\xf8\xb3\x07\x05\xb8\xf3\xb3\x07\x01\x12W\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway\"\x90\x03\n\x0fProxyClusterKey\x12\x16\n\x02id\x18\x01 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12.\n\x10proxy_cluster_id\x18\x02 \x01(\tB\x14\xf2\xf8\xb3\x07\x0f\xb0\xf3\xb3\x07\x01\xc0\xf3\xb3\x07\x01\xe0\xf3\xb3\x07\x01\x12]\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB-\xf2\xf8\xb3\x07(\xb0\xf3\xb3\x07\x01\x98\xf4\xb3\x07\x01\xb2\xf4\xb3\x07\x01*\xb2\xf4\xb3\x07\x13!terraform-provider\x12_\n\x0clast_used_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB-\xf2\xf8\xb3\x07(\xb0\xf3\xb3\x07\x01\x98\xf4\xb3\x07\x01\xb2\xf4\xb3\x07\x01*\xb2\xf4\xb3\x07\x13!terraform-provider:u\xfa\xf8\xb3\x07\x66\xc2\xf3\xb3\x07\x61\xa2\xf3\xb3\x07*tf_examples/proxy_cluster_key_resource.txt\xaa\xf3\xb3\x07-tf_examples/proxy_cluster_key_data_source.txt\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\x32\xbc\x04\n\x10ProxyClusterKeys\x12}\n\x06\x43reate\x12 .v1.ProxyClusterKeyCreateRequest\x1a!.v1.ProxyClusterKeyCreateResponse\".\x82\xf9\xb3\x07\t\xa2\xf3\xb3\x07\x04post\x82\xf9\xb3\x07\x1b\xaa\xf3\xb3\x07\x16/v1/proxy-cluster-keys\x12x\n\x03Get\x12\x1d.v1.ProxyClusterKeyGetRequest\x1a\x1e.v1.ProxyClusterKeyGetResponse\"2\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07 \xaa\xf3\xb3\x07\x1b/v1/proxy-cluster-keys/{id}\x12\x84\x01\n\x06\x44\x65lete\x12 .v1.ProxyClusterKeyDeleteRequest\x1a!.v1.ProxyClusterKeyDeleteResponse\"5\x82\xf9\xb3\x07\x0b\xa2\xf3\xb3\x07\x06\x64\x65lete\x82\xf9\xb3\x07 \xaa\xf3\xb3\x07\x1b/v1/proxy-cluster-keys/{id}\x12v\n\x04List\x12\x1e.v1.ProxyClusterKeyListRequest\x1a\x1f.v1.ProxyClusterKeyListResponse\"-\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x1b\xaa\xf3\xb3\x07\x16/v1/proxy-cluster-keys\x1a\x30\xca\xf9\xb3\x07\x14\xc2\xf9\xb3\x07\x0fProxyClusterKey\xca\xf9\xb3\x07\x08\xd2\xf9\xb3\x07\x03gk-\xca\xf9\xb3\x07\x05\xe8\xf9\xb3\x07\x01\x42l\n\x19\x63om.strongdm.api.plumbingB\x18ProxyClusterKeysPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1b\x06proto3')
35
+
36
+
37
+
38
+ _PROXYCLUSTERKEYCREATEREQUEST = DESCRIPTOR.message_types_by_name['ProxyClusterKeyCreateRequest']
39
+ _PROXYCLUSTERKEYCREATERESPONSE = DESCRIPTOR.message_types_by_name['ProxyClusterKeyCreateResponse']
40
+ _PROXYCLUSTERKEYGETREQUEST = DESCRIPTOR.message_types_by_name['ProxyClusterKeyGetRequest']
41
+ _PROXYCLUSTERKEYGETRESPONSE = DESCRIPTOR.message_types_by_name['ProxyClusterKeyGetResponse']
42
+ _PROXYCLUSTERKEYDELETEREQUEST = DESCRIPTOR.message_types_by_name['ProxyClusterKeyDeleteRequest']
43
+ _PROXYCLUSTERKEYDELETERESPONSE = DESCRIPTOR.message_types_by_name['ProxyClusterKeyDeleteResponse']
44
+ _PROXYCLUSTERKEYLISTREQUEST = DESCRIPTOR.message_types_by_name['ProxyClusterKeyListRequest']
45
+ _PROXYCLUSTERKEYLISTRESPONSE = DESCRIPTOR.message_types_by_name['ProxyClusterKeyListResponse']
46
+ _PROXYCLUSTERKEY = DESCRIPTOR.message_types_by_name['ProxyClusterKey']
47
+ ProxyClusterKeyCreateRequest = _reflection.GeneratedProtocolMessageType('ProxyClusterKeyCreateRequest', (_message.Message,), {
48
+ 'DESCRIPTOR' : _PROXYCLUSTERKEYCREATEREQUEST,
49
+ '__module__' : 'proxy_cluster_keys_pb2'
50
+ # @@protoc_insertion_point(class_scope:v1.ProxyClusterKeyCreateRequest)
51
+ })
52
+ _sym_db.RegisterMessage(ProxyClusterKeyCreateRequest)
53
+
54
+ ProxyClusterKeyCreateResponse = _reflection.GeneratedProtocolMessageType('ProxyClusterKeyCreateResponse', (_message.Message,), {
55
+ 'DESCRIPTOR' : _PROXYCLUSTERKEYCREATERESPONSE,
56
+ '__module__' : 'proxy_cluster_keys_pb2'
57
+ # @@protoc_insertion_point(class_scope:v1.ProxyClusterKeyCreateResponse)
58
+ })
59
+ _sym_db.RegisterMessage(ProxyClusterKeyCreateResponse)
60
+
61
+ ProxyClusterKeyGetRequest = _reflection.GeneratedProtocolMessageType('ProxyClusterKeyGetRequest', (_message.Message,), {
62
+ 'DESCRIPTOR' : _PROXYCLUSTERKEYGETREQUEST,
63
+ '__module__' : 'proxy_cluster_keys_pb2'
64
+ # @@protoc_insertion_point(class_scope:v1.ProxyClusterKeyGetRequest)
65
+ })
66
+ _sym_db.RegisterMessage(ProxyClusterKeyGetRequest)
67
+
68
+ ProxyClusterKeyGetResponse = _reflection.GeneratedProtocolMessageType('ProxyClusterKeyGetResponse', (_message.Message,), {
69
+ 'DESCRIPTOR' : _PROXYCLUSTERKEYGETRESPONSE,
70
+ '__module__' : 'proxy_cluster_keys_pb2'
71
+ # @@protoc_insertion_point(class_scope:v1.ProxyClusterKeyGetResponse)
72
+ })
73
+ _sym_db.RegisterMessage(ProxyClusterKeyGetResponse)
74
+
75
+ ProxyClusterKeyDeleteRequest = _reflection.GeneratedProtocolMessageType('ProxyClusterKeyDeleteRequest', (_message.Message,), {
76
+ 'DESCRIPTOR' : _PROXYCLUSTERKEYDELETEREQUEST,
77
+ '__module__' : 'proxy_cluster_keys_pb2'
78
+ # @@protoc_insertion_point(class_scope:v1.ProxyClusterKeyDeleteRequest)
79
+ })
80
+ _sym_db.RegisterMessage(ProxyClusterKeyDeleteRequest)
81
+
82
+ ProxyClusterKeyDeleteResponse = _reflection.GeneratedProtocolMessageType('ProxyClusterKeyDeleteResponse', (_message.Message,), {
83
+ 'DESCRIPTOR' : _PROXYCLUSTERKEYDELETERESPONSE,
84
+ '__module__' : 'proxy_cluster_keys_pb2'
85
+ # @@protoc_insertion_point(class_scope:v1.ProxyClusterKeyDeleteResponse)
86
+ })
87
+ _sym_db.RegisterMessage(ProxyClusterKeyDeleteResponse)
88
+
89
+ ProxyClusterKeyListRequest = _reflection.GeneratedProtocolMessageType('ProxyClusterKeyListRequest', (_message.Message,), {
90
+ 'DESCRIPTOR' : _PROXYCLUSTERKEYLISTREQUEST,
91
+ '__module__' : 'proxy_cluster_keys_pb2'
92
+ # @@protoc_insertion_point(class_scope:v1.ProxyClusterKeyListRequest)
93
+ })
94
+ _sym_db.RegisterMessage(ProxyClusterKeyListRequest)
95
+
96
+ ProxyClusterKeyListResponse = _reflection.GeneratedProtocolMessageType('ProxyClusterKeyListResponse', (_message.Message,), {
97
+ 'DESCRIPTOR' : _PROXYCLUSTERKEYLISTRESPONSE,
98
+ '__module__' : 'proxy_cluster_keys_pb2'
99
+ # @@protoc_insertion_point(class_scope:v1.ProxyClusterKeyListResponse)
100
+ })
101
+ _sym_db.RegisterMessage(ProxyClusterKeyListResponse)
102
+
103
+ ProxyClusterKey = _reflection.GeneratedProtocolMessageType('ProxyClusterKey', (_message.Message,), {
104
+ 'DESCRIPTOR' : _PROXYCLUSTERKEY,
105
+ '__module__' : 'proxy_cluster_keys_pb2'
106
+ # @@protoc_insertion_point(class_scope:v1.ProxyClusterKey)
107
+ })
108
+ _sym_db.RegisterMessage(ProxyClusterKey)
109
+
110
+ _PROXYCLUSTERKEYS = DESCRIPTOR.services_by_name['ProxyClusterKeys']
111
+ if _descriptor._USE_C_DESCRIPTORS == False:
112
+
113
+ DESCRIPTOR._options = None
114
+ DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB\030ProxyClusterKeysPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1'
115
+ _PROXYCLUSTERKEYCREATEREQUEST.fields_by_name['proxy_cluster_key']._options = None
116
+ _PROXYCLUSTERKEYCREATEREQUEST.fields_by_name['proxy_cluster_key']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
117
+ _PROXYCLUSTERKEYCREATERESPONSE.fields_by_name['meta']._options = None
118
+ _PROXYCLUSTERKEYCREATERESPONSE.fields_by_name['meta']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
119
+ _PROXYCLUSTERKEYCREATERESPONSE.fields_by_name['proxy_cluster_key']._options = None
120
+ _PROXYCLUSTERKEYCREATERESPONSE.fields_by_name['proxy_cluster_key']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
121
+ _PROXYCLUSTERKEYCREATERESPONSE.fields_by_name['secret_key']._options = None
122
+ _PROXYCLUSTERKEYCREATERESPONSE.fields_by_name['secret_key']._serialized_options = b'\362\370\263\007\n\260\363\263\007\001\360\363\263\007\001'
123
+ _PROXYCLUSTERKEYCREATERESPONSE.fields_by_name['rate_limit']._options = None
124
+ _PROXYCLUSTERKEYCREATERESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway'
125
+ _PROXYCLUSTERKEYCREATERESPONSE._options = None
126
+ _PROXYCLUSTERKEYCREATERESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
127
+ _PROXYCLUSTERKEYGETREQUEST.fields_by_name['id']._options = None
128
+ _PROXYCLUSTERKEYGETREQUEST.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
129
+ _PROXYCLUSTERKEYGETRESPONSE.fields_by_name['meta']._options = None
130
+ _PROXYCLUSTERKEYGETRESPONSE.fields_by_name['meta']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
131
+ _PROXYCLUSTERKEYGETRESPONSE.fields_by_name['proxy_cluster_key']._options = None
132
+ _PROXYCLUSTERKEYGETRESPONSE.fields_by_name['proxy_cluster_key']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
133
+ _PROXYCLUSTERKEYGETRESPONSE.fields_by_name['rate_limit']._options = None
134
+ _PROXYCLUSTERKEYGETRESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway'
135
+ _PROXYCLUSTERKEYGETRESPONSE._options = None
136
+ _PROXYCLUSTERKEYGETRESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
137
+ _PROXYCLUSTERKEYDELETEREQUEST.fields_by_name['id']._options = None
138
+ _PROXYCLUSTERKEYDELETEREQUEST.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
139
+ _PROXYCLUSTERKEYDELETERESPONSE.fields_by_name['meta']._options = None
140
+ _PROXYCLUSTERKEYDELETERESPONSE.fields_by_name['meta']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
141
+ _PROXYCLUSTERKEYDELETERESPONSE.fields_by_name['rate_limit']._options = None
142
+ _PROXYCLUSTERKEYDELETERESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway'
143
+ _PROXYCLUSTERKEYDELETERESPONSE._options = None
144
+ _PROXYCLUSTERKEYDELETERESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
145
+ _PROXYCLUSTERKEYLISTREQUEST.fields_by_name['filter']._options = None
146
+ _PROXYCLUSTERKEYLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
147
+ _PROXYCLUSTERKEYLISTRESPONSE.fields_by_name['proxy_cluster_keys']._options = None
148
+ _PROXYCLUSTERKEYLISTRESPONSE.fields_by_name['proxy_cluster_keys']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
149
+ _PROXYCLUSTERKEYLISTRESPONSE.fields_by_name['rate_limit']._options = None
150
+ _PROXYCLUSTERKEYLISTRESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway'
151
+ _PROXYCLUSTERKEY.fields_by_name['id']._options = None
152
+ _PROXYCLUSTERKEY.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
153
+ _PROXYCLUSTERKEY.fields_by_name['proxy_cluster_id']._options = None
154
+ _PROXYCLUSTERKEY.fields_by_name['proxy_cluster_id']._serialized_options = b'\362\370\263\007\017\260\363\263\007\001\300\363\263\007\001\340\363\263\007\001'
155
+ _PROXYCLUSTERKEY.fields_by_name['created_at']._options = None
156
+ _PROXYCLUSTERKEY.fields_by_name['created_at']._serialized_options = b'\362\370\263\007(\260\363\263\007\001\230\364\263\007\001\262\364\263\007\001*\262\364\263\007\023!terraform-provider'
157
+ _PROXYCLUSTERKEY.fields_by_name['last_used_at']._options = None
158
+ _PROXYCLUSTERKEY.fields_by_name['last_used_at']._serialized_options = b'\362\370\263\007(\260\363\263\007\001\230\364\263\007\001\262\364\263\007\001*\262\364\263\007\023!terraform-provider'
159
+ _PROXYCLUSTERKEY._options = None
160
+ _PROXYCLUSTERKEY._serialized_options = b'\372\370\263\007f\302\363\263\007a\242\363\263\007*tf_examples/proxy_cluster_key_resource.txt\252\363\263\007-tf_examples/proxy_cluster_key_data_source.txt\372\370\263\007\005\250\363\263\007\001'
161
+ _PROXYCLUSTERKEYS._options = None
162
+ _PROXYCLUSTERKEYS._serialized_options = b'\312\371\263\007\024\302\371\263\007\017ProxyClusterKey\312\371\263\007\010\322\371\263\007\003gk-\312\371\263\007\005\350\371\263\007\001'
163
+ _PROXYCLUSTERKEYS.methods_by_name['Create']._options = None
164
+ _PROXYCLUSTERKEYS.methods_by_name['Create']._serialized_options = b'\202\371\263\007\t\242\363\263\007\004post\202\371\263\007\033\252\363\263\007\026/v1/proxy-cluster-keys'
165
+ _PROXYCLUSTERKEYS.methods_by_name['Get']._options = None
166
+ _PROXYCLUSTERKEYS.methods_by_name['Get']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007 \252\363\263\007\033/v1/proxy-cluster-keys/{id}'
167
+ _PROXYCLUSTERKEYS.methods_by_name['Delete']._options = None
168
+ _PROXYCLUSTERKEYS.methods_by_name['Delete']._serialized_options = b'\202\371\263\007\013\242\363\263\007\006delete\202\371\263\007 \252\363\263\007\033/v1/proxy-cluster-keys/{id}'
169
+ _PROXYCLUSTERKEYS.methods_by_name['List']._options = None
170
+ _PROXYCLUSTERKEYS.methods_by_name['List']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\033\252\363\263\007\026/v1/proxy-cluster-keys'
171
+ _PROXYCLUSTERKEYCREATEREQUEST._serialized_start=93
172
+ _PROXYCLUSTERKEYCREATEREQUEST._serialized_end=224
173
+ _PROXYCLUSTERKEYCREATERESPONSE._serialized_start=227
174
+ _PROXYCLUSTERKEYCREATERESPONSE._serialized_end=510
175
+ _PROXYCLUSTERKEYGETREQUEST._serialized_start=512
176
+ _PROXYCLUSTERKEYGETREQUEST._serialized_end=601
177
+ _PROXYCLUSTERKEYGETRESPONSE._serialized_start=604
178
+ _PROXYCLUSTERKEYGETRESPONSE._serialized_end=844
179
+ _PROXYCLUSTERKEYDELETEREQUEST._serialized_start=846
180
+ _PROXYCLUSTERKEYDELETEREQUEST._serialized_end=941
181
+ _PROXYCLUSTERKEYDELETERESPONSE._serialized_start=944
182
+ _PROXYCLUSTERKEYDELETERESPONSE._serialized_end=1130
183
+ _PROXYCLUSTERKEYLISTREQUEST._serialized_start=1132
184
+ _PROXYCLUSTERKEYLISTREQUEST._serialized_end=1227
185
+ _PROXYCLUSTERKEYLISTRESPONSE._serialized_start=1230
186
+ _PROXYCLUSTERKEYLISTRESPONSE._serialized_end=1449
187
+ _PROXYCLUSTERKEY._serialized_start=1452
188
+ _PROXYCLUSTERKEY._serialized_end=1852
189
+ _PROXYCLUSTERKEYS._serialized_start=1855
190
+ _PROXYCLUSTERKEYS._serialized_end=2427
191
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,192 @@
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 gRPC Python protocol compiler plugin. DO NOT EDIT!
16
+ """Client and server classes corresponding to protobuf-defined services."""
17
+ import grpc
18
+
19
+ from . import proxy_cluster_keys_pb2 as proxy__cluster__keys__pb2
20
+
21
+
22
+ class ProxyClusterKeysStub(object):
23
+ """Proxy Cluster Keys are authentication keys for all proxies within a cluster.
24
+ The proxies within a cluster share the same key. One cluster can have
25
+ multiple keys in order to facilitate key rotation.
26
+ """
27
+
28
+ def __init__(self, channel):
29
+ """Constructor.
30
+
31
+ Args:
32
+ channel: A grpc.Channel.
33
+ """
34
+ self.Create = channel.unary_unary(
35
+ '/v1.ProxyClusterKeys/Create',
36
+ request_serializer=proxy__cluster__keys__pb2.ProxyClusterKeyCreateRequest.SerializeToString,
37
+ response_deserializer=proxy__cluster__keys__pb2.ProxyClusterKeyCreateResponse.FromString,
38
+ )
39
+ self.Get = channel.unary_unary(
40
+ '/v1.ProxyClusterKeys/Get',
41
+ request_serializer=proxy__cluster__keys__pb2.ProxyClusterKeyGetRequest.SerializeToString,
42
+ response_deserializer=proxy__cluster__keys__pb2.ProxyClusterKeyGetResponse.FromString,
43
+ )
44
+ self.Delete = channel.unary_unary(
45
+ '/v1.ProxyClusterKeys/Delete',
46
+ request_serializer=proxy__cluster__keys__pb2.ProxyClusterKeyDeleteRequest.SerializeToString,
47
+ response_deserializer=proxy__cluster__keys__pb2.ProxyClusterKeyDeleteResponse.FromString,
48
+ )
49
+ self.List = channel.unary_unary(
50
+ '/v1.ProxyClusterKeys/List',
51
+ request_serializer=proxy__cluster__keys__pb2.ProxyClusterKeyListRequest.SerializeToString,
52
+ response_deserializer=proxy__cluster__keys__pb2.ProxyClusterKeyListResponse.FromString,
53
+ )
54
+
55
+
56
+ class ProxyClusterKeysServicer(object):
57
+ """Proxy Cluster Keys are authentication keys for all proxies within a cluster.
58
+ The proxies within a cluster share the same key. One cluster can have
59
+ multiple keys in order to facilitate key rotation.
60
+ """
61
+
62
+ def Create(self, request, context):
63
+ """Create registers a new ProxyClusterKey.
64
+ """
65
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
66
+ context.set_details('Method not implemented!')
67
+ raise NotImplementedError('Method not implemented!')
68
+
69
+ def Get(self, request, context):
70
+ """Get reads one ProxyClusterKey by ID.
71
+ """
72
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
73
+ context.set_details('Method not implemented!')
74
+ raise NotImplementedError('Method not implemented!')
75
+
76
+ def Delete(self, request, context):
77
+ """Delete removes a ProxyClusterKey by ID.
78
+ """
79
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
80
+ context.set_details('Method not implemented!')
81
+ raise NotImplementedError('Method not implemented!')
82
+
83
+ def List(self, request, context):
84
+ """List gets a list of ProxyClusterKeys matching a given set of criteria.
85
+ """
86
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
87
+ context.set_details('Method not implemented!')
88
+ raise NotImplementedError('Method not implemented!')
89
+
90
+
91
+ def add_ProxyClusterKeysServicer_to_server(servicer, server):
92
+ rpc_method_handlers = {
93
+ 'Create': grpc.unary_unary_rpc_method_handler(
94
+ servicer.Create,
95
+ request_deserializer=proxy__cluster__keys__pb2.ProxyClusterKeyCreateRequest.FromString,
96
+ response_serializer=proxy__cluster__keys__pb2.ProxyClusterKeyCreateResponse.SerializeToString,
97
+ ),
98
+ 'Get': grpc.unary_unary_rpc_method_handler(
99
+ servicer.Get,
100
+ request_deserializer=proxy__cluster__keys__pb2.ProxyClusterKeyGetRequest.FromString,
101
+ response_serializer=proxy__cluster__keys__pb2.ProxyClusterKeyGetResponse.SerializeToString,
102
+ ),
103
+ 'Delete': grpc.unary_unary_rpc_method_handler(
104
+ servicer.Delete,
105
+ request_deserializer=proxy__cluster__keys__pb2.ProxyClusterKeyDeleteRequest.FromString,
106
+ response_serializer=proxy__cluster__keys__pb2.ProxyClusterKeyDeleteResponse.SerializeToString,
107
+ ),
108
+ 'List': grpc.unary_unary_rpc_method_handler(
109
+ servicer.List,
110
+ request_deserializer=proxy__cluster__keys__pb2.ProxyClusterKeyListRequest.FromString,
111
+ response_serializer=proxy__cluster__keys__pb2.ProxyClusterKeyListResponse.SerializeToString,
112
+ ),
113
+ }
114
+ generic_handler = grpc.method_handlers_generic_handler(
115
+ 'v1.ProxyClusterKeys', rpc_method_handlers)
116
+ server.add_generic_rpc_handlers((generic_handler,))
117
+
118
+
119
+ # This class is part of an EXPERIMENTAL API.
120
+ class ProxyClusterKeys(object):
121
+ """Proxy Cluster Keys are authentication keys for all proxies within a cluster.
122
+ The proxies within a cluster share the same key. One cluster can have
123
+ multiple keys in order to facilitate key rotation.
124
+ """
125
+
126
+ @staticmethod
127
+ def Create(request,
128
+ target,
129
+ options=(),
130
+ channel_credentials=None,
131
+ call_credentials=None,
132
+ insecure=False,
133
+ compression=None,
134
+ wait_for_ready=None,
135
+ timeout=None,
136
+ metadata=None):
137
+ return grpc.experimental.unary_unary(request, target, '/v1.ProxyClusterKeys/Create',
138
+ proxy__cluster__keys__pb2.ProxyClusterKeyCreateRequest.SerializeToString,
139
+ proxy__cluster__keys__pb2.ProxyClusterKeyCreateResponse.FromString,
140
+ options, channel_credentials,
141
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
142
+
143
+ @staticmethod
144
+ def Get(request,
145
+ target,
146
+ options=(),
147
+ channel_credentials=None,
148
+ call_credentials=None,
149
+ insecure=False,
150
+ compression=None,
151
+ wait_for_ready=None,
152
+ timeout=None,
153
+ metadata=None):
154
+ return grpc.experimental.unary_unary(request, target, '/v1.ProxyClusterKeys/Get',
155
+ proxy__cluster__keys__pb2.ProxyClusterKeyGetRequest.SerializeToString,
156
+ proxy__cluster__keys__pb2.ProxyClusterKeyGetResponse.FromString,
157
+ options, channel_credentials,
158
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
159
+
160
+ @staticmethod
161
+ def Delete(request,
162
+ target,
163
+ options=(),
164
+ channel_credentials=None,
165
+ call_credentials=None,
166
+ insecure=False,
167
+ compression=None,
168
+ wait_for_ready=None,
169
+ timeout=None,
170
+ metadata=None):
171
+ return grpc.experimental.unary_unary(request, target, '/v1.ProxyClusterKeys/Delete',
172
+ proxy__cluster__keys__pb2.ProxyClusterKeyDeleteRequest.SerializeToString,
173
+ proxy__cluster__keys__pb2.ProxyClusterKeyDeleteResponse.FromString,
174
+ options, channel_credentials,
175
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
176
+
177
+ @staticmethod
178
+ def List(request,
179
+ target,
180
+ options=(),
181
+ channel_credentials=None,
182
+ call_credentials=None,
183
+ insecure=False,
184
+ compression=None,
185
+ wait_for_ready=None,
186
+ timeout=None,
187
+ metadata=None):
188
+ return grpc.experimental.unary_unary(request, target, '/v1.ProxyClusterKeys/List',
189
+ proxy__cluster__keys__pb2.ProxyClusterKeyListRequest.SerializeToString,
190
+ proxy__cluster__keys__pb2.ProxyClusterKeyListResponse.FromString,
191
+ options, channel_credentials,
192
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)