strongdm 1.0.21 → 1.0.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/LICENSE.html +5 -6
- data/doc/Object.html +3 -6
- data/doc/README_md.html +5 -6
- data/doc/SDM.html +3 -6
- data/doc/SDM/AKS.html +5 -8
- data/doc/SDM/AKSBasicAuth.html +5 -8
- data/doc/SDM/AKSServiceAccount.html +5 -8
- data/doc/SDM/AKSServiceAccountUserImpersonation.html +5 -8
- data/doc/SDM/AKSUserImpersonation.html +5 -8
- data/doc/SDM/AWS.html +5 -8
- data/doc/SDM/AWSStore.html +5 -8
- data/doc/SDM/AccountAttachment.html +3 -6
- data/doc/SDM/AccountAttachmentCreateResponse.html +3 -6
- data/doc/SDM/AccountAttachmentDeleteResponse.html +3 -6
- data/doc/SDM/AccountAttachmentGetResponse.html +3 -6
- data/doc/SDM/AccountAttachments.html +3 -6
- data/doc/SDM/AccountCreateResponse.html +3 -6
- data/doc/SDM/AccountDeleteResponse.html +3 -6
- data/doc/SDM/AccountGetResponse.html +3 -6
- data/doc/SDM/AccountGrant.html +3 -6
- data/doc/SDM/AccountGrantCreateResponse.html +3 -6
- data/doc/SDM/AccountGrantDeleteResponse.html +3 -6
- data/doc/SDM/AccountGrantGetResponse.html +3 -6
- data/doc/SDM/AccountGrants.html +3 -6
- data/doc/SDM/AccountUpdateResponse.html +3 -6
- data/doc/SDM/Accounts.html +3 -6
- data/doc/SDM/AlreadyExistsError.html +3 -6
- data/doc/SDM/AmazonEKS.html +5 -8
- data/doc/SDM/AmazonEKSUserImpersonation.html +5 -8
- data/doc/SDM/AmazonES.html +5 -8
- data/doc/SDM/AmazonMQAMQP091.html +424 -0
- data/doc/SDM/AmazonMQRabbitMQAMQP091.html +427 -0
- data/doc/SDM/Athena.html +5 -8
- data/doc/SDM/AuroraMysql.html +5 -8
- data/doc/SDM/AuroraPostgres.html +5 -8
- data/doc/SDM/AuthenticationError.html +3 -6
- data/doc/SDM/BadRequestError.html +3 -6
- data/doc/SDM/BigQuery.html +5 -8
- data/doc/SDM/Cassandra.html +5 -8
- data/doc/SDM/Citus.html +5 -8
- data/doc/SDM/Client.html +3 -6
- data/doc/SDM/Clustrix.html +5 -8
- data/doc/SDM/Cockroach.html +5 -8
- data/doc/SDM/ControlPanel.html +3 -6
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +3 -6
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +3 -6
- data/doc/SDM/CreateResponseMetadata.html +3 -6
- data/doc/SDM/DB2LUW.html +5 -8
- data/doc/SDM/DB2i.html +5 -8
- data/doc/SDM/DeadlineExceededError.html +3 -6
- data/doc/SDM/DeleteResponseMetadata.html +3 -6
- data/doc/SDM/Druid.html +5 -8
- data/doc/SDM/DynamoDB.html +5 -8
- data/doc/SDM/Elastic.html +5 -8
- data/doc/SDM/ElasticacheRedis.html +5 -8
- data/doc/SDM/Gateway.html +24 -9
- data/doc/SDM/GetResponseMetadata.html +3 -6
- data/doc/SDM/GoogleGKE.html +5 -8
- data/doc/SDM/GoogleGKEUserImpersonation.html +5 -8
- data/doc/SDM/Greenplum.html +5 -8
- data/doc/SDM/HTTPAuth.html +5 -8
- data/doc/SDM/HTTPBasicAuth.html +5 -8
- data/doc/SDM/HTTPNoAuth.html +5 -8
- data/doc/SDM/InternalError.html +3 -6
- data/doc/SDM/Kubernetes.html +5 -8
- data/doc/SDM/KubernetesBasicAuth.html +5 -8
- data/doc/SDM/KubernetesServiceAccount.html +5 -8
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +5 -8
- data/doc/SDM/KubernetesUserImpersonation.html +5 -8
- data/doc/SDM/Maria.html +5 -8
- data/doc/SDM/Memcached.html +5 -8
- data/doc/SDM/Memsql.html +5 -8
- data/doc/SDM/MongoHost.html +5 -8
- data/doc/SDM/MongoLegacyHost.html +5 -8
- data/doc/SDM/MongoLegacyReplicaset.html +5 -8
- data/doc/SDM/MongoReplicaSet.html +5 -8
- data/doc/SDM/Mysql.html +5 -8
- data/doc/SDM/NodeCreateResponse.html +5 -8
- data/doc/SDM/NodeDeleteResponse.html +5 -8
- data/doc/SDM/NodeGetResponse.html +5 -8
- data/doc/SDM/NodeUpdateResponse.html +5 -8
- data/doc/SDM/Nodes.html +3 -6
- data/doc/SDM/NotFoundError.html +3 -6
- data/doc/SDM/Oracle.html +5 -8
- data/doc/SDM/PermissionError.html +3 -6
- data/doc/SDM/Plumbing.html +1247 -498
- data/doc/SDM/Postgres.html +5 -8
- data/doc/SDM/Presto.html +5 -8
- data/doc/SDM/RDP.html +5 -8
- data/doc/SDM/RPCError.html +3 -6
- data/doc/SDM/RabbitMQAMQP091.html +424 -0
- data/doc/SDM/RateLimitError.html +3 -6
- data/doc/SDM/RateLimitMetadata.html +3 -6
- data/doc/SDM/RawTCP.html +370 -0
- data/doc/SDM/Redis.html +5 -8
- data/doc/SDM/Redshift.html +5 -8
- data/doc/SDM/Relay.html +24 -9
- data/doc/SDM/ResourceCreateResponse.html +5 -8
- data/doc/SDM/ResourceDeleteResponse.html +5 -8
- data/doc/SDM/ResourceGetResponse.html +5 -8
- data/doc/SDM/ResourceUpdateResponse.html +5 -8
- data/doc/SDM/Resources.html +3 -6
- data/doc/SDM/Role.html +24 -9
- data/doc/SDM/RoleAttachment.html +5 -8
- data/doc/SDM/RoleAttachmentCreateResponse.html +5 -8
- data/doc/SDM/RoleAttachmentDeleteResponse.html +5 -8
- data/doc/SDM/RoleAttachmentGetResponse.html +5 -8
- data/doc/SDM/RoleAttachments.html +3 -6
- data/doc/SDM/RoleCreateResponse.html +5 -8
- data/doc/SDM/RoleDeleteResponse.html +5 -8
- data/doc/SDM/RoleGetResponse.html +5 -8
- data/doc/SDM/RoleGrant.html +5 -8
- data/doc/SDM/RoleGrantCreateResponse.html +5 -8
- data/doc/SDM/RoleGrantDeleteResponse.html +5 -8
- data/doc/SDM/RoleGrantGetResponse.html +5 -8
- data/doc/SDM/RoleGrants.html +3 -6
- data/doc/SDM/RoleUpdateResponse.html +5 -8
- data/doc/SDM/Roles.html +3 -6
- data/doc/SDM/SQLServer.html +5 -8
- data/doc/SDM/SSH.html +5 -8
- data/doc/SDM/SSHCert.html +5 -8
- data/doc/SDM/SSHCustomerKey.html +5 -8
- data/doc/SDM/SecretStoreCreateResponse.html +5 -8
- data/doc/SDM/SecretStoreDeleteResponse.html +5 -8
- data/doc/SDM/SecretStoreGetResponse.html +5 -8
- data/doc/SDM/SecretStoreUpdateResponse.html +5 -8
- data/doc/SDM/SecretStores.html +3 -6
- data/doc/SDM/Service.html +3 -6
- data/doc/SDM/SingleStore.html +424 -0
- data/doc/SDM/Snowflake.html +5 -8
- data/doc/SDM/Sybase.html +5 -8
- data/doc/SDM/SybaseIQ.html +5 -8
- data/doc/SDM/Tag.html +3 -6
- data/doc/SDM/Teradata.html +5 -8
- data/doc/SDM/UpdateResponseMetadata.html +3 -6
- data/doc/SDM/User.html +3 -6
- data/doc/SDM/VaultTLSStore.html +5 -8
- data/doc/SDM/VaultTokenStore.html +5 -8
- data/doc/V1.html +23 -16
- data/doc/V1/AccessRules.html +3 -6
- data/doc/V1/AccessRules/Service.html +3 -6
- data/doc/V1/AccountAttachments.html +3 -6
- data/doc/V1/AccountAttachments/Service.html +3 -6
- data/doc/V1/AccountGrants.html +3 -6
- data/doc/V1/AccountGrants/Service.html +3 -6
- data/doc/V1/Accounts.html +3 -6
- data/doc/V1/Accounts/Service.html +3 -6
- data/doc/V1/BuildsPrivate.html +3 -6
- data/doc/V1/BuildsPrivate/Service.html +3 -6
- data/doc/V1/ControlPanel.html +3 -6
- data/doc/V1/ControlPanel/Service.html +3 -6
- data/doc/V1/DemoProvisioningRequests.html +3 -6
- data/doc/V1/DemoProvisioningRequests/Service.html +3 -6
- data/doc/V1/Nodes.html +3 -6
- data/doc/V1/Nodes/Service.html +3 -6
- data/doc/V1/Resources.html +3 -6
- data/doc/V1/Resources/Service.html +3 -6
- data/doc/V1/RoleAttachments.html +3 -6
- data/doc/V1/RoleAttachments/Service.html +3 -6
- data/doc/V1/RoleGrants.html +3 -6
- data/doc/V1/RoleGrants/Service.html +3 -6
- data/doc/V1/Roles.html +3 -6
- data/doc/V1/Roles/Service.html +3 -6
- data/doc/V1/SecretStoreHealths.html +3 -6
- data/doc/V1/SecretStoreHealths/Service.html +3 -6
- data/doc/V1/SecretStores.html +3 -6
- data/doc/V1/SecretStores/Service.html +3 -6
- data/doc/V1/Tags.html +3 -6
- data/doc/created.rid +49 -51
- data/doc/css/rdoc.css +6 -35
- data/doc/examples/Gemfile.html +5 -6
- data/doc/index.html +13 -10
- data/doc/js/darkfish.js +99 -22
- data/doc/js/navigation.js +40 -4
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +31 -32
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +6 -6
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +6 -7
- data/doc/strongdm_gemspec.html +3 -6
- data/doc/table_of_contents.html +470 -338
- data/lib/grpc/account_attachments_services_pb.rb +4 -4
- data/lib/grpc/account_grants_services_pb.rb +4 -4
- data/lib/grpc/accounts_pb.rb +1 -0
- data/lib/grpc/accounts_services_pb.rb +5 -5
- data/lib/grpc/control_panel_services_pb.rb +2 -2
- data/lib/grpc/drivers_pb.rb +61 -0
- data/lib/grpc/nodes_pb.rb +2 -0
- data/lib/grpc/nodes_services_pb.rb +5 -5
- data/lib/grpc/options_pb.rb +9 -13
- data/lib/grpc/plumbing.rb +248 -0
- data/lib/grpc/resources_services_pb.rb +6 -6
- data/lib/grpc/role_attachments_services_pb.rb +4 -4
- data/lib/grpc/role_grants_services_pb.rb +4 -4
- data/lib/grpc/roles_pb.rb +1 -0
- data/lib/grpc/roles_services_pb.rb +5 -5
- data/lib/grpc/secret_stores_services_pb.rb +5 -5
- data/lib/models/porcelain.rb +352 -2
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +21 -15
@@ -29,13 +29,13 @@ module V1
|
|
29
29
|
self.service_name = "v1.AccountAttachments"
|
30
30
|
|
31
31
|
# Create registers a new AccountAttachment.
|
32
|
-
rpc :Create, AccountAttachmentCreateRequest, AccountAttachmentCreateResponse
|
32
|
+
rpc :Create, ::V1::AccountAttachmentCreateRequest, ::V1::AccountAttachmentCreateResponse
|
33
33
|
# Get reads one AccountAttachment by ID.
|
34
|
-
rpc :Get, AccountAttachmentGetRequest, AccountAttachmentGetResponse
|
34
|
+
rpc :Get, ::V1::AccountAttachmentGetRequest, ::V1::AccountAttachmentGetResponse
|
35
35
|
# Delete removes a AccountAttachment by ID.
|
36
|
-
rpc :Delete, AccountAttachmentDeleteRequest, AccountAttachmentDeleteResponse
|
36
|
+
rpc :Delete, ::V1::AccountAttachmentDeleteRequest, ::V1::AccountAttachmentDeleteResponse
|
37
37
|
# List gets a list of AccountAttachments matching a given set of criteria.
|
38
|
-
rpc :List, AccountAttachmentListRequest, AccountAttachmentListResponse
|
38
|
+
rpc :List, ::V1::AccountAttachmentListRequest, ::V1::AccountAttachmentListResponse
|
39
39
|
end
|
40
40
|
|
41
41
|
Stub = Service.rpc_stub_class
|
@@ -29,13 +29,13 @@ module V1
|
|
29
29
|
self.service_name = "v1.AccountGrants"
|
30
30
|
|
31
31
|
# Create registers a new AccountGrant.
|
32
|
-
rpc :Create, AccountGrantCreateRequest, AccountGrantCreateResponse
|
32
|
+
rpc :Create, ::V1::AccountGrantCreateRequest, ::V1::AccountGrantCreateResponse
|
33
33
|
# Get reads one AccountGrant by ID.
|
34
|
-
rpc :Get, AccountGrantGetRequest, AccountGrantGetResponse
|
34
|
+
rpc :Get, ::V1::AccountGrantGetRequest, ::V1::AccountGrantGetResponse
|
35
35
|
# Delete removes a AccountGrant by ID.
|
36
|
-
rpc :Delete, AccountGrantDeleteRequest, AccountGrantDeleteResponse
|
36
|
+
rpc :Delete, ::V1::AccountGrantDeleteRequest, ::V1::AccountGrantDeleteResponse
|
37
37
|
# List gets a list of AccountGrants matching a given set of criteria.
|
38
|
-
rpc :List, AccountGrantListRequest, AccountGrantListResponse
|
38
|
+
rpc :List, ::V1::AccountGrantListRequest, ::V1::AccountGrantListResponse
|
39
39
|
end
|
40
40
|
|
41
41
|
Stub = Service.rpc_stub_class
|
data/lib/grpc/accounts_pb.rb
CHANGED
@@ -81,6 +81,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
81
81
|
optional :last_name, :string, 4
|
82
82
|
optional :suspended, :bool, 5
|
83
83
|
optional :tags, :message, 6, "v1.Tags"
|
84
|
+
optional :permission_level, :string, 7
|
84
85
|
end
|
85
86
|
add_message "v1.Service" do
|
86
87
|
optional :id, :string, 1
|
@@ -31,15 +31,15 @@ module V1
|
|
31
31
|
self.service_name = "v1.Accounts"
|
32
32
|
|
33
33
|
# Create registers a new Account.
|
34
|
-
rpc :Create, AccountCreateRequest, AccountCreateResponse
|
34
|
+
rpc :Create, ::V1::AccountCreateRequest, ::V1::AccountCreateResponse
|
35
35
|
# Get reads one Account by ID.
|
36
|
-
rpc :Get, AccountGetRequest, AccountGetResponse
|
36
|
+
rpc :Get, ::V1::AccountGetRequest, ::V1::AccountGetResponse
|
37
37
|
# Update patches a Account by ID.
|
38
|
-
rpc :Update, AccountUpdateRequest, AccountUpdateResponse
|
38
|
+
rpc :Update, ::V1::AccountUpdateRequest, ::V1::AccountUpdateResponse
|
39
39
|
# Delete removes a Account by ID.
|
40
|
-
rpc :Delete, AccountDeleteRequest, AccountDeleteResponse
|
40
|
+
rpc :Delete, ::V1::AccountDeleteRequest, ::V1::AccountDeleteResponse
|
41
41
|
# List gets a list of Accounts matching a given set of criteria.
|
42
|
-
rpc :List, AccountListRequest, AccountListResponse
|
42
|
+
rpc :List, ::V1::AccountListRequest, ::V1::AccountListResponse
|
43
43
|
end
|
44
44
|
|
45
45
|
Stub = Service.rpc_stub_class
|
@@ -29,9 +29,9 @@ module V1
|
|
29
29
|
self.service_name = "v1.ControlPanel"
|
30
30
|
|
31
31
|
# GetSSHCAPublicKey retrieves the SSH CA public key.
|
32
|
-
rpc :GetSSHCAPublicKey, ControlPanelGetSSHCAPublicKeyRequest, ControlPanelGetSSHCAPublicKeyResponse
|
32
|
+
rpc :GetSSHCAPublicKey, ::V1::ControlPanelGetSSHCAPublicKeyRequest, ::V1::ControlPanelGetSSHCAPublicKeyResponse
|
33
33
|
# VerifyJWT reports whether the given JWT token (x-sdm-token) is valid.
|
34
|
-
rpc :VerifyJWT, ControlPanelVerifyJWTRequest, ControlPanelVerifyJWTResponse
|
34
|
+
rpc :VerifyJWT, ::V1::ControlPanelVerifyJWTRequest, ::V1::ControlPanelVerifyJWTResponse
|
35
35
|
end
|
36
36
|
|
37
37
|
Stub = Service.rpc_stub_class
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -23,6 +23,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
23
23
|
add_file("drivers.proto", :syntax => :proto3) do
|
24
24
|
add_message "v1.Resource" do
|
25
25
|
oneof :resource do
|
26
|
+
optional :rabbit_mqamqp_091, :message, 2500, "v1.RabbitMQAMQP091"
|
27
|
+
optional :amazon_mqamqp_091, :message, 2501, "v1.AmazonMQAMQP091"
|
26
28
|
optional :athena, :message, 100, "v1.Athena"
|
27
29
|
optional :aws, :message, 2300, "v1.AWS"
|
28
30
|
optional :big_query, :message, 200, "v1.BigQuery"
|
@@ -60,6 +62,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
60
62
|
optional :clustrix, :message, 1102, "v1.Clustrix"
|
61
63
|
optional :maria, :message, 1103, "v1.Maria"
|
62
64
|
optional :memsql, :message, 1104, "v1.Memsql"
|
65
|
+
optional :single_store, :message, 1105, "v1.SingleStore"
|
63
66
|
optional :oracle, :message, 1200, "v1.Oracle"
|
64
67
|
optional :postgres, :message, 1300, "v1.Postgres"
|
65
68
|
optional :aurora_postgres, :message, 1301, "v1.AuroraPostgres"
|
@@ -68,6 +71,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
68
71
|
optional :redshift, :message, 1304, "v1.Redshift"
|
69
72
|
optional :citus, :message, 1305, "v1.Citus"
|
70
73
|
optional :presto, :message, 1400, "v1.Presto"
|
74
|
+
optional :raw_tcp, :message, 2600, "v1.RawTCP"
|
71
75
|
optional :rdp, :message, 1500, "v1.RDP"
|
72
76
|
optional :redis, :message, 1600, "v1.Redis"
|
73
77
|
optional :elasticache_redis, :message, 1601, "v1.ElasticacheRedis"
|
@@ -81,6 +85,34 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
81
85
|
optional :teradata, :message, 2100, "v1.Teradata"
|
82
86
|
end
|
83
87
|
end
|
88
|
+
add_message "v1.RabbitMQAMQP091" do
|
89
|
+
optional :id, :string, 32768
|
90
|
+
optional :name, :string, 32769
|
91
|
+
optional :healthy, :bool, 32770
|
92
|
+
optional :tags, :message, 32771, "v1.Tags"
|
93
|
+
optional :secret_store_id, :string, 32772
|
94
|
+
optional :egress_filter, :string, 32773
|
95
|
+
optional :hostname, :string, 1
|
96
|
+
optional :port_override, :int32, 2
|
97
|
+
optional :port, :int32, 3
|
98
|
+
optional :username, :string, 4
|
99
|
+
optional :password, :string, 5
|
100
|
+
optional :tls_required, :bool, 8
|
101
|
+
end
|
102
|
+
add_message "v1.AmazonMQAMQP091" do
|
103
|
+
optional :id, :string, 32768
|
104
|
+
optional :name, :string, 32769
|
105
|
+
optional :healthy, :bool, 32770
|
106
|
+
optional :tags, :message, 32771, "v1.Tags"
|
107
|
+
optional :secret_store_id, :string, 32772
|
108
|
+
optional :egress_filter, :string, 32773
|
109
|
+
optional :hostname, :string, 1
|
110
|
+
optional :port_override, :int32, 2
|
111
|
+
optional :port, :int32, 3
|
112
|
+
optional :username, :string, 4
|
113
|
+
optional :password, :string, 5
|
114
|
+
optional :tls_required, :bool, 8
|
115
|
+
end
|
84
116
|
add_message "v1.Athena" do
|
85
117
|
optional :id, :string, 32768
|
86
118
|
optional :name, :string, 32769
|
@@ -597,6 +629,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
597
629
|
optional :port_override, :int32, 5
|
598
630
|
optional :port, :int32, 6
|
599
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
|
600
646
|
add_message "v1.Oracle" do
|
601
647
|
optional :id, :string, 32768
|
602
648
|
optional :name, :string, 32769
|
@@ -717,6 +763,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
717
763
|
optional :username, :string, 6
|
718
764
|
optional :tls_required, :bool, 7
|
719
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
|
720
777
|
add_message "v1.RDP" do
|
721
778
|
optional :id, :string, 32768
|
722
779
|
optional :name, :string, 32769
|
@@ -870,6 +927,8 @@ end
|
|
870
927
|
|
871
928
|
module V1
|
872
929
|
Resource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Resource").msgclass
|
930
|
+
RabbitMQAMQP091 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RabbitMQAMQP091").msgclass
|
931
|
+
AmazonMQAMQP091 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonMQAMQP091").msgclass
|
873
932
|
Athena = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Athena").msgclass
|
874
933
|
AWS = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWS").msgclass
|
875
934
|
BigQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.BigQuery").msgclass
|
@@ -907,6 +966,7 @@ module V1
|
|
907
966
|
Clustrix = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Clustrix").msgclass
|
908
967
|
Maria = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Maria").msgclass
|
909
968
|
Memsql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Memsql").msgclass
|
969
|
+
SingleStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SingleStore").msgclass
|
910
970
|
Oracle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Oracle").msgclass
|
911
971
|
Postgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Postgres").msgclass
|
912
972
|
AuroraPostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraPostgres").msgclass
|
@@ -915,6 +975,7 @@ module V1
|
|
915
975
|
Redshift = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Redshift").msgclass
|
916
976
|
Citus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Citus").msgclass
|
917
977
|
Presto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Presto").msgclass
|
978
|
+
RawTCP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RawTCP").msgclass
|
918
979
|
RDP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RDP").msgclass
|
919
980
|
Redis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Redis").msgclass
|
920
981
|
ElasticacheRedis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ElasticacheRedis").msgclass
|
data/lib/grpc/nodes_pb.rb
CHANGED
@@ -79,6 +79,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
79
79
|
optional :name, :string, 2
|
80
80
|
optional :state, :string, 3
|
81
81
|
optional :tags, :message, 4, "v1.Tags"
|
82
|
+
optional :gateway_filter, :string, 5
|
82
83
|
end
|
83
84
|
add_message "v1.Gateway" do
|
84
85
|
optional :id, :string, 1
|
@@ -87,6 +88,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
87
88
|
optional :listen_address, :string, 4
|
88
89
|
optional :bind_address, :string, 5
|
89
90
|
optional :tags, :message, 6, "v1.Tags"
|
91
|
+
optional :gateway_filter, :string, 7
|
90
92
|
end
|
91
93
|
end
|
92
94
|
end
|
@@ -31,15 +31,15 @@ module V1
|
|
31
31
|
self.service_name = "v1.Nodes"
|
32
32
|
|
33
33
|
# Create registers a new Node.
|
34
|
-
rpc :Create, NodeCreateRequest, NodeCreateResponse
|
34
|
+
rpc :Create, ::V1::NodeCreateRequest, ::V1::NodeCreateResponse
|
35
35
|
# Get reads one Node by ID.
|
36
|
-
rpc :Get, NodeGetRequest, NodeGetResponse
|
36
|
+
rpc :Get, ::V1::NodeGetRequest, ::V1::NodeGetResponse
|
37
37
|
# Update patches a Node by ID.
|
38
|
-
rpc :Update, NodeUpdateRequest, NodeUpdateResponse
|
38
|
+
rpc :Update, ::V1::NodeUpdateRequest, ::V1::NodeUpdateResponse
|
39
39
|
# Delete removes a Node by ID.
|
40
|
-
rpc :Delete, NodeDeleteRequest, NodeDeleteResponse
|
40
|
+
rpc :Delete, ::V1::NodeDeleteRequest, ::V1::NodeDeleteResponse
|
41
41
|
# List gets a list of Nodes matching a given set of criteria.
|
42
|
-
rpc :List, NodeListRequest, NodeListResponse
|
42
|
+
rpc :List, ::V1::NodeListRequest, ::V1::NodeListResponse
|
43
43
|
end
|
44
44
|
|
45
45
|
Stub = Service.rpc_stub_class
|
data/lib/grpc/options_pb.rb
CHANGED
@@ -27,37 +27,34 @@ 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
41
|
optional :cli_name, :string, 1941311
|
42
42
|
optional :cli_json_name, :string, 1941312
|
43
43
|
optional :json_gateway_name, :string, 1941313
|
44
44
|
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
45
|
end
|
49
46
|
add_message "v1.MessageOptions" do
|
50
|
-
optional :model_name, :string, 1941300
|
51
47
|
optional :porcelain, :bool, 1941301
|
52
48
|
optional :error, :int32, 1941302
|
53
49
|
optional :options_field, :string, 1941303
|
54
|
-
optional :terraform_docs, :message, 1941304, "v1.TerraformDocs"
|
55
50
|
optional :custom, :message, 1941305, "v1.CustomPorcelainMessageOptions"
|
56
51
|
optional :private_sdk, :bool, 1941306
|
57
52
|
optional :cli_name, :string, 1941307
|
58
53
|
optional :cli_json_name, :string, 1941308
|
59
54
|
optional :json_gateway_name, :string, 1941309
|
60
55
|
optional :hide_from_json_gateway, :bool, 1941310
|
56
|
+
optional :terraform_docs, :message, 1941304, "v1.TerraformDocs"
|
57
|
+
optional :terraform_provider_name, :string, 1941311
|
61
58
|
end
|
62
59
|
add_message "v1.CustomPorcelainMessageOptions" do
|
63
60
|
optional :converter, :string, 1941309
|
@@ -71,7 +68,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
71
68
|
optional :data_source_example_path, :string, 1941301
|
72
69
|
end
|
73
70
|
add_message "v1.OneofOptions" do
|
74
|
-
optional :model_name, :string, 1941380
|
75
71
|
repeated :common_fields, :string, 1941381
|
76
72
|
end
|
77
73
|
add_message "v1.ServiceOptions" do
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -960,6 +960,12 @@ module SDM
|
|
960
960
|
return nil
|
961
961
|
end
|
962
962
|
plumbing = V1::Resource.new()
|
963
|
+
if porcelain.instance_of? RabbitMQAMQP091
|
964
|
+
plumbing.rabbit_mqamqp_091 = convert_rabbit_mqamqp_091_to_plumbing(porcelain)
|
965
|
+
end
|
966
|
+
if porcelain.instance_of? AmazonMQAMQP091
|
967
|
+
plumbing.amazon_mqamqp_091 = convert_amazon_mqamqp_091_to_plumbing(porcelain)
|
968
|
+
end
|
963
969
|
if porcelain.instance_of? Athena
|
964
970
|
plumbing.athena = convert_athena_to_plumbing(porcelain)
|
965
971
|
end
|
@@ -1071,6 +1077,9 @@ module SDM
|
|
1071
1077
|
if porcelain.instance_of? Memsql
|
1072
1078
|
plumbing.memsql = convert_memsql_to_plumbing(porcelain)
|
1073
1079
|
end
|
1080
|
+
if porcelain.instance_of? SingleStore
|
1081
|
+
plumbing.single_store = convert_single_store_to_plumbing(porcelain)
|
1082
|
+
end
|
1074
1083
|
if porcelain.instance_of? Oracle
|
1075
1084
|
plumbing.oracle = convert_oracle_to_plumbing(porcelain)
|
1076
1085
|
end
|
@@ -1095,6 +1104,9 @@ module SDM
|
|
1095
1104
|
if porcelain.instance_of? Presto
|
1096
1105
|
plumbing.presto = convert_presto_to_plumbing(porcelain)
|
1097
1106
|
end
|
1107
|
+
if porcelain.instance_of? RawTCP
|
1108
|
+
plumbing.raw_tcp = convert_raw_tcp_to_plumbing(porcelain)
|
1109
|
+
end
|
1098
1110
|
if porcelain.instance_of? RDP
|
1099
1111
|
plumbing.rdp = convert_rdp_to_plumbing(porcelain)
|
1100
1112
|
end
|
@@ -1135,6 +1147,12 @@ module SDM
|
|
1135
1147
|
if plumbing == nil
|
1136
1148
|
return nil
|
1137
1149
|
end
|
1150
|
+
if plumbing.rabbit_mqamqp_091 != nil
|
1151
|
+
return convert_rabbit_mqamqp_091_to_porcelain(plumbing.rabbit_mqamqp_091)
|
1152
|
+
end
|
1153
|
+
if plumbing.amazon_mqamqp_091 != nil
|
1154
|
+
return convert_amazon_mqamqp_091_to_porcelain(plumbing.amazon_mqamqp_091)
|
1155
|
+
end
|
1138
1156
|
if plumbing.athena != nil
|
1139
1157
|
return convert_athena_to_porcelain(plumbing.athena)
|
1140
1158
|
end
|
@@ -1246,6 +1264,9 @@ module SDM
|
|
1246
1264
|
if plumbing.memsql != nil
|
1247
1265
|
return convert_memsql_to_porcelain(plumbing.memsql)
|
1248
1266
|
end
|
1267
|
+
if plumbing.single_store != nil
|
1268
|
+
return convert_single_store_to_porcelain(plumbing.single_store)
|
1269
|
+
end
|
1249
1270
|
if plumbing.oracle != nil
|
1250
1271
|
return convert_oracle_to_porcelain(plumbing.oracle)
|
1251
1272
|
end
|
@@ -1270,6 +1291,9 @@ module SDM
|
|
1270
1291
|
if plumbing.presto != nil
|
1271
1292
|
return convert_presto_to_porcelain(plumbing.presto)
|
1272
1293
|
end
|
1294
|
+
if plumbing.raw_tcp != nil
|
1295
|
+
return convert_raw_tcp_to_porcelain(plumbing.raw_tcp)
|
1296
|
+
end
|
1273
1297
|
if plumbing.rdp != nil
|
1274
1298
|
return convert_rdp_to_porcelain(plumbing.rdp)
|
1275
1299
|
end
|
@@ -1321,6 +1345,118 @@ module SDM
|
|
1321
1345
|
end
|
1322
1346
|
items
|
1323
1347
|
end
|
1348
|
+
def self.convert_rabbit_mqamqp_091_to_porcelain(plumbing)
|
1349
|
+
if plumbing == nil
|
1350
|
+
return nil
|
1351
|
+
end
|
1352
|
+
porcelain = RabbitMQAMQP091.new()
|
1353
|
+
porcelain.id = (plumbing.id)
|
1354
|
+
porcelain.name = (plumbing.name)
|
1355
|
+
porcelain.healthy = (plumbing.healthy)
|
1356
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1357
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1358
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1359
|
+
porcelain.hostname = (plumbing.hostname)
|
1360
|
+
porcelain.port_override = (plumbing.port_override)
|
1361
|
+
porcelain.port = (plumbing.port)
|
1362
|
+
porcelain.username = (plumbing.username)
|
1363
|
+
porcelain.password = (plumbing.password)
|
1364
|
+
porcelain.tls_required = (plumbing.tls_required)
|
1365
|
+
porcelain
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
def self.convert_rabbit_mqamqp_091_to_plumbing(porcelain)
|
1369
|
+
if porcelain == nil
|
1370
|
+
return nil
|
1371
|
+
end
|
1372
|
+
plumbing = V1::RabbitMQAMQP091.new()
|
1373
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
1374
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1375
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1376
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1377
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1378
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1379
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1380
|
+
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
1381
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
1382
|
+
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1383
|
+
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
1384
|
+
plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
|
1385
|
+
plumbing
|
1386
|
+
end
|
1387
|
+
def self.convert_repeated_rabbit_mqamqp_091_to_plumbing(porcelains)
|
1388
|
+
items = Array.new
|
1389
|
+
porcelains.each do |porcelain|
|
1390
|
+
plumbing = convert_rabbit_mqamqp_091_to_plumbing(porcelain)
|
1391
|
+
items.append(plumbing)
|
1392
|
+
end
|
1393
|
+
items
|
1394
|
+
end
|
1395
|
+
|
1396
|
+
def self.convert_repeated_rabbit_mqamqp_091_to_porcelain(plumbings)
|
1397
|
+
items = Array.new
|
1398
|
+
plumbings.each do |plumbing|
|
1399
|
+
porcelain = convert_rabbit_mqamqp_091_to_porcelain(plumbing)
|
1400
|
+
items.append(porcelain)
|
1401
|
+
end
|
1402
|
+
items
|
1403
|
+
end
|
1404
|
+
def self.convert_amazon_mqamqp_091_to_porcelain(plumbing)
|
1405
|
+
if plumbing == nil
|
1406
|
+
return nil
|
1407
|
+
end
|
1408
|
+
porcelain = AmazonMQAMQP091.new()
|
1409
|
+
porcelain.id = (plumbing.id)
|
1410
|
+
porcelain.name = (plumbing.name)
|
1411
|
+
porcelain.healthy = (plumbing.healthy)
|
1412
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1413
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1414
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1415
|
+
porcelain.hostname = (plumbing.hostname)
|
1416
|
+
porcelain.port_override = (plumbing.port_override)
|
1417
|
+
porcelain.port = (plumbing.port)
|
1418
|
+
porcelain.username = (plumbing.username)
|
1419
|
+
porcelain.password = (plumbing.password)
|
1420
|
+
porcelain.tls_required = (plumbing.tls_required)
|
1421
|
+
porcelain
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
def self.convert_amazon_mqamqp_091_to_plumbing(porcelain)
|
1425
|
+
if porcelain == nil
|
1426
|
+
return nil
|
1427
|
+
end
|
1428
|
+
plumbing = V1::AmazonMQAMQP091.new()
|
1429
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
1430
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1431
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1432
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1433
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1434
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1435
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1436
|
+
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
1437
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
1438
|
+
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1439
|
+
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
1440
|
+
plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
|
1441
|
+
plumbing
|
1442
|
+
end
|
1443
|
+
def self.convert_repeated_amazon_mqamqp_091_to_plumbing(porcelains)
|
1444
|
+
items = Array.new
|
1445
|
+
porcelains.each do |porcelain|
|
1446
|
+
plumbing = convert_amazon_mqamqp_091_to_plumbing(porcelain)
|
1447
|
+
items.append(plumbing)
|
1448
|
+
end
|
1449
|
+
items
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
def self.convert_repeated_amazon_mqamqp_091_to_porcelain(plumbings)
|
1453
|
+
items = Array.new
|
1454
|
+
plumbings.each do |plumbing|
|
1455
|
+
porcelain = convert_amazon_mqamqp_091_to_porcelain(plumbing)
|
1456
|
+
items.append(porcelain)
|
1457
|
+
end
|
1458
|
+
items
|
1459
|
+
end
|
1324
1460
|
def self.convert_athena_to_porcelain(plumbing)
|
1325
1461
|
if plumbing == nil
|
1326
1462
|
return nil
|
@@ -3389,6 +3525,62 @@ module SDM
|
|
3389
3525
|
end
|
3390
3526
|
items
|
3391
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
|
3392
3584
|
def self.convert_oracle_to_porcelain(plumbing)
|
3393
3585
|
if plumbing == nil
|
3394
3586
|
return nil
|
@@ -3853,6 +4045,56 @@ module SDM
|
|
3853
4045
|
end
|
3854
4046
|
items
|
3855
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
|
3856
4098
|
def self.convert_rdp_to_porcelain(plumbing)
|
3857
4099
|
if plumbing == nil
|
3858
4100
|
return nil
|
@@ -4660,6 +4902,7 @@ module SDM
|
|
4660
4902
|
porcelain.name = (plumbing.name)
|
4661
4903
|
porcelain.state = (plumbing.state)
|
4662
4904
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4905
|
+
porcelain.gateway_filter = (plumbing.gateway_filter)
|
4663
4906
|
porcelain
|
4664
4907
|
end
|
4665
4908
|
|
@@ -4672,6 +4915,7 @@ module SDM
|
|
4672
4915
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
4673
4916
|
plumbing.state = (porcelain.state) unless porcelain.state == nil
|
4674
4917
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
4918
|
+
plumbing.gateway_filter = (porcelain.gateway_filter) unless porcelain.gateway_filter == nil
|
4675
4919
|
plumbing
|
4676
4920
|
end
|
4677
4921
|
def self.convert_repeated_relay_to_plumbing(porcelains)
|
@@ -4702,6 +4946,7 @@ module SDM
|
|
4702
4946
|
porcelain.listen_address = (plumbing.listen_address)
|
4703
4947
|
porcelain.bind_address = (plumbing.bind_address)
|
4704
4948
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4949
|
+
porcelain.gateway_filter = (plumbing.gateway_filter)
|
4705
4950
|
porcelain
|
4706
4951
|
end
|
4707
4952
|
|
@@ -4716,6 +4961,7 @@ module SDM
|
|
4716
4961
|
plumbing.listen_address = (porcelain.listen_address) unless porcelain.listen_address == nil
|
4717
4962
|
plumbing.bind_address = (porcelain.bind_address) unless porcelain.bind_address == nil
|
4718
4963
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
4964
|
+
plumbing.gateway_filter = (porcelain.gateway_filter) unless porcelain.gateway_filter == nil
|
4719
4965
|
plumbing
|
4720
4966
|
end
|
4721
4967
|
def self.convert_repeated_gateway_to_plumbing(porcelains)
|
@@ -5342,6 +5588,7 @@ module SDM
|
|
5342
5588
|
porcelain = Role.new()
|
5343
5589
|
porcelain.id = (plumbing.id)
|
5344
5590
|
porcelain.name = (plumbing.name)
|
5591
|
+
porcelain.access_rules = (plumbing.access_rules)
|
5345
5592
|
porcelain.composite = (plumbing.composite)
|
5346
5593
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
5347
5594
|
porcelain
|
@@ -5354,6 +5601,7 @@ module SDM
|
|
5354
5601
|
plumbing = V1::Role.new()
|
5355
5602
|
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
5356
5603
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
5604
|
+
plumbing.access_rules = (porcelain.access_rules) unless porcelain.access_rules == nil
|
5357
5605
|
plumbing.composite = (porcelain.composite) unless porcelain.composite == nil
|
5358
5606
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
5359
5607
|
plumbing
|