kas-grpc 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9ff301456fb482dfd2431f90dc2eb3df90583b4469b61ae296bccc840a52a7f
4
- data.tar.gz: 2609ccf3b9094d8fb94e821b2dbe679f6d8d411fd8c4aac4eb3ff0477eae0188
3
+ metadata.gz: 1bfdbdf285dbd899f4f6b4db8cf849ad8d1ff74c7b32dddbf8c9ba281336f912
4
+ data.tar.gz: 95aa59c085725a0110cafb0de8e412ee67f22d90967c4ae968a24936015ea73d
5
5
  SHA512:
6
- metadata.gz: 1f6a149c3ee6aa0544700aef95dc26f7247bd317e718aebcde44231d50950d72249824f7fb29a3df89f6f4f8a639fc6bcf69278975ff001a2a370bc1bd57ddae
7
- data.tar.gz: 1d135a0be1978a3dfaac71a2026ebcb28e4ca7881b3b05daaf96610636ab7f6d863e3f6dafbf342cfa3e8dd55393d2fe09a61ac4196bc81795ec513e5872cad8
6
+ metadata.gz: 96cfdb3505fa1e15aea170e80f7e6e901225cdbb1833ac87ca7f40e82f3734b0b8b5acd46944b3fc17fb57cef1f443e746a544e7904716e7d2285febf4db5863
7
+ data.tar.gz: 5184ad9f0d349396d3e681f11ea3a9cab3d1f7c418775cf9bc2deeb525cf78a67f033c24d3a24cd4f6c699d3afffe7486c5fd30578d5dbd3b46214206ecdff6b
@@ -0,0 +1,33 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: internal/module/configuration_project/rpc/rpc.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'internal/module/modserver/modserver_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_file("internal/module/configuration_project/rpc/rpc.proto", :syntax => :proto3) do
9
+ add_message "gitlab.agent.configuration_project.rpc.ListAgentConfigFilesRequest" do
10
+ optional :repository, :message, 1, "gitlab.agent.modserver.Repository"
11
+ optional :gitaly_address, :message, 2, "gitlab.agent.modserver.GitalyAddress"
12
+ end
13
+ add_message "gitlab.agent.configuration_project.rpc.ListAgentConfigFilesResponse" do
14
+ repeated :config_files, :message, 1, "gitlab.agent.configuration_project.rpc.AgentConfigFile"
15
+ end
16
+ add_message "gitlab.agent.configuration_project.rpc.AgentConfigFile" do
17
+ optional :name, :string, 1
18
+ optional :agent_name, :string, 2
19
+ end
20
+ end
21
+ end
22
+
23
+ module Gitlab
24
+ module Agent
25
+ module ConfigurationProject
26
+ module Rpc
27
+ ListAgentConfigFilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.configuration_project.rpc.ListAgentConfigFilesRequest").msgclass
28
+ ListAgentConfigFilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.configuration_project.rpc.ListAgentConfigFilesResponse").msgclass
29
+ AgentConfigFile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.configuration_project.rpc.AgentConfigFile").msgclass
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,28 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: internal/module/configuration_project/rpc/rpc.proto for package 'gitlab.agent.configuration_project.rpc'
3
+
4
+ require 'grpc'
5
+ require 'internal/module/configuration_project/rpc/rpc_pb'
6
+
7
+ module Gitlab
8
+ module Agent
9
+ module ConfigurationProject
10
+ module Rpc
11
+ module ConfigurationProject
12
+ class Service
13
+
14
+ include GRPC::GenericService
15
+
16
+ self.marshal_class_method = :encode
17
+ self.unmarshal_class_method = :decode
18
+ self.service_name = 'gitlab.agent.configuration_project.rpc.ConfigurationProject'
19
+
20
+ rpc :ListAgentConfigFiles, ::Gitlab::Agent::ConfigurationProject::Rpc::ListAgentConfigFilesRequest, ::Gitlab::Agent::ConfigurationProject::Rpc::ListAgentConfigFilesResponse
21
+ end
22
+
23
+ Stub = Service.rpc_stub_class
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,30 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: internal/module/modserver/modserver.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("internal/module/modserver/modserver.proto", :syntax => :proto3) do
8
+ add_message "gitlab.agent.modserver.Repository" do
9
+ optional :storage_name, :string, 2
10
+ optional :relative_path, :string, 3
11
+ optional :git_object_directory, :string, 4
12
+ repeated :git_alternate_object_directories, :string, 5
13
+ optional :gl_repository, :string, 6
14
+ optional :gl_project_path, :string, 8
15
+ end
16
+ add_message "gitlab.agent.modserver.GitalyAddress" do
17
+ optional :address, :string, 1
18
+ optional :token, :string, 2
19
+ end
20
+ end
21
+ end
22
+
23
+ module Gitlab
24
+ module Agent
25
+ module Modserver
26
+ Repository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.modserver.Repository").msgclass
27
+ GitalyAddress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.modserver.GitalyAddress").msgclass
28
+ end
29
+ end
30
+ end
data/lib/kas-grpc.rb CHANGED
@@ -1 +1,2 @@
1
1
  require 'internal/module/agent_tracker/rpc/rpc_services_pb'
2
+ require 'internal/module/configuration_project/rpc/rpc_services_pb'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kas-grpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiger Watson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-02 00:00:00.000000000 Z
11
+ date: 2021-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -34,6 +34,9 @@ files:
34
34
  - lib/internal/module/agent_tracker/agent_tracker_pb.rb
35
35
  - lib/internal/module/agent_tracker/rpc/rpc_pb.rb
36
36
  - lib/internal/module/agent_tracker/rpc/rpc_services_pb.rb
37
+ - lib/internal/module/configuration_project/rpc/rpc_pb.rb
38
+ - lib/internal/module/configuration_project/rpc/rpc_services_pb.rb
39
+ - lib/internal/module/modserver/modserver_pb.rb
37
40
  - lib/internal/module/modshared/modshared_pb.rb
38
41
  - lib/kas-grpc.rb
39
42
  homepage: https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent