kas-grpc 0.0.1 → 0.0.4
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 +5 -5
- data/lib/internal/module/agent_tracker/rpc/rpc_pb.rb +3 -3
- data/lib/internal/module/agent_tracker/rpc/rpc_services_pb.rb +1 -1
- data/lib/internal/module/configuration_project/rpc/rpc_pb.rb +34 -0
- data/lib/internal/module/configuration_project/rpc/rpc_services_pb.rb +28 -0
- data/lib/internal/module/modserver/modserver_pb.rb +30 -0
- data/lib/internal/module/modshared/modshared_pb.rb +4 -4
- data/lib/kas-grpc.rb +1 -0
- metadata +8 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b07828ea125a251b07df16460ccb0787247eac89d2ca3ba84434fe52ef9396ae
|
4
|
+
data.tar.gz: 7113cabb68cb666a7685770aea39724fcff1f3b077f9c8bd6387dc9a8e06907a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dda03ea456811b7c9d00c052feb026e438d6e4c874c7ff806f42782cab5ec3722a5857492343cefab856eac3498ae8372f33eb31b6c198ccdd225a4a563e083e
|
7
|
+
data.tar.gz: 7021d18e505c91736d6ed233f855c3fff9d871df192127234154e0818a30c3ea4e334fe8d77717c8a698e27cc2e6eabe386f31f939366fdee26cafdacce67f20
|
@@ -8,11 +8,11 @@ require 'internal/module/modshared/modshared_pb'
|
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("internal/module/agent_tracker/agent_tracker.proto", :syntax => :proto3) do
|
10
10
|
add_message "gitlab.agent.agent_tracker.ConnectedAgentInfo" do
|
11
|
-
optional :agent_meta, :message, 1, "gitlab.agent.modshared.AgentMeta"
|
12
|
-
optional :connected_at, :message, 2, "google.protobuf.Timestamp"
|
13
|
-
optional :connection_id, :int64, 3
|
14
|
-
optional :agent_id, :int64, 4
|
15
|
-
optional :project_id, :int64, 5
|
11
|
+
optional :agent_meta, :message, 1, "gitlab.agent.modshared.AgentMeta", json_name: "agent_meta"
|
12
|
+
optional :connected_at, :message, 2, "google.protobuf.Timestamp", json_name: "connected_at"
|
13
|
+
optional :connection_id, :int64, 3, json_name: "connection_id"
|
14
|
+
optional :agent_id, :int64, 4, json_name: "agent_id"
|
15
|
+
optional :project_id, :int64, 5, json_name: "project_id"
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
@@ -8,12 +8,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
8
8
|
add_file("internal/module/agent_tracker/rpc/rpc.proto", :syntax => :proto3) do
|
9
9
|
add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsRequest" do
|
10
10
|
oneof :request do
|
11
|
-
optional :project_id, :int64, 1
|
12
|
-
optional :agent_id, :int64, 2
|
11
|
+
optional :project_id, :int64, 1, json_name: "projectId"
|
12
|
+
optional :agent_id, :int64, 2, json_name: "agentId"
|
13
13
|
end
|
14
14
|
end
|
15
15
|
add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsResponse" do
|
16
|
-
repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo"
|
16
|
+
repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo", json_name: "agents"
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: internal/module/configuration_project/rpc/rpc.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'internal/module/modserver/modserver_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_file("internal/module/configuration_project/rpc/rpc.proto", :syntax => :proto3) do
|
9
|
+
add_message "gitlab.agent.configuration_project.rpc.ListAgentConfigFilesRequest" do
|
10
|
+
optional :repository, :message, 1, "gitlab.agent.modserver.Repository", json_name: "repository"
|
11
|
+
optional :gitaly_address, :message, 2, "gitlab.agent.modserver.GitalyAddress", json_name: "gitalyAddress"
|
12
|
+
optional :default_branch, :string, 3, json_name: "defaultBranch"
|
13
|
+
end
|
14
|
+
add_message "gitlab.agent.configuration_project.rpc.ListAgentConfigFilesResponse" do
|
15
|
+
repeated :config_files, :message, 1, "gitlab.agent.configuration_project.rpc.AgentConfigFile", json_name: "config_files"
|
16
|
+
end
|
17
|
+
add_message "gitlab.agent.configuration_project.rpc.AgentConfigFile" do
|
18
|
+
optional :name, :string, 1, json_name: "name"
|
19
|
+
optional :agent_name, :string, 2, json_name: "agent_name"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
module Gitlab
|
25
|
+
module Agent
|
26
|
+
module ConfigurationProject
|
27
|
+
module Rpc
|
28
|
+
ListAgentConfigFilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.configuration_project.rpc.ListAgentConfigFilesRequest").msgclass
|
29
|
+
ListAgentConfigFilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.configuration_project.rpc.ListAgentConfigFilesResponse").msgclass
|
30
|
+
AgentConfigFile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.configuration_project.rpc.AgentConfigFile").msgclass
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
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,30 @@
|
|
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
|
@@ -6,10 +6,10 @@ require 'google/protobuf'
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
7
|
add_file("internal/module/modshared/modshared.proto", :syntax => :proto3) do
|
8
8
|
add_message "gitlab.agent.modshared.AgentMeta" do
|
9
|
-
optional :version, :string, 1
|
10
|
-
optional :commit_id, :string, 2
|
11
|
-
optional :pod_namespace, :string, 3
|
12
|
-
optional :pod_name, :string, 4
|
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
13
|
end
|
14
14
|
end
|
15
15
|
end
|
data/lib/kas-grpc.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
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.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tiger Watson
|
8
|
+
- Hordur Freyr Yngvason
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2022-03-09 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: grpc
|
@@ -27,6 +28,7 @@ dependencies:
|
|
27
28
|
description:
|
28
29
|
email:
|
29
30
|
- twatson@gitlab.com
|
31
|
+
- hfyngvason@gitlab.com
|
30
32
|
executables: []
|
31
33
|
extensions: []
|
32
34
|
extra_rdoc_files: []
|
@@ -34,6 +36,9 @@ files:
|
|
34
36
|
- lib/internal/module/agent_tracker/agent_tracker_pb.rb
|
35
37
|
- lib/internal/module/agent_tracker/rpc/rpc_pb.rb
|
36
38
|
- lib/internal/module/agent_tracker/rpc/rpc_services_pb.rb
|
39
|
+
- lib/internal/module/configuration_project/rpc/rpc_pb.rb
|
40
|
+
- lib/internal/module/configuration_project/rpc/rpc_services_pb.rb
|
41
|
+
- lib/internal/module/modserver/modserver_pb.rb
|
37
42
|
- lib/internal/module/modshared/modshared_pb.rb
|
38
43
|
- lib/kas-grpc.rb
|
39
44
|
homepage: https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent
|
@@ -55,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
60
|
- !ruby/object:Gem::Version
|
56
61
|
version: '0'
|
57
62
|
requirements: []
|
58
|
-
rubygems_version: 3.1.
|
63
|
+
rubygems_version: 3.1.6
|
59
64
|
signing_key:
|
60
65
|
specification_version: 4
|
61
66
|
summary: Auto-generated gRPC client for KAS
|