File: agent_tracker_pb.rb

package info (click to toggle)
gitlab-agent 16.1.3-2
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 6,324 kB
  • sloc: makefile: 175; sh: 52; ruby: 3
file content (27 lines) | stat: -rw-r--r-- 1,069 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: internal/module/agent_tracker/agent_tracker.proto

require 'google/protobuf'

require 'google/protobuf/timestamp_pb'
require 'internal/module/modshared/modshared_pb'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("internal/module/agent_tracker/agent_tracker.proto", :syntax => :proto3) do
    add_message "gitlab.agent.agent_tracker.ConnectedAgentInfo" do
      optional :agent_meta, :message, 1, "gitlab.agent.modshared.AgentMeta", json_name: "agent_meta"
      optional :connected_at, :message, 2, "google.protobuf.Timestamp", json_name: "connected_at"
      optional :connection_id, :int64, 3, json_name: "connection_id"
      optional :agent_id, :int64, 4, json_name: "agent_id"
      optional :project_id, :int64, 5, json_name: "project_id"
    end
  end
end

module Gitlab
  module Agent
    module AgentTracker
      ConnectedAgentInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.ConnectedAgentInfo").msgclass
    end
  end
end