strongdm 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/LICENSE.html +6 -5
- data/doc/Object.html +16 -16
- data/doc/README_md.html +6 -5
- data/doc/SDM/AKS.html +27 -6
- data/doc/SDM/AKSBasicAuth.html +27 -6
- data/doc/SDM/AKSServiceAccount.html +27 -6
- data/doc/SDM/AccountAttachment.html +6 -3
- data/doc/SDM/AccountAttachmentCreateOptions.html +6 -3
- data/doc/SDM/AccountAttachmentCreateResponse.html +6 -3
- data/doc/SDM/AccountAttachmentDeleteResponse.html +6 -3
- data/doc/SDM/AccountAttachmentGetResponse.html +6 -3
- data/doc/SDM/AccountAttachments.html +24 -21
- data/doc/SDM/AccountCreateResponse.html +6 -3
- data/doc/SDM/AccountDeleteResponse.html +6 -3
- data/doc/SDM/AccountGetResponse.html +6 -3
- data/doc/SDM/AccountGrant.html +6 -3
- data/doc/SDM/AccountGrantCreateResponse.html +6 -3
- data/doc/SDM/AccountGrantDeleteResponse.html +6 -3
- data/doc/SDM/AccountGrantGetResponse.html +6 -3
- data/doc/SDM/AccountGrants.html +24 -21
- data/doc/SDM/AccountUpdateResponse.html +6 -3
- data/doc/SDM/Accounts.html +29 -26
- data/doc/SDM/AlreadyExistsError.html +6 -3
- data/doc/SDM/AmazonEKS.html +27 -6
- data/doc/SDM/AmazonES.html +27 -6
- data/doc/SDM/Athena.html +27 -6
- data/doc/SDM/AuroraMysql.html +27 -6
- data/doc/SDM/AuroraPostgres.html +27 -6
- data/doc/SDM/AuthenticationError.html +6 -3
- data/doc/SDM/BadRequestError.html +6 -3
- data/doc/SDM/BigQuery.html +27 -6
- data/doc/SDM/Cassandra.html +27 -6
- data/doc/SDM/Client.html +7 -4
- data/doc/SDM/Clustrix.html +27 -6
- data/doc/SDM/Cockroach.html +27 -6
- data/doc/SDM/CreateResponseMetadata.html +6 -3
- data/doc/SDM/DeadlineExceededError.html +6 -3
- data/doc/SDM/DeleteResponseMetadata.html +6 -3
- data/doc/SDM/Druid.html +27 -6
- data/doc/SDM/DynamoDB.html +27 -6
- data/doc/SDM/Elastic.html +27 -6
- data/doc/SDM/ElasticacheRedis.html +27 -6
- data/doc/SDM/Gateway.html +8 -5
- data/doc/SDM/GetResponseMetadata.html +6 -3
- data/doc/SDM/GoogleGKE.html +27 -6
- data/doc/SDM/Greenplum.html +27 -6
- data/doc/SDM/HTTPAuth.html +27 -6
- data/doc/SDM/HTTPBasicAuth.html +27 -6
- data/doc/SDM/HTTPNoAuth.html +27 -6
- data/doc/SDM/InternalError.html +6 -3
- data/doc/SDM/Kubernetes.html +27 -6
- data/doc/SDM/KubernetesBasicAuth.html +27 -6
- data/doc/SDM/KubernetesServiceAccount.html +27 -6
- data/doc/SDM/Maria.html +27 -6
- data/doc/SDM/Memcached.html +27 -6
- data/doc/SDM/Memsql.html +27 -6
- data/doc/SDM/MongoHost.html +27 -6
- data/doc/SDM/MongoLegacyHost.html +27 -6
- data/doc/SDM/MongoLegacyReplicaset.html +27 -6
- data/doc/SDM/MongoReplicaSet.html +27 -6
- data/doc/SDM/Mysql.html +27 -6
- data/doc/SDM/NodeCreateResponse.html +8 -5
- data/doc/SDM/NodeDeleteResponse.html +8 -5
- data/doc/SDM/NodeGetResponse.html +8 -5
- data/doc/SDM/NodeUpdateResponse.html +8 -5
- data/doc/SDM/Nodes.html +29 -26
- data/doc/SDM/NotFoundError.html +6 -3
- data/doc/SDM/Oracle.html +27 -6
- data/doc/SDM/PermissionError.html +6 -3
- data/doc/SDM/Plumbing.html +3701 -3523
- data/doc/SDM/Postgres.html +27 -6
- data/doc/SDM/Presto.html +27 -6
- data/doc/SDM/RDP.html +27 -6
- data/doc/SDM/RPCError.html +6 -3
- data/doc/SDM/RateLimitError.html +6 -3
- data/doc/SDM/RateLimitMetadata.html +6 -3
- data/doc/SDM/Redis.html +27 -6
- data/doc/SDM/Redshift.html +27 -6
- data/doc/SDM/Relay.html +8 -5
- data/doc/SDM/ResourceCreateResponse.html +8 -5
- data/doc/SDM/ResourceDeleteResponse.html +8 -5
- data/doc/SDM/ResourceGetResponse.html +8 -5
- data/doc/SDM/ResourceUpdateResponse.html +8 -5
- data/doc/SDM/Resources.html +28 -25
- data/doc/SDM/Role.html +8 -5
- data/doc/SDM/RoleAttachment.html +8 -5
- data/doc/SDM/RoleAttachmentCreateResponse.html +8 -5
- data/doc/SDM/RoleAttachmentDeleteResponse.html +8 -5
- data/doc/SDM/RoleAttachmentGetResponse.html +8 -5
- data/doc/SDM/RoleAttachments.html +23 -20
- data/doc/SDM/RoleCreateResponse.html +8 -5
- data/doc/SDM/RoleDeleteResponse.html +8 -5
- data/doc/SDM/RoleGetResponse.html +8 -5
- data/doc/SDM/RoleGrant.html +8 -5
- data/doc/SDM/RoleGrantCreateResponse.html +8 -5
- data/doc/SDM/RoleGrantDeleteResponse.html +8 -5
- data/doc/SDM/RoleGrantGetResponse.html +8 -5
- data/doc/SDM/RoleGrants.html +23 -20
- data/doc/SDM/RoleUpdateResponse.html +8 -5
- data/doc/SDM/Roles.html +28 -25
- data/doc/SDM/SQLServer.html +27 -6
- data/doc/SDM/SSH.html +27 -6
- data/doc/SDM/Service.html +6 -3
- data/doc/SDM/Snowflake.html +27 -6
- data/doc/SDM/Sybase.html +27 -6
- data/doc/SDM/SybaseIQ.html +27 -6
- data/doc/SDM/Teradata.html +27 -6
- data/doc/SDM/UpdateResponseMetadata.html +6 -3
- data/doc/SDM/User.html +6 -3
- data/doc/SDM.html +6 -3
- data/doc/V1/AccountAttachments/Service.html +6 -3
- data/doc/V1/AccountAttachments.html +6 -3
- data/doc/V1/AccountGrants/Service.html +7 -4
- data/doc/V1/AccountGrants.html +6 -3
- data/doc/V1/Accounts/Service.html +6 -3
- data/doc/V1/Accounts.html +6 -3
- data/doc/V1/Nodes/Service.html +6 -3
- data/doc/V1/Nodes.html +6 -3
- data/doc/V1/Resources/Service.html +6 -3
- data/doc/V1/Resources.html +6 -3
- data/doc/V1/RoleAttachments/Service.html +6 -3
- data/doc/V1/RoleAttachments.html +6 -3
- data/doc/V1/RoleGrants/Service.html +6 -3
- data/doc/V1/RoleGrants.html +6 -3
- data/doc/V1/Roles/Service.html +6 -3
- data/doc/V1/Roles.html +6 -3
- data/doc/V1/Tags.html +113 -0
- data/doc/V1.html +16 -3
- data/doc/created.rid +34 -35
- data/doc/css/rdoc.css +35 -6
- data/doc/examples/Gemfile.html +6 -5
- data/doc/examples/Gemfile_lock.html +6 -5
- data/doc/examples/README_md.html +6 -5
- data/doc/examples/okta-sync/Gemfile.html +6 -5
- data/doc/examples/okta-sync/Gemfile_lock.html +6 -5
- data/doc/index.html +8 -5
- data/doc/js/darkfish.js +22 -99
- data/doc/js/navigation.js +4 -40
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +32 -31
- 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 -5
- data/doc/table_of_contents.html +927 -914
- data/examples/Gemfile +2 -2
- data/examples/listUsers.rb +4 -4
- data/examples/okta-sync/oktaSync.rb +17 -59
- data/examples/panicButton.rb +4 -46
- data/lib/errors/errors.rb +53 -55
- data/lib/grpc/account_attachments_pb.rb +9 -9
- data/lib/grpc/account_attachments_services_pb.rb +8 -7
- data/lib/grpc/account_grants_pb.rb +10 -10
- data/lib/grpc/account_grants_services_pb.rb +9 -8
- data/lib/grpc/accounts_pb.rb +9 -9
- data/lib/grpc/accounts_services_pb.rb +8 -7
- data/lib/grpc/drivers_pb.rb +52 -7
- data/lib/grpc/nodes_pb.rb +9 -9
- data/lib/grpc/nodes_services_pb.rb +8 -7
- data/lib/grpc/options_pb.rb +14 -5
- data/lib/grpc/plumbing.rb +4200 -4085
- data/lib/grpc/protoc-gen-swagger/options/annotations_pb.rb +4 -4
- data/lib/grpc/resources_pb.rb +9 -9
- data/lib/grpc/resources_services_pb.rb +8 -7
- data/lib/grpc/role_attachments_pb.rb +9 -9
- data/lib/grpc/role_attachments_services_pb.rb +8 -7
- data/lib/grpc/role_grants_pb.rb +9 -9
- data/lib/grpc/role_grants_services_pb.rb +8 -7
- data/lib/grpc/roles_pb.rb +9 -9
- data/lib/grpc/roles_services_pb.rb +8 -7
- data/lib/grpc/spec_pb.rb +8 -8
- data/lib/grpc/tags_pb.rb +36 -0
- data/lib/models/porcelain.rb +4941 -4415
- data/lib/strongdm.rb +95 -94
- data/lib/svc.rb +1224 -1202
- data/lib/version.rb +5 -5
- data/strongdm.gemspec +10 -10
- metadata +4 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# Copyright 2020 StrongDM Inc
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
6
|
+
#
|
|
7
7
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
8
|
+
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
-
#
|
|
14
|
+
#
|
|
15
15
|
# this file is intentionally left empty
|
data/lib/grpc/resources_pb.rb
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
# Copyright 2020 StrongDM Inc
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
6
|
+
#
|
|
7
7
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
8
|
+
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
-
#
|
|
14
|
+
#
|
|
15
15
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
16
16
|
# source: resources.proto
|
|
17
17
|
|
|
18
|
-
require
|
|
18
|
+
require 'google/protobuf'
|
|
19
19
|
|
|
20
|
-
require
|
|
21
|
-
require
|
|
22
|
-
require
|
|
23
|
-
require
|
|
20
|
+
require 'google/api/annotations_pb'
|
|
21
|
+
require 'options_pb'
|
|
22
|
+
require 'spec_pb'
|
|
23
|
+
require 'drivers_pb'
|
|
24
24
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
25
25
|
add_file("resources.proto", :syntax => :proto3) do
|
|
26
26
|
add_message "v1.ResourceCreateRequest" do
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
# Copyright 2020 StrongDM Inc
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
6
|
+
#
|
|
7
7
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
8
|
+
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
-
#
|
|
14
|
+
#
|
|
15
15
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
16
16
|
# Source: resources.proto for package 'v1'
|
|
17
17
|
|
|
18
|
-
require
|
|
19
|
-
require
|
|
18
|
+
require 'grpc'
|
|
19
|
+
require 'resources_pb'
|
|
20
20
|
|
|
21
21
|
module V1
|
|
22
22
|
module Resources
|
|
23
23
|
class Service
|
|
24
|
+
|
|
24
25
|
include GRPC::GenericService
|
|
25
26
|
|
|
26
27
|
self.marshal_class_method = :encode
|
|
27
28
|
self.unmarshal_class_method = :decode
|
|
28
|
-
self.service_name =
|
|
29
|
+
self.service_name = 'v1.Resources'
|
|
29
30
|
|
|
30
31
|
# Create registers a new Resource.
|
|
31
32
|
rpc :Create, ResourceCreateRequest, ResourceCreateResponse
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
# Copyright 2020 StrongDM Inc
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
6
|
+
#
|
|
7
7
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
8
|
+
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
-
#
|
|
14
|
+
#
|
|
15
15
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
16
16
|
# source: role_attachments.proto
|
|
17
17
|
|
|
18
|
-
require
|
|
18
|
+
require 'google/protobuf'
|
|
19
19
|
|
|
20
|
-
require
|
|
21
|
-
require
|
|
22
|
-
require
|
|
23
|
-
require
|
|
20
|
+
require 'google/api/annotations_pb'
|
|
21
|
+
require 'protoc-gen-swagger/options/annotations_pb'
|
|
22
|
+
require 'options_pb'
|
|
23
|
+
require 'spec_pb'
|
|
24
24
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
25
25
|
add_file("role_attachments.proto", :syntax => :proto3) do
|
|
26
26
|
add_message "v1.RoleAttachmentCreateRequest" do
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
# Copyright 2020 StrongDM Inc
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
6
|
+
#
|
|
7
7
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
8
|
+
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
-
#
|
|
14
|
+
#
|
|
15
15
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
16
16
|
# Source: role_attachments.proto for package 'v1'
|
|
17
17
|
|
|
18
|
-
require
|
|
19
|
-
require
|
|
18
|
+
require 'grpc'
|
|
19
|
+
require 'role_attachments_pb'
|
|
20
20
|
|
|
21
21
|
module V1
|
|
22
22
|
module RoleAttachments
|
|
@@ -25,11 +25,12 @@ 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
|
+
|
|
28
29
|
include GRPC::GenericService
|
|
29
30
|
|
|
30
31
|
self.marshal_class_method = :encode
|
|
31
32
|
self.unmarshal_class_method = :decode
|
|
32
|
-
self.service_name =
|
|
33
|
+
self.service_name = 'v1.RoleAttachments'
|
|
33
34
|
|
|
34
35
|
# Create registers a new RoleAttachment.
|
|
35
36
|
rpc :Create, RoleAttachmentCreateRequest, RoleAttachmentCreateResponse
|
data/lib/grpc/role_grants_pb.rb
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
# Copyright 2020 StrongDM Inc
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
6
|
+
#
|
|
7
7
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
8
|
+
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
-
#
|
|
14
|
+
#
|
|
15
15
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
16
16
|
# source: role_grants.proto
|
|
17
17
|
|
|
18
|
-
require
|
|
18
|
+
require 'google/protobuf'
|
|
19
19
|
|
|
20
|
-
require
|
|
21
|
-
require
|
|
22
|
-
require
|
|
23
|
-
require
|
|
20
|
+
require 'google/api/annotations_pb'
|
|
21
|
+
require 'protoc-gen-swagger/options/annotations_pb'
|
|
22
|
+
require 'options_pb'
|
|
23
|
+
require 'spec_pb'
|
|
24
24
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
25
25
|
add_file("role_grants.proto", :syntax => :proto3) do
|
|
26
26
|
add_message "v1.RoleGrantCreateRequest" do
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
# Copyright 2020 StrongDM Inc
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
6
|
+
#
|
|
7
7
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
8
|
+
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
-
#
|
|
14
|
+
#
|
|
15
15
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
16
16
|
# Source: role_grants.proto for package 'v1'
|
|
17
17
|
|
|
18
|
-
require
|
|
19
|
-
require
|
|
18
|
+
require 'grpc'
|
|
19
|
+
require 'role_grants_pb'
|
|
20
20
|
|
|
21
21
|
module V1
|
|
22
22
|
module RoleGrants
|
|
@@ -25,11 +25,12 @@ 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
|
+
|
|
28
29
|
include GRPC::GenericService
|
|
29
30
|
|
|
30
31
|
self.marshal_class_method = :encode
|
|
31
32
|
self.unmarshal_class_method = :decode
|
|
32
|
-
self.service_name =
|
|
33
|
+
self.service_name = 'v1.RoleGrants'
|
|
33
34
|
|
|
34
35
|
# Create registers a new RoleGrant.
|
|
35
36
|
rpc :Create, RoleGrantCreateRequest, RoleGrantCreateResponse
|
data/lib/grpc/roles_pb.rb
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
# Copyright 2020 StrongDM Inc
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
6
|
+
#
|
|
7
7
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
8
|
+
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
-
#
|
|
14
|
+
#
|
|
15
15
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
16
16
|
# source: roles.proto
|
|
17
17
|
|
|
18
|
-
require
|
|
18
|
+
require 'google/protobuf'
|
|
19
19
|
|
|
20
|
-
require
|
|
21
|
-
require
|
|
22
|
-
require
|
|
23
|
-
require
|
|
20
|
+
require 'google/api/annotations_pb'
|
|
21
|
+
require 'protoc-gen-swagger/options/annotations_pb'
|
|
22
|
+
require 'options_pb'
|
|
23
|
+
require 'spec_pb'
|
|
24
24
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
25
25
|
add_file("roles.proto", :syntax => :proto3) do
|
|
26
26
|
add_message "v1.RoleCreateRequest" do
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
# Copyright 2020 StrongDM Inc
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
6
|
+
#
|
|
7
7
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
8
|
+
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
-
#
|
|
14
|
+
#
|
|
15
15
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
16
16
|
# Source: roles.proto for package 'v1'
|
|
17
17
|
|
|
18
|
-
require
|
|
19
|
-
require
|
|
18
|
+
require 'grpc'
|
|
19
|
+
require 'roles_pb'
|
|
20
20
|
|
|
21
21
|
module V1
|
|
22
22
|
module Roles
|
|
@@ -26,11 +26,12 @@ 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
|
+
|
|
29
30
|
include GRPC::GenericService
|
|
30
31
|
|
|
31
32
|
self.marshal_class_method = :encode
|
|
32
33
|
self.unmarshal_class_method = :decode
|
|
33
|
-
self.service_name =
|
|
34
|
+
self.service_name = 'v1.Roles'
|
|
34
35
|
|
|
35
36
|
# Create registers a new Role.
|
|
36
37
|
rpc :Create, RoleCreateRequest, RoleCreateResponse
|
data/lib/grpc/spec_pb.rb
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
# Copyright 2020 StrongDM Inc
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
6
|
+
#
|
|
7
7
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
8
|
+
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
-
#
|
|
14
|
+
#
|
|
15
15
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
16
16
|
# source: spec.proto
|
|
17
17
|
|
|
18
|
-
require
|
|
18
|
+
require 'google/protobuf'
|
|
19
19
|
|
|
20
|
-
require
|
|
21
|
-
require
|
|
22
|
-
require
|
|
20
|
+
require 'options_pb'
|
|
21
|
+
require 'protoc-gen-swagger/options/annotations_pb'
|
|
22
|
+
require 'google/protobuf/timestamp_pb'
|
|
23
23
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
24
24
|
add_file("spec.proto", :syntax => :proto3) do
|
|
25
25
|
add_message "v1.AlreadyExistsError" do
|
data/lib/grpc/tags_pb.rb
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
#
|
|
15
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
16
|
+
# source: tags.proto
|
|
17
|
+
|
|
18
|
+
require 'google/protobuf'
|
|
19
|
+
|
|
20
|
+
require 'options_pb'
|
|
21
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
|
+
add_file("tags.proto", :syntax => :proto3) do
|
|
23
|
+
add_message "v1.Tags" do
|
|
24
|
+
repeated :pairs, :message, 1, "v1.Tags.Pair"
|
|
25
|
+
end
|
|
26
|
+
add_message "v1.Tags.Pair" do
|
|
27
|
+
optional :name, :string, 1
|
|
28
|
+
optional :value, :string, 2
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
module V1
|
|
34
|
+
Tags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Tags").msgclass
|
|
35
|
+
Tags::Pair = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Tags.Pair").msgclass
|
|
36
|
+
end
|