strongdm 6.8.0 → 6.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-8e713d387f255f0ec0181dce3e2a505478deb064.idx → pack-0dcf1b734229e84f3c3baa668d79743a0683c5e4.idx} +0 -0
- data/.git/objects/pack/{pack-8e713d387f255f0ec0181dce3e2a505478deb064.pack → pack-0dcf1b734229e84f3c3baa668d79743a0683c5e4.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +1 -0
- data/lib/grpc/approval_workflow_approvers_history_pb.rb +49 -0
- data/lib/grpc/approval_workflow_approvers_history_services_pb.rb +37 -0
- data/lib/grpc/approval_workflow_approvers_pb.rb +81 -0
- data/lib/grpc/approval_workflow_approvers_services_pb.rb +43 -0
- data/lib/grpc/approval_workflow_steps_history_pb.rb +49 -0
- data/lib/grpc/approval_workflow_steps_history_services_pb.rb +37 -0
- data/lib/grpc/approval_workflow_steps_pb.rb +78 -0
- data/lib/grpc/approval_workflow_steps_services_pb.rb +43 -0
- data/lib/grpc/approval_workflows_history_pb.rb +49 -0
- data/lib/grpc/approval_workflows_history_services_pb.rb +37 -0
- data/lib/grpc/approval_workflows_pb.rb +91 -0
- data/lib/grpc/approval_workflows_services_pb.rb +46 -0
- data/lib/grpc/plumbing.rb +738 -0
- data/lib/models/porcelain.rb +514 -0
- data/lib/strongdm.rb +54 -1
- data/lib/svc.rb +738 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +15 -3
@@ -0,0 +1,91 @@
|
|
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: approval_workflows.proto
|
17
|
+
|
18
|
+
require "google/protobuf"
|
19
|
+
|
20
|
+
require "options_pb"
|
21
|
+
require "spec_pb"
|
22
|
+
|
23
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
24
|
+
add_file("approval_workflows.proto", :syntax => :proto3) do
|
25
|
+
add_message "v1.ApprovalWorkflowCreateRequest" do
|
26
|
+
optional :meta, :message, 1, "v1.CreateRequestMetadata"
|
27
|
+
optional :approval_workflow, :message, 2, "v1.ApprovalWorkflow"
|
28
|
+
end
|
29
|
+
add_message "v1.ApprovalWorkflowCreateResponse" do
|
30
|
+
optional :meta, :message, 1, "v1.CreateResponseMetadata"
|
31
|
+
optional :approval_workflow, :message, 2, "v1.ApprovalWorkflow"
|
32
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
33
|
+
end
|
34
|
+
add_message "v1.ApprovalWorkflowGetRequest" do
|
35
|
+
optional :meta, :message, 1, "v1.GetRequestMetadata"
|
36
|
+
optional :id, :string, 2
|
37
|
+
end
|
38
|
+
add_message "v1.ApprovalWorkflowGetResponse" do
|
39
|
+
optional :meta, :message, 1, "v1.GetResponseMetadata"
|
40
|
+
optional :approval_workflow, :message, 2, "v1.ApprovalWorkflow"
|
41
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
42
|
+
end
|
43
|
+
add_message "v1.ApprovalWorkflowUpdateRequest" do
|
44
|
+
optional :meta, :message, 1, "v1.UpdateRequestMetadata"
|
45
|
+
optional :approval_workflow, :message, 2, "v1.ApprovalWorkflow"
|
46
|
+
end
|
47
|
+
add_message "v1.ApprovalWorkflowUpdateResponse" do
|
48
|
+
optional :meta, :message, 1, "v1.UpdateResponseMetadata"
|
49
|
+
optional :approval_workflow, :message, 2, "v1.ApprovalWorkflow"
|
50
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
51
|
+
end
|
52
|
+
add_message "v1.ApprovalWorkflowDeleteRequest" do
|
53
|
+
optional :meta, :message, 1, "v1.DeleteRequestMetadata"
|
54
|
+
optional :id, :string, 2
|
55
|
+
end
|
56
|
+
add_message "v1.ApprovalWorkflowDeleteResponse" do
|
57
|
+
optional :meta, :message, 1, "v1.DeleteResponseMetadata"
|
58
|
+
optional :id, :string, 2
|
59
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
60
|
+
end
|
61
|
+
add_message "v1.ApprovalWorkflowListRequest" do
|
62
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
63
|
+
optional :filter, :string, 2
|
64
|
+
end
|
65
|
+
add_message "v1.ApprovalWorkflowListResponse" do
|
66
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
67
|
+
repeated :approval_workflows, :message, 2, "v1.ApprovalWorkflow"
|
68
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
69
|
+
end
|
70
|
+
add_message "v1.ApprovalWorkflow" do
|
71
|
+
optional :id, :string, 1
|
72
|
+
optional :name, :string, 2
|
73
|
+
optional :approval_mode, :string, 3
|
74
|
+
optional :description, :string, 4
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
module V1
|
80
|
+
ApprovalWorkflowCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowCreateRequest").msgclass
|
81
|
+
ApprovalWorkflowCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowCreateResponse").msgclass
|
82
|
+
ApprovalWorkflowGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowGetRequest").msgclass
|
83
|
+
ApprovalWorkflowGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowGetResponse").msgclass
|
84
|
+
ApprovalWorkflowUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowUpdateRequest").msgclass
|
85
|
+
ApprovalWorkflowUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowUpdateResponse").msgclass
|
86
|
+
ApprovalWorkflowDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowDeleteRequest").msgclass
|
87
|
+
ApprovalWorkflowDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowDeleteResponse").msgclass
|
88
|
+
ApprovalWorkflowListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowListRequest").msgclass
|
89
|
+
ApprovalWorkflowListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowListResponse").msgclass
|
90
|
+
ApprovalWorkflow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflow").msgclass
|
91
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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: approval_workflows.proto for package 'v1'
|
17
|
+
|
18
|
+
require "grpc"
|
19
|
+
require "approval_workflows_pb"
|
20
|
+
|
21
|
+
module V1
|
22
|
+
module ApprovalWorkflows
|
23
|
+
# ApprovalWorkflows are the mechanism by which requests for access can be viewed by authorized
|
24
|
+
# approvers and be approved or denied.
|
25
|
+
class Service
|
26
|
+
include ::GRPC::GenericService
|
27
|
+
|
28
|
+
self.marshal_class_method = :encode
|
29
|
+
self.unmarshal_class_method = :decode
|
30
|
+
self.service_name = "v1.ApprovalWorkflows"
|
31
|
+
|
32
|
+
# Create creates a new approval workflow and requires a name and approval mode for the approval workflow.
|
33
|
+
rpc :Create, ::V1::ApprovalWorkflowCreateRequest, ::V1::ApprovalWorkflowCreateResponse
|
34
|
+
# Get reads one approval workflow by ID.
|
35
|
+
rpc :Get, ::V1::ApprovalWorkflowGetRequest, ::V1::ApprovalWorkflowGetResponse
|
36
|
+
# Delete deletes an existing approval workflow.
|
37
|
+
rpc :Delete, ::V1::ApprovalWorkflowDeleteRequest, ::V1::ApprovalWorkflowDeleteResponse
|
38
|
+
# Update updates an existing approval workflow.
|
39
|
+
rpc :Update, ::V1::ApprovalWorkflowUpdateRequest, ::V1::ApprovalWorkflowUpdateResponse
|
40
|
+
# Lists existing approval workflows.
|
41
|
+
rpc :List, ::V1::ApprovalWorkflowListRequest, ::V1::ApprovalWorkflowListResponse
|
42
|
+
end
|
43
|
+
|
44
|
+
Stub = Service.rpc_stub_class
|
45
|
+
end
|
46
|
+
end
|