kas-grpc 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/internal/module/agent_tracker/agent_tracker_pb.rb +1 -0
- data/lib/internal/module/agent_tracker/rpc/rpc_pb.rb +2 -0
- data/lib/internal/module/agent_tracker/rpc/rpc_services_pb.rb +1 -1
- data/lib/internal/module/configuration_project/rpc/rpc_pb.rb +3 -0
- data/lib/internal/module/configuration_project/rpc/rpc_services_pb.rb +1 -1
- data/lib/internal/module/notifications/rpc/rpc_pb.rb +32 -0
- data/lib/internal/module/notifications/rpc/rpc_services_pb.rb +28 -0
- data/lib/kas-grpc.rb +1 -0
- data/lib/validate/validate_pb.rb +1 -0
- metadata +10 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d98189041e9a06f670781ea0e17f378cbd43afbdfae8f7cf4594f267abf1e47c
|
4
|
+
data.tar.gz: a00efbf02a7188961f3f566f826e8197264963aa22c4f33020ebddac4a78f9ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,12 +3,15 @@
|
|
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
|
10
12
|
optional :repository, :message, 1, "gitlab.agent.modserver.Repository", json_name: "repository"
|
11
13
|
optional :gitaly_address, :message, 2, "gitlab.agent.modserver.GitalyAddress", json_name: "gitalyAddress"
|
14
|
+
optional :default_branch, :string, 3, json_name: "defaultBranch"
|
12
15
|
end
|
13
16
|
add_message "gitlab.agent.configuration_project.rpc.ListAgentConfigFilesResponse" do
|
14
17
|
repeated :config_files, :message, 1, "gitlab.agent.configuration_project.rpc.AgentConfigFile", json_name: "config_files"
|
@@ -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
@@ -0,0 +1 @@
|
|
1
|
+
# Empty file to satisfy generated imports in sibling files.
|
metadata
CHANGED
@@ -1,14 +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
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tiger Watson
|
8
|
+
- Hordur Freyr Yngvason
|
9
|
+
- Timo Furrer
|
8
10
|
autorequire:
|
9
11
|
bindir: bin
|
10
12
|
cert_chain: []
|
11
|
-
date:
|
13
|
+
date: 2023-04-28 00:00:00.000000000 Z
|
12
14
|
dependencies:
|
13
15
|
- !ruby/object:Gem::Dependency
|
14
16
|
name: grpc
|
@@ -27,6 +29,8 @@ dependencies:
|
|
27
29
|
description:
|
28
30
|
email:
|
29
31
|
- twatson@gitlab.com
|
32
|
+
- hfyngvason@gitlab.com
|
33
|
+
- tfurrer@gitlab.com
|
30
34
|
executables: []
|
31
35
|
extensions: []
|
32
36
|
extra_rdoc_files: []
|
@@ -38,7 +42,10 @@ files:
|
|
38
42
|
- lib/internal/module/configuration_project/rpc/rpc_services_pb.rb
|
39
43
|
- lib/internal/module/modserver/modserver_pb.rb
|
40
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
|
41
47
|
- lib/kas-grpc.rb
|
48
|
+
- lib/validate/validate_pb.rb
|
42
49
|
homepage: https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent
|
43
50
|
licenses:
|
44
51
|
- MIT
|
@@ -58,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
65
|
- !ruby/object:Gem::Version
|
59
66
|
version: '0'
|
60
67
|
requirements: []
|
61
|
-
rubygems_version: 3.
|
68
|
+
rubygems_version: 3.2.33
|
62
69
|
signing_key:
|
63
70
|
specification_version: 4
|
64
71
|
summary: Auto-generated gRPC client for KAS
|