kas-grpc 0.3.0 → 0.5.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: a592b87c2d89ef66688757dc7b1e9dbaebfc0db222f160eaf333758ad51aa493
4
- data.tar.gz: cc6ff302ca3aff5eaae8931562d9068b722e67fab49cdf32d9c57a66b914b1b7
3
+ metadata.gz: b386ea6a10e19b98c014560c3b996dda7a43aa2411d8d1663396ea1a35b19b2c
4
+ data.tar.gz: 7ae4f34cff39ed79a3780de48376048fd1907d28ad12621a1f236b69dd8aaf5a
5
5
  SHA512:
6
- metadata.gz: 25a6ecb385db7ef8e5d9c7f1c10387d38bd2bda27d3e1d5ca006d0535035f4007737fd6f23bd9676b30f182509ebf3238e410c47072df6c909b0b69b64ab8d7b
7
- data.tar.gz: 44a1ccff9fb4d6e484151b66e7e445a8d2e9a7158bf381d667ae75c689f222213878c9542406bf5f4658833e4c9b3c5e1703b927c3880a9953c8c897793d1872
6
+ metadata.gz: 25abc285037c703ab5c0e42793601c8a9e50768c8ba7c3c38dd63c8a9f3a0283db2a9d5ee981f1d85059e69de9209ebf2f53a6c4c2ca918a4da442e85292d67f
7
+ data.tar.gz: 3e6830ff383572401c476536dc8347316eb9d7e1c12b4e81d182484a05f063656ad524aca2cd16ec28e155c09b6e275383309fdc345defbeb862e7621d3cfde6
@@ -15,6 +15,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
15
15
  optional :agent_id, :int64, 4, json_name: "agent_id"
16
16
  optional :project_id, :int64, 5, json_name: "project_id"
17
17
  end
18
+ add_message "gitlab.agent.agent_tracker.AgentPodInfo" do
19
+ optional :agent_id, :int64, 1, json_name: "agent_id"
20
+ optional :pod_id, :int64, 2, json_name: "pod_id"
21
+ end
18
22
  end
19
23
  end
20
24
 
@@ -22,6 +26,7 @@ module Gitlab
22
26
  module Agent
23
27
  module AgentTracker
24
28
  ConnectedAgentInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.ConnectedAgentInfo").msgclass
29
+ AgentPodInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.AgentPodInfo").msgclass
25
30
  end
26
31
  end
27
32
  end
@@ -8,26 +8,22 @@ require 'validate/validate_pb'
8
8
 
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("internal/module/agent_tracker/rpc/rpc.proto", :syntax => :proto3) do
11
- add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsRequest" do
12
- oneof :request do
13
- optional :project_id, :int64, 1, json_name: "projectId"
14
- optional :agent_id, :int64, 2, json_name: "agentId"
15
- end
16
- end
17
- add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIdsRequest" do
11
+ add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIDsRequest" do
18
12
  repeated :project_ids, :int64, 1, json_name: "projectIds"
19
13
  end
20
- add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIdsRequest" do
14
+ add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIDsRequest" do
21
15
  repeated :agent_ids, :int64, 1, json_name: "agentIds"
22
16
  end
23
- add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsResponse" do
17
+ add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIDsResponse" do
24
18
  repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo", json_name: "agents"
25
19
  end
26
- add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIdsResponse" do
20
+ add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIDsResponse" do
27
21
  repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo", json_name: "agents"
28
22
  end
29
- add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIdsResponse" do
30
- repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo", json_name: "agents"
23
+ add_message "gitlab.agent.agent_tracker.rpc.CountAgentsByAgentVersionsRequest" do
24
+ end
25
+ add_message "gitlab.agent.agent_tracker.rpc.CountAgentsByAgentVersionsResponse" do
26
+ map :agent_versions, :string, :int64, 1
31
27
  end
32
28
  end
33
29
  end
@@ -36,12 +32,12 @@ module Gitlab
36
32
  module Agent
37
33
  module AgentTracker
38
34
  module Rpc
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
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
35
+ GetConnectedAgentsByProjectIDsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIDsRequest").msgclass
36
+ GetConnectedAgentsByAgentIDsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIDsRequest").msgclass
37
+ GetConnectedAgentsByProjectIDsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIDsResponse").msgclass
38
+ GetConnectedAgentsByAgentIDsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIDsResponse").msgclass
39
+ CountAgentsByAgentVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.CountAgentsByAgentVersionsRequest").msgclass
40
+ CountAgentsByAgentVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.CountAgentsByAgentVersionsResponse").msgclass
45
41
  end
46
42
  end
47
43
  end
@@ -17,9 +17,9 @@ module Gitlab
17
17
  self.unmarshal_class_method = :decode
18
18
  self.service_name = 'gitlab.agent.agent_tracker.rpc.AgentTracker'
19
19
 
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
20
+ rpc :GetConnectedAgentsByProjectIDs, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsByProjectIDsRequest, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsByProjectIDsResponse
21
+ rpc :GetConnectedAgentsByAgentIDs, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsByAgentIDsRequest, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsByAgentIDsResponse
22
+ rpc :CountAgentsByAgentVersions, ::Gitlab::Agent::AgentTracker::Rpc::CountAgentsByAgentVersionsRequest, ::Gitlab::Agent::AgentTracker::Rpc::CountAgentsByAgentVersionsResponse
23
23
  end
24
24
 
25
25
  Stub = Service.rpc_stub_class
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kas-grpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiger Watson
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-11-02 00:00:00.000000000 Z
13
+ date: 2024-04-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: grpc
@@ -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.4.10
68
+ rubygems_version: 3.5.9
69
69
  signing_key:
70
70
  specification_version: 4
71
71
  summary: Auto-generated gRPC client for KAS