strongdm 1.0.23 → 1.0.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git/FETCH_HEAD +2 -0
- data/.git/HEAD +1 -0
- data/.git/ORIG_HEAD +1 -0
- data/.git/config +14 -0
- data/.git/description +1 -0
- data/.git/hooks/applypatch-msg.sample +15 -0
- data/.git/hooks/commit-msg.sample +24 -0
- data/.git/hooks/fsmonitor-watchman.sample +114 -0
- data/.git/hooks/post-update.sample +8 -0
- data/.git/hooks/pre-applypatch.sample +14 -0
- data/.git/hooks/pre-commit.sample +49 -0
- data/.git/hooks/pre-push.sample +53 -0
- data/.git/hooks/pre-rebase.sample +169 -0
- data/.git/hooks/pre-receive.sample +24 -0
- data/.git/hooks/prepare-commit-msg.sample +42 -0
- data/.git/hooks/update.sample +128 -0
- data/.git/index +0 -0
- data/.git/info/exclude +6 -0
- data/.git/logs/HEAD +4 -0
- data/.git/logs/refs/heads/development +1 -0
- data/.git/logs/refs/heads/master +2 -0
- data/.git/logs/refs/remotes/origin/HEAD +1 -0
- data/.git/objects/pack/pack-c145f7f05d162f9c48a04d57dee32a2d1473598c.idx +0 -0
- data/.git/objects/pack/pack-c145f7f05d162f9c48a04d57dee32a2d1473598c.pack +0 -0
- data/.git/packed-refs +28 -0
- data/.git/refs/heads/development +1 -0
- data/.git/refs/heads/master +1 -0
- data/.git/refs/remotes/origin/HEAD +1 -0
- data/doc/LICENSE.html +3 -9
- data/doc/Object.html +8 -24
- data/doc/README_md.html +7 -10
- data/doc/SDM/AKS.html +9 -84
- data/doc/SDM/AKSBasicAuth.html +9 -81
- data/doc/SDM/AKSServiceAccount.html +9 -78
- data/doc/SDM/AKSServiceAccountUserImpersonation.html +9 -78
- data/doc/SDM/AKSUserImpersonation.html +9 -84
- data/doc/SDM/AWS.html +8 -80
- data/doc/SDM/AWSStore.html +10 -61
- data/doc/SDM/AccountAttachment.html +8 -56
- data/doc/SDM/AccountAttachmentCreateResponse.html +8 -56
- data/doc/SDM/AccountAttachmentDeleteResponse.html +8 -53
- data/doc/SDM/AccountAttachmentGetResponse.html +8 -56
- data/doc/SDM/AccountAttachments.html +8 -84
- data/doc/SDM/AccountCreateResponse.html +8 -59
- data/doc/SDM/AccountDeleteResponse.html +8 -53
- data/doc/SDM/AccountGetResponse.html +8 -56
- data/doc/SDM/AccountGrant.html +8 -62
- data/doc/SDM/AccountGrantCreateResponse.html +8 -56
- data/doc/SDM/AccountGrantDeleteResponse.html +8 -53
- data/doc/SDM/AccountGrantGetResponse.html +8 -56
- data/doc/SDM/AccountGrants.html +8 -84
- data/doc/SDM/AccountUpdateResponse.html +8 -56
- data/doc/SDM/Accounts.html +9 -98
- data/doc/SDM/AlreadyExistsError.html +7 -31
- data/doc/SDM/AmazonEKS.html +9 -93
- data/doc/SDM/AmazonEKSUserImpersonation.html +9 -93
- data/doc/SDM/AmazonES.html +8 -86
- data/doc/SDM/AmazonMQAMQP091.html +8 -83
- data/doc/SDM/Athena.html +8 -86
- data/doc/SDM/AuroraMysql.html +8 -83
- data/doc/SDM/AuroraPostgres.html +10 -88
- data/doc/SDM/AuthenticationError.html +7 -31
- data/doc/SDM/BadRequestError.html +7 -31
- data/doc/SDM/BigQuery.html +8 -80
- data/doc/SDM/Cassandra.html +8 -83
- data/doc/SDM/Citus.html +10 -88
- data/doc/SDM/Client.html +22 -140
- data/doc/SDM/Clustrix.html +8 -83
- data/doc/SDM/Cockroach.html +10 -88
- data/doc/SDM/ControlPanel.html +8 -58
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +8 -56
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +8 -56
- data/doc/SDM/CreateResponseMetadata.html +8 -45
- data/doc/SDM/DB2LUW.html +8 -83
- data/doc/SDM/DB2i.html +8 -83
- data/doc/SDM/DeadlineExceededError.html +7 -31
- data/doc/SDM/DeleteResponseMetadata.html +8 -45
- data/doc/SDM/Druid.html +8 -80
- data/doc/SDM/DynamoDB.html +8 -86
- data/doc/SDM/Elastic.html +8 -83
- data/doc/SDM/ElasticacheRedis.html +10 -82
- data/doc/SDM/Gateway.html +10 -70
- data/doc/SDM/GetResponseMetadata.html +8 -45
- data/doc/SDM/GoogleGKE.html +9 -78
- data/doc/SDM/GoogleGKEUserImpersonation.html +9 -78
- data/doc/SDM/Greenplum.html +10 -88
- data/doc/SDM/HTTPAuth.html +8 -83
- data/doc/SDM/HTTPBasicAuth.html +8 -86
- data/doc/SDM/HTTPNoAuth.html +8 -80
- data/doc/SDM/InternalError.html +7 -31
- data/doc/SDM/Kubernetes.html +9 -84
- data/doc/SDM/KubernetesBasicAuth.html +9 -81
- data/doc/SDM/KubernetesServiceAccount.html +9 -78
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +9 -78
- data/doc/SDM/KubernetesUserImpersonation.html +9 -84
- data/doc/SDM/Maria.html +8 -83
- data/doc/SDM/Memcached.html +8 -74
- data/doc/SDM/Memsql.html +8 -83
- data/doc/SDM/MongoHost.html +8 -86
- data/doc/SDM/MongoLegacyHost.html +8 -89
- data/doc/SDM/MongoLegacyReplicaset.html +8 -92
- data/doc/SDM/MongoReplicaSet.html +8 -92
- data/doc/SDM/Mysql.html +8 -83
- data/doc/SDM/NodeCreateResponse.html +10 -61
- data/doc/SDM/NodeDeleteResponse.html +10 -55
- data/doc/SDM/NodeGetResponse.html +10 -58
- data/doc/SDM/NodeUpdateResponse.html +10 -58
- data/doc/SDM/Nodes.html +10 -99
- data/doc/SDM/NotFoundError.html +7 -31
- data/doc/SDM/Oracle.html +10 -88
- data/doc/SDM/PermissionError.html +7 -31
- data/doc/SDM/Plumbing.html +641 -6393
- data/doc/SDM/Postgres.html +10 -88
- data/doc/SDM/Presto.html +10 -88
- data/doc/SDM/RDP.html +10 -82
- data/doc/SDM/RPCError.html +7 -36
- data/doc/SDM/RabbitMQAMQP091.html +8 -83
- data/doc/SDM/RateLimitError.html +7 -36
- data/doc/SDM/RateLimitMetadata.html +8 -59
- data/doc/SDM/{SecretStore.html → RawTCP.html} +90 -86
- data/doc/SDM/Redis.html +10 -79
- data/doc/SDM/Redshift.html +10 -88
- data/doc/SDM/Relay.html +10 -64
- data/doc/SDM/ResourceCreateResponse.html +10 -58
- data/doc/SDM/ResourceDeleteResponse.html +10 -55
- data/doc/SDM/ResourceGetResponse.html +10 -58
- data/doc/SDM/ResourceUpdateResponse.html +10 -58
- data/doc/SDM/Resources.html +8 -110
- data/doc/SDM/Role.html +26 -62
- data/doc/SDM/RoleAttachment.html +10 -58
- data/doc/SDM/RoleAttachmentCreateResponse.html +10 -58
- data/doc/SDM/RoleAttachmentDeleteResponse.html +10 -55
- data/doc/SDM/RoleAttachmentGetResponse.html +10 -58
- data/doc/SDM/RoleAttachments.html +8 -84
- data/doc/SDM/RoleCreateResponse.html +10 -58
- data/doc/SDM/RoleDeleteResponse.html +10 -55
- data/doc/SDM/RoleGetResponse.html +10 -58
- data/doc/SDM/RoleGrant.html +10 -58
- data/doc/SDM/RoleGrantCreateResponse.html +10 -58
- data/doc/SDM/RoleGrantDeleteResponse.html +10 -55
- data/doc/SDM/RoleGrantGetResponse.html +10 -58
- data/doc/SDM/RoleGrants.html +8 -84
- data/doc/SDM/RoleUpdateResponse.html +10 -58
- data/doc/SDM/Roles.html +8 -97
- data/doc/SDM/SQLServer.html +10 -91
- data/doc/SDM/SSH.html +10 -85
- data/doc/SDM/SSHCert.html +10 -82
- data/doc/SDM/SSHCustomerKey.html +10 -85
- data/doc/SDM/SecretStoreCreateResponse.html +10 -58
- data/doc/SDM/SecretStoreDeleteResponse.html +10 -55
- data/doc/SDM/SecretStoreGetResponse.html +10 -58
- data/doc/SDM/SecretStoreUpdateResponse.html +10 -58
- data/doc/SDM/SecretStores.html +8 -97
- data/doc/SDM/Service.html +8 -59
- data/doc/SDM/{AmazonMQRabbitMQAMQP091.html → SingleStore.html} +38 -113
- data/doc/SDM/Snowflake.html +10 -85
- data/doc/SDM/Sybase.html +10 -82
- data/doc/SDM/SybaseIQ.html +10 -82
- data/doc/SDM/Tag.html +8 -53
- data/doc/SDM/Teradata.html +10 -82
- data/doc/SDM/UpdateResponseMetadata.html +8 -45
- data/doc/SDM/User.html +8 -65
- data/doc/SDM/VaultTLSStore.html +10 -70
- data/doc/SDM/VaultTokenStore.html +10 -61
- data/doc/SDM.html +2 -15
- data/doc/V1/AccountAttachments/Service.html +7 -19
- data/doc/V1/AccountAttachments.html +2 -15
- data/doc/V1/AccountGrants/Service.html +7 -19
- data/doc/V1/AccountGrants.html +2 -15
- data/doc/V1/Accounts/Service.html +8 -20
- data/doc/V1/Accounts.html +2 -15
- data/doc/V1/ControlPanel/Service.html +7 -19
- data/doc/V1/ControlPanel.html +2 -15
- data/doc/V1/Nodes/Service.html +9 -21
- data/doc/V1/Nodes.html +2 -15
- data/doc/V1/Resources/Service.html +7 -19
- data/doc/V1/Resources.html +2 -15
- data/doc/V1/RoleAttachments/Service.html +7 -19
- data/doc/V1/RoleAttachments.html +2 -15
- data/doc/V1/RoleGrants/Service.html +7 -19
- data/doc/V1/RoleGrants.html +2 -15
- data/doc/V1/Roles/Service.html +7 -19
- data/doc/V1/Roles.html +2 -15
- data/doc/V1/SecretStores/Service.html +7 -19
- data/doc/V1/SecretStores.html +2 -15
- data/doc/V1/Tags.html +2 -15
- data/doc/V1.html +10 -802
- data/doc/created.rid +37 -56
- data/doc/css/rdoc.css +21 -1
- data/doc/examples/Gemfile.html +3 -9
- data/doc/index.html +5 -188
- 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 +4 -10
- data/doc/table_of_contents.html +398 -716
- data/lib/grpc/account_attachments_services_pb.rb +1 -1
- data/lib/grpc/account_grants_services_pb.rb +1 -1
- data/lib/grpc/accounts_services_pb.rb +1 -1
- data/lib/grpc/control_panel_services_pb.rb +1 -1
- data/lib/grpc/drivers_pb.rb +29 -0
- data/lib/grpc/nodes_services_pb.rb +1 -1
- data/lib/grpc/options_pb.rb +10 -14
- data/lib/grpc/plumbing.rb +120 -0
- data/lib/grpc/resources_services_pb.rb +1 -1
- data/lib/grpc/role_attachments_services_pb.rb +1 -1
- data/lib/grpc/role_grants_services_pb.rb +1 -1
- data/lib/grpc/roles_pb.rb +1 -0
- data/lib/grpc/roles_services_pb.rb +1 -1
- data/lib/grpc/secret_stores_services_pb.rb +1 -1
- data/lib/models/porcelain.rb +176 -14
- data/lib/strongdm.rb +8 -1
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- data/strongdm.gemspec +5 -5
- metadata +279 -291
- data/doc/Google/Protobuf.html +0 -95
- data/doc/Google.html +0 -95
- data/doc/SDM/AccessRuleCreateResponse.html +0 -267
- data/doc/SDM/AccessRuleDeleteResponse.html +0 -249
- data/doc/SDM/AccessRuleUpdateResponse.html +0 -267
- data/doc/SDM/AccountAttachmentCreateOptions.html +0 -231
- data/doc/V1/AccessRules/Service.html +0 -119
- data/doc/V1/AccessRules.html +0 -113
- data/doc/V1/Audits/Service.html +0 -119
- data/doc/V1/Audits.html +0 -113
- data/doc/V1/BuildsPrivate/Service.html +0 -119
- data/doc/V1/BuildsPrivate.html +0 -113
- data/doc/V1/DemoProvisioningRequests/Service.html +0 -119
- data/doc/V1/DemoProvisioningRequests.html +0 -113
- data/doc/V1/Permissions/Service.html +0 -119
- data/doc/V1/SecretStoreHealths/Service.html +0 -119
- data/doc/V1/SecretStoreHealths.html +0 -113
- data/doc/examples/Gemfile_lock.html +0 -122
- data/doc/examples/README_md.html +0 -105
- data/doc/examples/okta-sync/Gemfile.html +0 -105
- data/doc/examples/okta-sync/Gemfile_lock.html +0 -146
- data/doc/js/jquery.js +0 -4
- data/doc/strongdm_gemspec.html +0 -119
@@ -22,7 +22,7 @@ module V1
|
|
22
22
|
module AccountAttachments
|
23
23
|
# AccountAttachments assign an account to a role or composite role.
|
24
24
|
class Service
|
25
|
-
include GRPC::GenericService
|
25
|
+
include ::GRPC::GenericService
|
26
26
|
|
27
27
|
self.marshal_class_method = :encode
|
28
28
|
self.unmarshal_class_method = :decode
|
@@ -22,7 +22,7 @@ module V1
|
|
22
22
|
module AccountGrants
|
23
23
|
# AccountGrants assign a resource directly to an account, giving the account the permission to connect to that resource.
|
24
24
|
class Service
|
25
|
-
include GRPC::GenericService
|
25
|
+
include ::GRPC::GenericService
|
26
26
|
|
27
27
|
self.marshal_class_method = :encode
|
28
28
|
self.unmarshal_class_method = :decode
|
@@ -24,7 +24,7 @@ module V1
|
|
24
24
|
# 1. **Users:** humans who are authenticated through username and password or SSO.
|
25
25
|
# 2. **Service Accounts:** machines that are authenticated using a service token.
|
26
26
|
class Service
|
27
|
-
include GRPC::GenericService
|
27
|
+
include ::GRPC::GenericService
|
28
28
|
|
29
29
|
self.marshal_class_method = :encode
|
30
30
|
self.unmarshal_class_method = :decode
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -62,6 +62,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
62
62
|
optional :clustrix, :message, 1102, "v1.Clustrix"
|
63
63
|
optional :maria, :message, 1103, "v1.Maria"
|
64
64
|
optional :memsql, :message, 1104, "v1.Memsql"
|
65
|
+
optional :single_store, :message, 1105, "v1.SingleStore"
|
65
66
|
optional :oracle, :message, 1200, "v1.Oracle"
|
66
67
|
optional :postgres, :message, 1300, "v1.Postgres"
|
67
68
|
optional :aurora_postgres, :message, 1301, "v1.AuroraPostgres"
|
@@ -70,6 +71,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
70
71
|
optional :redshift, :message, 1304, "v1.Redshift"
|
71
72
|
optional :citus, :message, 1305, "v1.Citus"
|
72
73
|
optional :presto, :message, 1400, "v1.Presto"
|
74
|
+
optional :raw_tcp, :message, 2600, "v1.RawTCP"
|
73
75
|
optional :rdp, :message, 1500, "v1.RDP"
|
74
76
|
optional :redis, :message, 1600, "v1.Redis"
|
75
77
|
optional :elasticache_redis, :message, 1601, "v1.ElasticacheRedis"
|
@@ -627,6 +629,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
627
629
|
optional :port_override, :int32, 5
|
628
630
|
optional :port, :int32, 6
|
629
631
|
end
|
632
|
+
add_message "v1.SingleStore" do
|
633
|
+
optional :id, :string, 32768
|
634
|
+
optional :name, :string, 32769
|
635
|
+
optional :healthy, :bool, 32770
|
636
|
+
optional :tags, :message, 32771, "v1.Tags"
|
637
|
+
optional :secret_store_id, :string, 32772
|
638
|
+
optional :egress_filter, :string, 32773
|
639
|
+
optional :hostname, :string, 1
|
640
|
+
optional :username, :string, 2
|
641
|
+
optional :password, :string, 3
|
642
|
+
optional :database, :string, 4
|
643
|
+
optional :port_override, :int32, 5
|
644
|
+
optional :port, :int32, 6
|
645
|
+
end
|
630
646
|
add_message "v1.Oracle" do
|
631
647
|
optional :id, :string, 32768
|
632
648
|
optional :name, :string, 32769
|
@@ -747,6 +763,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
747
763
|
optional :username, :string, 6
|
748
764
|
optional :tls_required, :bool, 7
|
749
765
|
end
|
766
|
+
add_message "v1.RawTCP" do
|
767
|
+
optional :id, :string, 32768
|
768
|
+
optional :name, :string, 32769
|
769
|
+
optional :healthy, :bool, 32770
|
770
|
+
optional :tags, :message, 32771, "v1.Tags"
|
771
|
+
optional :secret_store_id, :string, 32772
|
772
|
+
optional :egress_filter, :string, 32773
|
773
|
+
optional :hostname, :string, 1
|
774
|
+
optional :port_override, :int32, 2
|
775
|
+
optional :port, :int32, 3
|
776
|
+
end
|
750
777
|
add_message "v1.RDP" do
|
751
778
|
optional :id, :string, 32768
|
752
779
|
optional :name, :string, 32769
|
@@ -939,6 +966,7 @@ module V1
|
|
939
966
|
Clustrix = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Clustrix").msgclass
|
940
967
|
Maria = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Maria").msgclass
|
941
968
|
Memsql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Memsql").msgclass
|
969
|
+
SingleStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SingleStore").msgclass
|
942
970
|
Oracle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Oracle").msgclass
|
943
971
|
Postgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Postgres").msgclass
|
944
972
|
AuroraPostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraPostgres").msgclass
|
@@ -947,6 +975,7 @@ module V1
|
|
947
975
|
Redshift = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Redshift").msgclass
|
948
976
|
Citus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Citus").msgclass
|
949
977
|
Presto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Presto").msgclass
|
978
|
+
RawTCP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RawTCP").msgclass
|
950
979
|
RDP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RDP").msgclass
|
951
980
|
Redis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Redis").msgclass
|
952
981
|
ElasticacheRedis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ElasticacheRedis").msgclass
|
@@ -24,7 +24,7 @@ module V1
|
|
24
24
|
# - **Gateways** are the entry points into network. They listen for connection from the strongDM client, and provide access to databases and servers.
|
25
25
|
# - **Relays** are used to extend the strongDM network into segmented subnets. They provide access to databases and servers but do not listen for incoming connections.
|
26
26
|
class Service
|
27
|
-
include GRPC::GenericService
|
27
|
+
include ::GRPC::GenericService
|
28
28
|
|
29
29
|
self.marshal_class_method = :encode
|
30
30
|
self.unmarshal_class_method = :decode
|
data/lib/grpc/options_pb.rb
CHANGED
@@ -27,38 +27,35 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
27
27
|
optional :private_sdk, :bool, 1941700
|
28
28
|
end
|
29
29
|
add_message "v1.FieldOptions" do
|
30
|
-
optional :name, :string, 1941300
|
31
|
-
optional :sql_nullable, :bool, 1941301
|
32
30
|
optional :expose_as_porcelain, :bool, 1941302
|
33
31
|
optional :iterable, :bool, 1941303
|
34
32
|
optional :required, :bool, 1941304
|
35
|
-
optional :id_type, :string, 1941305
|
36
|
-
optional :sdk_only, :bool, 1941306
|
37
|
-
optional :terraform_computed, :string, 1941307
|
38
|
-
optional :force_new, :bool, 1941308
|
39
33
|
optional :write_only, :bool, 1941309
|
40
|
-
optional :
|
34
|
+
optional :read_only, :bool, 1941315
|
35
|
+
optional :is_credential, :bool, 1941316
|
36
|
+
optional :private_sdk, :bool, 1941318
|
37
|
+
optional :terraform_computed, :string, 1941307
|
38
|
+
optional :terraform_force_new, :bool, 1941308
|
39
|
+
optional :terraform_sensitive, :bool, 1941310
|
40
|
+
optional :terraform_diff_suppress_func, :string, 1941319
|
41
|
+
optional :terraform_comment_override, :string, 1941320
|
41
42
|
optional :cli_name, :string, 1941311
|
42
43
|
optional :cli_json_name, :string, 1941312
|
43
44
|
optional :json_gateway_name, :string, 1941313
|
44
45
|
optional :hide_from_json_gateway, :bool, 1941314
|
45
|
-
optional :read_only, :bool, 1941315
|
46
|
-
optional :is_credential, :bool, 1941316
|
47
|
-
optional :sql_type, :string, 1941317
|
48
|
-
optional :private_sdk, :bool, 1941318
|
49
46
|
end
|
50
47
|
add_message "v1.MessageOptions" do
|
51
|
-
optional :model_name, :string, 1941300
|
52
48
|
optional :porcelain, :bool, 1941301
|
53
49
|
optional :error, :int32, 1941302
|
54
50
|
optional :options_field, :string, 1941303
|
55
|
-
optional :terraform_docs, :message, 1941304, "v1.TerraformDocs"
|
56
51
|
optional :custom, :message, 1941305, "v1.CustomPorcelainMessageOptions"
|
57
52
|
optional :private_sdk, :bool, 1941306
|
58
53
|
optional :cli_name, :string, 1941307
|
59
54
|
optional :cli_json_name, :string, 1941308
|
60
55
|
optional :json_gateway_name, :string, 1941309
|
61
56
|
optional :hide_from_json_gateway, :bool, 1941310
|
57
|
+
optional :terraform_docs, :message, 1941304, "v1.TerraformDocs"
|
58
|
+
optional :terraform_provider_name, :string, 1941311
|
62
59
|
end
|
63
60
|
add_message "v1.CustomPorcelainMessageOptions" do
|
64
61
|
optional :converter, :string, 1941309
|
@@ -72,7 +69,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
72
69
|
optional :data_source_example_path, :string, 1941301
|
73
70
|
end
|
74
71
|
add_message "v1.OneofOptions" do
|
75
|
-
optional :model_name, :string, 1941380
|
76
72
|
repeated :common_fields, :string, 1941381
|
77
73
|
end
|
78
74
|
add_message "v1.ServiceOptions" do
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -1077,6 +1077,9 @@ module SDM
|
|
1077
1077
|
if porcelain.instance_of? Memsql
|
1078
1078
|
plumbing.memsql = convert_memsql_to_plumbing(porcelain)
|
1079
1079
|
end
|
1080
|
+
if porcelain.instance_of? SingleStore
|
1081
|
+
plumbing.single_store = convert_single_store_to_plumbing(porcelain)
|
1082
|
+
end
|
1080
1083
|
if porcelain.instance_of? Oracle
|
1081
1084
|
plumbing.oracle = convert_oracle_to_plumbing(porcelain)
|
1082
1085
|
end
|
@@ -1101,6 +1104,9 @@ module SDM
|
|
1101
1104
|
if porcelain.instance_of? Presto
|
1102
1105
|
plumbing.presto = convert_presto_to_plumbing(porcelain)
|
1103
1106
|
end
|
1107
|
+
if porcelain.instance_of? RawTCP
|
1108
|
+
plumbing.raw_tcp = convert_raw_tcp_to_plumbing(porcelain)
|
1109
|
+
end
|
1104
1110
|
if porcelain.instance_of? RDP
|
1105
1111
|
plumbing.rdp = convert_rdp_to_plumbing(porcelain)
|
1106
1112
|
end
|
@@ -1258,6 +1264,9 @@ module SDM
|
|
1258
1264
|
if plumbing.memsql != nil
|
1259
1265
|
return convert_memsql_to_porcelain(plumbing.memsql)
|
1260
1266
|
end
|
1267
|
+
if plumbing.single_store != nil
|
1268
|
+
return convert_single_store_to_porcelain(plumbing.single_store)
|
1269
|
+
end
|
1261
1270
|
if plumbing.oracle != nil
|
1262
1271
|
return convert_oracle_to_porcelain(plumbing.oracle)
|
1263
1272
|
end
|
@@ -1282,6 +1291,9 @@ module SDM
|
|
1282
1291
|
if plumbing.presto != nil
|
1283
1292
|
return convert_presto_to_porcelain(plumbing.presto)
|
1284
1293
|
end
|
1294
|
+
if plumbing.raw_tcp != nil
|
1295
|
+
return convert_raw_tcp_to_porcelain(plumbing.raw_tcp)
|
1296
|
+
end
|
1285
1297
|
if plumbing.rdp != nil
|
1286
1298
|
return convert_rdp_to_porcelain(plumbing.rdp)
|
1287
1299
|
end
|
@@ -3513,6 +3525,62 @@ module SDM
|
|
3513
3525
|
end
|
3514
3526
|
items
|
3515
3527
|
end
|
3528
|
+
def self.convert_single_store_to_porcelain(plumbing)
|
3529
|
+
if plumbing == nil
|
3530
|
+
return nil
|
3531
|
+
end
|
3532
|
+
porcelain = SingleStore.new()
|
3533
|
+
porcelain.id = (plumbing.id)
|
3534
|
+
porcelain.name = (plumbing.name)
|
3535
|
+
porcelain.healthy = (plumbing.healthy)
|
3536
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3537
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3538
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3539
|
+
porcelain.hostname = (plumbing.hostname)
|
3540
|
+
porcelain.username = (plumbing.username)
|
3541
|
+
porcelain.password = (plumbing.password)
|
3542
|
+
porcelain.database = (plumbing.database)
|
3543
|
+
porcelain.port_override = (plumbing.port_override)
|
3544
|
+
porcelain.port = (plumbing.port)
|
3545
|
+
porcelain
|
3546
|
+
end
|
3547
|
+
|
3548
|
+
def self.convert_single_store_to_plumbing(porcelain)
|
3549
|
+
if porcelain == nil
|
3550
|
+
return nil
|
3551
|
+
end
|
3552
|
+
plumbing = V1::SingleStore.new()
|
3553
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
3554
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3555
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3556
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3557
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3558
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3559
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3560
|
+
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3561
|
+
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
3562
|
+
plumbing.database = (porcelain.database) unless porcelain.database == nil
|
3563
|
+
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
3564
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
3565
|
+
plumbing
|
3566
|
+
end
|
3567
|
+
def self.convert_repeated_single_store_to_plumbing(porcelains)
|
3568
|
+
items = Array.new
|
3569
|
+
porcelains.each do |porcelain|
|
3570
|
+
plumbing = convert_single_store_to_plumbing(porcelain)
|
3571
|
+
items.append(plumbing)
|
3572
|
+
end
|
3573
|
+
items
|
3574
|
+
end
|
3575
|
+
|
3576
|
+
def self.convert_repeated_single_store_to_porcelain(plumbings)
|
3577
|
+
items = Array.new
|
3578
|
+
plumbings.each do |plumbing|
|
3579
|
+
porcelain = convert_single_store_to_porcelain(plumbing)
|
3580
|
+
items.append(porcelain)
|
3581
|
+
end
|
3582
|
+
items
|
3583
|
+
end
|
3516
3584
|
def self.convert_oracle_to_porcelain(plumbing)
|
3517
3585
|
if plumbing == nil
|
3518
3586
|
return nil
|
@@ -3977,6 +4045,56 @@ module SDM
|
|
3977
4045
|
end
|
3978
4046
|
items
|
3979
4047
|
end
|
4048
|
+
def self.convert_raw_tcp_to_porcelain(plumbing)
|
4049
|
+
if plumbing == nil
|
4050
|
+
return nil
|
4051
|
+
end
|
4052
|
+
porcelain = RawTCP.new()
|
4053
|
+
porcelain.id = (plumbing.id)
|
4054
|
+
porcelain.name = (plumbing.name)
|
4055
|
+
porcelain.healthy = (plumbing.healthy)
|
4056
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4057
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4058
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
4059
|
+
porcelain.hostname = (plumbing.hostname)
|
4060
|
+
porcelain.port_override = (plumbing.port_override)
|
4061
|
+
porcelain.port = (plumbing.port)
|
4062
|
+
porcelain
|
4063
|
+
end
|
4064
|
+
|
4065
|
+
def self.convert_raw_tcp_to_plumbing(porcelain)
|
4066
|
+
if porcelain == nil
|
4067
|
+
return nil
|
4068
|
+
end
|
4069
|
+
plumbing = V1::RawTCP.new()
|
4070
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
4071
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
4072
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
4073
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
4074
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
4075
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
4076
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
4077
|
+
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
4078
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
4079
|
+
plumbing
|
4080
|
+
end
|
4081
|
+
def self.convert_repeated_raw_tcp_to_plumbing(porcelains)
|
4082
|
+
items = Array.new
|
4083
|
+
porcelains.each do |porcelain|
|
4084
|
+
plumbing = convert_raw_tcp_to_plumbing(porcelain)
|
4085
|
+
items.append(plumbing)
|
4086
|
+
end
|
4087
|
+
items
|
4088
|
+
end
|
4089
|
+
|
4090
|
+
def self.convert_repeated_raw_tcp_to_porcelain(plumbings)
|
4091
|
+
items = Array.new
|
4092
|
+
plumbings.each do |plumbing|
|
4093
|
+
porcelain = convert_raw_tcp_to_porcelain(plumbing)
|
4094
|
+
items.append(porcelain)
|
4095
|
+
end
|
4096
|
+
items
|
4097
|
+
end
|
3980
4098
|
def self.convert_rdp_to_porcelain(plumbing)
|
3981
4099
|
if plumbing == nil
|
3982
4100
|
return nil
|
@@ -5470,6 +5588,7 @@ module SDM
|
|
5470
5588
|
porcelain = Role.new()
|
5471
5589
|
porcelain.id = (plumbing.id)
|
5472
5590
|
porcelain.name = (plumbing.name)
|
5591
|
+
porcelain.access_rules = (plumbing.access_rules)
|
5473
5592
|
porcelain.composite = (plumbing.composite)
|
5474
5593
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
5475
5594
|
porcelain
|
@@ -5482,6 +5601,7 @@ module SDM
|
|
5482
5601
|
plumbing = V1::Role.new()
|
5483
5602
|
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
5484
5603
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
5604
|
+
plumbing.access_rules = (porcelain.access_rules) unless porcelain.access_rules == nil
|
5485
5605
|
plumbing.composite = (porcelain.composite) unless porcelain.composite == nil
|
5486
5606
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
5487
5607
|
plumbing
|
@@ -25,7 +25,7 @@ module V1
|
|
25
25
|
# role, the permissions granted to members of the composite role are augmented to
|
26
26
|
# include the permissions granted to members of the attached role.
|
27
27
|
class Service
|
28
|
-
include GRPC::GenericService
|
28
|
+
include ::GRPC::GenericService
|
29
29
|
|
30
30
|
self.marshal_class_method = :encode
|
31
31
|
self.unmarshal_class_method = :decode
|
@@ -25,7 +25,7 @@ module V1
|
|
25
25
|
# role, the permissions granted to members of the composite role are augmented to
|
26
26
|
# include the permissions granted to members of the attached role.
|
27
27
|
class Service
|
28
|
-
include GRPC::GenericService
|
28
|
+
include ::GRPC::GenericService
|
29
29
|
|
30
30
|
self.marshal_class_method = :encode
|
31
31
|
self.unmarshal_class_method = :decode
|
data/lib/grpc/roles_pb.rb
CHANGED
@@ -70,6 +70,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
70
70
|
add_message "v1.Role" do
|
71
71
|
optional :id, :string, 1
|
72
72
|
optional :name, :string, 2
|
73
|
+
optional :access_rules, :string, 5
|
73
74
|
optional :composite, :bool, 3
|
74
75
|
optional :tags, :message, 4, "v1.Tags"
|
75
76
|
end
|
@@ -26,7 +26,7 @@ module V1
|
|
26
26
|
# grant access to the combined resources associated with a set of child roles.
|
27
27
|
# Each user can be a member of one Role or composite role.
|
28
28
|
class Service
|
29
|
-
include GRPC::GenericService
|
29
|
+
include ::GRPC::GenericService
|
30
30
|
|
31
31
|
self.marshal_class_method = :encode
|
32
32
|
self.unmarshal_class_method = :decode
|
@@ -22,7 +22,7 @@ module V1
|
|
22
22
|
module SecretStores
|
23
23
|
# SecretStores are servers where resource secrets (passwords, keys) are stored.
|
24
24
|
class Service
|
25
|
-
include GRPC::GenericService
|
25
|
+
include ::GRPC::GenericService
|
26
26
|
|
27
27
|
self.marshal_class_method = :encode
|
28
28
|
self.unmarshal_class_method = :decode
|