kas-grpc 0.0.2 → 0.0.4

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: 1bfdbdf285dbd899f4f6b4db8cf849ad8d1ff74c7b32dddbf8c9ba281336f912
4
- data.tar.gz: 95aa59c085725a0110cafb0de8e412ee67f22d90967c4ae968a24936015ea73d
3
+ metadata.gz: b07828ea125a251b07df16460ccb0787247eac89d2ca3ba84434fe52ef9396ae
4
+ data.tar.gz: 7113cabb68cb666a7685770aea39724fcff1f3b077f9c8bd6387dc9a8e06907a
5
5
  SHA512:
6
- metadata.gz: 96cfdb3505fa1e15aea170e80f7e6e901225cdbb1833ac87ca7f40e82f3734b0b8b5acd46944b3fc17fb57cef1f443e746a544e7904716e7d2285febf4db5863
7
- data.tar.gz: 5184ad9f0d349396d3e681f11ea3a9cab3d1f7c418775cf9bc2deeb525cf78a67f033c24d3a24cd4f6c699d3afffe7486c5fd30578d5dbd3b46214206ecdff6b
6
+ metadata.gz: dda03ea456811b7c9d00c052feb026e438d6e4c874c7ff806f42782cab5ec3722a5857492343cefab856eac3498ae8372f33eb31b6c198ccdd225a4a563e083e
7
+ data.tar.gz: 7021d18e505c91736d6ed233f855c3fff9d871df192127234154e0818a30c3ea4e334fe8d77717c8a698e27cc2e6eabe386f31f939366fdee26cafdacce67f20
@@ -8,11 +8,11 @@ require 'internal/module/modshared/modshared_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("internal/module/agent_tracker/agent_tracker.proto", :syntax => :proto3) do
10
10
  add_message "gitlab.agent.agent_tracker.ConnectedAgentInfo" do
11
- optional :agent_meta, :message, 1, "gitlab.agent.modshared.AgentMeta"
12
- optional :connected_at, :message, 2, "google.protobuf.Timestamp"
13
- optional :connection_id, :int64, 3
14
- optional :agent_id, :int64, 4
15
- optional :project_id, :int64, 5
11
+ optional :agent_meta, :message, 1, "gitlab.agent.modshared.AgentMeta", json_name: "agent_meta"
12
+ optional :connected_at, :message, 2, "google.protobuf.Timestamp", json_name: "connected_at"
13
+ optional :connection_id, :int64, 3, json_name: "connection_id"
14
+ optional :agent_id, :int64, 4, json_name: "agent_id"
15
+ optional :project_id, :int64, 5, json_name: "project_id"
16
16
  end
17
17
  end
18
18
  end
@@ -8,12 +8,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
8
8
  add_file("internal/module/agent_tracker/rpc/rpc.proto", :syntax => :proto3) do
9
9
  add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsRequest" do
10
10
  oneof :request do
11
- optional :project_id, :int64, 1
12
- optional :agent_id, :int64, 2
11
+ optional :project_id, :int64, 1, json_name: "projectId"
12
+ optional :agent_id, :int64, 2, json_name: "agentId"
13
13
  end
14
14
  end
15
15
  add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsResponse" do
16
- repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo"
16
+ repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo", json_name: "agents"
17
17
  end
18
18
  end
19
19
  end
@@ -11,7 +11,7 @@ module Gitlab
11
11
  module AgentTracker
12
12
  class Service
13
13
 
14
- include GRPC::GenericService
14
+ include ::GRPC::GenericService
15
15
 
16
16
  self.marshal_class_method = :encode
17
17
  self.unmarshal_class_method = :decode
@@ -7,15 +7,16 @@ require 'internal/module/modserver/modserver_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
8
  add_file("internal/module/configuration_project/rpc/rpc.proto", :syntax => :proto3) do
