gitlab-kas-grpc 0.0.0 → 17.3.0.pre.rc6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 231d97436d6214b45737c0d9d3e89840aa81cc27dd18da0e44a3009d4eafc025
4
- data.tar.gz: 5fd1d27338a55cc160ffa4de7bed2524f8f647b0f7d7dd04d1c9d324d5b05e91
3
+ metadata.gz: 4c9bf44a08c1405cb40a25a4ccd4a365b2eb0587bb5d71c3199d5ddc465fe5e1
4
+ data.tar.gz: b990ff6362be0bc70fcfb377e1a0ed8094009681e7b4f2a8ccaa32fffb9e6c34
5
5
  SHA512:
6
- metadata.gz: 6ac40d991b2cb64130d579e376ae16db981882a5b66659c6ad514666c859421463cad700167fd5ac99a91f906d8843ea97d2b33f3db02ea41c17bdc47c3a064d
7
- data.tar.gz: d23771bd8eee42150d67d64949716b9d2776476e0f9cc005f6a156c3cb456c977e39e1f292cea4d5ed9c9b5b9e0e7487d10b6600d7d733e4d37a13acabf56f53
6
+ metadata.gz: 84e586f6dd812080ee1f451f31cdacaadf6b8d5404a7420e13f733d86de324bf6fedd29bd0b010bef3bf1132b03db9f412c8a1d15ea86d0e7860752ea57924bf
7
+ data.tar.gz: 55588de0182c480998bad7f30fc3a5421daa5b7d4f32b7d74cdd1afa93c8ba43698fc9ca7d08ccfcb3c0ce294166b6111f9569717c3e78f337f2dd8727dd8c53
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: buf/validate/validate.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+
8
+ descriptor_data = "\n\x1b\x62uf/validate/validate.proto\x12\x0c\x62uf.validateb\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
12
+
13
+ module Buf
14
+ module Validate
15
+ end
16
+ end
@@ -1 +1,5 @@
1
- raise "Reserved for GitLab"
1
+ require 'internal/module/server_info/rpc/rpc_services_pb'
2
+ require 'internal/module/agent_tracker/rpc/rpc_services_pb'
3
+ require 'internal/module/configuration_project/rpc/rpc_services_pb'
4
+ require 'internal/module/autoflow/rpc/rpc_services_pb'
5
+ require 'internal/module/notifications/rpc/rpc_services_pb'
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: internal/module/agent_tracker/agent_tracker.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/protobuf/timestamp_pb'
8
+ require 'pkg/entity/entity_pb'
9
+ require 'buf/validate/validate_pb'
10
+
11
+
12
+ descriptor_data = "\n1internal/module/agent_tracker/agent_tracker.proto\x12\x1agitlab.agent.agent_tracker\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17pkg/entity/entity.proto\x1a\x1b\x62uf/validate/validate.proto\"\x88\x02\n\x12\x43onnectedAgentInfo\x12\x46\n\nagent_meta\x18\x01 \x01(\x0b\x32\x1e.gitlab.agent.entity.AgentMetaB\x06\xbaH\x03\xc8\x01\x01R\nagent_meta\x12H\n\x0c\x63onnected_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xbaH\x05\xb2\x01\x02*\x00R\x0c\x63onnected_at\x12$\n\rconnection_id\x18\x03 \x01(\x03R\rconnection_id\x12\x1a\n\x08\x61gent_id\x18\x04 \x01(\x03R\x08\x61gent_id\x12\x1e\n\nproject_id\x18\x05 \x01(\x03R\nproject_id\"\xb7\x01\n\x13\x44isconnectAgentInfo\x12>\n\nagent_meta\x18\x01 \x01(\x0b\x32\x1e.gitlab.agent.entity.AgentMetaR\nagent_meta\x12$\n\rconnection_id\x18\x02 \x01(\x03R\rconnection_id\x12\x1a\n\x08\x61gent_id\x18\x03 \x01(\x03R\x08\x61gent_id\x12\x1e\n\nproject_id\x18\x04 \x01(\x03R\nproject_id\"B\n\x0c\x41gentPodInfo\x12\x1a\n\x08\x61gent_id\x18\x01 \x01(\x03R\x08\x61gent_id\x12\x16\n\x06pod_id\x18\x02 \x01(\x03R\x06pod_idBZZXgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v17/internal/module/agent_trackerb\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
16
+
17
+ module Gitlab
18
+ module Agent
19
+ module AgentTracker
20
+ ConnectedAgentInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.ConnectedAgentInfo").msgclass
21
+ DisconnectAgentInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.DisconnectAgentInfo").msgclass
22
+ AgentPodInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.AgentPodInfo").msgclass
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: internal/module/agent_tracker/rpc/rpc.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'internal/module/agent_tracker/agent_tracker_pb'
8
+
9
+
10
+ descriptor_data = "\n+internal/module/agent_tracker/rpc/rpc.proto\x12\x1egitlab.agent.agent_tracker.rpc\x1a\x31internal/module/agent_tracker/agent_tracker.proto\"H\n%GetConnectedAgentsByProjectIDsRequest\x12\x1f\n\x0bproject_ids\x18\x01 \x03(\x03R\nprojectIds\"B\n#GetConnectedAgentsByAgentIDsRequest\x12\x1b\n\tagent_ids\x18\x01 \x03(\x03R\x08\x61gentIds\"p\n&GetConnectedAgentsByProjectIDsResponse\x12\x46\n\x06\x61gents\x18\x01 \x03(\x0b\x32..gitlab.agent.agent_tracker.ConnectedAgentInfoR\x06\x61gents\"n\n$GetConnectedAgentsByAgentIDsResponse\x12\x46\n\x06\x61gents\x18\x01 \x03(\x0b\x32..gitlab.agent.agent_tracker.ConnectedAgentInfoR\x06\x61gents\"#\n!CountAgentsByAgentVersionsRequest\"\xe4\x01\n\"CountAgentsByAgentVersionsResponse\x12|\n\x0e\x61gent_versions\x18\x01 \x03(\x0b\x32U.gitlab.agent.agent_tracker.rpc.CountAgentsByAgentVersionsResponse.AgentVersionsEntryR\ragentVersions\x1a@\n\x12\x41gentVersionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x03R\x05value:\x02\x38\x01\x32\x98\x04\n\x0c\x41gentTracker\x12\xb1\x01\n\x1eGetConnectedAgentsByProjectIDs\x12\x45.gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIDsRequest\x1a\x46.gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIDsResponse\"\x00\x12\xab\x01\n\x1cGetConnectedAgentsByAgentIDs\x12\x43.gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIDsRequest\x1a\x44.gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIDsResponse\"\x00\x12\xa5\x01\n\x1a\x43ountAgentsByAgentVersions\x12\x41.gitlab.agent.agent_tracker.rpc.CountAgentsByAgentVersionsRequest\x1a\x42.gitlab.agent.agent_tracker.rpc.CountAgentsByAgentVersionsResponse\"\x00\x42^Z\\gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v17/internal/module/agent_tracker/rpcb\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module Gitlab
16
+ module Agent
17
+ module AgentTracker
18
+ module Rpc
19
+ GetConnectedAgentsByProjectIDsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIDsRequest").msgclass
20
+ GetConnectedAgentsByAgentIDsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIDsRequest").msgclass
21
+ GetConnectedAgentsByProjectIDsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByProjectIDsResponse").msgclass
22
+ GetConnectedAgentsByAgentIDsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsByAgentIDsResponse").msgclass
23
+ CountAgentsByAgentVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.CountAgentsByAgentVersionsRequest").msgclass
24
+ CountAgentsByAgentVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.CountAgentsByAgentVersionsResponse").msgclass
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/agent_tracker/rpc/rpc.proto for package 'gitlab.agent.agent_tracker.rpc'
3
+
4
+ require 'grpc'
5
+ require 'internal/module/agent_tracker/rpc/rpc_pb'
6
+
7
+ module Gitlab
8
+ module Agent
9
+ module AgentTracker
10
+ module Rpc
11
+ module AgentTracker
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.agent_tracker.rpc.AgentTracker'
19
+
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
+ end
24
+
25
+ Stub = Service.rpc_stub_class
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: internal/module/autoflow/rpc/rpc.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'buf/validate/validate_pb'
8
+ require 'pkg/event/event_pb'
9
+
10
+
11
+ descriptor_data = "\n&internal/module/autoflow/rpc/rpc.proto\x12\x19gitlab.agent.autoflow.rpc\x1a\x1b\x62uf/validate/validate.proto\x1a\x15pkg/event/event.proto\"\x99\x01\n\x11\x43loudEventRequest\x12<\n\x05\x65vent\x18\x01 \x01(\x0b\x32\x1e.gitlab.agent.event.CloudEventB\x06\xbaH\x03\xc8\x01\x01R\x05\x65vent\x12\x46\n\x0c\x66low_project\x18\x02 \x01(\x0b\x32\x1b.gitlab.agent.event.ProjectB\x06\xbaH\x03\xc8\x01\x01R\x0b\x66lowProject\"\x14\n\x12\x43loudEventResponse2w\n\x08\x41utoFlow\x12k\n\nCloudEvent\x12,.gitlab.agent.autoflow.rpc.CloudEventRequest\x1a-.gitlab.agent.autoflow.rpc.CloudEventResponse\"\x00\x42xZWgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v17/internal/module/autoflow/rpc\xea\x02\x1cGitlab::Agent::AutoFlow::Rpcb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Gitlab
17
+ module Agent
18
+ module AutoFlow
19
+ module Rpc
20
+ CloudEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.autoflow.rpc.CloudEventRequest").msgclass
21
+ CloudEventResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.autoflow.rpc.CloudEventResponse").msgclass
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,28 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: internal/module/autoflow/rpc/rpc.proto for package 'Gitlab.Agent.AutoFlow.Rpc'
3
+
4
+ require 'grpc'
5
+ require 'internal/module/autoflow/rpc/rpc_pb'
6
+
7
+ module Gitlab
8
+ module Agent
9
+ module AutoFlow
10
+ module Rpc
11
+ module AutoFlow
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.autoflow.rpc.AutoFlow'
19
+
20
+ rpc :CloudEvent, ::Gitlab::Agent::AutoFlow::Rpc::CloudEventRequest, ::Gitlab::Agent::AutoFlow::Rpc::CloudEventResponse
21
+ end
22
+
23
+ Stub = Service.rpc_stub_class
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: internal/module/configuration_project/rpc/rpc.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'buf/validate/validate_pb'
8
+ require 'pkg/entity/entity_pb'
9
+
10
+
11
+ descriptor_data = "\n3internal/module/configuration_project/rpc/rpc.proto\x12&gitlab.agent.configuration_project.rpc\x1a\x1b\x62uf/validate/validate.proto\x1a\x17pkg/entity/entity.proto\"\xdd\x01\n\x1bListAgentConfigFilesRequest\x12M\n\nrepository\x18\x01 \x01(\x0b\x32%.gitlab.agent.entity.GitalyRepositoryB\x06\xbaH\x03\xc8\x01\x01R\nrepository\x12H\n\x0bgitaly_info\x18\x02 \x01(\x0b\x32\x1f.gitlab.agent.entity.GitalyInfoB\x06\xbaH\x03\xc8\x01\x01R\ngitalyInfo\x12%\n\x0e\x64\x65\x66\x61ult_branch\x18\x03 \x01(\tR\rdefaultBranch\"{\n\x1cListAgentConfigFilesResponse\x12[\n\x0c\x63onfig_files\x18\x01 \x03(\x0b\x32\x37.gitlab.agent.configuration_project.rpc.AgentConfigFileR\x0c\x63onfig_files\"E\n\x0f\x41gentConfigFile\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1e\n\nagent_name\x18\x02 \x01(\tR\nagent_name2\xbc\x01\n\x14\x43onfigurationProject\x12\xa3\x01\n\x14ListAgentConfigFiles\x12\x43.gitlab.agent.configuration_project.rpc.ListAgentConfigFilesRequest\x1a\x44.gitlab.agent.configuration_project.rpc.ListAgentConfigFilesResponse\"\x00\x42\x66Zdgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v17/internal/module/configuration_project/rpcb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Gitlab
17
+ module Agent
18
+ module ConfigurationProject
19
+ module Rpc
20
+ ListAgentConfigFilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.configuration_project.rpc.ListAgentConfigFilesRequest").msgclass
21
+ ListAgentConfigFilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.configuration_project.rpc.ListAgentConfigFilesResponse").msgclass
22
+ AgentConfigFile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.configuration_project.rpc.AgentConfigFile").msgclass
23
+ end
24
+ end
25
+ end
26
+ 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,25 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: internal/module/notifications/rpc/rpc.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'buf/validate/validate_pb'
8
+ require 'pkg/event/event_pb'
9
+
10
+
11
+ descriptor_data = "\n+internal/module/notifications/rpc/rpc.proto\x12\x1egitlab.agent.notifications.rpc\x1a\x1b\x62uf/validate/validate.proto\x1a\x15pkg/event/event.proto\"U\n\x13GitPushEventRequest\x12>\n\x05\x65vent\x18\x01 \x01(\x0b\x32 .gitlab.agent.event.GitPushEventB\x06\xbaH\x03\xc8\x01\x01R\x05\x65vent\"\x16\n\x14GitPushEventResponse2\x8c\x01\n\rNotifications\x12{\n\x0cGitPushEvent\x12\x33.gitlab.agent.notifications.rpc.GitPushEventRequest\x1a\x34.gitlab.agent.notifications.rpc.GitPushEventResponse\"\x00\x42^Z\\gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v17/internal/module/notifications/rpcb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Gitlab
17
+ module Agent
18
+ module Notifications
19
+ module Rpc
20
+ GitPushEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.notifications.rpc.GitPushEventRequest").msgclass
21
+ GitPushEventResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.notifications.rpc.GitPushEventResponse").msgclass
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,28 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: internal/module/notifications/rpc/rpc.proto for package 'gitlab.agent.notifications.rpc'
3
+
4
+ require 'grpc'
5
+ require 'internal/module/notifications/rpc/rpc_pb'
6
+
7
+ module Gitlab
8
+ module Agent
9
+ module Notifications
10
+ module Rpc
11
+ module Notifications
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.notifications.rpc.Notifications'
19
+
20
+ rpc :GitPushEvent, ::Gitlab::Agent::Notifications::Rpc::GitPushEventRequest, ::Gitlab::Agent::Notifications::Rpc::GitPushEventResponse
21
+ end
22
+
23
+ Stub = Service.rpc_stub_class
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: internal/module/server_info/rpc/rpc.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'internal/module/server_info/server_info_pb'
8
+ require 'buf/validate/validate_pb'
9
+
10
+
11
+ descriptor_data = "\n)internal/module/server_info/rpc/rpc.proto\x12\x1cgitlab.agent.server_info.rpc\x1a-internal/module/server_info/server_info.proto\x1a\x1b\x62uf/validate/validate.proto\"\x16\n\x14GetServerInfoRequest\"w\n\x15GetServerInfoResponse\x12^\n\x13\x63urrent_server_info\x18\x01 \x01(\x0b\x32$.gitlab.agent.server_info.ServerInfoB\x06\xbaH\x03\xc8\x01\x01R\x13\x63urrent_server_info2\x88\x01\n\nServerInfo\x12z\n\rGetServerInfo\x12\x32.gitlab.agent.server_info.rpc.GetServerInfoRequest\x1a\x33.gitlab.agent.server_info.rpc.GetServerInfoResponse\"\x00\x42\\ZZgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v17/internal/module/server_info/rpcb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Gitlab
17
+ module Agent
18
+ module ServerInfo
19
+ module Rpc
20
+ GetServerInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.server_info.rpc.GetServerInfoRequest").msgclass
21
+ GetServerInfoResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.server_info.rpc.GetServerInfoResponse").msgclass
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,28 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: internal/module/server_info/rpc/rpc.proto for package 'gitlab.agent.server_info.rpc'
3
+
4
+ require 'grpc'
5
+ require 'internal/module/server_info/rpc/rpc_pb'
6
+
7
+ module Gitlab
8
+ module Agent
9
+ module ServerInfo
10
+ module Rpc
11
+ module ServerInfo
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.server_info.rpc.ServerInfo'
19
+
20
+ rpc :GetServerInfo, ::Gitlab::Agent::ServerInfo::Rpc::GetServerInfoRequest, ::Gitlab::Agent::ServerInfo::Rpc::GetServerInfoResponse
21
+ end
22
+
23
+ Stub = Service.rpc_stub_class
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: internal/module/server_info/server_info.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+
8
+ descriptor_data = "\n-internal/module/server_info/server_info.proto\x12\x18gitlab.agent.server_info\"@\n\nServerInfo\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x18\n\x07git_ref\x18\x02 \x01(\tR\x07git_refBXZVgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v17/internal/module/server_infob\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
12
+
13
+ module Gitlab
14
+ module Agent
15
+ module ServerInfo
16
+ ServerInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.server_info.ServerInfo").msgclass
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: pkg/entity/entity.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'buf/validate/validate_pb'
8
+
9
+
10
+ descriptor_data = "\n\x17pkg/entity/entity.proto\x12\x13gitlab.agent.entity\x1a\x1b\x62uf/validate/validate.proto\"\xa9\x02\n\tAgentMeta\x12!\n\x07version\x18\x01 \x01(\tB\x07\xbaH\x04r\x02(2R\x07version\x12(\n\tcommit_id\x18\x02 \x01(\tB\n\x18\x01\xbaH\x05r\x03(\xff\x01R\tcommit_id\x12-\n\rpod_namespace\x18\x03 \x01(\tB\x07\xbaH\x04r\x02(?R\rpod_namespace\x12$\n\x08pod_name\x18\x04 \x01(\tB\x08\xbaH\x05r\x03(\xff\x01R\x08pod_name\x12V\n\x12kubernetes_version\x18\x05 \x01(\x0b\x32&.gitlab.agent.entity.KubernetesVersionR\x12kubernetes_version\x12\"\n\x07git_ref\x18\x06 \x01(\tB\x08\xbaH\x05r\x03(\xff\x01R\x07git_ref\"\xa3\x01\n\x11KubernetesVersion\x12\x1d\n\x05major\x18\x01 \x01(\tB\x07\xbaH\x04r\x02(\x14R\x05major\x12\x1d\n\x05minor\x18\x02 \x01(\tB\x07\xbaH\x04r\x02(\x14R\x05minor\x12*\n\x0bgit_version\x18\x03 \x01(\tB\x08\xbaH\x05r\x03(\xff\x01R\x0bgit_version\x12$\n\x08platform\x18\x04 \x01(\tB\x08\xbaH\x05r\x03(\xff\x01R\x08platform\"\xcd\x01\n\nGitalyInfo\x12!\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x07\xbaH\x04r\x02 \x01R\x07\x61\x64\x64ress\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\x12I\n\x08\x66\x65\x61tures\x18\x03 \x03(\x0b\x32-.gitlab.agent.entity.GitalyInfo.FeaturesEntryR\x08\x66\x65\x61tures\x1a;\n\rFeaturesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xd0\x02\n\x10GitalyRepository\x12+\n\x0cstorage_name\x18\x02 \x01(\tB\x07\xbaH\x04r\x02 \x01R\x0cstorage_name\x12-\n\rrelative_path\x18\x03 \x01(\tB\x07\xbaH\x04r\x02 \x01R\rrelative_path\x12\x32\n\x14git_object_directory\x18\x04 \x01(\tR\x14git_object_directory\x12J\n git_alternate_object_directories\x18\x05 \x03(\tR git_alternate_object_directories\x12-\n\rgl_repository\x18\x06 \x01(\tB\x07\xbaH\x04r\x02 \x01R\rgl_repository\x12\x31\n\x0fgl_project_path\x18\x08 \x01(\tB\x07\xbaH\x04r\x02 \x01R\x0fgl_project_pathBGZEgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v17/pkg/entityb\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module Gitlab
16
+ module Agent
17
+ module Entity
18
+ AgentMeta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.entity.AgentMeta").msgclass
19
+ KubernetesVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.entity.KubernetesVersion").msgclass
20
+ GitalyInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.entity.GitalyInfo").msgclass
21
+ GitalyRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.entity.GitalyRepository").msgclass
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: pkg/event/event.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'buf/validate/validate_pb'
8
+ require 'google/protobuf/any_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+
12
+ descriptor_data = "\n\x15pkg/event/event.proto\x12\x12gitlab.agent.event\x1a\x1b\x62uf/validate/validate.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"M\n\x0cGitPushEvent\x12=\n\x07project\x18\x01 \x01(\x0b\x32\x1b.gitlab.agent.event.ProjectB\x06\xbaH\x03\xc8\x01\x01R\x07project\"H\n\x07Project\x12\x17\n\x02id\x18\x01 \x01(\x03\x42\x07\xbaH\x04\"\x02 \x00R\x02id\x12$\n\tfull_path\x18\x02 \x01(\tB\x07\xbaH\x04r\x02 \x01R\x08\x66ullPath\"\xd1\x05\n\nCloudEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n\x06source\x18\x02 \x01(\tR\x06source\x12!\n\x0cspec_version\x18\x03 \x01(\tR\x0bspecVersion\x12\x12\n\x04type\x18\x04 \x01(\tR\x04type\x12N\n\nattributes\x18\x05 \x03(\x0b\x32..gitlab.agent.event.CloudEvent.AttributesEntryR\nattributes\x12!\n\x0b\x62inary_data\x18\x06 \x01(\x0cH\x00R\nbinaryData\x12\x1d\n\ttext_data\x18\x07 \x01(\tH\x00R\x08textData\x12\x35\n\nproto_data\x18\x08 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00R\tprotoData\x1av\n\x0f\x41ttributesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12M\n\x05value\x18\x02 \x01(\x0b\x32\x37.gitlab.agent.event.CloudEvent.CloudEventAttributeValueR\x05value:\x02\x38\x01\x1a\x9a\x02\n\x18\x43loudEventAttributeValue\x12\x1f\n\nce_boolean\x18\x01 \x01(\x08H\x00R\tceBoolean\x12\x1f\n\nce_integer\x18\x02 \x01(\x05H\x00R\tceInteger\x12\x1d\n\tce_string\x18\x03 \x01(\tH\x00R\x08\x63\x65String\x12\x1b\n\x08\x63\x65_bytes\x18\x04 \x01(\x0cH\x00R\x07\x63\x65\x42ytes\x12\x17\n\x06\x63\x65_uri\x18\x05 \x01(\tH\x00R\x05\x63\x65Uri\x12\x1e\n\nce_uri_ref\x18\x06 \x01(\tH\x00R\x08\x63\x65UriRef\x12?\n\x0c\x63\x65_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x0b\x63\x65TimestampB\x06\n\x04\x61ttrB\x06\n\x04\x64\x61taBFZDgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v17/pkg/eventb\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
16
+
17
+ module Gitlab
18
+ module Agent
19
+ module Event
20
+ GitPushEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.event.GitPushEvent").msgclass
21
+ Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.event.Project").msgclass
22
+ CloudEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.event.CloudEvent").msgclass
23
+ CloudEvent::CloudEventAttributeValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.event.CloudEvent.CloudEventAttributeValue").msgclass
24
+ end
25
+ end
26
+ end
data/lib/version.rb ADDED
@@ -0,0 +1,11 @@
1
+ SOURCE_DIR = File.absolute_path(File.join(__dir__, '..', '..', '..'))
2
+
3
+ module Gitlab
4
+ module Agent
5
+ VERSION = File.read(File.join(SOURCE_DIR, 'VERSION')).strip
6
+ end
7
+ end
8
+
9
+ unless Gitlab::Agent::VERSION.match?(/\d+\.\d+\.\d+(-rc\d+)?/)
10
+ abort "Version string #{version.inspect} does not look like a GitLab Agent Release tag (e.g. \"v1.0.2\"). Aborting."
11
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-kas-grpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 17.3.0.pre.rc6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiger Watson
@@ -35,7 +35,23 @@ executables: []
35
35
  extensions: []
36
36
  extra_rdoc_files: []
37
37
  files:
38
+ - lib/buf/validate/validate_pb.rb
38
39
  - lib/gitlab-kas-grpc.rb
40
+ - lib/internal/module/agent_tracker/agent_tracker_pb.rb
41
+ - lib/internal/module/agent_tracker/rpc/rpc_pb.rb
42
+ - lib/internal/module/agent_tracker/rpc/rpc_services_pb.rb
43
+ - lib/internal/module/autoflow/rpc/rpc_pb.rb
44
+ - lib/internal/module/autoflow/rpc/rpc_services_pb.rb
45
+ - lib/internal/module/configuration_project/rpc/rpc_pb.rb
46
+ - lib/internal/module/configuration_project/rpc/rpc_services_pb.rb
47
+ - lib/internal/module/notifications/rpc/rpc_pb.rb
48
+ - lib/internal/module/notifications/rpc/rpc_services_pb.rb
49
+ - lib/internal/module/server_info/rpc/rpc_pb.rb
50
+ - lib/internal/module/server_info/rpc/rpc_services_pb.rb
51
+ - lib/internal/module/server_info/server_info_pb.rb
52
+ - lib/pkg/entity/entity_pb.rb
53
+ - lib/pkg/event/event_pb.rb
54
+ - lib/version.rb
39
55
  homepage: https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent
40
56
  licenses:
41
57
  - MIT
@@ -55,11 +71,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
55
71
  version: '3.2'
56
72
  required_rubygems_version: !ruby/object:Gem::Requirement
57
73
  requirements:
58
- - - ">="
74
+ - - ">"
59
75
  - !ruby/object:Gem::Version
60
- version: '0'
76
+ version: 1.3.1
61
77
  requirements: []
62
- rubygems_version: 3.5.16
78
+ rubygems_version: 3.4.19
63
79
  signing_key:
64
80
  specification_version: 4
65
81
  summary: Auto-generated gRPC client for KAS