kas-grpc 0.0.4 → 0.1.0

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: b07828ea125a251b07df16460ccb0787247eac89d2ca3ba84434fe52ef9396ae
4
- data.tar.gz: 7113cabb68cb666a7685770aea39724fcff1f3b077f9c8bd6387dc9a8e06907a
3
+ metadata.gz: d98189041e9a06f670781ea0e17f378cbd43afbdfae8f7cf4594f267abf1e47c
4
+ data.tar.gz: a00efbf02a7188961f3f566f826e8197264963aa22c4f33020ebddac4a78f9ce
5
5
  SHA512:
6
- metadata.gz: dda03ea456811b7c9d00c052feb026e438d6e4c874c7ff806f42782cab5ec3722a5857492343cefab856eac3498ae8372f33eb31b6c198ccdd225a4a563e083e
7
- data.tar.gz: 7021d18e505c91736d6ed233f855c3fff9d871df192127234154e0818a30c3ea4e334fe8d77717c8a698e27cc2e6eabe386f31f939366fdee26cafdacce67f20
6
+ metadata.gz: b0bb9d844adeb02fc37c70f687b72af750acc52a693358f6176f3be53dab28a111d7a390ddefae9e830e9abecd86f3eecd2d7dbb4c671769a06d2450d053f763
7
+ data.tar.gz: d100345cf1102fa38796112640d63106716efa6bad47e051e45158607e50ed5ec9e79aa72987d814e804d34bf15c035dc72936568d293357893223fb68cd7ea8
@@ -5,6 +5,7 @@ require 'google/protobuf'
5
5
 
6
6
  require 'google/protobuf/timestamp_pb'
7
7
  require 'internal/module/modshared/modshared_pb'
8
+
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("internal/module/agent_tracker/agent_tracker.proto", :syntax => :proto3) do
10
11
  add_message "gitlab.agent.agent_tracker.ConnectedAgentInfo" do
@@ -4,6 +4,8 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'internal/module/agent_tracker/agent_tracker_pb'
7
+ require 'validate/validate_pb'
8
+
7
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
10
  add_file("internal/module/agent_tracker/rpc/rpc.proto", :syntax => :proto3) do
9
11
  add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsRequest" do
@@ -3,7 +3,9 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'validate/validate_pb'
6
7
  require 'internal/module/modserver/modserver_pb'
8
+
7
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
10
  add_file("internal/module/configuration_project/rpc/rpc.proto", :syntax => :proto3) do
9
11
  add_message "gitlab.agent.configuration_project.rpc.ListAgentConfigFilesRequest" do
@@ -0,0 +1,32 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: internal/module/notifications/rpc/rpc.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'validate/validate_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("internal/module/notifications/rpc/rpc.proto", :syntax => :proto3) do
10
+ add_message "gitlab.agent.notifications.rpc.GitPushEventRequest" do
11
+ optional :project, :message, 1, "gitlab.agent.notifications.rpc.Project", json_name: "project"
12
+ end
13
+ add_message "gitlab.agent.notifications.rpc.Project" do
14
+ optional :id, :int64, 1, json_name: "id"
15
+ optional :full_path, :string, 2, json_name: "fullPath"
16
+ end
17
+ add_message "gitlab.agent.notifications.rpc.GitPushEventResponse" do
18
+ end
19
+ end
20
+ end
21
+
22
+ module Gitlab
23
+ module Agent
24
+ module Notifications
25
+ module Rpc
26
+ GitPushEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.notifications.rpc.GitPushEventRequest").msgclass
27
+ Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.notifications.rpc.Project").msgclass
28
+ GitPushEventResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.notifications.rpc.GitPushEventResponse").msgclass
29
+ end
30
+ end
31
+ end
32
+ 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
data/lib/kas-grpc.rb CHANGED
@@ -1,2 +1,3 @@
1
1
  require 'internal/module/agent_tracker/rpc/rpc_services_pb'
2
2
  require 'internal/module/configuration_project/rpc/rpc_services_pb'
3
+ require 'internal/module/notifications/rpc/rpc_services_pb'
@@ -0,0 +1 @@
1
+ # Empty file to satisfy generated imports in sibling files.
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kas-grpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiger Watson
8
8
  - Hordur Freyr Yngvason
9
+ - Timo Furrer
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2022-03-09 00:00:00.000000000 Z
13
+ date: 2023-04-28 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: grpc
@@ -29,6 +30,7 @@ description:
29
30
  email:
30
31
  - twatson@gitlab.com
31
32
  - hfyngvason@gitlab.com
33
+ - tfurrer@gitlab.com
32
34
  executables: []
33
35
  extensions: []
34
36
  extra_rdoc_files: []
@@ -40,7 +42,10 @@ files:
40
42
  - lib/internal/module/configuration_project/rpc/rpc_services_pb.rb
41
43
  - lib/internal/module/modserver/modserver_pb.rb
42
44
  - lib/internal/module/modshared/modshared_pb.rb
45
+ - lib/internal/module/notifications/rpc/rpc_pb.rb
46
+ - lib/internal/module/notifications/rpc/rpc_services_pb.rb
43
47
  - lib/kas-grpc.rb
48
+ - lib/validate/validate_pb.rb
44
49
  homepage: https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent
45
50
  licenses:
46
51
  - MIT
@@ -60,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
65
  - !ruby/object:Gem::Version
61
66
  version: '0'
62
67
  requirements: []
63
- rubygems_version: 3.1.6
68
+ rubygems_version: 3.2.33
64
69
  signing_key:
65
70
  specification_version: 4
66
71
  summary: Auto-generated gRPC client for KAS