9
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"
10
+ optional :repository, :message, 1, "gitlab.agent.modserver.Repository", json_name: "repository"
11
+ optional :gitaly_address, :message, 2, "gitlab.agent.modserver.GitalyAddress", json_name: "gitalyAddress"
12
+ optional :default_branch, :string, 3, json_name: "defaultBranch"
12
13
  end
13
14
  add_message "gitlab.agent.configuration_project.rpc.ListAgentConfigFilesResponse" do
14
- repeated :config_files, :message, 1, "gitlab.agent.configuration_project.rpc.AgentConfigFile"
15
+ repeated :config_files, :message, 1, "gitlab.agent.configuration_project.rpc.AgentConfigFile", json_name: "config_files"
15
16
  end
16
17
  add_message "gitlab.agent.configuration_project.rpc.AgentConfigFile" do
17
- optional :name, :string, 1
18
- optional :agent_name, :string, 2
18
+ optional :name, :string, 1, json_name: "name"
19
+ optional :agent_name, :string, 2, json_name: "agent_name"
19
20
  end
20
21
  end
21
22
  end
@@ -11,7 +11,7 @@ module Gitlab
11
11
  module ConfigurationProject
12
12
  class Service
13
13
 
14
- include GRPC::GenericService
14
+ include ::GRPC::GenericService
15
15
 
16
16
  self.marshal_class_method = :encode
17
17
  self.unmarshal_class_method = :decode
@@ -6,16 +6,16 @@ require 'google/protobuf'
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
7
  add_file("internal/module/modserver/modserver.proto", :syntax => :proto3) do
8
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
9
+ optional :storage_name, :string, 2, json_name: "storageName"
10
+ optional :relative_path, :string, 3, json_name: "relativePath"
11
+ optional :git_object_directory, :string, 4, json_name: "gitObjectDirectory"
12
+ repeated :git_alternate_object_directories, :string, 5, json_name: "gitAlternateObjectDirectories"
13
+ optional :gl_repository, :string, 6, json_name: "glRepository"
14
+ optional :gl_project_path, :string, 8, json_name: "glProjectPath"
15
15
  end
16
16
  add_message "gitlab.agent.modserver.GitalyAddress" do
17
- optional :address, :string, 1
18
- optional :token, :string, 2
17
+ optional :address, :string, 1, json_name: "address"
18
+ optional :token, :string, 2, json_name: "token"
19
19
  end
20
20
  end
21
21
  end
@@ -6,10 +6,10 @@ require 'google/protobuf'
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
7
  add_file("internal/module/modshared/modshared.proto", :syntax => :proto3) do
8
8
  add_message "gitlab.agent.modshared.AgentMeta" do
9
- optional :version, :string, 1
10
- optional :commit_id, :string, 2
11
- optional :pod_namespace, :string, 3
12
- optional :pod_name, :string, 4
9
+ optional :version, :string, 1, json_name: "version"
10
+ optional :commit_id, :string, 2, json_name: "commit_id"
11
+ optional :pod_namespace, :string, 3, json_name: "pod_namespace"
12
+ optional :pod_name, :string, 4, json_name: "pod_name"
13
13
  end
14
14
  end
15
15
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kas-grpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiger Watson
8
+ - Hordur Freyr Yngvason
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2021-06-03 00:00:00.000000000 Z
12
+ date: 2022-03-09 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: grpc
@@ -27,6 +28,7 @@ dependencies:
27
28
  description:
28
29
  email:
29
30
  - twatson@gitlab.com
31
+ - hfyngvason@gitlab.com
30
32
  executables: []
31
33
  extensions: []
32
34
  extra_rdoc_files: []
@@ -58,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
60
  - !ruby/object:Gem::Version
59
61
  version: '0'
60
62
  requirements: []
61
- rubygems_version: 3.1.4
63
+ rubygems_version: 3.1.6
62
64
  signing_key:
63
65
  specification_version: 4
64
66
  summary: Auto-generated gRPC client for KAS