kas-grpc 0.2.0 → 0.3.0

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: d49c9285a659ffb1c2a8a6c954485765218d132a20434f4904556ac0146beb01
4
- data.tar.gz: 2f8551352b93581c818d7c7b663a690964640f63ddcfff6b3f83284fe74e9a4c
3
+ metadata.gz: a592b87c2d89ef66688757dc7b1e9dbaebfc0db222f160eaf333758ad51aa493
4
+ data.tar.gz: cc6ff302ca3aff5eaae8931562d9068b722e67fab49cdf32d9c57a66b914b1b7
5
5
  SHA512:
6
- metadata.gz: 6c597da64aa2af51fbcf7ca2496298aeffa3af05bc11eac38e1b84c6f9e605b304ed29e10aad424dd9711f121255a97f9ee5a1574b7e597bdd12681acbed0a60
7
- data.tar.gz: ccba9eb877058bd2960b80565569bdfbbe5fa886072987ee8626c15d8cacb05182d87b896be7f2e113161f429b3d6c7ae824f5cad79b753234c6d193a278149f
6
+ metadata.gz: 25a6ecb385db7ef8e5d9c7f1c10387d38bd2bda27d3e1d5ca006d0535035f4007737fd6f23bd9676b30f182509ebf3238e410c47072df6c909b0b69b64ab8d7b
7
+ data.tar.gz: 44a1ccff9fb4d6e484151b66e7e445a8d2e9a7158bf381d667ae75c689f222213878c9542406bf5f4658833e4c9b3c5e1703b927c3880a9953c8c897793d1872
@@ -14,9 +14,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
14
14
  optional :agent_id, :int64, 2, json_name: "agentId"
15
15
  end
16
16
  end
17
+ add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIdsRequest" do
18
+ repeated :project_ids, :int64, 1, json_name: "projectIds"
19
+ end
20
+ add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIdsRequest" do
21
+ repeated :agent_ids, :int64, 1, json_name: "agentIds"
22
+ end
17
23
  add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsResponse" do
18
24
  repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo", json_name: "agents"
19
25
  end
26
+ add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIdsResponse" do
27
+ repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo", json_name: "agents"
28
+ end
29
+ add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIdsResponse" do
30
+ repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo", json_name: "agents"
31
+ end
20
32
  end
21
33
  end
22
34
 
@@ -25,7 +37,11 @@ module Gitlab
25
37
  module AgentTracker
26
38
  module Rpc
27
39
  GetConnectedAgentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsRequest").msgclass
40
+ GetConnectedAgentsByProjectIdsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIdsRequest").msgclass
41
+ GetConnectedAgentsByAgentIdsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIdsRequest").msgclass
28
42
  GetConnectedAgentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsResponse").msgclass
43
+ GetConnectedAgentsByProjectIdsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIdsResponse").msgclass
44
+ GetConnectedAgentsByAgentIdsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIdsResponse").msgclass
29
45
  end
30
46
  end
31
47
  end
@@ -18,6 +18,8 @@ module Gitlab
18
18
  self.service_name = 'gitlab.agent.agent_tracker.rpc.AgentTracker'
19
19
 
20
20
  rpc :GetConnectedAgents, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsRequest, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsResponse
21
+ rpc :GetConnectedAgentsByProjectIds, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsByProjectIdsRequest, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsByProjectIdsResponse
22
+ rpc :GetConnectedAgentsByAgentIds, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsByAgentIdsRequest, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsByAgentIdsResponse
21
23
  end
22
24
 
23
25
  Stub = Service.rpc_stub_class
@@ -12,6 +12,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
12
12
  optional :commit_id, :string, 2, json_name: "commit_id"
13
13
  optional :pod_namespace, :string, 3, json_name: "pod_namespace"
14
14
  optional :pod_name, :string, 4, json_name: "pod_name"
15
+ optional :kubernetes_version, :message, 5, "gitlab.agent.entity.KubernetesVersion", json_name: "kubernetes_version"
16
+ end
17
+ add_message "gitlab.agent.entity.KubernetesVersion" do
18
+ optional :major, :string, 1, json_name: "major"
19
+ optional :minor, :string, 2, json_name: "minor"
20
+ optional :git_version, :string, 3, json_name: "git_version"
21
+ optional :platform, :string, 4, json_name: "platform"
15
22
  end
16
23
  add_message "gitlab.agent.entity.GitalyInfo" do
17
24
  optional :address, :string, 1, json_name: "address"
@@ -33,6 +40,7 @@ module Gitlab
33
40
  module Agent
34
41
  module Entity
35
42
  AgentMeta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.entity.AgentMeta").msgclass
43
+ KubernetesVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.entity.KubernetesVersion").msgclass
36
44
  GitalyInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.entity.GitalyInfo").msgclass
37
45
  GitalyRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.entity.GitalyRepository").msgclass
38
46
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kas-grpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiger Watson
8
- - Hordur Freyr Yngvason
9
8
  - Timo Furrer
9
+ - Taka Nishida
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-06-20 00:00:00.000000000 Z
13
+ date: 2023-11-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: grpc
@@ -29,8 +29,8 @@ dependencies:
29
29
  description:
30
30
  email:
31
31
  - twatson@gitlab.com
32
- - hfyngvason@gitlab.com
33
32
  - tfurrer@gitlab.com
33
+ - tnishida@gitlab.com
34
34
  executables: []
35
35
  extensions: []
36
36
  extra_rdoc_files: []
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
- rubygems_version: 3.2.22
68
+ rubygems_version: 3.4.10
69
69
  signing_key:
70
70
  specification_version: 4
71
71
  summary: Auto-generated gRPC client for KAS