kas-grpc 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/internal/module/agent_tracker/agent_tracker_pb.rb +26 -0
- data/lib/internal/module/agent_tracker/rpc/rpc_pb.rb +30 -0
- data/lib/internal/module/agent_tracker/rpc/rpc_services_pb.rb +28 -0
- data/lib/internal/module/modshared/modshared_pb.rb +23 -0
- data/lib/kas-grpc.rb +1 -0
- metadata +62 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b9ff301456fb482dfd2431f90dc2eb3df90583b4469b61ae296bccc840a52a7f
|
4
|
+
data.tar.gz: 2609ccf3b9094d8fb94e821b2dbe679f6d8d411fd8c4aac4eb3ff0477eae0188
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1f6a149c3ee6aa0544700aef95dc26f7247bd317e718aebcde44231d50950d72249824f7fb29a3df89f6f4f8a639fc6bcf69278975ff001a2a370bc1bd57ddae
|
7
|
+
data.tar.gz: 1d135a0be1978a3dfaac71a2026ebcb28e4ca7881b3b05daaf96610636ab7f6d863e3f6dafbf342cfa3e8dd55393d2fe09a61ac4196bc81795ec513e5872cad8
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: internal/module/agent_tracker/agent_tracker.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/timestamp_pb'
|
7
|
+
require 'internal/module/modshared/modshared_pb'
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("internal/module/agent_tracker/agent_tracker.proto", :syntax => :proto3) do
|
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
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
module Gitlab
|
21
|
+
module Agent
|
22
|
+
module AgentTracker
|
23
|
+
ConnectedAgentInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.ConnectedAgentInfo").msgclass
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: internal/module/agent_tracker/rpc/rpc.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'internal/module/agent_tracker/agent_tracker_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_file("internal/module/agent_tracker/rpc/rpc.proto", :syntax => :proto3) do
|
9
|
+
add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsRequest" do
|
10
|
+
oneof :request do
|
11
|
+
optional :project_id, :int64, 1
|
12
|
+
optional :agent_id, :int64, 2
|
13
|
+
end
|
14
|
+
end
|
15
|
+
add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsResponse" do
|
16
|
+
repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
module Gitlab
|
22
|
+
module Agent
|
23
|
+
module AgentTracker
|
24
|
+
module Rpc
|
25
|
+
GetConnectedAgentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsRequest").msgclass
|
26
|
+
GetConnectedAgentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsResponse").msgclass
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,28 @@
|
|
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 :GetConnectedAgents, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsRequest, ::Gitlab::Agent::AgentTracker::Rpc::GetConnectedAgentsResponse
|
21
|
+
end
|
22
|
+
|
23
|
+
Stub = Service.rpc_stub_class
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,23 @@
|
|
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
|
10
|
+
optional :commit_id, :string, 2
|
11
|
+
optional :pod_namespace, :string, 3
|
12
|
+
optional :pod_name, :string, 4
|
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
|
data/lib/kas-grpc.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'internal/module/agent_tracker/rpc/rpc_services_pb'
|
metadata
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kas-grpc
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tiger Watson
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-06-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: grpc
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
description:
|
28
|
+
email:
|
29
|
+
- twatson@gitlab.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- lib/internal/module/agent_tracker/agent_tracker_pb.rb
|
35
|
+
- lib/internal/module/agent_tracker/rpc/rpc_pb.rb
|
36
|
+
- lib/internal/module/agent_tracker/rpc/rpc_services_pb.rb
|
37
|
+
- lib/internal/module/modshared/modshared_pb.rb
|
38
|
+
- lib/kas-grpc.rb
|
39
|
+
homepage: https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent
|
40
|
+
licenses:
|
41
|
+
- MIT
|
42
|
+
metadata: {}
|
43
|
+
post_install_message:
|
44
|
+
rdoc_options: []
|
45
|
+
require_paths:
|
46
|
+
- lib
|
47
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - ">="
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '0'
|
52
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
57
|
+
requirements: []
|
58
|
+
rubygems_version: 3.1.4
|
59
|
+
signing_key:
|
60
|
+
specification_version: 4
|
61
|
+
summary: Auto-generated gRPC client for KAS
|
62
|
+
test_files: []
|