kas-grpc 0.1.0 → 0.2.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: d98189041e9a06f670781ea0e17f378cbd43afbdfae8f7cf4594f267abf1e47c
4
- data.tar.gz: a00efbf02a7188961f3f566f826e8197264963aa22c4f33020ebddac4a78f9ce
3
+ metadata.gz: d49c9285a659ffb1c2a8a6c954485765218d132a20434f4904556ac0146beb01
4
+ data.tar.gz: 2f8551352b93581c818d7c7b663a690964640f63ddcfff6b3f83284fe74e9a4c
5
5
  SHA512:
6
- metadata.gz: b0bb9d844adeb02fc37c70f687b72af750acc52a693358f6176f3be53dab28a111d7a390ddefae9e830e9abecd86f3eecd2d7dbb4c671769a06d2450d053f763
7
- data.tar.gz: d100345cf1102fa38796112640d63106716efa6bad47e051e45158607e50ed5ec9e79aa72987d814e804d34bf15c035dc72936568d293357893223fb68cd7ea8
6
+ metadata.gz: 6c597da64aa2af51fbcf7ca2496298aeffa3af05bc11eac38e1b84c6f9e605b304ed29e10aad424dd9711f121255a97f9ee5a1574b7e597bdd12681acbed0a60
7
+ data.tar.gz: ccba9eb877058bd2960b80565569bdfbbe5fa886072987ee8626c15d8cacb05182d87b896be7f2e113161f429b3d6c7ae824f5cad79b753234c6d193a278149f
@@ -4,12 +4,12 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'google/protobuf/timestamp_pb'
7
- require 'internal/module/modshared/modshared_pb'
7
+ require 'pkg/entity/entity_pb'
8
8
 
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("internal/module/agent_tracker/agent_tracker.proto", :syntax => :proto3) do
11
11
  add_message "gitlab.agent.agent_tracker.ConnectedAgentInfo" do
12
- optional :agent_meta, :message, 1, "gitlab.agent.modshared.AgentMeta", json_name: "agent_meta"
12
+ optional :agent_meta, :message, 1, "gitlab.agent.entity.AgentMeta", json_name: "agent_meta"
13
13
  optional :connected_at, :message, 2, "google.protobuf.Timestamp", json_name: "connected_at"
14
14
  optional :connection_id, :int64, 3, json_name: "connection_id"
15
15
  optional :agent_id, :int64, 4, json_name: "agent_id"
File without changes
@@ -4,13 +4,13 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'validate/validate_pb'
7
- require 'internal/module/modserver/modserver_pb'
7
+ require 'pkg/entity/entity_pb'
8
8
 
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("internal/module/configuration_project/rpc/rpc.proto", :syntax => :proto3) do
11
11
  add_message "gitlab.agent.configuration_project.rpc.ListAgentConfigFilesRequest" do
12
- optional :repository, :message, 1, "gitlab.agent.modserver.Repository", json_name: "repository"
13
- optional :gitaly_address, :message, 2, "gitlab.agent.modserver.GitalyAddress", json_name: "gitalyAddress"
12
+ optional :repository, :message, 1, "gitlab.agent.entity.GitalyRepository", json_name: "repository"
13
+ optional :gitaly_info, :message, 2, "gitlab.agent.entity.GitalyInfo", json_name: "gitalyInfo"
14
14
  optional :default_branch, :string, 3, json_name: "defaultBranch"
15
15
  end
16
16
  add_message "gitlab.agent.configuration_project.rpc.ListAgentConfigFilesResponse" do
@@ -4,15 +4,12 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'validate/validate_pb'
7
+ require 'pkg/event/event_pb'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("internal/module/notifications/rpc/rpc.proto", :syntax => :proto3) do
10
11
  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"
12
+ optional :event, :message, 1, "gitlab.agent.event.GitPushEvent", json_name: "event"
16
13
  end
17
14
  add_message "gitlab.agent.notifications.rpc.GitPushEventResponse" do
18
15
  end
@@ -24,7 +21,6 @@ module Gitlab
24
21
  module Notifications
25
22
  module Rpc
26
23
  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
24
  GitPushEventResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.notifications.rpc.GitPushEventResponse").msgclass
29
25
  end
30
26
  end
