kas-grpc 0.4.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: f2b8d8ae5bc0cf47a761f08ed69507eaafff383b6b9650127dd7ad84f6fffb8a
4
- data.tar.gz: 854447ca655979a7dda5f8de68b2d5080ccd0d9cdaacb9547d6d4330d10bad82
3
+ metadata.gz: b386ea6a10e19b98c014560c3b996dda7a43aa2411d8d1663396ea1a35b19b2c
4
+ data.tar.gz: 7ae4f34cff39ed79a3780de48376048fd1907d28ad12621a1f236b69dd8aaf5a
5
5
  SHA512:
6
- metadata.gz: 0bcb3eb993d543f40f69fbfe6575d401753846f27fc452781be5001466f0a5d785355a5068851837505a480258235f50e87c5392ae786f1e4f150c5aa055a6b3
7
- data.tar.gz: 5244e70e1c3d8bf78546b7d38a845ade2c3653de5d640aea9332bfc5b66b532b45cf77a630934095c853b53d63dadf4a3cab46cf8a0ff3ddd9562e560e5b91fc
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,27 +8,23 @@ 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
11
  add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIDsRequest" do
18
12
  repeated :project_ids, :int64, 1, json_name: "projectIds"
19
13
  end
20
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
24
- repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo", json_name: "agents"
25
- end
26
17
  add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIDsResponse" do
27
18
  repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo", json_name: "agents"
28
19
  end
29
20
  add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIDsResponse" do
30
21
  repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo", json_name: "agents"
31
22
  end
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
27
+ end
32
28
  end
33
29
  end
34
30
 
@@ -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
35
  GetConnectedAgentsByProjectIDsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIDsRequest").msgclass
41
36
  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
37
  GetConnectedAgentsByProjectIDsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIDsResponse").msgclass
44
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,11 +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
20
  rpc :GetConnectedAgentsByProjectIDs, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsByProjectIDsRequest, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsByProjectIDsResponse
23
- rpc :GetConnectedAgentsByAgentIds, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsByAgentIDsRequest, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsByAgentIDsResponse
24
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
25
23
  end
26
24
 
27
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.4.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: 2024-02-01 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.2.33
68
+ rubygems_version: 3.5.9
69
69
  signing_key:
70
70
  specification_version: 4
71
71
  summary: Auto-generated gRPC client for KAS