@@ -0,0 +1,40 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: pkg/entity/entity.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'validate/validate_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("pkg/entity/entity.proto", :syntax => :proto3) do
10
+ add_message "gitlab.agent.entity.AgentMeta" do
11
+ optional :version, :string, 1, json_name: "version"
12
+ optional :commit_id, :string, 2, json_name: "commit_id"
13
+ optional :pod_namespace, :string, 3, json_name: "pod_namespace"
14
+ optional :pod_name, :string, 4, json_name: "pod_name"
15
+ end
16
+ add_message "gitlab.agent.entity.GitalyInfo" do
17
+ optional :address, :string, 1, json_name: "address"
18
+ optional :token, :string, 2, json_name: "token"
19
+ map :features, :string, :string, 3
20
+ end
21
+ add_message "gitlab.agent.entity.GitalyRepository" do
22
+ optional :storage_name, :string, 2, json_name: "storage_name"
23
+ optional :relative_path, :string, 3, json_name: "relative_path"
24
+ optional :git_object_directory, :string, 4, json_name: "git_object_directory"
25
+ repeated :git_alternate_object_directories, :string, 5, json_name: "git_alternate_object_directories"
26
+ optional :gl_repository, :string, 6, json_name: "gl_repository"
27
+ optional :gl_project_path, :string, 8, json_name: "gl_project_path"
28
+ end
29
+ end
30
+ end
31
+
32
+ module Gitlab
33
+ module Agent
34
+ module Entity
35
+ AgentMeta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.entity.AgentMeta").msgclass
36
+ GitalyInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.entity.GitalyInfo").msgclass
37
+ GitalyRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.entity.GitalyRepository").msgclass
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,27 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: pkg/event/event.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'validate/validate_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("pkg/event/event.proto", :syntax => :proto3) do
10
+ add_message "gitlab.agent.event.GitPushEvent" do
11
+ optional :project, :message, 1, "gitlab.agent.event.Project", json_name: "project"
12
+ end
13
+ add_message "gitlab.agent.event.Project" do
14
+ optional :id, :int64, 1, json_name: "id"
15
+ optional :full_path, :string, 2, json_name: "fullPath"
16
+ end
17
+ end
18
+ end
19
+
20
+ module Gitlab
21
+ module Agent
22
+ module Event
23
+ GitPushEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.event.GitPushEvent").msgclass
24
+ Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.event.Project").msgclass
25
+ end
26
+ end
27
+ end
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.1.0
4
+ version: 0.2.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-04-28 00:00:00.000000000 Z
13
+ date: 2023-06-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: grpc
@@ -40,11 +40,11 @@ files:
40
40
  - lib/internal/module/agent_tracker/rpc/rpc_services_pb.rb
41
41
  - lib/internal/module/configuration_project/rpc/rpc_pb.rb
42
42
  - lib/internal/module/configuration_project/rpc/rpc_services_pb.rb
43
- - lib/internal/module/modserver/modserver_pb.rb
44
- - lib/internal/module/modshared/modshared_pb.rb
45
43
  - lib/internal/module/notifications/rpc/rpc_pb.rb
46
44
  - lib/internal/module/notifications/rpc/rpc_services_pb.rb
47
45
  - lib/kas-grpc.rb
46
+ - lib/pkg/entity/entity_pb.rb
47
+ - lib/pkg/event/event_pb.rb
48
48
  - lib/validate/validate_pb.rb
49
49
  homepage: https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent
50
50
  licenses:
@@ -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.2.22
69
69
  signing_key:
70
70
  specification_version: 4
71
71
  summary: Auto-generated gRPC client for KAS
@@ -1,30 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: internal/module/modserver/modserver.proto
3
-
4
- require 'google/protobuf'
5
-
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("internal/module/modserver/modserver.proto", :syntax => :proto3) do
8
- add_message "gitlab.agent.modserver.Repository" do
9
- optional :storage_name, :string, 2, json_name: "storageName"
10
- optional :relative_path, :string, 3, json_name: "relativePath"
11
- optional :git_object_directory, :string, 4, json_name: "gitObjectDirectory"
12
- repeated :git_alternate_object_directories, :string, 5, json_name: "gitAlternateObjectDirectories"
13
- optional :gl_repository, :string, 6, json_name: "glRepository"
14
- optional :gl_project_path, :string, 8, json_name: "glProjectPath"
15
- end
16
- add_message "gitlab.agent.modserver.GitalyAddress" do
17
- optional :address, :string, 1, json_name: "address"
18
- optional :token, :string, 2, json_name: "token"
19
- end
20
- end
21
- end
22
-
23
- module Gitlab
24
- module Agent
25
- module Modserver
26
- Repository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.modserver.Repository").msgclass
27
- GitalyAddress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.modserver.GitalyAddress").msgclass
28
- end
29
- end
30
- end
@@ -1,23 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: internal/module/modshared/modshared.proto
3
-
4
- require 'google/protobuf'
5
-
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("internal/module/modshared/modshared.proto", :syntax => :proto3) do
8
- add_message "gitlab.agent.modshared.AgentMeta" do
9
- optional :version, :string, 1, json_name: "version"
10
- optional :commit_id, :string, 2, json_name: "commit_id"
11
- optional :pod_namespace, :string, 3, json_name: "pod_namespace"
12
- optional :pod_name, :string, 4, json_name: "pod_name"
13
- end
14
- end
15
- end
16
-
17
- module Gitlab
18
- module Agent
19
- module Modshared
20
- AgentMeta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.modshared.AgentMeta").msgclass
21
- end
22
- end
23
- end